mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
DKR Assets Tool v0.5.1, finished up .obj model support (#584)
* Assets Revision 0.5.1, finish up OBJ support * Made wrap the default texture wrap mode. Clamping can be done through a .json file * fixed out_of_range issue with getting multiple textures. * Fixed issue with thwomp test model. * Removed unused problematic code from fileHelper * Why did I add an error here? That was dumb. * Updated json lib to latest version to fix issue on mac.
This commit is contained in:
@@ -410,7 +410,7 @@ endif
|
||||
|
||||
build_assets:
|
||||
$(info Building Assets...)
|
||||
$(TOOLS_DIR)/dkr_assets_tool build -o $(ASSETS_OUTPUT) -dkrv $(REGION).$(VERSION) $(MODDED_ARG) >&2 || echo FAIL
|
||||
@$(TOOLS_DIR)/dkr_assets_tool build -o $(ASSETS_OUTPUT) -dkrv $(REGION).$(VERSION) $(MODDED_ARG) >&2 || echo FAIL
|
||||
|
||||
###############################
|
||||
|
||||
@@ -447,11 +447,6 @@ $(BUILD_DIR)/%.s.o: %.s | build_assets
|
||||
$(call print,Assembling:,$<,$@)
|
||||
$(V)$(AS) $(ASFLAGS) -MD $(BUILD_DIR)/$*.d -o $@ $<
|
||||
|
||||
# Specifically override the assets bin output location to match what splat output to the ld file.
|
||||
$(BUILD_DIR)/asm/assets/assets.s.o: asm/assets/assets.s | build_assets
|
||||
$(call print,Assembling Assets:,$<,$@)
|
||||
$(V)$(AS) $(ASFLAGS) -o $(BUILD_DIR)/assets/assets.bin.o $<
|
||||
|
||||
# Specifically override the header file from what splat extracted to be replaced by what we have in the hasm folder
|
||||
$(BUILD_DIR)/asm/header.s.o: src/hasm/header.s | build_assets
|
||||
$(call print,Assembling Header:,$<,$@)
|
||||
|
||||
Reference in New Issue
Block a user