Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anno 1701 - Dawn of Discovery doesn't boots (white screen) #1070

Closed
hkzorman opened this issue Feb 5, 2021 · 7 comments
Closed

Anno 1701 - Dawn of Discovery doesn't boots (white screen) #1070

hkzorman opened this issue Feb 5, 2021 · 7 comments

Comments

@hkzorman
Copy link

hkzorman commented Feb 5, 2021

Your console: New Nintendo 2DS XL
Launch Method: TwilightMenu++
Version used: nightly, build #48 465f6ae
Game tested/used/applicable: Anno 1701 - Dawn of Discovery (title ID A2LE)

Expected Behavior: Game boots and plays normally
Actual Behavior: Game never boots, after nds-bootstrap splash screen both screens stay white

Steps to reproduce

Opening the game with both TwilightMenu++ or forwarder CIA cause the white screen issue.
nds-bootstrap.ini:

[NDS-BOOTSTRAP]
DEBUG = 0
LOGGING = 1
CACHE_FAT_TABLE = 0
ROMREAD_LED = 0
DMA_ROMREAD_LED = -1
CONSOLE_MODEL = 2
NDS_PATH = sd:/Roms/nds/2173 - Anno 1701 - Dawn of Discovery (U)(Sir VG).nds
SAV_PATH = sd:/Roms/nds/saves/2173 - Anno 1701 - Dawn of Discovery (U)(Sir VG).sav
RAM_DRIVE_PATH = sd:/null.img
LANGUAGE = -1
DSI_MODE = 0
BOOST_CPU = 1
BOOST_VRAM = 1
EXTENDED_MEMORY = 0
DONOR_SDK_VER = 0
PATCH_MPU_REGION = 0
PATCH_MPU_SIZE = 0
CARDENGINE_CACHED = 1
FORCE_SLEEP_PATCH = 0
CACHE_BLOCK_SIZE = 1
PRECISE_VOLUME_CONTROL = 0
SOUND_FREQ = 0
AP_FIX_PATH =
HOMEBREW_ARG =

Logs

findModuleParamsOffset:
Module params offset found: 02000B84
sdk_version: 03017534
This rom is not compressed

Switched to NTR mode BIOS
findHeapPointer2Offset:
020E0E78
old hi heap end pointer: 023E0000

new hi heap pointer: 023DEC00

Hi Heap Shrink Sucessfull

relocate_ce9
firstCardLocation 023DEC00 : 02780000

armReadCardLocation 023DECEC : 02780000

thumbReadCardLocation 023DED10 : 02780000

armReadCardDmaLocation 023DED40 : 02780000

armReadSlot2Location 023DED64 : 02780000

armSetDmaCardLocation 023DED98 : 02780000

thumbReadCardDmaLocation 023DEDD0 : 02780000

thumbSetDmaCardLocation 023DEDF0 : 02780000

armReadNandLocation 023DEE1C : 02780000

thumbReadNandLocation 023DEE48 : 02780000

armWriteNandLocation 023DEE70 : 02780000

thumbWriteNandLocation 023DEE90 : 02780000

armIrqEnableLocation 023DEEC0 : 02780000

thumbIrqEnableLocation 023DEEE0 : 02780000

pdashReadLocation 023DEF0C : 02780000

thumbReadSlot2Location 023DEF30 : 02780000

ipcSyncHandlerLocation 023DEF70 : 02780000

resetLocation 023DEF9C : 02780000

globalCardLocation 023DFC94 : 02780000

 ce9->patches 023DEC30

patchCardNds

findSwi12Offset:
swi 0x12 call found

swi12 location : 020002A2

findCardIrqEnableOffset:
irq enable found

cardIrqEnable location : 020DEA48

startOffset : 02000000

findCardReadEndOffsetThumb:
ARM9 Card read end thumb not found

findCardReadEndOffsetType0:
ARM9 Card read end (type 0) elaborate found: 020EA15C

findCardReadStartOffsetThumb:
ARM9 Card read start thumb not found
ARM9 Card read start thumb alt not found

findCardReadStartOffsetType0:
ARM9 Card read start (type 0) found

cardRead location : 020EA064

findCardPullOutOffset:
Card pull out handler found

cardPullOut location : 020EA8CC

findCardIdEndOffset:
Card ID end found: 020EA05C

findCardIdStartOffset:
Card ID start found

cardId location : 020EA000


patchCardSetDma
findCardReadDmaEndOffset:
Card read DMA end found: 020EA2C4

findCardReadDmaStartOffset:
Card read DMA start not found
Card read DMA start alt 1 not found
Card read DMA start alt 2 found

cardReadDma location : 020EA164

findMpuStartOffset:
Mpu init found: 02000A68

findMpuDataOffset:
Mpu data found: 02000B38

findMpuInitCacheOffset:
Mpu init cache found: 02000AC0

patchMpuSize: 00000000

Mpu init: 020E1EF0

findResetOffset
Reset found: 020E33DC
Reset constant found: 020E3458
Reset found

reset location : 020E33DC

findRandomPatchOffset:
Random patch found: 020E5388

ERR_NONE

findSleepPatchOffset:
Sleep patch found: 0238DF84


Arm7 (patch v1)
forwardedRelocStartAddr
02380198
vAddrOfRelocSrc
023801B0
Relocation src: 023801B0
Relocation dst: 037F8000
[Error!] Card read addr not found

Arm7 (patch v2)
forwardedRelocStartAddr
02380198
vAddrOfRelocSrc
023801B0
Relocation src: 023801B0
Relocation dst: 037F8000
[Error!] Card read addr not found

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

JumpTableFunc: 0238C0F0
Eeprom read:	0238C0FC
Eeprom page write:	0238C114
Eeprom page prog:	0238C12C
Eeprom verify:	0238C144
Eeprom page erase:	0238C158
findSwi12Offset:
swi 0x12 call found

findSwiGetPitchTableOffset:
swiGetPitchTable SDK <= 2 call not found
swiGetPitchTable SDK <= 2 call alt 1 not found
swiGetPitchTable SDK <= 2 call alt 2 not found
swiGetPitchTable SDK <= 2 call alt 3 not found
swiGetPitchTable SDK <= 2 call alt 4 not found
swiGetPitchTable SDK <= 2 call alt 5 not found
swiGetPitchTable SDK <= 2 call alt 6 not found
swiGetPitchTable SDK <= 2 call alt 7 not found
swiGetPitchTable SDK <= 2 call alt 8 not found
swiGetPitchTable SDK <= 2 call alt 9 not found
swiGetPitchTable SDK 3 call not found
swiGetPitchTable SDK 3 call alt 1 not found
swiGetPitchTable SDK 3 call alt 2 not found
swiGetPitchTable SDK 3 call alt 3 not found
swiGetPitchTable SDK 3 call alt 4 not found
swiGetPitchTable SDK 3 call alt 5 not found
swiGetPitchTable SDK 3 call alt 6 not found
swiGetPitchTable SDK 3 call alt 7 found

swi12 location : 0238C5D4

swiGetPitchTable location : 02387764

ERR_NONE

hookNdsRetailArm7
hookLocation arm7: 023902E8

ERR_NONE
handlerStartSig
02122EE0
handlerEndSig
02122F20
tableAddr
027E0000
returnAddr
01FF8058
hookLocation arm9: 027E0000

ROM loaded into RAM

chipID: 00000FC2
                                                                                                                                                                                               
debug: true
ndsPath: "sd:/Roms/nds/2173 - Anno 1701 - Dawn of Discovery (U)(Sir VG).nds"
savPath: "sd:/Roms/nds/saves/2173 - Anno 1701 - Dawn of Discovery (U)(Sir VG).sav"
gbaPath: ""
donorE2Path: ""
donor2Path: ""
donor3Path: ""
donorPath: ""
donorTwlPath: ""
saveSize: 80000
language: FF
dsiMode: 0
donorSdkVer: 0
patchMpuRegion: 0
patchMpuSize: 0
ceCached: 1
cacheBlockSize: 8000
extendedMemory: false
consoleModel: 2
colorMode: 0
romRead_LED: 0
dmaRomRead_LED: FFFFFFFF
boostCpu: false
boostVram: true
soundFreq: false
forceSleepPatch: false
logging: true
initDisc: false
gameOnFlashcard: false
saveOnFlashcard: false
macroMode: false
@RocketRobz
Copy link
Member

Did the nightly build work with that game before that specific commit?

@hkzorman
Copy link
Author

hkzorman commented Feb 5, 2021

I just tried the nightly build, to make sure I didn't reported a bug already fixed. Before that I have been using release build (Release v0.35.s5). Neither has worked for me.

@Peter0x44
Copy link

According to the compatibility list, it should work. It was tested on nds-bootstrap 0.21.2, so try that version and see if anything changes

@SimPiko
Copy link

SimPiko commented Feb 6, 2021

Last time I've tried that game, I had to set 'Heap Shrink' to 'Off' to boot it, but that was with latest official nds-bootstrap release (0.35.s5).
edit: sorry, forgot to write that I only have DSi XL. Not sure if that will help on 2ds

@Squall-Leonhart
Copy link

Squall-Leonhart commented Feb 7, 2021

Confirmed, I'm not 100% but it seems to be the same issue affecting Phantom Hourglass (AZEE) on the 3DS/2DS

I don't think the heap size controls are actually working, otherwise they just don't affect these 2.

I'm targetting the testing of a few more games <64MB because afaik the only real difference with PH AZEP is languages making the cart size larger (and AZEP works trimmed to 68MB or full size)

@hkzorman
Copy link
Author

hkzorman commented Feb 7, 2021

Using the latest nightly, I confirm that turning off heap shrink works.
Heap shrink was set to Auto before. Is there a way to make it off by default on this game, so future people don't get this issue?

Thanks for your help by the way!

@NightScript370
Copy link
Member

This can be done in a future TWiLight Menu++ update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants