Page 1 of 1

Enabling cheats on Linux [SOLVED]

Posted: Thu Sep 02, 2010 11:11 pm
by sconti555
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!

Re: Enabling cheats on Linux

Posted: Thu Sep 02, 2010 11:51 pm
by Pugsy
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

Re: Enabling cheats on Linux

Posted: Fri Sep 03, 2010 11:03 pm
by sconti555
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.

Re: Enabling cheats on Linux [SOLVED]

Posted: Mon Aug 10, 2020 4:25 pm
by nitrofurano
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!

Re: Enabling cheats on Linux [SOLVED]

Posted: Mon Aug 10, 2020 5:19 pm
by Pugsy
Have you extracted cheat.7z from the zip file and put that in the folder?

Re: Enabling cheats on Linux [SOLVED]

Posted: Mon Aug 10, 2020 6:14 pm
by nitrofurano

Re: Enabling cheats on Linux [SOLVED]

Posted: Mon Aug 10, 2020 7:07 pm
by Pugsy
What about putting cheat.7z in the parent directory, so move it up one dir.

Re: Enabling cheats on Linux [SOLVED]

Posted: Mon Aug 10, 2020 7:22 pm
by nitrofurano
works! thanks! :)