Skip to content

Commit 07b232a

Browse files
authored
[Xenoblade X] New blade metal count mod + some other stuff (#583)
* Add files via upload * Update rules.txt * Rename src/XenobladeChroniclesX/Mods/GraphicsNpcInfoBubblesDistance/patch_bubbles.asm to src/XenobladeChroniclesX/Mods/HudNpcInfoBubblesDistance/patch_bubbles.asm move file location * Rename src/XenobladeChroniclesX/Mods/GraphicsNpcInfoBubblesDistance/rules.txt to src/XenobladeChroniclesX/Mods/HudNpcInfoBubblesDistance/rules.txt move file location * Rename src/XenobladeChroniclesX/Mods/HUDFreecam/patch_Freecam.asm to src/XenobladeChroniclesX/Mods/GraphicsFreecam/patch_Freecam.asm move file location * Rename src/XenobladeChroniclesX/Mods/HUDFreecam/rules.txt to src/XenobladeChroniclesX/Mods/GraphicsFreecam/rules.txt move file location * Rename src/XenobladeChroniclesX/Mods/HUDNoModelFade/patch_NoModelFade.asm to src/XenobladeChroniclesX/Mods/GraphicsNoModelFade/patch_NoModelFade.asm move file location * Rename src/XenobladeChroniclesX/Mods/HUDNoModelFade/rules.txt to src/XenobladeChroniclesX/Mods/GraphicsNoModelFade/rules.txt move file location * Rename src/XenobladeChroniclesX/Mods/HUDRemoveOverdriveBlur/patch_RemoveBlur.asm to src/XenobladeChroniclesX/Mods/GraphicsRemoveOverdriveBlur/patch_RemoveBlur.asm move file location * Rename src/XenobladeChroniclesX/Mods/HUDRemoveOverdriveBlur/rules.txt to src/XenobladeChroniclesX/Mods/GraphicsRemoveOverdriveBlur/rules.txt Move file location * Update rules.txt * Add files via upload fix for blade metal mod * Update rules.txt * Update patch_Metal.asm same line that was added in nemesis offline. when ever you turn the mod off your -1 what your supposed to be, this new line fixes that. (being 9998 instead of 9999 though is barely noticeable but it can be fixed so its being fixed) * Update rules.txt * Update patch_Metal.asm 1.0.1E and 1.0.2U had the same address values * Update patch_Metal.asm added comments * typo fix oops put 'metal' instead of 'medal' * typo fix oops put 'metal' instead of 'medal' * Add files via upload makes the new infinite blade metal line optional * and I just figured out how to make blade medals unneeded ok, I think I'm actually done at this point * fixed readablilty and made it easier to change sorry for all the commits * small typo fix again sorry for all the commits * changed addi to subi makes the rules.txt look nicer * Update patch_offline_nemesis.asm * Add files via upload
1 parent ee6335d commit 07b232a

File tree

18 files changed

+220
-67
lines changed

18 files changed

+220
-67
lines changed

src/XenobladeChroniclesX/Mods/BattleEscapeDistance/rules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $mod = 1.0
1010

1111
[Preset]
1212
name = "Enemies will never de-aggro"
13-
$mod = 0.00001
13+
$mod = 0.0001
1414

1515
[Preset]
1616
name = "Increase Range x2"

src/XenobladeChroniclesX/Mods/BladeGlobalNemesisMissionsOffline/patch_offline_nemesis.asm

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[XCX_OFFLINEWE]
22
moduleMatches = 0xF882D5CF, 0x30B6E091, 0x7672271D, 0x218F6E07, 0xAB97DE6B, 0x676EB33E, 0x785CA8A9 ; 1.0.1E, 1.0.2U, 1.0.2J, 1.0.0E, 1.0.1U, 1.0.0U, 1.0.0J
33
.origin = codecave
4-
.int $ygg
5-
.int $teli
4+
.int $ygg ;0x400D | mission ID for ygg
5+
.int $teli ;0x4008 or 0x4009 | mission ID's for teli
6+
.int $nemesiscost ;sets blade medals cost of nemesis mission
7+
.int $minmedals ;sets minimum blade medal count
68

79
; Manage RPs & Appraisal
810
VarShareRP:
@@ -59,7 +61,16 @@ moduleMatches = 0xF882D5CF, 0x30B6E091, 0x218F6E07 ; 1.0.1E, 1.0.2U, 1.0.0E
5961
0x0282B264 = nop ; skip deserializeWorldEnemy
6062
0x0282B410 = li r4, 1 ; for getWERewardList
6163
; cfs::CfSocialManager::getQuestDetailFR((cfs::CfSocialQuestInfoFR &))
62-
0x0228989C = nop ; Uncomment to show Appraisal Rewards
64+
0x0228989C = nop ; show Appraisal Rewards
65+
66+
;BLADE Medal cheat
67+
0x0288AA80 = subi r8, r3, $nemesiscost ; sets how much a mission cost
68+
;Sets a minimum blade medal count ;replaces maximum blade medal cap
69+
0x02888DEC = cmplwi r3, $minmedals
70+
0x02888DF0 = bge 0x02888E08 ;LAB_02888e08
71+
0x02888DFC = cmplwi r3, $minmedals
72+
0x02888E00 = bge 0x02888E08 ;LAB_02888e08
73+
0x02888E04 = li r3, $minmedals
6374

6475
[XCX_OFFLINEWE_V101E] ; ############################################################################################
6576
moduleMatches = 0xF882D5CF, 0x218F6E07 ; 1.0.1E, 1.0.0E
@@ -109,7 +120,15 @@ moduleMatches = 0x7672271D ; 1.0.2J
109120
0x02828348 = li r6, 1 ; to store in 8(r26) -> needed for cmpwi r0, 1 after callback
110121
0x0282843C = nop ; skip deserializeWorldEnemy
111122
0x028285E8 = li r4, 1 ; for getWERewardList
112-
0x022892B4 = nop ; Uncomment to show Appraisal Rewards
123+
0x022892B4 = nop ; show Appraisal Rewards
124+
125+
;BLADE Medal cheat
126+
0x028879E0 = subi r8, r3, $nemesiscost
127+
0x02885D4C = cmplwi r3, $minmedals
128+
0x02885D50 = bge 0x02885D68 ;LAB_02885d68
129+
0x02885D5C = cmplwi r3, $minmedals
130+
0x02885D60 = bge 0x02885D68 ;LAB_02885d68
131+
0x02885D64 = li r3, $minmedals
113132

114133
0x02AC22D0 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
115134
0x02B96BCC = li r3, 1 ; Disable call to menu::MenuMultiQuestOrder::canOrderWorldEnemy
@@ -144,7 +163,15 @@ moduleMatches = 0xAB97DE6B, 0x676EB33E ; 1.0.1U, 1.0.0U
144163
0x0282B0F4 = li r6, 1 ; to store in 8(r26) -> needed for cmpwi r0, 1 after callback
145164
0x0282B1E8 = nop ; skip deserializeWorldEnemy
146165
0x0282B394 = li r4, 1 ; for getWERewardList
147-
0x0228982C = nop ; Uncomment to show Appraisal Rewards
166+
0x0228982C = nop ; show Appraisal Rewards
167+
168+
;BLADE Medal cheat
169+
0x0288AA04 = subi r8, r3, $nemesiscost
170+
0x02888D70 = cmplwi r3, $minmedals
171+
0x02888D74 = bge 0x02888D8C ;LAB_02888d8c
172+
0x02888D80 = cmplwi r3, $minmedals
173+
0x02888D84 = bge 0x02888D8C ;LAB_02888d8c
174+
0x02888D88 = li r3, $minmedals
148175

149176
0x02AC5B84 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
150177
0x02B9AFB0 = li r3, 1 ; Disable call to menu::MenuMultiQuestOrder::canOrderWorldEnemy
@@ -179,7 +206,15 @@ moduleMatches = 0x785CA8A9 ; 1.0.0J
179206
0x0282731C = li r6, 1 ; to store in 8(r26) -> needed for cmpwi r0, 1 after callback
180207
0x02827410 = nop ; skip deserializeWorldEnemy
181208
0x028275BC = li r4, 1 ; for getWERewardList
182-
0x02289008 = nop ; Uncomment to show Appraisal Rewards
209+
0x02289008 = nop ; show Appraisal Rewards
210+
211+
;BLADE Medal cheat
212+
0x02886608 = subi r8, r3, $nemesiscost
213+
0x02884974 = cmplwi r3, $minmedals
214+
0x02884978 = bge 0x02884990 ;LAB_02884990
215+
0x02884984 = cmplwi r3, $minmedals
216+
0x02884988 = bge 0x02884990 ;LAB_02884990
217+
0x0288498C = li r3, $minmedals
183218

184219
0x02AC04E8 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
185220
0x02B94268 = li r3, 1 ; Disable call to menu::MenuMultiQuestOrder::canOrderWorldEnemy

src/XenobladeChroniclesX/Mods/BladeGlobalNemesisMissionsOffline/rules.txt

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,30 @@
22
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
33
name = "Offline Global Nemesis missions"
44
path = "Xenoblade Chronicles X/Mods/BLADE/Offline Global Nemesis missions"
5-
description = Global Nemesis (both Telethia Plume and Yggralith Zero) are available in the BLADE console.|You still need medals to start the battle.
5+
description = Global Nemesis (both Telethia Plume and Yggralith Zero) are available in the BLADE console.
66
version = 6
77

88
[Default]
99
$ygg = 0x4EED
1010
$teli = 0x4EE9
11+
$nemesiscost = 1
12+
$minmedals = 0
1113

1214
[Preset]
1315
category = "Telethia Bossfight Version"
14-
name = "Monday Telethia (rising energy mist - time: 0:00)"
16+
name = "Monday Telethia (energy mist - 0:00)"
1517

1618
[Preset]
1719
category = "Telethia Bossfight Version"
18-
name = "Friday Telethia (thunderstorms - time: 15:00)"
20+
name = "Friday Telethia (thunderstorms - 15:00)"
1921
$teli = 0x4EE8
22+
23+
[Preset]
24+
category = "CHEAT - BLADE Medals not needed"
25+
name = "Cheat not enabled"
26+
27+
[Preset]
28+
category = "CHEAT - BLADE Medals not needed"
29+
name = "Cheat enabled"
30+
$nemesiscost = 0
31+
$minmedals = 1
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[XCX_BladeMedal_V101E_V102U]
2+
moduleMatches = 0xF882D5CF, 0x30B6E091, 0x218F6E07 ; 1.0.1E, 1.0.2U, 1.0.0E
3+
; write bp - addWorldEnemyTicket__Q2_2fw12SocialSystemFi
4+
0x0288AA80 = addi r8, r3, 0 ; medals dont decrease when doing world enemy
5+
6+
; read bp - getWorldEnemyTicket__Q2_2fw12SocialSystemCFv
7+
0x02888DF8 = li r3, $medals ; makes the game read given value
8+
0x02888DE8 = li r3, $medals ; makes the game read given value
9+
0x02888E04 = nop ; removes 9999 blade medal cap, loops to negatives at 32767
10+
11+
[XCX_BladeMedal_V102J]
12+
moduleMatches = 0x7672271D ; 1.0.2J
13+
0x028879E0 = addi r8, r3, 0
14+
0x02885D58 = li r3, $medals
15+
0x02885D48 = li r3, $medals
16+
0x02885D64 = nop
17+
18+
[XCX_BladeMedal_V100U]
19+
moduleMatches = 0xAB97DE6B, 0x676EB33E ; 1.0.1U, 1.0.0U
20+
0x0288AA04 = addi r8, r3, 0
21+
0x02888D7C = li r3, $medals
22+
0x02888D6C = li r3, $medals
23+
0x02888D88 = nop
24+
25+
[XCX_BladeMedal_V100J]
26+
moduleMatches = 0x785CA8A9 ; 1.0.0J
27+
0x02886608 = addi r8, r3, 0
28+
0x02884980 = li r3, $medals
29+
0x02884970 = li r3, $medals
30+
0x0288498C = nop
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
[Definition]
2+
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
3+
name = Set BLADE Medal Count
4+
path = "Xenoblade Chronicles X/Mods/BLADE/BLADE Medals"
5+
description = Set the number of BLADE Medals you currently have. (must complete a nemesis mission for the new value to save)
6+
version = 6
7+
8+
[Default]
9+
$medals = 1
10+
11+
[Preset]
12+
category = "Medals:"
13+
name = "1"
14+
15+
[Preset]
16+
category = "Medals:"
17+
name = "10"
18+
$medals = 10
19+
20+
[Preset]
21+
category = "Medals:"
22+
name = "50"
23+
$medals = 50
24+
25+
[Preset]
26+
category = "Medals:"
27+
name = "100"
28+
$medals = 100
29+
30+
[Preset]
31+
category = "Medals:"
32+
name = "500"
33+
$medals = 500
34+
35+
[Preset]
36+
category = "Medals:"
37+
name = "1000"
38+
$medals = 1000
39+
40+
[Preset]
41+
category = "Medals:"
42+
name = "9999"
43+
$medals = 9999
44+
45+
###[Preset]
46+
###category = "Medals:"
47+
###name = "32767"
48+
###$medals = 32767

src/XenobladeChroniclesX/Mods/BladeTasksAndMissionsOffline/rules.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
33
name = "Squad tasks and missions are available offline"
44
path = "Xenoblade Chronicles X/Mods/BLADE/Offline Squad tasks and missions"
5-
description = Squad tasks and missions are available offline. Presets allow to select a Squad Mission, or you can use [Social > Squad Select] menu for random selection.||Recommended to be combined with More Reward Tickets (x5).||"Enable Online Mode" setting must be OFF for the mod to work!!
5+
description = Squad tasks and missions are available offline. Presets allow to select a Squad Mission, or you can use [Social > Squad Select] menu for random selection.||Recommended to be combined with More Reward Tickets (x3).||"Enable Online Mode" setting must be OFF for the mod to work!!
66
version = 6
77

88
[Default]
@@ -111,6 +111,6 @@ $missionId = 24
111111
name = "N25: Unused squad mission"
112112
$missionId = 25
113113

114-
[Preset]
115-
name = "N00: Broken squad mission"
116-
$missionId = 26
114+
###[Preset]
115+
###name = "N00: Broken squad mission"
116+
###$missionId = 26

src/XenobladeChroniclesX/Mods/CollectiblesCatchRange/rules.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,18 @@ name = Big Range
1818

1919
[Preset]
2020
name = Bigger Range
21-
$rangeinner = 80.0
22-
$heightinner = 16.0
23-
$rangedoll = 128.0
24-
$heightdoll = 128.0
25-
$rangeflight = 128.0
26-
$heightflight = 104.0
21+
$rangeinner = 60.0
22+
$heightinner = 12.0
23+
$rangedoll = 96.0
24+
$heightdoll = 96.0
25+
$rangeflight = 96.0
26+
$heightflight = 78.0
27+
28+
[Preset]
29+
name = CHEAT - Infinite Range
30+
$rangeinner = 2000.0
31+
$heightinner = 2000.0
32+
$rangedoll = 2000.0
33+
$heightdoll = 2000.0
34+
$rangeflight = 2000.0
35+
$heightflight = 2000.0
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Definition]
22
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
33
name = "Freecam"
4-
path = "Xenoblade Chronicles X/Mods/HUD/Freecam"
4+
path = "Xenoblade Chronicles X/Mods/Graphics/Freecam"
55
description = Look around the world with the developer freecam.|The game functions like normal when you're in this mode. Area renders around camera, so going too far will make your character have no ground and die.||Mod made by blingbloing.|||Hold 'R' button to move camera up|Hold 'L' button to move camera down|Hold 'X' button to keep camera in place|Hold 'Y' button to speed up camera|Tip: Press and hold the R stick button to speed up even more
66
version = 6

0 commit comments

Comments
 (0)