Rosalie241 / RMG

Rosalie's Mupen GUI
GNU General Public License v3.0
568 stars 50 forks source link

some roms won't play properly #235

Open Botbuster opened 4 months ago

Botbuster commented 4 months ago

I'm new to this since I changed from project 64 after learning about the exploit but some rom hacks like mario's nightmare won't load properly, some just stay as a black screen after the title like releasio and in this case, just a black screen entirely with audio only.

Also how do i make some ROM hacks keep the save data on the original SM64 rom

mcbpete commented 4 months ago

Currently the only way to play big (>64mb) rom hacks like b3313 (and presumably Mario's Nightmare) is to replace mupen64plus.dll that's in the 'core' subfolder with this hacked one here - https://files.chlorobyte.me/mupen/ (full details here - https://docs.chlorobyte.me/2023/mupen_readme/ )

Chlorobyte-but-real commented 2 weeks ago

Currently the only way to play big (>64mb) rom hacks like b3313 (and presumably Mario's Nightmare) is to replace mupen64plus.dll that's in the 'core' subfolder with this hacked one here - https://benedani.xyz/files/mupen/mupen64plus.dll (full details here - https://benedani.xyz/files/mupen/readme.html )

Just ran across this, PSA to fix the links by swapping benedani.xyz/files with files.chlorobyte.me

Also worth noting that rmg-romhacks-git on the AUR applies the big romhack support patch

mcbpete commented 2 weeks ago

Thanks for that @Chlorobyte-but-real :) - Do you know what's caused the dll to grow so much in this new patched core (from 1.3Mb in the unpatched core to 20Mb in your patched one), is it just compiled with lower optimisation flags during build ?

Chlorobyte-but-real commented 2 weeks ago

You forgot the other one LOL

Do you know what's caused the dll to grow so much in this new patched core (from 1.3Mb in the unpatched core to 20Mb in your patched one), is it just compiled with lower optimisation flags during build ?

That is really interesting and I actually haven't noticed. The Linux build isn't bloated so it must be related to using MXE, as opposed to a Visual Studio build which I'm not going to install Windows for. Perhaps it's including the standard library in the .dll instead of relying on VS runtime being installed? The current build system is up on here so if anyone has any idea how to make it ideally not 20 MB feel free to open a pull request

mcbpete commented 2 weeks ago

Updated link ... just stuck it into ghidra and it looks like it might've been compiled with all the debug symbols included:

mupencore

EDIT: Actually one of the strings is indeed the compilation command: GNU C99 11.3.0 -m64 -mtune=generic -march=x86-64 -g -O2 -std=gnu99

I think just removing the -g should fix this ... maybe ?!?!