Threads
Campania, ItalyZekromaster2 years ago

tl;dr Hide and Seek RNG on Emulators is fucked, you should start with any other minigame if you're not looking to explicitly exploit this glitch.

So, some days ago, I did a couple runs of this game on the MelonDS emulator. At one point, I realized Hide and Seek RNG was always consistent - George was always in the same position. This didn't happen on my 3DS, so it's clearly an emulator issue.

Checking the MelonDS issue tracker, I find that enabling JIT sometimes fucks up RNG. I decide to disable JIT and behold! Different Hide and Seek RNG. Except it's different from what I get with JIT enabled, but also perfectly consistent as long as JIT is disabled (every run with JIT disabled has the same RNG in that minigame).

At this point I'm fully convinced it might be MelonDS. Confronting myself with other runners, who say the problem is not there for them on DeSmuME, I decide to run the latest DeSmuME. It should be noted that I'm on GNU/Linux, which means my DeSmuME version is actually the latest version from GitHub and not the out-of-date "latest" stable version that's available on Windows.

It looks like I finally have different RNG, except now it's consistent among all DeSmuME runs. Thinking this might actually be a problem with whatever the emulators are using for RNG on my PC, I boot up my brother's PC, running Linux Mint, and try out both DeSmuME and MelonDS - the RNG is perfectly identical to the RNG on my PC.

At this point this can only mean that, apparently, there's an RNG glitch on all DS emulators on Linux, which would be completely absurd. I even try MelonDS Android and... RNG is perfectly consistent there too.

So I try building MelonDS from a branch that has improved timing emulation and... RNG is still consistent but differently. This confirms that this is a problem with CPU timing emulation, and apparently only exists on the Linux kernel.

And I'm fully convinced this is a Linux issue until someone approaches me and informs me that on the actual latest version of DeSmuME, on Windows 11 (and not the "latest" stable version of DeSmuME) not only is RNG consistent, but it's also identical to what at the time was the Any% WR.

The only way I can explain this is if an emulator being TOO accurate somehow fucks up the RNG, probably because it's badly programmed and only the DS' poor performance made it work as intended on actual hardware. Which would explain why DeSmuME only shows this problem on recent versions and not on the 2015 one.

As for the solution? There's currently none if you intend to start with HnS, but the problem "solves" itself if you start with any other minigame - HnS is the only one which relies on this broken RNG.

CarlEmilEx likes this
About Zekromaster
Joined
6 years ago
Online
3 months ago
Runs
6
Games run
Cars
Cars
Last run 3 years ago
4
Runs
Peppa Pig: The Game
Peppa Pig: The Game
Last run 2 years ago
2
Runs
Games followed
Peppa Pig: The Game
Peppa Pig: The Game
Last visit 1 year ago
174
visits