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: 3304
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.206 XML cheat collection 08 FEBRUARY 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/ybw7c4xyd ... at0206.zip (ZIP Archive 1931 KB)

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.

Post Reply