Patches for Crazy Kong

pcfreak324
Posts: 50
Joined: Mon Jun 01, 2020 12:14 pm
Has thanked: 3 times
Been thanked: 12 times

Patches for Crazy Kong

Unread post by pcfreak324 »

Discover a collection of patches for the game Crazy Kong and its variants that can enhance your gaming experience. To apply these patches, begin by making a copy of the respective game's 'mra' file. Next, open the file using a text editor and navigate to the '<rom index="0">' element. Insert one or more of the following patches just before the closing '</rom>' tag.

Cosmetical changes

flip screen: rotates the image by 180 degrees (taken from MAME rom ckongmc)

  • patch is not supported by the current MiSTer and MiST cores, see issue #33 at GitHub

  • works for ckong and clones (however shifted jail bars for roms with ckongpt2 cage animation)

Code: Select all

<patch offset="0x49CE">2106C83E0077237732016BE1F1C9</patch>

title screen: change title to Donkey Kong (taken from MAME rom ckongdks, no changes for ckongdks)

Code: Select all

<patch offset="0x4F01">
A593018593018A93016593016A930446
9306059301E59201EA9201C59201CA92
06A59206659202469202289206059206
C59102A7910486910265910269910625
91010591020791010A9101E59002E790
01EA9001C59001CA9004859003689004
4590060D9302EF9204CE9202AD9202B1
92066D92014D92015292012D92013292
060D9206CD9102AE91029091066D9106
2D91010D9101129101ED9001F09001F2
9001CD9003D09000
</patch>

stage to be shown in attract mode (taken from Jon Wilson's Donkey Kong Pies Only hack)

  • 01 = barrels (default)

  • 02 = pie factory

  • 03 = springs

  • 04 = rivets

Code: Select all

<patch offset="0x76C">01</patch>

intro: increase/decrease Kong's climbing speed (taken from MAME rom ckongpt2b)

  • lower values mean faster climbing speed

  • 07 is the default speed for ckong and ckongpt2

  • 05 is the default speed for ckongpt2b

Code: Select all

<patch offset="0x3075">05</patch>

alternating colours for the score table (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x7BF">CD405A</patch>
<patch offset="0x7CB">CDBA5A</patch>
<patch offset="0x8B2">C3675A</patch>
<patch offset="0x5A20">
0E0BE5061C7987CD614A5E2356DD7E00
DD23EB112000771910FCE10D20E4C9FF
DDE5216E5ADD21865ACD205ADDE1218C
92110102C9FFFFFFDDE5218F5ADD21A7
5ACD205ADDE1C9CD585A000000C3B25A
479C4A9C4C9C4E9C529C549C569C589C
5A9C5C9C5F9C01030B020C000102050C
00479C499C4C9C4E9C529C549C569C58
9C5A9C5C9C5F9C01030B020C00010205
0C003A0A60EFBA08F808211D9211D05A
06061A77D511200019D11310F5C30059
1E1F131C1116
</patch>

single coloured life counter (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x40E3">CA59</patch>

and either

  • for bootlegs with the improved ckongpt2 colour palette

    Code: Select all

    <patch offset="0x59CA">21E39E1140003E0C0604771910FCC3D54F</patch>

    or

  • for bootlegs with the classic ckong/cclimber colour palette

    Code: Select all

    <patch offset="0x59CA">21E39E1140003E000000771910FCC3D54F</patch>

single coloured bonus timer (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x651">45</patch>
<patch offset="0x67B">8A</patch>
<patch offset="0x67E">00</patch>
<patch offset="0x682">000000</patch>
<patch offset="0x68A">C6</patch>
<patch offset="0x68E">A6</patch>

single coloured level counter (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x6D8">E390</patch>
<patch offset="0x6DD">C3</patch>
<patch offset="0x6F7">83</patch>
<patch offset="0x6FB">A3</patch>

pre-round message: change message to "How High Can You Get" (taken from MAME rom dkongjo)

Code: Select all

<patch offset="0x36DF">171524</patch>

pre-round message: add exclamation mark at the end of the message (taken from MAME rom ckongmc)

Code: Select all

<patch offset="0x36E3">38</patch>

pre-round message: change message to "Climb Up If You Dare !"

Code: Select all

<patch offset="0x36CE">1311241318FD1D15FD1916FD291F25FD14112215FD38</patch>

pre-round message: change message to "Catch Me If You Dare !"

Code: Select all

<patch offset="0x36CE">131C191D12FD2520FD1916FD291F25FD14112215FD38</patch>

barrels, pie factory and springs stage: prevent graphics corruption at the end of the stage, when Kong grabs Pauline (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x4102">00</patch>

barrels, pie factory and springs stage: hide the static Pauline sprite, when Kong grabs Pauline (taken from MAME rom ckongpt2, no changes for ckongpt2)

  • not needed if the audio change "fix missing item pickup sounds" from further below is applied

Code: Select all

<patch offset="0x1733">A059</patch>
<patch offset="0x5900">
217691113059CD125921769DCD1259C3
A0570E0A06051A77231310FAD5111B00
19D10D20EFC9FFFFFFFFFFFFFFFFFFFF
B0B0B0B0B0B0FDFDFDB0B0FD33FDB0B0
FDFDFDB0B0FD24FDB0B0FD22FDB0B0FD
11FDB0B0FD20FDB0B0FDFDFDB0B0B0B0
B0B00202020202020201020202020102
02020201020202020102020202010202
02020102020202010202020201020202
02020202FFFFFFFFFFFFFFFFFFFFFFFF
210392111C000E023EFD0604772310FC
190D20F6C36F30FFFFFFFFFFFFFFFFFF
AF21059D0603772310FC21E39E114000
3E0C0604771910FCC3D54FFFFFFFFFFF
3E0D328A6001E00BC378443E0D328A60
C37F442EF23E098467EB1A6F131A67E9
0E06E5DD7E007723DD230D20F6E11910
EFC9FFFFFFFFFFFFFFFFFFFFFFFFFFFF
0E0BE5061C7987CD614A5E2356DD7E00
DD23EB112000771910FCE10D20E4C9FF
DDE5216E5ADD21865ACD205ADDE1218C
92110102C9FFFFFFDDE5218F5ADD21A7
5ACD205ADDE1C9CD585A000000C3B25A
479C4A9C4C9C4E9C529C549C569C589C
5A9C5C9C5F9C01030B020C000102050C
00479C499C4C9C4E9C529C549C569C58
9C5A9C5C9C5F9C01030B020C00010205
0C003A0A60EFBA08F808211D9211D05A
06061A77D511200019D11310F5C30059
1E1F131C1116FFFFFFFFFFFFFFFFFFFF
</patch>

barrels stage: fix the display bug that occurs when successfully jumping over three barrels at once; ensure that the correct point value of 500 is displayed upon completion, rather than erroneously showing 800 points

Code: Select all

<patch offset="0x3E83">067E</patch>

pie factory, springs and rivets stage: remove the holes in Kong's sprite (taken from HBMAME rom ckongfix)

Code: Select all

<patch offset="0x14444">07</patch>
<patch offset="0x14447">07</patch>
<patch offset="0x14450">07</patch>
<patch offset="0x14452">07</patch>
<patch offset="0x14454">0707</patch>
<patch offset="0x14468">3B</patch>
<patch offset="0x1447F">3B</patch>
<patch offset="0x14499">9C</patch>
<patch offset="0x144E5">60</patch>
<patch offset="0x14507">1C</patch>
<patch offset="0x14510">1C</patch>
<patch offset="0x14513">3C3C</patch>
<patch offset="0x15444">07</patch>
<patch offset="0x15447">07</patch>
<patch offset="0x15450">07</patch>
<patch offset="0x15452">07</patch>
<patch offset="0x15454">0707</patch>
<patch offset="0x15468">3B</patch>
<patch offset="0x1547F">3B</patch>
<patch offset="0x15499">9C</patch>
<patch offset="0x154E5">60</patch>
<patch offset="0x15507">1C</patch>
<patch offset="0x15510">1C</patch>
<patch offset="0x15513">3C3C</patch>
<patch offset="0x14C44">00</patch>
<patch offset="0x14C47">E0</patch>
<patch offset="0x14C50">F0</patch>
<patch offset="0x14C52">F8</patch>
<patch offset="0x14C54">F8F8</patch>
<patch offset="0x14C6F">5E</patch>
<patch offset="0x14C7E">DECC</patch>
<patch offset="0x14CE5">9F</patch>
<patch offset="0x14D07">E0</patch>
<patch offset="0x14D10">E0</patch>
<patch offset="0x14D13">0000</patch>
<patch offset="0x15C44">00</patch>
<patch offset="0x15C47">E0</patch>
<patch offset="0x15C50">F0</patch>
<patch offset="0x15C52">F8</patch>
<patch offset="0x15C54">F8F8</patch>
<patch offset="0x15C6F">5E</patch>
<patch offset="0x15C7E">DECC</patch>
<patch offset="0x15CE5">9F</patch>
<patch offset="0x15D07">E0</patch>
<patch offset="0x15D10">E0</patch>
<patch offset="0x15D13">0000</patch>

pie factory: fix graphics for oil can (taken from MAME rom ckongmc)

Code: Select all

<patch offset="0x26AF">0F</patch>
<patch offset="0x26B4">0C</patch>
<patch offset="0x26BD">0B</patch>
<patch offset="0x26C2">0E</patch>
<patch offset="0x26C8">0B</patch>
<patch offset="0x26CD">0E</patch>
<patch offset="0x26D6">0F</patch>
<patch offset="0x26DB">0C</patch>
<patch offset="0x452D">0E</patch>
<patch offset="0x452F">0000</patch>
<patch offset="0x4532">0000</patch>
<patch offset="0x4535">0000</patch>
<patch offset="0x4538">0000</patch>
<patch offset="0x453B">0000</patch>
<patch offset="0x453E">0000</patch>
<patch offset="0x455E">0C</patch>

rivets stage: fix graphics corruption where Pauline's head is partially cut off at the ending sequence (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x17CA">000000</patch>

rivets stage: hide the girder block that appears at the ending sequence (taken from MAME rom ckongmc, does not work and is not needed for ckongpt2)

Code: Select all

<patch offset="0x17B8">A351</patch>
<patch offset="0x51A3">
CDA951C31C012A906B11926B0E0606041A772B1310FAD511
240019D10D20EFC921EC51180F21FE51180A210452180521
0C5218001101980E2046237E1213130DCA74080520F52318
F001020203040103000105070201040C020106010201031E
01010201031D020106010201031C0102062AAA6B7CFE0028
273AB06BA728063D32B06B181B7EA7CADC5232B06B237E32
00B8237E3206A8CB1F3207A82322AA6B2AAC6B7CA728413A
B16BA7280A
</patch>

rivets stage: Big Kong ending sequence (taken from MAME rom bigkong, no changes for bigkong)

Code: Select all

<patch offset="0x2B0">E8</patch>
<patch offset="0xBDA">
210A603434C946C602320562C9C602DD
7705C90000
</patch>
<patch offset="0xBF0">00</patch>
<patch offset="0xC00">E521600C22EA6BE1C30F19</patch>
<patch offset="0xC10">
F5E52AEA6B7EFE7F200421600C7E2322
EA6B218B698677E1F1FEC0C0C31319
</patch>
<patch offset="0xC60">02FE7F</patch>
<patch offset="0x15D4">03</patch>
<patch offset="0x15FB">CB21</patch>
<patch offset="0x15FE">
0F3609EB2174693624233A946177231A
7713231A77
</patch>
<patch offset="0x18EF">4A</patch>
<patch offset="0x18F9">82</patch>
<patch offset="0x1903">000C</patch>
<patch offset="0x1910">C3100C</patch>

rivets stage: Crazy Kong Part II ending sequence (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x18C1">CDC057</patch>
<patch offset="0x57C0">
215091110058CDD35721509DCDD35721
8863C90E0C06061A77231310FAD5111A
0019D10D20EFC9A77CD61B673E1F856F
7E0F0FD0232C7E0F0FD0C3F359FFFFFF
4AFDFDFDFDFDFD4AFDFDFDFD36FD4A4B
FDFD20FDFDFD4AFD25FDFDFDFD4AFDFD
FDFDFDFD15FDFDFDFDFD26FDFDFDFD48
19FDFDFD48FD17FD4849FDFDFD48FDFD
FDFD48FDFDFDFDFD2222222222222222
222222220C22222222220C2222222222
0C22222222220C22222222220C222222
22220C22222222220C22222222220C22
22222222222222222222222222222222
</patch>

Audio changes

fix missing item pickup sounds (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x1733">A059</patch>
<patch offset="0x4475">C3</patch>
<patch offset="0x4477">59</patch>
<patch offset="0x5900">
217691113059CD125921769DCD1259C3
A0570E0A06051A77231310FAD5111B00
19D10D20EFC9FFFFFFFFFFFFFFFFFFFF
B0B0B0B0B0B0FDFDFDB0B0FD33FDB0B0
FDFDFDB0B0FD24FDB0B0FD22FDB0B0FD
11FDB0B0FD20FDB0B0FDFDFDB0B0B0B0
B0B00202020202020201020202020102
02020201020202020102020202010202
02020102020202010202020201020202
02020202FFFFFFFFFFFFFFFFFFFFFFFF
210392111C000E023EFD0604772310FC
190D20F6C36F30FFFFFFFFFFFFFFFFFF
AF21059D0603772310FC21E39E114000
3E0C0604771910FCC3D54FFFFFFFFFFF
3E0D328A6001E00BC378443E0D328A60
C37F442EF23E098467EB1A6F131A67E9
0E06E5DD7E007723DD230D20F6E11910
EFC9FFFFFFFFFFFFFFFFFFFFFFFFFFFF
0E0BE5061C7987CD614A5E2356DD7E00
DD23EB112000771910FCE10D20E4C9FF
DDE5216E5ADD21865ACD205ADDE1218C
92110102C9FFFFFFDDE5218F5ADD21A7
5ACD205ADDE1C9CD585A000000C3B25A
479C4A9C4C9C4E9C529C549C569C589C
5A9C5C9C5F9C01030B020C000102050C
00479C499C4C9C4E9C529C549C569C58
9C5A9C5C9C5F9C01030B020C00010205
0C003A0A60EFBA08F808211D9211D05A
06061A77D511200019D11310F5C30059
1E1F131C1116FFFFFFFFFFFFFFFFFFFF
</patch>

Gameplay changes

US stage order (Crazy Kong 117 patch by ChrisP)

  • 01 = barrels

  • 02 = pie factory

  • 03 = springs

  • 04 = rivets

Code: Select all

<patch offset="0x3A66">
04010304010203040102010304010201
0301
</patch>

kill screen fix (taken from HBMAME rom dkongp)

Code: Select all

<patch offset="0xF7D">
FE0438023E0447A717A717A7178080C6
28
</patch>

change default number of lives (taken from MAME rom ckongpt2b)

  • 03 = 3 lives is the default number for ckong/ckongpt2

  • 01 = 1 life is the default number for ckongpt2b

Code: Select all

<patch offset="0x211">01</patch>

change starting level (taken from MAME rom ckongmc)

  • 01 = level 1 (default value for ckongpt2)

  • 05 = level 5 (difficulty does not increase after this level)

  • 0B = level 11 (default value for ckongmc)

  • 16 = level 22 (kill screen)

Code: Select all

<patch offset="0x95E">0B</patch>

hard kit (TGK-03) (taken from MAME rom dkonghrd)

Code: Select all

<patch offest=0x398">CD264C000000</patch>
<patch offest=0x4C26">FE0120063A2762FE01C83E05C9</patch>

barrels stage: no more safe ladders fix (taken from MAME rom dkong)

Code: Select all

<patch offset="0x2183">04</patch>

barrels stage: 25m jump bug fix (taken from MAME rom dkongjo)

Code: Select all

<patch offset="0x1BF0">A61D</patch>

barrels stage: (de)activate the center ladder at the 2nd row (taken from MAME rom ckong)

  • 40 = ladder is inactive (default value for ckong)

  • 00 = ladder is active (default value for ckongpt2)

Code: Select all

<patch offset="0x3B43">40</patch>

barrels stage: restore the classic Donkey Kong layout (taken from MAME rom ckong, only intended for ckongpt2)

Code: Select all

<patch offset="0xFD7">21DC3D</patch>
<patch offset="0x201B">1C</patch>
<patch offset="0x2020">E4</patch>

rivets stage: fix walking behind Kong bug (taken from MAME rom ckongpt2, no changes for ckongpt2)

Code: Select all

<patch offset="0x1DBA">C38057</patch>
<patch offset="0x5780">
2C773A2762FE04C03A8398FE4AD03A72
69FE62D8FE9ED0AF320062C9FFFFFFFF
</patch>

rivets stage: restore walking behind Kong bug (taken from MAME rom ckong, only intended for ckongpt2)

Code: Select all

<patch offset="0x1DBA">2C77C9</patch>
678
Posts: 14
Joined: Sun May 28, 2023 2:28 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Patches for Crazy Kong

Unread post by 678 »

Nice post thank you , is there anyway to fix rotation on a crt for crazy kong. Even with VGA scaler game is upside down.

pcfreak324
Posts: 50
Joined: Mon Jun 01, 2020 12:14 pm
Has thanked: 3 times
Been thanked: 12 times

Re: Patches for Crazy Kong

Unread post by pcfreak324 »

678 wrote: Sun Aug 06, 2023 4:46 pm

Nice post thank you , is there anyway to fix rotation on a crt for crazy kong. Even with VGA scaler game is upside down.

You could try this patch: Crazy Kong Flip Screen & High Score Save @ scoresaves.com

However, when I last tested it, the Crazy Kong Sprite was flipped. It might be related to an issue in the MiSTer core. See github for a similar issue: https://github.com/MiSTer-devel/Arcade- ... /issues/33

Post Reply