Anyone tried this?

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
kelvSYC
Posts: 1121
Joined: Thu Sep 27, 2001 1:00 am
Location: Calgary, AB, Canada

Anyone tried this?

Post by kelvSYC »

If you pre-enable, or assign a key to, only one part of a multi-part cheat, would the entire cheat activate, or just that one part?

What would happen if you pre-enable or assign the same key to two or more list items in the same list cheat? What would happen if you assign it to the first line of a list?

How about pre-enabling or assigning a key to a "select a number" cheat?
kelvSYC's Guide to the Cheat Engine - http://members.shaw.ca/kelvsyc/cheatguide.html

The New Move List Cheat Collection - http://mamecheat.co.uk/forums/viewtopic.php?p=6469

Underscore Command - What better game is there?
User avatar
ianpatt
Posts: 336
Joined: Sat Sep 22, 2001 1:00 am
Location: San Francisco, CA

Post by ianpatt »

You can't. The index used when assigning an activation key/auto-activating is an index into the cheat list, ignoring the number of subcheats associated with each cheat.

So, for the first case (pre-enabling or using an activation key on an multi-part cheat) the entire cheat will activate, unless it is a select cheat, in which case nothing will happen.

The second and third cases are impossible to do (pre-enabling individual subcheats.)

The final case will not prompt the user for a value, but will use the default value.
kelvSYC
Posts: 1121
Joined: Thu Sep 27, 2001 1:00 am
Location: Calgary, AB, Canada

Post by kelvSYC »

Dang. I was thinking that you would cycle through the list for list cheats.

How would you go to set default values in "select a number" cheats?

What would happen if you put a "select a number" cheat in multipart or list?

ie.

Code: Select all

:game0001:00000100:000001:FF:FF:Cheat 1
:game0001:00010100:000002:FE:FF:Cheat 1 (2/2)

:game0001:62000000:000000:00:FF:Cheat 2
:game0001:00000100:000001:FF:FF:Cheat 2 Item 1
:game0001:00000100:000002:FE:FF:Cheat 2 Item 2
kelvSYC's Guide to the Cheat Engine - http://members.shaw.ca/kelvsyc/cheatguide.html

The New Move List Cheat Collection - http://mamecheat.co.uk/forums/viewtopic.php?p=6469

Underscore Command - What better game is there?
User avatar
ianpatt
Posts: 336
Joined: Sat Sep 22, 2001 1:00 am
Location: San Francisco, CA

Post by ianpatt »

kelvSYC wrote:How would you go to set default values in "select a number" cheats?
The default value for a user-select cheat is whatever is stored in the data field (ie. the maximum value.) However, this is "undocumented" behavior that may change later, for example if I add support for user-select when not explicitly selected from a menu.
kelvSYC wrote:What would happen if you put a "select a number" cheat in multipart or list?
Multi-part works correctly, select cheat does not. Don't put more than one user-select in a linked cheat, it won't work correctly.
kelvSYC
Posts: 1121
Joined: Thu Sep 27, 2001 1:00 am
Location: Calgary, AB, Canada

Post by kelvSYC »

That means the nbajamt1 team configuration cheats will have to be changed...

Any other "can be done on paper but not in real life" things about the cheat format we have to be aware of?
kelvSYC's Guide to the Cheat Engine - http://members.shaw.ca/kelvsyc/cheatguide.html

The New Move List Cheat Collection - http://mamecheat.co.uk/forums/viewtopic.php?p=6469

Underscore Command - What better game is there?
User avatar
ianpatt
Posts: 336
Joined: Sat Sep 22, 2001 1:00 am
Location: San Francisco, CA

Post by ianpatt »

kelvSYC wrote:Any other "can be done on paper but not in real life" things about the cheat format we have to be aware of?
Actually, I'm wrong. One-shot user-select cheats do work correctly with user select, but always-on user-select cheats don't work correctly. It's a user-interface issue; imagine scrolling through the list of choices and having to pick a number at each selection.

I'm pretty sure that all the other "possible on paper but not in real life" cases are user-interface issues also. Hopefully.
stephh
Posts: 601
Joined: Fri Aug 17, 2001 1:00 am
Location: Paris, France

Post by stephh »

Ian please check your PM ... Thanks by advance for what you can do ...

Steph from The Ultimate Patchers
Post Reply