Skip to content

Commit

Permalink
[XCX & DKC:TF] Many new mods and options (#647)
Browse files Browse the repository at this point in the history
Thanks @intra0 for all of these changes!

Besides adding customizability (and support for more versions) to some existing XCX packs, this adds the following big features:
* Anisotropic filtering for WWHD and TPHD
* Donkey Kong now has coin, banana and live cheats
* Xenoblade Chronicles X now has options to change many attributes of your party like name, height, chest size, weapons, field skill, arts and levels

You might have to reconfigure some graphic pack settings after updating since the name of some options changed.
  • Loading branch information
intra0 authored Dec 12, 2024
1 parent 0f812ff commit a7df307
Show file tree
Hide file tree
Showing 45 changed files with 15,523 additions and 782 deletions.
36 changes: 36 additions & 0 deletions Enhancements/TwilightPrincessHD_Anisotropic/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500
name = Anisotropic Filtering
path = "The Legend of Zelda: Twilight Princess HD/Enhancements/Anisotropic Filtering"
description = Allows you to set the anisotropic filtering level to improve clarity for surfaces that are looked at an angle.
version = 7

[Default]
$anisoLevel = 1

[Preset]
name = x1 (Default)

[Preset]
name = x2
$anisoLevel = 2

[Preset]
name = x4
$anisoLevel = 4

[Preset]
name = x8
$anisoLevel = 8

[Preset]
name = x16 (Recommended)
$anisoLevel = 16

[Preset]
name = x32 (Overkill)
$anisoLevel = 32

[TextureRedefine]
formats = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435
overwriteAnisotropy = $anisoLevel
36 changes: 36 additions & 0 deletions Enhancements/WindWakerHD_Anisotropic/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[Definition]
titleIds = 0005000010143400,0005000010143600,0005000010143500
name = Anisotropic Filtering
path = "The Legend of Zelda: The Wind Waker HD/Enhancements/Anisotropic Filtering"
description = Allows you to set the anisotropic filtering level to improve clarity for surfaces that are looked at an angle.
version = 7

[Default]
$anisoLevel = 1

[Preset]
name = x1 (Default)

[Preset]
name = x2
$anisoLevel = 2

[Preset]
name = x4
$anisoLevel = 4

[Preset]
name = x8
$anisoLevel = 8

[Preset]
name = x16 (Recommended)
$anisoLevel = 16

[Preset]
name = x32 (Overkill)
$anisoLevel = 32

[TextureRedefine]
formats = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435
overwriteAnisotropy = $anisoLevel
25 changes: 25 additions & 0 deletions src/DKCTropicalFreeze/Cheats/DKC_BananaMult/patch_infbanana.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[DKCTF_MultBanana]
moduleMatches = 0xA37C99E1, 0x4FF15DD2 ; (EU/NA/JP)v16, (EU/NA/JP)v2
.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_v16]
moduleMatches = 0xA37C99E1 ; (EU/NA/JP)v16
0x020A5974 = bla _addBananaMultCheat

[DKCTF_MultBanana_v2]
moduleMatches = 0x4FF15DD2 ; (EU/NA/JP)v2
0x020A5908 = bla _addBananaMultCheat
30 changes: 30 additions & 0 deletions src/DKCTropicalFreeze/Cheats/DKC_BananaMult/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[Definition]
titleIds = 0005000010137F00,0005000010138300,0005000010144800
name = Banana Multiplier
path = "Donkey Kong Country: Tropical Freeze/Cheats/Banana Multiplier"
description = Multiplies the amount of bananas you collect.
#Credits: Intra
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
22 changes: 22 additions & 0 deletions src/DKCTropicalFreeze/Cheats/DKC_CoinMult/patch_infcoins.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[DKCTF_MultCoins]
moduleMatches = 0xA37C99E1, 0x4FF15DD2 ; (EU/NA/JP)v16, (EU/NA/JP)v2
.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_v16]
moduleMatches = 0xA37C99E1 ; (EU/NA/JP)v16
0x020A5970 = bla _addCoinsMultCheat

[DKCTF_MultCoins_v2]
moduleMatches = 0x4FF15DD2 ; (EU/NA/JP)v2
0x020A5904 = bla _addCoinsMultCheat
34 changes: 34 additions & 0 deletions src/DKCTropicalFreeze/Cheats/DKC_CoinMult/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[Definition]
titleIds = 0005000010137F00,0005000010138300,0005000010144800
name = Banana Coin Multiplier
path = "Donkey Kong Country: Tropical Freeze/Cheats/Coin Multiplier"
description = Multiplies the amount of Banana Coins you collect.
#Credits: Intra
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
23 changes: 23 additions & 0 deletions src/DKCTropicalFreeze/Cheats/DKC_LivesMult/patch_inflives.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[DKCTF_MultLives]
moduleMatches = 0xA37C99E1, 0x4FF15DD2 ; (EU/NA/JP)v16, (EU/NA/JP)v2
.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 ; (EU/NA/JP)v16
0x020A5978 = bla _addLivesMultCheat

[DKCTF_MultLives_NAv2]
moduleMatches = 0x4FF15DD2 ; (EU/NA/JP)v2
0x020A590C = bla _addLivesMultCheat
30 changes: 30 additions & 0 deletions src/DKCTropicalFreeze/Cheats/DKC_LivesMult/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[Definition]
titleIds = 0005000010137F00,0005000010138300,0005000010144800
name = Lives Multiplier
path = "Donkey Kong Country: Tropical Freeze/Cheats/Lives Multiplier"
description = Multiplies the amount of red 1-UP balloons you collect.
#Credits: Intra
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

0 comments on commit a7df307

Please sign in to comment.