SDLMAME?

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
FoulMouth
Posts: 5
Joined: Sun Jul 15, 2007 6:00 am

SDLMAME?

Post by FoulMouth »

Can I use the cheat.dat on this MAME? I load it, and for every game it says cheats not found. It is v.117.
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Post by Pugsy »

I would imagine so.....have you read the cheat file faqs and docs? The UNZIPPED cheat.dat file must be in the same dir as the mame executable.

I've changed your username btw, as picking a swear word as your username is very immature.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
FoulMouth
Posts: 5
Joined: Sun Jul 15, 2007 6:00 am

Post by FoulMouth »

Sorry, I didn't mean to offend anyone. It was named after that anime/game.

Anyways, yes I am installing it correctly, unzipped, and the ini file refers to it. I know it's at least installed because if it wasn't, it would say 'no cheat database found' or something to that effect. It doesn't say that, just that 'there are no cheats for this game', I can't figure it out. I guess it's something odd with SDLMAME. And also, this is recent because an old cheat file used to work, but I think the 116 versions is when this started - or whenever some big change in the format happened made it incompatible with this particular MAME.
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Post by Pugsy »

Just compiled the win32 version of sdlmame and it works fine with the last cheatfile. This of course proves nothing if you are not running the win32 version, Things to try:

1. Try using the 0.114 cheat file release

2. Make a small cheat.dat and copy just the cheats you want into that - does that work?

If either 1 or 2 works then it's likely there some sort of issue on non-windows machines...maybe it's just a single line? I don't believe it's got anything to do with the line endings but you could always try swapping them to unix and then back to DOS. Otherwise the problem must lie somewhere with the cheat.c file on non-windows pcs.....
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
FoulMouth
Posts: 5
Joined: Sun Jul 15, 2007 6:00 am

Post by FoulMouth »

I don't believe it uses a different cheat.c. 114 did indeed work. I looked at the files and didn't find much difference except for one thing. The new one uses CRLF with LF line terminators while the old one, the one that's working uses only CRLF line terminators. I'm not sure if that is the issue but it's all I could find.
FoulMouth
Posts: 5
Joined: Sun Jul 15, 2007 6:00 am

Post by FoulMouth »

Scratch that. I converted it and it didn't make a difference.
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Post by Pugsy »

All I can think is that there's a single line somewhere that's causing issues with non-windows sdlmame compiles. I only run windows so the only way to find out which line is to copy and paste parts of the cheat file into a new file an keep trying. The best method would be to use a half split method...copy half of the cheat file into a new cheat file and see if it works, if it does copy half of the remaining cheat file in if it doesn't cut the cheat file in half again...repeat lots of times
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
Arbee
Posts: 1
Joined: Tue Jul 17, 2007 1:25 am

Post by Arbee »

Hi. The problem is that the "coolmini" entries contain 2 "ANSI" graphics characters (hex 0xb0). On Windows this is OK because the system default for text files is the current codepage, which is normally ANSI-compatible. Other systems now assume text files are UTF-8, so things blow up when it hits those.

The two bad lines are:
:coolmini:00010000:0DDF8D:00000001:FFFFFFFF:Easiest:No of hamburger
ingredients

:coolmini:00010000:0DDFF1:00000001:FFFFFFFF:Easiest:No of hamburger ingredients


The "o" in "No" is the bad character in both cases.

Cheers,
Arbee
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Post by Pugsy »

Ooops and thanks. I've updated the cheat files on the web page and I'll keep an eye out for future c*ck ups.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
User avatar
RedBeam
Posts: 191
Joined: Tue Oct 24, 2006 10:26 am
Location: Italy (Sardegna)

Post by RedBeam »

SORRY EVERYBODY...

My italian keyboard is cursed or I am almost IDIOT :cry:
The CPS2 smasher

Image

My troopers are skilled, but I'm supreme!!!

(Modest, huh? ;) )
Post Reply