Provenance
Provenance copied to clipboard
Cheat code support
https://www.youtube.com/watch?v=KwZ7Prid1zE there are videos on how to add Gameshark code to emulators for cheats Idk how much this could help but it is a possibility especially for emulators of cartridge based consoles. http://www.wikiwand.com/en/GameShark also open emu supports a form of cheat codes https://github.com/OpenEmu/OpenEmu/wiki/User-guide:-Cheat-codes
I started a little branch to add the support for Cheat codes: https://github.com/rnaud/Provenance/commit/8f538b7eafbfd3021045bcbe698aca03a2496023
Right now I'm not able to disable the code, I need to figure that part out.
Will get back to it next week and make a PR.
I'd just like to +1 this enhancement.
+1 As well :)
@jasarien If I understand https://github.com/jasarien/Provenance/blob/d543ef3db07f4bbf788f3847f4462e19c7b3cd7f/PVGBA/GBA/PVGBAEmulatorCore.mm#L354-L419 correctly, there's an implementation in various emulator cores for cheat codes, but the UI doesn't support them? Is there no way to insert codes at all at the moment?
Correct. Most, if not all, the emulator cores support cheats, but there is currently no UI to set cheat codes right now.
Such a UI will need to be generalised enough to work with all cores and all supported cheat code types.
I hope I can explain this well, but idea for cheat code menu:
Set up a tab in options for Cheats, and have a button on/off option to turn on cheats for seperate system emulators (one for NES, seperate one for SNES, ect) and only allow 1 to be turned on at a time, that way since the cheat options are different, it can implement the right method per user request. And I don't know if possible, but maybe it can have game genie/shark/pro action rom load first on top of the game by such a method? (and upload the cheat rom to a folder in the 192.168-ect).
I thought that if done separately this way, it might give time by working on just 1 system to cheat first, and make sure it works and check for bugs, instead of working for all cheats on all systems at once, less daunting.
Definitely giving this a 'one up'.
👍
👍
I started a PR with cheat code support (supports snes9x, it could be expanded to support other emulators)
https://github.com/Provenance-Emu/Provenance/pull/1464/files
Related,
Database of cheats, though not easy to match roms other than by name string.
https://github.com/libretro/libretro-database/tree/master/cht
What's the current state of this? The "Cheat codes" menu is there, but doesn't seem to do anything. At least for GBA, it rejects properly formatted entries.
What's the current state of this? The "Cheat codes" menu is there, but doesn't seem to do anything. At least for GBA, it rejects properly formatted entries.
@alexchandel That's a great point, I noticed a bug in VisualBoyAdvance Cheat Code support, so the fix is included as part of an existing PR (https://github.com/Provenance-Emu/Provenance/pull/2144/commits/72109af1d4cec49da953fd476190adab31ed14ad @JoeMatt )
This is part of 'Provenance XL - Release' build in the Pull Request. Usually, when there is Cheat Code menu the cheat code should work =]