Emulator Issues #11876
[Feature Request] Load game into RAM
I store my images on a NAS and I have a big stutter everytime the Final Lap sound plays in Mario Kart Wii. I'm assuming this has something to do with network latency or because my drive fell asleep but this does not happen when I place the image on my SSD.
Anyway, I have plenty of RAM and would like to load the image asynchronously into memory. PPSSPP already allows me to do that and the games start instantly (so no need to copy them to my SSD/RAM disk beforehand) and it does actually help with load times.
#3 Updated by Anuskuss over 1 year ago
(OT) How many titles are we speaking? I, for myself, like to keep everything as close to the original experience as possible (1xres, no speedhacks, original Wiimote) but cutting down loading times would definitely be beneficial. Can this be turned into a setting, defaulting to "as fast as possible" (PPSSPP for example offers Fast, Host and Simulate delays) and only going the accurate path via a game specific INI setting for games that really need it?
#6 Updated by danileon95 7 months ago
I noticed that in the latest duplicate this feature was called "useless" by a dev, again.
This is not useless. This would prevent stutter when loading games from external hard drivers.
When loading games from my unpowered USB 3.0 4 TB hard drive, there's a lot of microstutter that is simply not there when loading the game from an internal SSD. This HDD gives pretty good speed when copying stuff from it onto the laptop (constantly at around 100 MB/s) I'm not sure what the root cause of this is: Dolphin, Windows, or whatever. The point is that copying the game to RAM would be useful to prevent these kind of issues. It would also be useful for people who load ROMs from a network drive, etc. It's not an useless feature. It's just niche.
PS: If this feature is implemented eventually (I REALLY hope it is btw), maybe it would be good for it to have a warning about how this is not recommended if you have less than X GB of RAM for GameCube games, less than Y GB of RAM for Wii games, and less than Z GB of RAM for dual layer Wii games. 8 / 16 / 32 GB maybe?
Update from me as well: Since I've opened this issue I upgraded my NAS and it turns out that my previous setup was trash and I no longer have that "Final Lap" stutter. Would still be nice to have because it would free up the connection to my server after it's done transferring (server is also used for multimedia purposes).
I've written a little script back then that would do the copying to RAM automatically but the big downside is that it's synchronous and so you'd have to wait for a couple of seconds (38s for a 4.7GB Wii ISO at 1Gbit/s) before being able to play your game. I can post it here if you want @danileon95.