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

    Having problem with adding multi code cheats? (SOLUTION!)

    Scheduled Pinned Locked Moved Help and Support
    cheatsmultiple codesgamesharkchtedit
    5 Posts 3 Posters 8.5k 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.
    • P
      PetroRie
      last edited by PetroRie

      Recently I was making some custom cheat files for PSX games. I have found out that multi code cheats didn't work. I have found the solution, usually if you use more than 3/4 codes per cheat it won't work for some reason or it will be glitchy, so you need to add every code separately.

      This drove me crazy when I wanted to use a cheat for The Legend of the Dragoon. I want to use the following cheat for Infinite HP (All Characters):

      D00CCDEC 1021
      800CCDE0 0002
      D00CCDEC 1021
      800CCDE2 2401
      D00CCDEC 1021
      800CCDE4 0005
      D00CCDEC 1021
      800CCDE6 1027
      D00CCDEC 1021
      800CCDEE 2400

      As you can see there are 10 codes which needs to be poked into the memory of the game.

      If we simply want to use a Gameshark code we simply insert the Gameshark code as the code into the format. Except instead of the blank space we need to use a + So like this:

      cheat0_desc = "Description"
      cheat0_code = "800F45E6+2400"
      cheat0_enable = false

      If we have a multi adres code like in our example, we MUST ONLY enter 1 adres per cheat else it won't work!! So coming back to our code for the Infinite HP for All Characters, we must add it as below to our cheat file:

      cheat0_desc = "(1) Inf. HP In Battle"
      cheat0_code = "D00CCDEC+1021"
      cheat0_enable = false

      cheat1_desc = "(2) Inf. HP In Battle"
      cheat1_code = "800CCDE0+0002"
      cheat1_enable = false

      cheat2_desc = "(3) Inf. HP In Battle"
      cheat2_code = "D00CCDEC+1021"
      cheat2_enable = false

      cheat3_desc = "(4) Inf. HP In Battle"
      cheat3_code = "800CCDE2+2401"
      cheat3_enable = false

      cheat4_desc = "(5) Inf. HP In Battle"
      cheat4_code = "D00CCDEC+1021"
      cheat4_enable = false

      cheat5_desc = "(6) Inf. HP In Battle"
      cheat5_code = "800CCDE4+0005"
      cheat5_enable = false

      cheat6_desc = "(7) Inf. HP In Battle"
      cheat6_code = "D00CCDEC+1021"
      cheat6_enable = false

      cheat7_desc = "(8) Inf. HP In Battle"
      cheat7_code = "800CCDE6+1027"
      cheat7_enable = false

      cheat8_desc = "(9) Inf. HP In Battle"
      cheat8_code = "D00CCDEC+1021"
      cheat8_enable = false

      cheat9_desc = "(10) Inf. HP In Battle"
      cheat9_code = "800CCDEE+2400"
      cheat9_enable = false

      I found this solution just a couple mins ago. I used all 10 codes into one cheat which didn't work and it drove me crazy for the last couple days. So I decided to post the solution here in case someone will face the same problem I had. So there you go guys, have fun cheating!

      1 Reply Last reply Reply Quote 1
      • suprjamiS
        suprjami
        last edited by

        This is really cool, thank you, I was looking for how to do this the other day.

        Don't spose you want to add this to the wiki? It'll be much easier to find than in an old forum thread :)

        https://github.com/RetroPie/RetroPie-Setup/wiki/Playstation-1

        P 1 Reply Last reply Reply Quote 0
        • P
          PetroRie @suprjami
          last edited by

          @suprjami said in Having problem with adding multi code cheats? (SOLUTION!):

          This is really cool, thank you, I was looking for how to do this the other day.

          Don't spose you want to add this to the wiki? It'll be much easier to find than in an old forum thread :)

          https://github.com/RetroPie/RetroPie-Setup/wiki/Playstation-1

          I think it's a big maybe. Because with other emulators I had the same problem. I don't know how to add it if you want you can add it I don't mind at all. As long others can enjoy cheating haha

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @PetroRie
            last edited by

            @PetroRie @suprjami just in terms of keeping the wiki organised, extraneous subsets of retroarch such as overlays/retroachievements/cheats etc. I haven't figured out the best way of organising them- would it make sense to have a retroarch megathread highlighted the added functions and settings of retroarch?

            e.g. appended to this page? https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            suprjamiS 1 Reply Last reply Reply Quote 0
            • suprjamiS
              suprjami @herb_fargus
              last edited by

              @herb_fargus Yeah that would make sense. Have like

              • RetroArch
                • RetroArch-Cheats
                • RetroArch-Overlays
                • RetroArch-Achievements

              and so on

              1 Reply Last reply Reply Quote 1
              • 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.