mirror of
https://github.com/pret/pokediamond.git
synced 2026-09-09 17:46:39 -05:00
No need for multiple copies of baserom.nds
This commit is contained in:
@@ -8,8 +8,6 @@ install:
|
||||
# These files are only accessible from Travis CI IP Addresses to prevent piracy.
|
||||
- wget http://private.martmists.com/mwccarm.zip
|
||||
- wget http://private.martmists.com/baserom.nds
|
||||
- cp baserom.nds arm7/
|
||||
- cp baserom.nds arm9/
|
||||
- unzip mwccarm.zip
|
||||
- mv mwccarm tools
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
### 1. Copy baserom(s) into root folder
|
||||
|
||||
Put clean copies of Pokemon Diamond (US) nds rom at `./baserom.nds`, `./arm9/baserom.nds`, and `./arm7/baserom.nds`. All three copies are required and must be identical.
|
||||
Put a clean copy of Pokemon Diamond (US) nds rom at `./baserom.nds`.
|
||||
|
||||
### 2. Install MWCC compiler
|
||||
|
||||
|
||||
6
Makefile
6
Makefile
@@ -118,12 +118,18 @@ all: $(ROM)
|
||||
@$(SHA1SUM) -c $(TARGET).sha1
|
||||
|
||||
clean: mostlyclean
|
||||
make -C arm9 clean
|
||||
make -C arm7 clean
|
||||
make -C tools/mwasmarm_patcher clean
|
||||
|
||||
mostlyclean: tidy
|
||||
make -C arm9 mostlyclean
|
||||
make -C arm7 mostlyclean
|
||||
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' \) -exec $(RM) {} +
|
||||
|
||||
tidy:
|
||||
make -C arm9 tidy
|
||||
make -C arm7 tidy
|
||||
$(RM) -r $(BUILD_DIR)
|
||||
|
||||
tools: $(TOOLDIRS)
|
||||
|
||||
@@ -79,7 +79,7 @@ OBJDUMP := $(CROSS)objdump
|
||||
OBJCOPY := $(CROSS)objcopy
|
||||
|
||||
# ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm7_thumb.s -o arm7.o
|
||||
ASFLAGS = -proc arm5te
|
||||
ASFLAGS = -proc arm5te -i ..
|
||||
CFLAGS = -O4,p -proc v5te -thumb -fp soft -lang c99 -Cpp_exceptions off -ir ../include
|
||||
LDFLAGS = -map -nodead -w off -proc v5te -interworking -map -symtab -m _start
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ OBJDUMP := $(CROSS)objdump
|
||||
OBJCOPY := $(CROSS)objcopy
|
||||
|
||||
# ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm9_thumb.s -o arm9.o
|
||||
ASFLAGS = -proc arm5te
|
||||
ASFLAGS = -proc arm5te -i ..
|
||||
CFLAGS = -O4,p -proc v5te -thumb -fp soft -lang c99 -Cpp_exceptions off -ir ../include
|
||||
LDFLAGS = -map -nodead -w off -proc v5te -interworking -map -symtab -m _start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user