Provenance icon indicating copy to clipboard operation
Provenance copied to clipboard

Cheat code support

Open jasarien opened this issue 10 years ago • 14 comments

jasarien avatar Jul 30 '14 09:07 jasarien

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

ghost avatar Nov 25 '15 13:11 ghost

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.

rnaud avatar Dec 24 '15 02:12 rnaud

I'd just like to +1 this enhancement.

ahrenstein avatar Feb 23 '16 16:02 ahrenstein

+1 As well :)

MysticalOS avatar Mar 30 '16 03:03 MysticalOS

@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?

jdrydn avatar Jul 12 '16 10:07 jdrydn

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.

jasarien avatar Jul 12 '16 10:07 jasarien

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.

Cepheidsong avatar Dec 22 '17 02:12 Cepheidsong

Definitely giving this a 'one up'.

jelle619 avatar Apr 03 '18 19:04 jelle619

👍

buger avatar Jun 22 '20 04:06 buger

👍

yyl0 avatar Aug 25 '20 04:08 yyl0

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

rf2222222 avatar Dec 14 '20 00:12 rf2222222

Related,

Database of cheats, though not easy to match roms other than by name string.

https://github.com/libretro/libretro-database/tree/master/cht

JoeMatt avatar Jan 16 '22 21:01 JoeMatt

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 avatar Mar 26 '23 19:03 alexchandel

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 =]

rf2222222 avatar Mar 27 '23 01:03 rf2222222