Certain ROM/Cheat loads delete Cheat files

Issue #187 invalid
Former user created an issue

Original [issue 187](https://code.google.com/p/genplus-gx/issues/detail?id=187) created by cramer1980 on 2011-09-11T14:15:35.000Z:

What steps will reproduce the problem? 1.Used Sonic the Hedgehog Rom or Altered Beast Rom 2.Have cheat file in folder with matching name 3.Load ROM, then load cheat, no cheats in list, and deletes cheat file from SD card

What is the expected output? What do you see instead? I would expect to see the cheat list. I see no cheats and the .pat is missing from the SD card

What version of the emulator are you using (official, SVN revision,...)? 1.6.0- also occurred in 1.5

Please provide any additional information below (Video settings, Console region,...) None

Comments (7)

  1. Former user Account Deleted

    Comment # 1 originally posted by cramer1980 on 2011-09-11T14:18:17.000Z:

    I can send the particular ROM and pat files being used if necessary. Does not occur for all games. Strider, Strider 2, and Golden Axe are other examples. Decap Attack, Sonic 2, Golden Axe 2 and 3 work fine.

  2. Former user Account Deleted

    Comment # 2 originally posted by ekeeke31 on 2011-09-19T10:14:22.000Z:

    Please upload your non-working .pat files here.

    If file format is incoorect, the emulator will assume there are no cheat codes in that file and indeed delete the file (because you can also delete entries from the menu). I agree this is maybe not very good since it would delete any wrongly formatted patch files but there you got your explanation.

  3. Former user Account Deleted

    Comment # 4 originally posted by ekeeke31 on 2011-09-19T12:03:54.000Z:

    First file has a '?' mark in it, the emulator cannot handle this for you, you need to replace it with a correct value. Note that this is a cheat file for the Master System version, see notes below.

    All those files are cheat codes for Master System or Game Gear, not Genesis, they need to be put in the correct folder (/cheats/ms or /cheats/gg).

    Correct format for Genesis is XXXXXX:YYYY (Action replay) or AAAA-BBBB (Game Genie), as described in the user manual.

    I will modify the emulator so it doesn't delete the file when no valid cheat codes are found, it's safer.

  4. Former user Account Deleted

    Comment # 5 originally posted by cramer1980 on 2011-09-19T16:30:21.000Z:

    Thanks for the response, that makes sense. When will the update be? Will it be a batch update?

  5. Former user Account Deleted

    Comment # 6 originally posted by ekeeke31 on 2011-09-20T07:54:39.000Z:

    There is no release scheduling plan so I can't tell you when next update will be or what will be included, if that is what you mean by "batch".

    Anyway, you don't need an update: the solution to your problem is to use valid cheat code files and to put them in the correct system subfolder, as explained in the user manual. This way, they won't be deleted.

  6. Former user Account Deleted

    Comment # 7 originally posted by cramer1980 on 2011-09-20T11:30:43.000Z:

    All is well and thanks for the great work you do.

  7. Log in to comment