Enabling cheats on Linux [SOLVED]

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
sconti555
Posts: 2
Joined: Thu Sep 02, 2010 10:41 pm

Enabling cheats on Linux [SOLVED]

Post by sconti555 » Thu Sep 02, 2010 11:11 pm

Dear MAME cheat-ers,

I am new to this forum, and hope I'm not about to start by asking a duplicate question: in a nutshell, I've downloaded on my Linux system (Zenwalk 6.4, Xfce desktop environment) the latest MAME (version 0.139) and patched it (twice with patches 0.139u1 and 0.139u2 in that order).

After compilation I duly fetched the latest cheat.zip (version 0.139) and placed it into the same folder (namely $HOME/.mame) as the mame execulable; I thereafter ran mame -cc and edited the resulting mame.ini file so that
...
rompath $HOME/.mame/roms
...
inipath $HOME/.mame
...
cheatpath $HOME/.mame
...
bios 1
cheat 1
...
That's pretty much it! Now, no matter what rom I load (e.g. from $HOME with the mame -cheat .mame/roms/rastan.zip) I end up being unable to activate any cheat, in that hitting the TAB key after the game boots would result in no Cheat option showing at all.

Anybody with a clue out there? With many thanks in advance for your help -- and apologies in case of a too dumb question!
Last edited by sconti555 on Fri Sep 03, 2010 11:03 pm, edited 1 time in total.

User avatar
Pugsy
Posts: 3443
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: Enabling cheats on Linux

Post by Pugsy » Thu Sep 02, 2010 11:51 pm

I don't run MAME on linux at the moment. Try this, leave the cheat.zip where you have it (the same directory as the mame executable) and put this in your ini file:-

Code: Select all

cheatpath                 $HOME/.mame/cheat
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.221 XML cheat collection 19 JUNE 2020) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/y5dktfpea ... 1.zip/file (ZIP Archive 3.66MB)

sconti555
Posts: 2
Joined: Thu Sep 02, 2010 10:41 pm

Re: Enabling cheats on Linux

Post by sconti555 » Fri Sep 03, 2010 11:03 pm

Pugsy wrote:I don't run MAME on linux at the moment. Try this, leave the cheat.zip where you have it (the same directory as the mame executable) and put this in your ini file:-

Code: Select all

cheatpath                 $HOME/.mame/cheat
Hi there Pugsy,
thanks a lot for your suggestion... which indeed turns out to break the problem: now the Cheat menu shows up, and appears to work! :-D I wish I'd known before that I only needed to omit the archive .zip extension (yep, I've tried with the full pathname).
Many thanks again, all the best Pugsy.

nitrofurano
Posts: 3
Joined: Mon Aug 10, 2020 4:16 pm

Re: Enabling cheats on Linux [SOLVED]

Post by nitrofurano » Mon Aug 10, 2020 4:25 pm

Tried all that above, and not working.... cheat goes to "return to previous menu", no other option available

Mame version is 0.220, downloaded from Ubuntu's repository (from "sudo apt install")

Please let us know what should be done for having the cheats working (even if no file is in the "~/.mame/cheat/" directory, it should be available options for seeking the cheat addresses as happened decades ago, isn't it? - i tried as from files available at http://cheat.retrogames.com/mame_downloads.htm, as having this directory empty)

Thanks in advance!

User avatar
Pugsy
Posts: 3443
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: Enabling cheats on Linux [SOLVED]

Post by Pugsy » Mon Aug 10, 2020 5:19 pm

Have you extracted cheat.7z from the zip file and put that in the folder?
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.221 XML cheat collection 19 JUNE 2020) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/y5dktfpea ... 1.zip/file (ZIP Archive 3.66MB)

nitrofurano
Posts: 3
Joined: Mon Aug 10, 2020 4:16 pm

Re: Enabling cheats on Linux [SOLVED]

Post by nitrofurano » Mon Aug 10, 2020 6:14 pm


User avatar
Pugsy
Posts: 3443
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: Enabling cheats on Linux [SOLVED]

Post by Pugsy » Mon Aug 10, 2020 7:07 pm

What about putting cheat.7z in the parent directory, so move it up one dir.
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.221 XML cheat collection 19 JUNE 2020) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/y5dktfpea ... 1.zip/file (ZIP Archive 3.66MB)

nitrofurano
Posts: 3
Joined: Mon Aug 10, 2020 4:16 pm

Re: Enabling cheats on Linux [SOLVED]

Post by nitrofurano » Mon Aug 10, 2020 7:22 pm

works! thanks! :)

Post Reply