Double Dragon overclocking cheat

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
terryhan
Posts: 5
Joined: Thu Jan 29, 2004 7:26 pm

Double Dragon overclocking cheat

Post by terryhan »

It's not strictly speaking a cheat, but it uses the cheat.dat file, so I was wondering if you could help me out.
I'm trying to make three cheats to overclock the three processors in Double Dragon (by 200%), but they don't seem to work. Here's what I'm using (from the Mameworld forum):

ddragon:65004000:00000000:00020000:00000000:Overclock CPU#1
ddragon:65004000:00000001:00020000:00000000:Overclock CPU#2
ddragon:65004000:00000002:00020000:00000000:Overclock CPU#3

They appear in the cheat selection, but when I select them they don't work, or at least, don't have the same effect as turning each processor up to 200% on the MAME menu.
kelvSYC
Posts: 1121
Joined: Thu Sep 27, 2001 1:00 am
Location: Calgary, AB, Canada

Post by kelvSYC »

All cheats using the new cheat engine must start with a colon. Since these lines don't start with a colon, the cheat engine is misinterpreting them as old cheat engine lines.
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?
terryhan
Posts: 5
Joined: Thu Jan 29, 2004 7:26 pm

Post by terryhan »

Thanks very much. And to think I deleted those colons because the cheats didn't appear in the cheat menu.

Can I ask, if I wanted to overclock the processor by 150% instead of 200%, would I simply change the 00020000 value to 00015000?
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:

Post by Pugsy »

Overclocking cheats shouldn't appear in the cheat list....they autoload on starting MAME, so it's invisible to the user.

How it works can be found in the cheat.c file in the MAME source archive. Or you can find it mentioned in the lead in of the cheat file.

Code: Select all

; Overclock: (01100101 -------- -1------ --------) 0x65004000
;
;                       Overclocks a CPU. Put the CPU index you want in the address field, and the overclocking amount in the data field.
;                       Use 16.16 fixed point notation for the overclocking amount.
;
;                       Example 1: overclocking CPU #0 by 200%
;                       :gamename:65004000:00000000:00020000:00000000:
;
;                       Example 2: overclocking CPU #3 by 125%
;                       :gamename:65004000:00000003:00014000:00000000:
;
;                       To convert a percent to 16.16 fixed point notation, take the percentage as a decimal value (eg. 65% = .65) and
;                       multiply it by 65536. Then, convert the value to hex.
So to overclock it by 150% it would be 00018000

ie 1.5 * 65536 = 98304 in decimal = 18000 in hex
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)
terryhan
Posts: 5
Joined: Thu Jan 29, 2004 7:26 pm

Post by terryhan »

Again, thanks.
Post Reply