Newer cheat.7z archives prevent you from modiying the archive?

If you are having problems finding or using cheats for an Emulator (particularly MAME/MESS) or have found a trick that you wish to share this is the place to do it. But please read the Cheat FAQ first.
Post Reply
User avatar
ReyVGM
Posts: 147
Joined: Thu May 11, 2006 3:55 pm
Contact:

Newer cheat.7z archives prevent you from modiying the archive?

Post by ReyVGM »

Before, I could open the cheat.7z with 7zip and I could extract a .xml file, modify a cheat, and re-add the file back to the cheat.7z.

On the latest arcives, when I do that, I get a "not implemented" error. I googled that message and it seems there's a problem with the actual file. I opened a years old cheat.7z file I had, I clicked on Info (the yellow "i" button) and I get no error messages. But on the last few releases, if you press the Info button, you get this "error":

"Warning: there are some data after the end of the payload data"

I think that's what is causing the issue and preventing me from being able to modify the archive. Could this be looked into a maybe fixed in a future archive?
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: Newer cheat.7z archives prevent you from modiying the archive?

Post by Pugsy »

You dont need to put any files in cheat.7z, just make a folder called cheat in the mame dir and copy any uncompressed XMLs to the folder and it will load them fine without having to do anything.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
User avatar
ReyVGM
Posts: 147
Joined: Thu May 11, 2006 3:55 pm
Contact:

Re: Newer cheat.7z archives prevent you from modiying the archive?

Post by ReyVGM »

Thanks, good to know. But why can't the cheat.7z go back to the way it was before when I could add files to it?

I would rather not have different xml files in different places.
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: Newer cheat.7z archives prevent you from modiying the archive?

Post by Pugsy »

I swapped to torrent7z ages ago because it makes smaller archives and it integrates into my build chain better. So there are no plans.

The problem with adding xmls to cheat.7z is that there's the risk that you lose any updated xmls when you update cheat.7z as you may find some cheats you have may not have been added.

You can make your own 7z called cheatrey.7z with your own xmls and add it to the cheat path in the ini file if you dont want xmls dotted around

cheatpath cheat;cheatrey
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
User avatar
ReyVGM
Posts: 147
Joined: Thu May 11, 2006 3:55 pm
Contact:

Re: Newer cheat.7z archives prevent you from modiying the archive?

Post by ReyVGM »

Alrighty, thanks for the answer!
Post Reply