Hackings requests/ideas

Alpha1

Do the Shake and 'VAC
Staff member
vacBacker
Feedback
95 (99%)
Credits
5,455CR
Your Cannonball project is awesome dude
smiley20.gif
 

dj_yt

Active member
Feedback
3 (100%)
Credits
787CR
Thanks dude. I'll be doing some more work on it in the future.

Just got to finish massaging my OutRun cabinet back into shape first!!!
 

virtvic

The Cabaret King
Feedback
21 (96%)
Credits
1,977CR
Can one of you clever bods sort out the jump kick 'flaw' in Kung Fu Master, please?

If you run along and do a diagonal up and kick you do the 'hwyah!' move. You can't do another soon after. There is some sort of 'rule' where you have to stop and start again to be able to do the jump kick. This really messes up your flow in a game...
 

cmonkey

Active member
vacBacker
Feedback
4 (100%)
Credits
1,658CR
Here you go Victor, 5 minutes work in the game engine.


For those interested, on a technical slant, you need to patch the JR C,disp call at $43d5 with a couple of NOPs. In the real world that equates to patching the 2 bytes in the a-4d-c.bin rom at address $03d5 with 0x00.

The original code forces you to walk x amount of steps since the last diagonal jump before it allows you to do another diagonal jump, the patched code removes this enforcement.

I'll leave it up to you to decide whether it improves the game or not, I'm merely the technical grunt that implements this stuff!
smiley36.gif
 

cmonkey

Active member
vacBacker
Feedback
4 (100%)
Credits
1,658CR
virtvic said:
All hail the Cmonkey! You sir, are a genius star of the universe!

How can I burn such sorcery onto my eeproms (and change my mame rom)?

Not my kind of game but whatever takes your fancy buddy!

Extract all files from the kungfum MAME rom set into a folder called kungfum. Open the a-4d-c.bin rom from within that folder in your favourite hex editor and change the bytes at offset $03d5 from 38 01 to 00 00. Save the changes and launch the game in MAME via the command line. MAME will moan that one of the roms is incorrect but will still play the game OK.

Burn the same patched rom to a 27128 eprom and replace the rom at position 4D with the newly patched rom to play on real hardware. Service mode will show "ROM 2 NG" (no good) as I haven't patched the rom checksum (although I know where the rom checksum is held so correcting that is trivial if need be).

Have fun!
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
I'll start making a patches folder somewhere for all these.

Wonder if there's a contingency in the MAME dev arena or even a fork of MAME for "fixed" games so we can get the new checksums included so the romset is "kunggfumf" - f meaning fixed.

Free play with attract mode hack (you know i'm _always_ going to ask for these
smiley4.gif
)
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
Just to add that we'll mostly be fine on a lot of the older games we want to to hack/patch up but some checksum their roms on boot and compare with stored values so the changes will cause a ROM NN error unless we patch the boot rom as well.

And sometimes the boot rom checksums itself which is kind of simplistic but quite neat protection (IIRC they check all locations apart from where the checksum is stored so it can be coded in last).
 

joe34

Active member
Credits
448CR
holy crap that's cool cmonkey
if the roms find their way out into the world I would have thought that hack will appear in eg. mameuifx and hbmame for the world to enjoy
smiley1.gif
joe342015-07-23 16:21:47
 

singy1uk

User
Credits
119CR
just tried the kung fu master hack and he jumps forward even when you push up.which leads to all kinds of trouble.great hack btw ade.
smiley4.gif


edit: pushing diagonal did nothing at all btw.
singy1uk2015-07-23 18:40:54
 

cmonkey

Active member
vacBacker
Feedback
4 (100%)
Credits
1,658CR
Oops! Never tried simply pushing up on the stick so wasn't aware that would be an unwanted side effect. Sorry about that!

An alternative solution which WILL allow you to jump up when you push up on the stick but will also require you to walk forward a tiny amount between consecutive diagonal jumps is to change the word at $43d1 from $0400 to $0001.

In the rom this will require changing the 2 bytes at offset $03d1 from 00 04 to 01 00.

Don't do the previous code alteration if you're going to try this new one.

Give this new solution a try and see which way is preferable.
 
Top