Force specific game to automatically enable a cheat from a cheat file
-
There is a work done by philmurr at. https://forums.arcade-museum.com/threads/frogger-bugs-descriptions-and-fixes.482765
to fix known Frogger issues (for example a valid move to a log resulting in a frog's death). Based on that work I made a cheat file.
Is it possible to make a specific game automatically run a cheat from a cheat file by default?(EDIT: I was asked to post the cheat here, so...
https://gist.github.com/fedekrum/a7790d422cca3050f8d6bd3c5b9dfe15 ) -
Assuming you use MAME standalone.
You have to add this text in /opt/retropie/configs/mame/mame.ini as superuser :cheatpath /home/pi/RetroPie/roms/mame/cheat cheat 1
Then place the frogger.xml in the folder/home/pi/RetroPie/roms/mame/cheat/cheat .
That should do the trick, hopefully.
(If I got the correct ini file and path for mame standalone as there are more mame versions in mame) -
@Folly , I am not sure what are you referring to with MAME standalone.
-
Which emulator do you use for frogger ?
-
@Folly , lr-fbneo. I have tried lr-mame2003 with no success.
-
There is a directory :
/home/pi/RetroPie/BIOS/fbneo/cheats
So it's probably possible.
Though nothing to be found in the docs.I never used cheats on lr-fbneo so not sure how a cheat can be activated.
You should ask @barbudreadmon, the expert on lr-fbneo.
-
@Folly , thanks for all.
I know how to make a cheat work. My point is that each time I open frogger, I would like it to AUTOMATICALLY use certain cheat.
I think your instructions are not what I am looking for because I have to manually activate the cheat.
I will edit my post and try to make that point clear.Thanks anyway !!
-
@fedekrum said in Force specific game to automatically enable a cheat from a cheat file:
I know how to make a cheat work. My point is that each time I open frogger,I would like it to AUTOMATICALLY use certain cheat.
How do you make the cheat work? You'll just need to figure out whatever line(s) of config-override need to make that happen, and then add it to, for example,
~/RetroPie/roms/arcade/frogger.zip.cfg
-
@fedekrum That's interesting, could you share your cheat file ?
-
You can find the link in his first post.
You should be able to download it there. -
@Folly it needs registration which i'd rather avoid, furthermore those xml files aren't compatible with FBNeo so i suppose it's not what the OP is using.
-
Oh yea I see, I just checked.
I would want to avoid it too.@fedekrum
Can you share the cheat and the differences file to us in a different way ? -
@Folly said in Force specific game to automatically enable a cheat from a cheat file:
Can you share the cheat and the differences file to us in a different way ?
Sure !!!
I have edited my first post here to include a gist link to it. -
@fedekrum said in Force specific game to automatically enable a cheat from a cheat file:
I have edited my first post here to include a gist link to it.
Hmmm, again, xml cheats don't work in FBNeo, is that file really what you were trying to use ?
-
I must clarify that I was able to make frogger work on lr-mame2003, so as you point out, I did this on MAME. (I didnĀ“t know till now that FBNeo was not capable of these cheats)
-
@fedekrum Thanks for the clarification, since you said you know how to make a cheat work and you are using FBNeo, i had assumed you had a working cheat file for FBNeo.
I'm not gonna be able to help if you decided to use mame.
-
I tested your cheat with lr-mame and it works oob.
Make sure you have the cheat option enabled in the RetroArch-gui under core options.
I placed your cheat here :
/home/pi/RetroPie/BIOS/mame/cheat/cheat/frogger.xmlI installed lr-mame2003 and did some investigation.
Seems you can enable cheats in the RetroArch core options/mame2003-gui.
However the cheats where different than yours.
Looking further I found that lr-mame2003 probably uses an older cheat format, as expected.
Looks like that cheat-file comes with the install and can be found here :
/opt/retropie/libretrocores/lr-mame2003/metadata/cheat.dat
So if you want to use it on lr-mame2003 you probably have to convert yours to an older format and place it in the cheat.dat file.As explained earlier your cheat will also work with mame standalone, as I have tested this now, see post 2 on how to enable this :
https://retropie.org.uk/forum/topic/33657/force-specific-game-to-automatically-enable-a-cheat-from-a-cheat-file/2If you can you should post your cheat here :
http://www.mamecheat.co.uk/
So It can be included in the new mamecheat cheat file. -
@fedekrum In case you intend to use FBNeo again, i just converted that cheat and added it to our cheat pack.
Follow the instructions at https://docs.libretro.com/library/fbneo/#cheats, make sure you read those instructions properly since i keep getting reports because people are using the wrong folder and/or looking in the wrong menu.
Afterward the cheat will be available through the core options, you just need to enable it there and it should be reapplied every time you boot the game.
It might be important to make sure your version of FBNeo is not outdated, meaning updating it from sources is recommended.
-
Your conversion can probably also be used by lr-mame2003, right ?
-
@Folly said in Force specific game to automatically enable a cheat from a cheat file:
Your conversion can probably also be used by lr-mame2003, right ?
I'm not gonna be able to help with questions regarding mame
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.