mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.52k stars 753 forks source link

Add support for 3DS Virtual Console patches #2077

Open brainard52 opened 3 years ago

brainard52 commented 3 years ago

Games released to Virtual Console for 3DS are often distributed with patches (found in {game}/romfs/ with names such as CGBAAUK0.959.patch) that can update various functionality for reasons such as fixing bugs, changing behavior of some interactions due to lack of specific hardware, updating palates to be more friendly with backlit displays, and to patch out animations which could be harmful to people with photosensitive conditions. For various reasons, I think it would be neat to see this style of patch made compatible with games played on mGBA.

profi200 commented 3 years ago

Sounds to me like most of that can be archived with cheat codes. I don't know if that custom patch format is worth supporting but let's see what endrift says.

brainard52 commented 3 years ago

Sounds to me like most of that can be archived with cheat codes. I don't know if that custom patch format is worth supporting but let's see what endrift says.

You’re probably right, but I have never seen any of these things done with cheat codes. They’re almost universally to acquire stuff in-game. I think support for VC patches would be nice because they already exist and could be extracted at the same time as ROM extraction for those who wish to acquire ROMs that way

profi200 commented 3 years ago

Well yeah, cheat codes can do more than just give you advantages in game. Sometimes they are actually used to patch games if the patches are not too big.