Example usage of XA audio convert
This commit is contained in:
parent
b7be664d9f
commit
5f11ab40d4
|
@ -4,4 +4,5 @@
|
||||||
*.d
|
*.d
|
||||||
*.o
|
*.o
|
||||||
*.lba
|
*.lba
|
||||||
**/bin
|
**/bin
|
||||||
|
**/audio/temp/*
|
|
@ -2,7 +2,11 @@ include $(JABY_ENGINE_DIR)/mkfile/common/ExportPath.mk
|
||||||
include $(JABY_ENGINE_DIR)/mkfile/common/RebuildTarget.mk
|
include $(JABY_ENGINE_DIR)/mkfile/common/RebuildTarget.mk
|
||||||
|
|
||||||
OUTPUT_DIR = bin
|
OUTPUT_DIR = bin
|
||||||
INPUT = $(OUTPUT_DIR)/TexturePage.bin $(OUTPUT_DIR)/IconTexture.bin $(OUTPUT_DIR)/Paco.bin $(OUTPUT_DIR)/Controller.bin $(OUTPUT_DIR)/doener_fish.bin $(OUTPUT_DIR)/JabyStar.bin
|
INPUT = $(OUTPUT_DIR)/fox.xa $(OUTPUT_DIR)/TexturePage.bin $(OUTPUT_DIR)/IconTexture.bin $(OUTPUT_DIR)/Paco.bin $(OUTPUT_DIR)/Controller.bin $(OUTPUT_DIR)/doener_fish.bin $(OUTPUT_DIR)/JabyStar.bin
|
||||||
|
|
||||||
|
$(OUTPUT_DIR)/fox.xa: audio/temp/fox.wav
|
||||||
|
@mkdir -p $(OUTPUT_DIR)
|
||||||
|
jaby_engine_fconv $< -o $@ xa
|
||||||
|
|
||||||
# TODO: Simplyfy all of these?
|
# TODO: Simplyfy all of these?
|
||||||
$(OUTPUT_DIR)/TexturePage.bin: TexturePage.png
|
$(OUTPUT_DIR)/TexturePage.bin: TexturePage.png
|
||||||
|
@ -14,15 +18,19 @@ $(OUTPUT_DIR)/IconTexture.bin: IconTexture.png
|
||||||
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --semi-trans --color-trans
|
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --semi-trans --color-trans
|
||||||
|
|
||||||
$(OUTPUT_DIR)/Paco.bin: Paco.png
|
$(OUTPUT_DIR)/Paco.bin: Paco.png
|
||||||
|
@mkdir -p $(OUTPUT_DIR)
|
||||||
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
||||||
|
|
||||||
$(OUTPUT_DIR)/Controller.bin: Controller.png
|
$(OUTPUT_DIR)/Controller.bin: Controller.png
|
||||||
|
@mkdir -p $(OUTPUT_DIR)
|
||||||
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
||||||
|
|
||||||
$(OUTPUT_DIR)/doener_fish.bin: doener_fish.png
|
$(OUTPUT_DIR)/doener_fish.bin: doener_fish.png
|
||||||
|
@mkdir -p $(OUTPUT_DIR)
|
||||||
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
||||||
|
|
||||||
$(OUTPUT_DIR)/JabyStar.bin: JabyStar.png
|
$(OUTPUT_DIR)/JabyStar.bin: JabyStar.png
|
||||||
|
@mkdir -p $(OUTPUT_DIR)
|
||||||
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
jaby_engine_fconv --lz4 $< -o $@ simple-tim clut4 --color-trans
|
||||||
|
|
||||||
all: $(INPUT)
|
all: $(INPUT)
|
||||||
|
|
Loading…
Reference in New Issue