added mac build support

This commit is contained in:
Elijah 2018-01-25 00:29:05 -06:00
parent 06408ea957
commit 1d240a9dad
64 changed files with 19 additions and 1 deletions

0
.gitattributes vendored Normal file → Executable file
View file

4
.gitignore vendored Normal file → Executable file
View file

@ -59,3 +59,7 @@ build
# Copyrighted Executables
*.exe
ctrtool
makerom
bannertool
3dsxlink

2
Makefile Normal file → Executable file
View file

@ -28,6 +28,7 @@ include $(DEVKITARM)/3ds_rules
#---------------------------------------------------------------------------------
TARGET := result/Minicraft3DS
ICON_TARGET := icons-banners/icon
RESULT := result
BUILD := build
SOURCES := source source/minizip
DATA := data
@ -122,6 +123,7 @@ endif
all: $(BUILD)
$(BUILD):
@test -d $(RESULT) || mkdir $(RESULT)
@[ -d $@ ] || mkdir -p $@
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile

0
README.md Normal file → Executable file
View file

0
build.bat Normal file → Executable file
View file

12
build.command Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
cd "`dirname $0`"
echo Building 3DSX/ELF/SMDH...
make
echo Creating banner...
`dirname $0`/bannertool makebanner -i icons-banners/banner.png -a icons-banners/audio.wav -o icons-banners/banner.bnr
echo Creating icon...
`dirname $0`/bannertool makesmdh -s "Minicraft3DS" -l "3DS Homebrew port of Notch's ludum dare game 'Minicraft', updated." -p "Davideesk/Andre111/ElijahZAwesome" -i icons-banners/icon.png -o icons-banners/icon.icn
echo Creating CIA...
`dirname $0`/makerom -f cia -o result/Minicraft3DS.cia -DAPP_ENCRYPTED=false -rsf icons-banners/Minicraft3DS.rsf -target t -exefslogo -elf result/Minicraft3DS.elf -icon icons-banners/icon.icn -banner icons-banners/banner.bnr
echo Creating 3DS/CCI...
`dirname $0`/makerom -f cci -o result/Minicraft3DS.3ds -DAPP_ENCRYPTED=true -rsf icons-banners/Minicraft3DS.rsf -target t -exefslogo -elf result/Minicraft3DS.elf -icon icons-banners/icon.icn -banner icons-banners/banner.bnr

0
data/Font.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

0
data/bottombg.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

0
data/icons2.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

0
icons-banners/Minicraft3DS.rsf Normal file → Executable file
View file

0
icons-banners/audio.wav Normal file → Executable file
View file

0
icons-banners/banner.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 6 KiB

After

Width:  |  Height:  |  Size: 6 KiB

0
icons-banners/icon.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 415 B

After

Width:  |  Height:  |  Size: 415 B

0
resources/bossdeath.raw Normal file → Executable file
View file

0
resources/craft.raw Normal file → Executable file
View file

0
resources/death.raw Normal file → Executable file
View file

0
resources/monsterhurt.raw Normal file → Executable file
View file

0
resources/music/floor0.raw Normal file → Executable file
View file

0
resources/music/floor1.raw Normal file → Executable file
View file

0
resources/music/floor1_night.raw Normal file → Executable file
View file

0
resources/music/floor2_3.raw Normal file → Executable file
View file

0
resources/music/floor4.raw Normal file → Executable file
View file

0
resources/music/menu.raw Normal file → Executable file
View file

0
resources/pickup.raw Normal file → Executable file
View file

0
resources/playerhurt.raw Normal file → Executable file
View file

0
resources/test.raw Normal file → Executable file
View file

0
source/Crafting.c Normal file → Executable file
View file

0
source/Crafting.h Normal file → Executable file
View file

0
source/Entity.c Normal file → Executable file
View file

0
source/Entity.h Normal file → Executable file
View file

0
source/Globals.c Normal file → Executable file
View file

0
source/Globals.h Normal file → Executable file
View file

0
source/Input.c Normal file → Executable file
View file

0
source/Input.h Normal file → Executable file
View file

0
source/Item.c Normal file → Executable file
View file

0
source/Item.h Normal file → Executable file
View file

0
source/MapGen.c Normal file → Executable file
View file

0
source/MapGen.h Normal file → Executable file
View file

0
source/Menu.c Normal file → Executable file
View file

0
source/Menu.h Normal file → Executable file
View file

0
source/MenuTutorial.c Normal file → Executable file
View file

0
source/MenuTutorial.h Normal file → Executable file
View file

0
source/Network.c Normal file → Executable file
View file

0
source/Network.h Normal file → Executable file
View file

0
source/PacketHandler.c Normal file → Executable file
View file

0
source/PacketHandler.h Normal file → Executable file
View file

0
source/Quests.c Normal file → Executable file
View file

0
source/Quests.h Normal file → Executable file
View file

0
source/Render.c Normal file → Executable file
View file

0
source/Render.h Normal file → Executable file
View file

0
source/SaveLoad.c Normal file → Executable file
View file

0
source/SaveLoad.h Normal file → Executable file
View file

0
source/Sound.c Normal file → Executable file
View file

0
source/Sound.h Normal file → Executable file
View file

0
source/main.c Normal file → Executable file
View file

0
source/minizip/crypt.h Normal file → Executable file
View file

0
source/minizip/ioapi.c Normal file → Executable file
View file

0
source/minizip/ioapi.h Normal file → Executable file
View file

0
source/minizip/unzip.c Normal file → Executable file
View file

0
source/minizip/unzip.h Normal file → Executable file
View file

0
source/minizip/zip.c Normal file → Executable file
View file

0
source/minizip/zip.h Normal file → Executable file
View file

0
source/texturepack.c Normal file → Executable file
View file

0
source/texturepack.h Normal file → Executable file
View file