Skip to content

Commit

Permalink
Add support for the EZ-Flash Parallel
Browse files Browse the repository at this point in the history
It appears the Parallel already DLDI patches the boot file, so support
for this cart may *seem* redundant at first.

However, since the Parallel does this in firmware, we can't easily
update the DLDI for newer fixes. We do in fact need a different DLDI as
it fixes homebrew issues, so use dldinoap to make sure we don't get
overwritten.
  • Loading branch information
lifehackerhansol committed Mar 15, 2024
1 parent d652742 commit 9e8832f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DLDI
Submodule DLDI updated 2 files
+ ez5n.dldi
+ mpsd.dldi
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ all: $(ROM) \
r4.dat \
_dsmenu.dat \
dsedgei.dat \
ezds.dat \
MAZE/_ds_menu.dat \
r4ids.cn/_ds_menu.dat \
R4iLS/_dsmenu.dat \
Expand All @@ -113,7 +114,7 @@ clean:
$(V)$(RM) $(ROM) $(ROM_02000000) $(ROM_02000450) $(ROM_02000800) $(ROM_DSONE) $(ROM_R4ILS) $(ROM_GATEWAY) $(ROM_R4ISDHC) build $(SDIMAGE)
$(V)$(RM) bootstrap bootstrap.zip \
_ds_menu.dat N5 ez5sys.bin _boot_mp.nds bootme.nds r4i.sys ismat.dat _ds_menu.nds ez5isys.bin ACEP akmenu4.nds \
ttmenu.dat r4.dat _dsmenu.dat dsedgei.dat MAZE r4ids.cn R4iLS Gateway G003 DSOneSDHC_DSOnei scfw.sc r4dspro.com
ttmenu.dat r4.dat _dsmenu.dat dsedgei.dat MAZE r4ids.cn R4iLS Gateway G003 DSOneSDHC_DSOnei scfw.sc r4dspro.com ezds.dat

arm9:
$(V)+$(MAKE) -f Makefile.arm9 --no-print-directory
Expand Down Expand Up @@ -230,7 +231,7 @@ dist : all
@mkdir -p bootstrap/DSOneSDHC_DSOnei
@mkdir -p bootstrap/N5
@mkdir -p bootstrap/G003/system
@cp -r README.md _ds_menu.dat ez5sys.bin ttmenu.dat r4.dat _boot_mp.nds bootme.nds ismat.dat _ds_menu.nds ez5isys.bin akmenu4.nds _dsmenu.dat dsedgei.dat scfw.sc bootstrap
@cp -r README.md _ds_menu.dat ez5sys.bin ttmenu.dat r4.dat _boot_mp.nds bootme.nds ismat.dat _ds_menu.nds ez5isys.bin akmenu4.nds _dsmenu.dat dsedgei.dat scfw.sc ezds.dat bootstrap
@cp -r MAZE ACEP R4iLS Gateway r4ids.cn r4dspro.com bootstrap
@cp -r resource/M3R_iTDS_R4RTS/* bootstrap/M3R_iTDS_R4RTS/
@cp -r resource/DSOneSDHC_DSOnei/* bootstrap/DSOneSDHC_DSOnei/
Expand Down Expand Up @@ -335,6 +336,12 @@ dsedgei.dat: $(ROM_02000800)
@cp $< $@
$(V)$(BLOCKSDS)/tools/dldipatch/dldipatch patch DLDI/ak2_sd.dldi $@

ezds.dat: $(ROM)
@echo "Make EZ-Flash Parallel"
@cp $< $@
$(V)$(BLOCKSDS)/tools/dldipatch/dldipatch patch DLDI/ez5n.dldi $@
@$(PYTHON) resource/dldinoap/dldinoap.py $@

MAZE/_ds_menu.dat: $(ROM_02000000)
@echo "Make Amaze3DS/R4igold.cc Wood"
@[ -d MAZE ] || mkdir -p MAZE
Expand Down

0 comments on commit 9e8832f

Please sign in to comment.