Views: 30,097,988 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 03-12-26 04:29 PM
Guest:

0 users reading Bug: Surviving High School (DSiWare) not booting | 1 bot

Main - Compatibility / Testing - Bug: Surviving High School (DSiWare) not booting Hide post layouts | New reply


DoctorDizzy
Posted on 02-17-26 01:18 AM Link | #8393
Hi, I'm trying to run the game Surviving High School on MelonDS, but it seems to load into a permanent black screen. The virtual machine recognizes the game and can load other DSiWare titles, but this one just... indefinitely stays on a black screen.

Info from GodMode9i:
- Game: Surviving High School
- Title ID: K3VE

I should note that, when selecting "Download from NUS" in the DSi title manager, it erroneously downloads the European metadata. I noticed that the SHS rom on my DSi's title ID didn't match what MelonDS had downloaded, and I thought maybe that was the problem? However, after downloading a bunch of TMDs from this GBATemp thread and matching the TMD using this 3Dbrew list of DSi titles to confirm that everything matched, I still got a black screen.

The option to enable JIT recompiler is off, DLDI is enabled, the GDB stub is disabled, and I'm using the x86_64 AppImage version of MelonDS version 1.1 on Debian Trixie, if that helps.

Screenshots down below, including some of other DSiWare titles loading perfectly fine.

[image] [image] [image] [image]

____________________
Harbinger of nostalgia that loves the DS(i). Check out my website!

Arisotura
Posted on 02-17-26 01:39 AM (rev. 4 of 02-17-26 03:24 AM) Link | #8394
you had me fooled for a while, I thought you were legit running Windows 7 in 2026

anyway, more seriously, that's... interesting

I guess it's a bug with the emulator, I'll have to look into it


upon further inspection:

- TMD auto-download seems to download the correct file (however, keep in mind that DSiWare is region-locked)

- the game does indeed get stuck on a black screen


-


the game checks the value at 0x02FFFC00

2FFFC00h 4 NDS Gamecart Chip ID

no idea why a DSiWare title would check that, but it fails because it's not getting the right value (it reads 0 but is being checked against FFFFFFFF)

prolly SCFG shenanigans

-

basically:

value in RAM at 0x02FFFC00 is not being set (or well, being set to zero) since this is DSiWare

cart interface is powered off - even if a cart is inserted, it gets forcefully powered off

melonDS ignores that status when answering cart commands (hence the bug)

this will require some hardware testing to determine what the hardware responds in that situation, as well as clear up some other unknowns related to cart stuff

____________________
Kuribo64

DoctorDizzy
Posted on 02-18-26 03:19 AM (rev. 2 of 02-18-26 03:24 AM) Link | #8396
That's all interesting! I don't know much about emulation development, but the fact that it's checking a value that (I assume) makes way more sense for DS cartridge games is bizarre. Thank you for looking into all of this, and good luck!! :)

____________________
Harbinger of nostalgia that loves the DS(i). Check out my website!

Arisotura
Posted on 02-20-26 02:48 AM Link | #8400
thanks!

I've been running hardware tests and the cart interface implementation in melonDS is wrong, so I'll have to refactor that somewhat to be more accurate (and to fix the bug at hand here, of course)

____________________
Kuribo64

Arisotura
Posted on 03-08-26 05:13 PM Link | #8432
this is now fixed, as of the latest commit

____________________
Kuribo64


Main - Compatibility / Testing - Bug: Surviving High School (DSiWare) not booting Hide post layouts | New reply

Page rendered in 0.042 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 90/90, time: 0.023 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.