DS-Homebrew / nds-bootstrap

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

Pokemon HeartGold - Infinite black screen when loading savegame #1039

Closed Shadark closed 3 years ago

Shadark commented 3 years ago

Your console: Old 3DS XL Launch Method: Luma 10.2-bb07a73. Launching through TwilightMenu v17.0.0. Version used: Release v.035.s2. Game tested/used/applicable: Pokemon HeartGold [USA] - MD5 4fcded0e2713dc03929845de631d0932ea2b5a37

Expected Behavior: Game should work as usual. Actual Behavior: After starting the game, I can save the game. If I try to load that save, I get an "infinite" black screen, not allowing me to play the game. However, on a different Old 3DS XL the game works perfectly fine. I'm going to refer to the problematic device as "bad 3DS" and the other one as the "good 3DS". They are almost identical, bought years ago with 1 month of difference.

Steps to reproduce

nds-bootstrap.ini

[NDS-BOOTSTRAP]
DEBUG = 1
LOGGING = 1
CACHE_FAT_TABLE = 0
ROMREAD_LED = 0
DMA_ROMREAD_LED = -1
CONSOLE_MODEL = 2
NDS_PATH = sd:/Games/Pokemon - HeartGold Version (USA).nds
SAV_PATH = sd:/Games/saves/Pokemon - HeartGold Version (USA).sav
AP_FIX_PATH = sd:/_nds/TWiLightMenu/apfix/IPKE-D061.ips
RAM_DRIVE_PATH = sd:/null.img
LANGUAGE = -1
DSI_MODE = 0
BOOST_CPU = 0
BOOST_VRAM = 0
EXTENDED_MEMORY = 0
DONOR_SDK_VER = 0
PATCH_MPU_REGION = 0
PATCH_MPU_SIZE = 0
CARDENGINE_CACHED = 0
FORCE_SLEEP_PATCH = 0

Also: I've disabled heap shrink option (both on and off), game is loading in DS mode. Haven't changed other options since the good 3DS is at default options for everything and seems to work just fine.

Logs

findModuleParamsOffset:
Module params offset restored: 02000BBC
sdk_version: 04027533
This rom is compressed

Switched to NTR mode BIOS
patchCardNds

swi12 location : 0200072A

cardIrqEnable location : 020D11D4

startOffset : 02000000

cardRead location : 020DD570

cardPullOut location : 020DDAD0

cardId location : 020DD660

patchCardSetDma
cardReadDma location : 020DD3E4

patchMpuSize: 00000000

reset location : 020D3B84

ERR_NONE

Arm7 (patch vAll)
forwardedRelocStartAddr
02380198
vAddrOfRelocSrc
023801B0
Relocation src: 0238026C
Relocation dst: 037F8000

JumpTableFunc: 02388730
Eeprom read:    0238873C
Eeprom page write:  02388750
Eeprom page prog:   02388764
Eeprom verify:  02388778
Eeprom page erase:  02388788
swi12 location : 02388B70

swiGetPitchTable location : 02383FCC

ERR_NONE

hookNdsRetailArm7
hookLocation arm7: 0238ECF4

ERR_NONE
hookLocation arm9: 027E0000

AP-fix found and applied
chipID: E0017FC2

Other notes

I have a lotta notes.

Anything else I could try? I feel like I've run out of options and I don't know what else could I try, and it's apparently some issue related to the console/device and not to the installation, but since it doesn't seem to work at all... In any case, any help is appreciated and thanks for your time.

RocketRobz commented 3 years ago

Have you tried the latest nightly version of nds-bootstrap?

Shadark commented 3 years ago

Just tried now with latest nightly versions of both nds-bootstrap and TwilightMenu (I know it shouldn't matter, but just in case), still not working.

RocketRobz commented 3 years ago

Try launching the ROM with a DS game in Slot-1.

Shadark commented 3 years ago

Tried both with and without a cartridge in Slot-1, no changes (with nightly version(s), still).

RocketRobz commented 3 years ago

Does this still occur on the latest nightly?

RocketRobz commented 3 years ago

Closed due to no response, and for the reason stated in #1182