mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Update bannertool, use separate icon for CIA and 3DS files.
This commit is contained in:
parent
3a285fa748
commit
8343ce2628
12
Makefile
12
Makefile
@ -149,16 +149,20 @@ banner.bnr: $(TOPDIR)/resources/banner.png $(TOPDIR)/resources/audio.wav
|
|||||||
$(BANNERTOOL) makebanner -i $(TOPDIR)/resources/banner.png -a $(TOPDIR)/resources/audio.wav -o banner.bnr
|
$(BANNERTOOL) makebanner -i $(TOPDIR)/resources/banner.png -a $(TOPDIR)/resources/audio.wav -o banner.bnr
|
||||||
@echo "built ... banner"
|
@echo "built ... banner"
|
||||||
|
|
||||||
|
icon.icn: $(TOPDIR)/resources/icon.png
|
||||||
|
$(BANNERTOOL) makesmdh -s "$(APP_TITLE)" -l "$(APP_DESCRIPTION)" -p "$(APP_AUTHOR)" -i $(TOPDIR)/resources/icon.png -o icon.icn
|
||||||
|
@echo "built ... icon"
|
||||||
|
|
||||||
stripped.elf: $(OUTPUT).elf
|
stripped.elf: $(OUTPUT).elf
|
||||||
@cp $(OUTPUT).elf stripped.elf
|
@cp $(OUTPUT).elf stripped.elf
|
||||||
@$(PREFIX)strip stripped.elf
|
@$(PREFIX)strip stripped.elf
|
||||||
|
|
||||||
$(OUTPUT).cia: $(OUTPUT).smdh stripped.elf banner.bnr cia.rsf
|
$(OUTPUT).cia: stripped.elf banner.bnr icon.icn cia.rsf
|
||||||
$(MAKEROM) -f cia -o $(OUTPUT).cia -rsf cia.rsf -target t -exefslogo -elf stripped.elf -icon $(OUTPUT).smdh -banner banner.bnr
|
$(MAKEROM) -f cia -o $(OUTPUT).cia -rsf cia.rsf -target t -exefslogo -elf stripped.elf -icon icon.icn -banner banner.bnr
|
||||||
@echo "built ... $(notdir $@)"
|
@echo "built ... $(notdir $@)"
|
||||||
|
|
||||||
$(OUTPUT).3ds: $(OUTPUT).smdh stripped.elf banner.bnr 3ds.rsf
|
$(OUTPUT).3ds: stripped.elf banner.bnr icon.icn 3ds.rsf
|
||||||
$(MAKEROM) -f cci -o $(OUTPUT).3ds -rsf 3ds.rsf -target d -exefslogo -elf stripped.elf -icon $(OUTPUT).smdh -banner banner.bnr
|
$(MAKEROM) -f cci -o $(OUTPUT).3ds -rsf 3ds.rsf -target d -exefslogo -elf stripped.elf -icon icon.icn -banner banner.bnr
|
||||||
@echo "built ... $(notdir $@)"
|
@echo "built ... $(notdir $@)"
|
||||||
|
|
||||||
3ds.rsf:
|
3ds.rsf:
|
||||||
|
BIN
tools/bannertool
BIN
tools/bannertool
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user