mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-25 19:16:52 +01:00
add cheat code multipliers to Donkey Kong
currently they only work on the US version of the game
This commit is contained in:
parent
8c8928e813
commit
99cd0dd9d7
@ -0,0 +1,33 @@
|
||||
[DKCTF_MultBanana]
|
||||
moduleMatches = 0xA37C99E1, 0x4FF15DD2
|
||||
.origin = codecave
|
||||
|
||||
_addBananaMultCheat:
|
||||
cmpwi r29, 15
|
||||
bne _addBananaMultCheatExit
|
||||
|
||||
;add extra banana amount
|
||||
lwz r4, 0x4 (r27)
|
||||
addi r4, r4, $addamountbna-1
|
||||
stw r4, 0x4 (r27)
|
||||
|
||||
_addBananaMultCheatExit:
|
||||
;restore line we overwrote
|
||||
or r4, r29, r29
|
||||
blr
|
||||
|
||||
[DKCTF_MultBanana_NAv16]
|
||||
moduleMatches = 0xA37C99E1
|
||||
0x020A5974 = bla _addBananaMultCheat
|
||||
|
||||
[DKCTF_MultBanana_NAv2]
|
||||
moduleMatches = 0x4FF15DD2
|
||||
0x020A5908 = bla _addBananaMultCheat
|
||||
|
||||
;[DKCTF_MultBanana_EUv16]
|
||||
|
||||
;[DKCTF_MultBanana_EUv2]
|
||||
|
||||
;[DKCTF_MultBanana_JPv16]
|
||||
|
||||
;[DKCTF_MultBanana_JPv2]
|
29
src/DonkeyKongCountryTropicalFreeze/DKC_BananaMult/rules.txt
Normal file
29
src/DonkeyKongCountryTropicalFreeze/DKC_BananaMult/rules.txt
Normal file
@ -0,0 +1,29 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010137F00,0005000010138300,0005000010144800
|
||||
name = Banana Multiplier
|
||||
path = "Donkey Kong Country: Tropical Freeze/Cheats/Banana Multiplier"
|
||||
description = Multiplies the ammount of Banana's you collect.
|
||||
version = 7
|
||||
|
||||
[Default]
|
||||
$addamountbna = 1
|
||||
|
||||
[Preset]
|
||||
name = x2
|
||||
$addamountbna = 2
|
||||
|
||||
[Preset]
|
||||
name = x3
|
||||
$addamountbna = 3
|
||||
|
||||
[Preset]
|
||||
name = x4
|
||||
$addamountbna = 4
|
||||
|
||||
[Preset]
|
||||
name = x5
|
||||
$addamountbna = 5
|
||||
|
||||
[Preset]
|
||||
name = x100
|
||||
$addamountbna = 100
|
@ -0,0 +1,30 @@
|
||||
[DKCTF_MultCoins]
|
||||
moduleMatches = 0xA37C99E1, 0x4FF15DD2
|
||||
.origin = codecave
|
||||
|
||||
_addCoinsMultCheat:
|
||||
or r5, r30, r30
|
||||
cmpwi r29, 1
|
||||
bne _addCoinsMultCheatExit
|
||||
|
||||
;add extra coin amount
|
||||
addi r5, r30, $addamountcn-1
|
||||
|
||||
_addCoinsMultCheatExit:
|
||||
blr
|
||||
|
||||
[DKCTF_MultCoins_NAv16]
|
||||
moduleMatches = 0xA37C99E1
|
||||
0x020A5970 = bla _addCoinsMultCheat
|
||||
|
||||
[DKCTF_MultCoins_NAv2]
|
||||
moduleMatches = 0x4FF15DD2
|
||||
0x020A5904 = bla _addCoinsMultCheat
|
||||
|
||||
;[DKCTF_MultCoins_EUv16]
|
||||
|
||||
;[DKCTF_MultCoins_EUv2]
|
||||
|
||||
;[DKCTF_MultCoins_JPv16]
|
||||
|
||||
;[DKCTF_MultCoins_JPv2]
|
33
src/DonkeyKongCountryTropicalFreeze/DKC_CoinMult/rules.txt
Normal file
33
src/DonkeyKongCountryTropicalFreeze/DKC_CoinMult/rules.txt
Normal file
@ -0,0 +1,33 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010137F00,0005000010138300,0005000010144800
|
||||
name = Banana Coin Multiplier
|
||||
path = "Donkey Kong Country: Tropical Freeze/Cheats/Coin Multiplier"
|
||||
description = Multiplies the ammount of Banana Coins you collect.
|
||||
version = 7
|
||||
|
||||
[Default]
|
||||
$addamountcn = 1
|
||||
|
||||
[Preset]
|
||||
name = x2
|
||||
$addamountcn = 2
|
||||
|
||||
[Preset]
|
||||
name = x3
|
||||
$addamountcn = 3
|
||||
|
||||
[Preset]
|
||||
name = x4
|
||||
$addamountcn = 4
|
||||
|
||||
[Preset]
|
||||
name = x5
|
||||
$addamountcn = 5
|
||||
|
||||
[Preset]
|
||||
name = x10
|
||||
$addamountcn = 10
|
||||
|
||||
[Preset]
|
||||
name = x999
|
||||
$addamountcn = 999
|
@ -0,0 +1,31 @@
|
||||
[DKCTF_MultLives]
|
||||
moduleMatches = 0xA37C99E1, 0x4FF15DD2
|
||||
.origin = codecave
|
||||
|
||||
_addLivesMultCheat:
|
||||
cmpwi r29, 8
|
||||
bne _addLivesMultCheatExit
|
||||
|
||||
;add extra lives amount
|
||||
addi r5, r30, $addamountliv-1
|
||||
|
||||
_addLivesMultCheatExit:
|
||||
;restore line we overwrote
|
||||
or r3, r27, r27
|
||||
blr
|
||||
|
||||
[DKCTF_MultLives_NAv16]
|
||||
moduleMatches = 0xA37C99E1
|
||||
0x020A5978 = bla _addLivesMultCheat
|
||||
|
||||
[DKCTF_MultLives_NAv2]
|
||||
moduleMatches = 0x4FF15DD2
|
||||
0x020A590C = bla _addLivesMultCheat
|
||||
|
||||
;[DKCTF_MultLives_EUv16]
|
||||
|
||||
;[DKCTF_MultLives_EUv2]
|
||||
|
||||
;[DKCTF_MultLives_JPv16]
|
||||
|
||||
;[DKCTF_MultLives_JPv2]
|
29
src/DonkeyKongCountryTropicalFreeze/DKC_LivesMult/rules.txt
Normal file
29
src/DonkeyKongCountryTropicalFreeze/DKC_LivesMult/rules.txt
Normal file
@ -0,0 +1,29 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010137F00,0005000010138300,0005000010144800
|
||||
name = Lives Multiplier
|
||||
path = "Donkey Kong Country: Tropical Freeze/Cheats/Lives Multiplier"
|
||||
description = Multiplies the ammount of red 1-UP Ballons you collect.
|
||||
version = 7
|
||||
|
||||
[Default]
|
||||
$addamountliv = 1
|
||||
|
||||
[Preset]
|
||||
name = x2
|
||||
$addamountliv = 2
|
||||
|
||||
[Preset]
|
||||
name = x3
|
||||
$addamountliv = 3
|
||||
|
||||
[Preset]
|
||||
name = x4
|
||||
$addamountliv = 4
|
||||
|
||||
[Preset]
|
||||
name = x5
|
||||
$addamountliv = 5
|
||||
|
||||
[Preset]
|
||||
name = x99
|
||||
$addamountliv = 99
|
Loading…
Reference in New Issue
Block a user