Pit Fighter - cheats needed

This FORUM is ONLY for posting requests for M.A.M.E. arcade cheats. The actual cheats should be posted in the M.A.M.E. "Arcade" Cheats forum. For cheat requests a 'please' would do no harm...
Post Reply
Alexandergreat3
Posts: 4
Joined: Fri Jul 03, 2009 11:23 pm

Pit Fighter - cheats needed

Post by Alexandergreat3 »

Hi guys,

I have been searching for Pit Fighter cheats, and so far, there are only a few cheats for it:

* Unlimited Time
* Unlimited Health
* 1 hit KO
* Character select

All I'm looking for are:

* Power Pill mode (after a character takes the green pill, he powers up)
* Special attack for the enemy characters - certain enemy characters have special moves that cannot be performed manually, ie Chain Man's grabbing of the throat and punching the opponent. So, the only way to do these moves is by using cheats.

Thank you in advance for your help.

PS: I have read the tutorial for searching for cheats and I have toyed around with the tools, but so far, I'm still not sure how to do the most basic cheat search. If you could, give me a simple demonstration/example how to search for a cheat. (I'm a college student and have decend computer knowledge, but I'm no programmer 8) )
asper
Posts: 132
Joined: Thu Oct 18, 2007 11:44 am

Re: Pit Fighter - cheats needed

Post by asper »

To find cheats without the mame built-in engine (that is not present at the moment in the mame releases) you must:

1) Run mame in debug mode (at the command line or in a batch file write mame.exe -debug or mame32ui.exe -debug if you use the win32 version), choose the game and hit F5 to start it.
2) Then start a software to find cheats under windows (like ArtMoney Pro or many others).

A) with the cheat software find the location of what you want to cheat (es. lives); i suppose you know how to look for cheats with a common cheat software.
B) modify that location to a value you can easely find (ex. DEADBEEF or CCCCCCCC or AAAAAAAA or BBBBBBBB; avoid FFFFFFFF or 11111111 because these are common bytes sequences and you may find wrong locations using those) remembering to set, in the cheat software, the value of the location at least to 4bytes because some found valueas ca<n be 1 or 2 bytes only and changing them to for ex. AAAAAAAA is not possible because you will only obtain AA for 1 byte and AAAA for 2 bytes.
The location you find with a common cheat software is DIFFERENT from the one needed for mame cheats and often it's different also among cheat softwares themselves.

so now you can do 3 things:

C1) go into mame debug window, press CTRL+M to open the memory editor and manually (visually) look for the value you entered (es. DEADBEEF, AAAAAAAA or BBBBBBBB) and write down the mame debug memory editor location: this will be the good address to write in the cheat file. Maybe try to modify the address in the cheat software to verify that the changes correspond into mame debug memory editor so you are sure you found the correct location (because you can also find false positives with AAAAAAAA, BBBBBBBB etc.). Unfortunately some mame cpus use a very big ram (ex PSX hardware) so this method is really time-consuming, use it only for old cpu games (less memory used).
[NOTE: using the byte sequence DEADBEEF it's really a good choice because it's very hard to find this sequence of bytes in games memory but sometimes some mame cpus like to invert bytes order so if you modify the value in the cheat software with DEADBEEF you can find it EDADEBFE in the mame debug memory editor, so using BBBBBBBB or CCCCCCCC is more convenient because inverting those values it always gives the same sequence :) but it may create lot of false positives; make your choice according to the game you are "exploring" !]

C2) another way is to use the mame debug find option: it look for a specific sequence of bytes you specify giving you back the addresses in which that sequence is present (not so good in my opinion).

C3) use the mame debug dump option: it creates a file in which you can specify the amount of memory to dump (from 1 byte to all the game memory) and then look with notepad inside it for the specific sequence). It's longer to obtain the memory file dumps in games with big memory but the notepad search is really faster than mame find command.

To know how to use the find and dump command type "help dump" or "help find" (without quotes) in mame debug window, then hit enter: you will receive lot of examples !

When you input commands in the mame debugger windows, if you want to obtain the output of the command you entered the game MUST BE RUNNING (NOT IN PAUSE); you can give a command also when the game is in pause but the output will come out only AFTER the game is unpaused.

Here you can find almost all outputs of the mame debug help command: http://mess.redump.net/debugger and here in particular the memory find and dump commands syntax: http://mess.redump.net/debugger:memory

Once you find the correct address you can create your .xml files according to the specific game name and insert it modifying it with the value of your choice (have a look at an already done .xml file to see how to "compose" a cheat.


2 Tricks:

1) if you enter values as something like 44414D4E434F4F4C you will find the correspond ASCII characters (right part of the mame debugger memory editor) saying DAMNCOOL and it will be easier to visually look for DAMNCOOL insted of 44414D4E434F4F4C. Obviously this doesn't work in game cpus which invert bytes (try to invert them before like 4414D4E434F4F4C4).

2) after you found your 1st game value (ex. lives) VERY often other significant memory locations are NEAR the one you found, such as CREDITS, ENERGY or TIMERS; so after you found your 1st value try to VISUALLY look in the nearer memory regions of the mame debugger memory editor; a timer will decrease or increase while the game is running, a byte will change if you get powerups, etc. just use your fantasy to became skilled in finding cheats !


One last note: remember that, in memory editors, values can go on a new line so you can find for ex. AAAAAA at the end of a line the remaining AA will be at the beginning of the line below or you can find CC at the end of a line and the remaining CCCCCC at the beginning of the line below or you can find DEAD at the end of a line and BEEF at the begninning of the line below. Remember that apparently insignificant note when you look for the values you entered (using find, dump, visually) because a simple search of the plain value, ex. CCCCCCCC, can produce zero results for this reason; so try to look also for CCCCCC or DEAD or DEADBE or ADBEEF etc. !
Seeker2002
Posts: 19
Joined: Sat Dec 12, 2009 9:34 pm
Location: USA

Re: Pit Fighter - cheats needed

Post by Seeker2002 »

Thanks this helps alot. This answers part of my question I posted earlier about how do you find new cheats for the later version of MAMEs that uses the XML cheat format.

Now is there a simpler or easier way of maybe once you find your poke address in ArtMoney Pro to just set the offset so that it will correspond with MAME's memory offset?

Thanks :wink:
Seeker2002
X Evox-Team member
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 16 times
Contact:

Re: Pit Fighter - cheats needed

Post by Pugsy »

The above information is outdated,

S. Ronco has added cheat finding capabilities to the debugger and they work exceptionally well.

In the debugger just type:-

help cheats

to get more information, there are are few posts on these forums that should help you get started.
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)
Seeker2002
Posts: 19
Joined: Sat Dec 12, 2009 9:34 pm
Location: USA

Re: Pit Fighter - cheats needed

Post by Seeker2002 »

Pugsy wrote:The above information is outdated,

S. Ronco has added cheat finding capabilities to the debugger and they work exceptionally well.

In the debugger just type:-

help cheats

to get more information, there are are few posts on these forums that should help you get started.
Thanks Pugsy, I'll take a look at it and give it a try. :D
Seeker2002
X Evox-Team member
Post Reply