-
Notifications
You must be signed in to change notification settings - Fork 199
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
3ds Crash on loading large game. #1097
Comments
The files are not loaded in the memory, only the game database file (LDB). But very few games have a database file with many entries which results in huge RAM usage. |
I started the game under Linux, went through the character creation and quitted after starting the Intro. |
Okay thats probably currently too much for the 3DS because only 50% of the memory are available and the remaining 50% are linear heap (for GPU and DSP buffers). |
@Ghabry: Is this heap layout change public yet? Did not find any documentation about that 50/50 fact either. |
Oh, I'm just remembering that I locally patched ctrulib to achieve this and forgot to move it into the Player... The symbols are exported as attribute(weak) which means you can overwrite them by exporting your own but I couldn't get this to work. A bit more detail: Looks like the current code is: |
This one needs retesting after merging #1100. |
Moved this to 0.6 because changing the heaps crashes for some reason on real hardware and I don't have a 3ds around before July to figure out why. |
Tested now with a larger heap (+24 MB more). Stll doesn't boot. |
I'm experiencing this problem with the latest release 0.6.2 |
Name of the game:
Player platform:
3ds - v113 (stable)
3ds - v114 (nightly)
3ds - 0.5.1
Attach files (as a .zip archive or link them)
No log available due to crash on load
Describe the issue in detail and how to reproduce it:
(reproduce) Load game
Hangs on loading (around 12~15 minutes) then crashes to the home screen.
Cannot reproduce on windows (but windows wasn't loading the rtp for it)
Analysis
I can get the Zelda-Links awakening to load (crashes when talking to Marin)
This might just be due to the sheer size of the game, it is around 270MB with the rtp and the new 3ds only has 256MB sysram iirc
I have tried with the rtp installed to data/rtp/2000 and with FullPackageFlag=1.
If it is a size issue then it is still a problem that needs to be looked at as there should be some sort of dynamic file loading going on right?
The text was updated successfully, but these errors were encountered: