RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Force specific game to automatically enable a cheat from a cheat file

    Scheduled Pinned Locked Moved Help and Support
    cheatforceby game
    29 Posts 5 Posters 4.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sleve_mcdichael @fedekrum
      last edited by

      @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

      1 Reply Last reply Reply Quote 0
      • B
        barbudreadmon @fedekrum
        last edited by

        @fedekrum That's interesting, could you share your cheat file ?

        FBNeo developer - github - forum

        FollyF 1 Reply Last reply Reply Quote 0
        • FollyF
          Folly @barbudreadmon
          last edited by

          @barbudreadmon

          You can find the link in his first post.
          You should be able to download it there.

          B 1 Reply Last reply Reply Quote 0
          • B
            barbudreadmon @Folly
            last edited by barbudreadmon

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

            FBNeo developer - github - forum

            FollyF 1 Reply Last reply Reply Quote 0
            • FollyF
              Folly @barbudreadmon
              last edited by Folly

              @barbudreadmon

              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 ?

              F 1 Reply Last reply Reply Quote 0
              • F
                fedekrum @Folly
                last edited by fedekrum

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

                B 1 Reply Last reply Reply Quote 0
                • B
                  barbudreadmon @fedekrum
                  last edited by

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

                  FBNeo developer - github - forum

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fedekrum @barbudreadmon
                    last edited by fedekrum

                    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)

                    B FollyF 3 Replies Last reply Reply Quote 0
                    • B
                      barbudreadmon @fedekrum
                      last edited by

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

                      FBNeo developer - github - forum

                      1 Reply Last reply Reply Quote 0
                      • FollyF
                        Folly @fedekrum
                        last edited by Folly

                        @fedekrum

                        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.xml

                        I 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/2

                        If you can you should post your cheat here :
                        http://www.mamecheat.co.uk/
                        So It can be included in the new mamecheat cheat file.

                        1 Reply Last reply Reply Quote 0
                        • B
                          barbudreadmon @fedekrum
                          last edited by

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

                          FBNeo developer - github - forum

                          FollyF F 2 Replies Last reply Reply Quote 1
                          • FollyF
                            Folly @barbudreadmon
                            last edited by Folly

                            @barbudreadmon

                            Your conversion can probably also be used by lr-mame2003, right ?

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              barbudreadmon @Folly
                              last edited by

                              @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

                              FBNeo developer - github - forum

                              FollyF 1 Reply Last reply Reply Quote 0
                              • FollyF
                                Folly @barbudreadmon
                                last edited by Folly

                                @barbudreadmon

                                No problem.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fedekrum @barbudreadmon
                                  last edited by

                                  @barbudreadmon, thanks for including this. So can you answer my first post to use it on FBNeo ?

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @fedekrum
                                    last edited by

                                    @fedekrum said in Force specific game to automatically enable a cheat from a cheat file:

                                    So can you answer my first post to use it on FBNeo ?

                                    They just did, in the previous post:

                                    Follow the instructions at https://docs.libretro.com/library/fbneo/#cheats, make sure you read those instructions properly ...
                                    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.

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fedekrum
                                      last edited by fedekrum

                                      upppsss !!! You are right !!

                                      I have submitted it to http://www.mamecheat.co.uk/forums/viewtopic.php?f=4&t=13295 today too.

                                      FollyF 1 Reply Last reply Reply Quote 1
                                      • FollyF
                                        Folly @fedekrum
                                        last edited by

                                        @fedekrum

                                        Thanks

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fedekrum
                                          last edited by fedekrum

                                          I have isolated the cheat (is not combined with other cheats anymore) and changed the format to proper temp variables and added a "run" status. This is probably the correct way to do it rather than my last version of the XML.

                                          I updated the link on my first post.

                                          @barbudreadmon, does it makes a difference to you?

                                          B 1 Reply Last reply Reply Quote 0
                                          • F
                                            fedekrum
                                            last edited by

                                            Here is a video of a valid move with and without the cheat.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.