DS-Homebrew / nds-bootstrap

Boot an nds file
https://wiki.ds-homebrew.com/nds-bootstrap/
GNU General Public License v3.0
1.19k stars 76 forks source link

Inazuma Eleven Origins hackrom for ds #1685

Open isadksgad opened 7 months ago

isadksgad commented 7 months ago

Game Console(s) used

Launch Method

thro sd card with latest versione of twilight (april 2024)

Version used

v [v26.9.0:]

Game tested/used/applicable

inazuma eleven origin: https://inazuma-eleven.fr/mods/origins-ie1.html

Expected Behavior

start a cutscene of the original game

Actual Behavior

red screen with an error

Steps to reproduce

play the first match with the royal academy

nds-bootstrap.ini

[NDS-BOOTSTRAP] USE_ROM_REGION = 1 DEBUG = 0 LOGGING = 1 B4DS_MODE = 0 ROMREAD_LED = 0 DMA_ROMREAD_LED = 0 PRECISE_VOLUME_CONTROL = 0 SDNAND = 0 MACRO_MODE = 0 SOUND_FREQ = 0 CONSOLE_MODEL = 0 HOTKEY = 284 GUI_LANGUAGE = it LANGUAGE = 4 DSI_MODE = 1 NDS_PATH = sd:/Roms/LEVEL 5/inazuma eleven/Inazuma eleven hackroms/non va/Inazuma Eleven origins.nds HOMEBREW_ARG = BOOST_CPU = 0 BOOST_VRAM = 1 SAV_PATH = sd:/Roms/LEVEL 5/inazuma eleven/Inazuma eleven hackroms/non va/saves/Inazuma Eleven origins.sav1 RAM_DRIVE_PATH = sd:/null.img REGION = 2 CARD_READ_DMA = 1 ASYNC_CARD_READ = 0 EXTENDED_MEMORY = 0 DONOR_SDK_VER = 0 PATCH_MPU_REGION = 0 PATCH_MPU_SIZE = 0 FORCE_SLEEP_PATCH = 0 AP_FIX_PATH = SLEEP_MODE = 1

Logs

Loading the NDS file... Header CRC is valid! Module params offset: 02000BA4 sdk_version: 05047532 arm9 is compressed Secure area already decrypted Switched to NTR mode BIOS patchCardNds

[SDK 5]

cardIrqEnable location : 0200546C

startOffset : 02000000

Mpu start: 02000AA4

Mpu data: 02000B38

Mpu init: 02007694

Mpu change: 02006F7C

waitSysCycles location : 02008450

cardRead location : 02011CC0 03700000

swi12 location : 020003BA

cardPullOut location : 02012274

cardId location : 02011B54

patchCardSetDma

NDMA CARD SET METHOD ACTIVE cardSetDma location : 02011E7C

NDMA CARD READ METHOD ACTIVE cardEndReadDma location : 02011F0C

reset location : 020084FC

ERR_NONE

Sleep location : 0238BB00

cardIrqEnable location : 02384060

Relocation src: 023802E4

Arm7 (patch v5) JumpTableFunc: 0238ECB0 card id: 0238EC98 card read: 0238ECA8 Eeprom read: 0238ECBC Eeprom page write: 0238ECD4 Eeprom page prog: 0238ECEC Eeprom verify: 0238ED04 Eeprom page erase: 0238ED18 swi12 location : 02383600

swiGetPitchTable location : 02383614

ERR_NONE

Card patch successful

hookNdsRetailArm7 hookLocation arm7: 0238FE78

ERR_NONE hookLocation arm9: 027E0000

chipID: 8000FFC2

Other notes

none

Will you be available for future issues and/or replies?

yes

RocketRobz commented 2 months ago

Try AP-patching the clean ROM first, using DS-Scene ROM Tool, then apply the ROM hack patch to the AP-patched ROM.

isadksgad commented 2 months ago

Try AP-patching the clean ROM first, using DS-Scene ROM Tool, then apply the ROM hack patch to the AP-patched ROM.

ok, ill'try as soon as possible and report the results here. Thanks for your work man :)

isadksgad commented 2 months ago

Try AP-patching the clean ROM first, using DS-Scene ROM Tool, then apply the ROM hack patch to the AP-patched ROM.

So, i've tested the game for a couple of hours and it seems to work fine for now. Thanks man :)