• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.1k 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 18 Dec 2022, 04:26

    @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 18 Dec 2022, 09:41

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

      FBNeo developer - github - forum

      F 1 Reply Last reply 18 Dec 2022, 10:21 Reply Quote 0
      • F
        Folly @barbudreadmon
        last edited by 18 Dec 2022, 10:21

        @barbudreadmon

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

        B 1 Reply Last reply 18 Dec 2022, 10:23 Reply Quote 0
        • B
          barbudreadmon @Folly
          last edited by barbudreadmon 18 Dec 2022, 10:23

          @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

          F 1 Reply Last reply 18 Dec 2022, 10:25 Reply Quote 0
          • F
            Folly @barbudreadmon
            last edited by Folly 18 Dec 2022, 10:25

            @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 19 Dec 2022, 14:29 Reply Quote 0
            • F
              fedekrum @Folly
              last edited by fedekrum 19 Dec 2022, 14:29

              @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 19 Dec 2022, 14:45 Reply Quote 0
              • B
                barbudreadmon @fedekrum
                last edited by 19 Dec 2022, 14:45

                @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 19 Dec 2022, 14:58 Reply Quote 0
                • F
                  fedekrum @barbudreadmon
                  last edited by fedekrum 19 Dec 2022, 14:58

                  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 F 3 Replies Last reply 19 Dec 2022, 15:10 Reply Quote 0
                  • B
                    barbudreadmon @fedekrum
                    last edited by 19 Dec 2022, 15:10

                    @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
                    • F
                      Folly @fedekrum
                      last edited by Folly 19 Dec 2022, 15:50

                      @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 19 Dec 2022, 15:56

                        @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

                        F F 2 Replies Last reply 19 Dec 2022, 16:25 Reply Quote 1
                        • F
                          Folly @barbudreadmon
                          last edited by Folly 19 Dec 2022, 16:25

                          @barbudreadmon

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

                          B 1 Reply Last reply 19 Dec 2022, 16:28 Reply Quote 0
                          • B
                            barbudreadmon @Folly
                            last edited by 19 Dec 2022, 16:28

                            @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

                            F 1 Reply Last reply 19 Dec 2022, 16:29 Reply Quote 0
                            • F
                              Folly @barbudreadmon
                              last edited by Folly 19 Dec 2022, 16:29

                              @barbudreadmon

                              No problem.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fedekrum @barbudreadmon
                                last edited by 19 Dec 2022, 20:43

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

                                M 1 Reply Last reply 19 Dec 2022, 20:54 Reply Quote 0
                                • M
                                  mitu Global Moderator @fedekrum
                                  last edited by 19 Dec 2022, 20:54

                                  @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 20 Dec 2022, 00:05

                                    upppsss !!! You are right !!

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

                                    F 1 Reply Last reply 20 Dec 2022, 07:25 Reply Quote 1
                                    • F
                                      Folly @fedekrum
                                      last edited by 20 Dec 2022, 07:25

                                      @fedekrum

                                      Thanks

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fedekrum
                                        last edited by fedekrum 20 Dec 2022, 15:52

                                        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 26 Dec 2022, 11:33 Reply Quote 0
                                        • F
                                          fedekrum
                                          last edited by 21 Dec 2022, 02:10

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

                                          1 Reply Last reply Reply Quote 0
                                          27 out of 29
                                          • First post
                                            27/29
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received