Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xenoblade X] New blade metal count mod + some other stuff #583

Merged
merged 26 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0373bb4
Add files via upload
intra2 Dec 31, 2022
f7042b9
Update rules.txt
intra2 Dec 31, 2022
c3f756c
Rename src/XenobladeChroniclesX/Mods/GraphicsNpcInfoBubblesDistance/p…
intra2 Dec 31, 2022
0d86257
Rename src/XenobladeChroniclesX/Mods/GraphicsNpcInfoBubblesDistance/r…
intra2 Dec 31, 2022
1716170
Rename src/XenobladeChroniclesX/Mods/HUDFreecam/patch_Freecam.asm to …
intra2 Dec 31, 2022
5928efd
Rename src/XenobladeChroniclesX/Mods/HUDFreecam/rules.txt to src/Xeno…
intra2 Dec 31, 2022
3703bcd
Rename src/XenobladeChroniclesX/Mods/HUDNoModelFade/patch_NoModelFade…
intra2 Dec 31, 2022
fd5131d
Rename src/XenobladeChroniclesX/Mods/HUDNoModelFade/rules.txt to src/…
intra2 Dec 31, 2022
0671f34
Rename src/XenobladeChroniclesX/Mods/HUDRemoveOverdriveBlur/patch_Rem…
intra2 Dec 31, 2022
8eba1a0
Rename src/XenobladeChroniclesX/Mods/HUDRemoveOverdriveBlur/rules.txt…
intra2 Dec 31, 2022
d8c1a2b
Update rules.txt
intra2 Dec 31, 2022
3771e73
Add files via upload
intra2 Dec 31, 2022
d61c05f
Update rules.txt
intra2 Dec 31, 2022
1b08b4b
Update patch_Metal.asm
intra2 Dec 31, 2022
f7dfc69
Update rules.txt
intra2 Dec 31, 2022
96f6ea0
Update patch_Metal.asm
intra2 Dec 31, 2022
4680bd4
Update patch_Metal.asm
intra2 Jan 1, 2023
bf7c4a9
typo fix oops
intra2 Jan 2, 2023
d96095c
typo fix oops
intra2 Jan 2, 2023
340ab83
Add files via upload
intra2 Jan 3, 2023
4409770
and I just figured out how to make blade medals unneeded
intra2 Jan 3, 2023
6dc8ea6
fixed readablilty and made it easier to change
intra2 Jan 4, 2023
5ce3df8
small typo fix
intra2 Jan 4, 2023
9b4127b
changed addi to subi
intra2 Jan 4, 2023
6331663
Update patch_offline_nemesis.asm
intra2 Jan 8, 2023
e9e68a9
Add files via upload
intra2 Jan 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $mod = 1.0

[Preset]
name = "Enemies will never de-aggro"
$mod = 0.00001
$mod = 0.0001

[Preset]
name = "Increase Range x2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[XCX_OFFLINEWE]
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
.origin = codecave
.int $ygg
.int $teli
.int $ygg ;0x400D | mission ID for ygg
.int $teli ;0x4008 or 0x4009 | mission ID's for teli
.int $nemesiscost ;sets blade medals cost of nemesis mission
.int $minmedals ;sets minimum blade medal count

; Manage RPs & Appraisal
VarShareRP:
Expand Down Expand Up @@ -59,7 +61,16 @@ moduleMatches = 0xF882D5CF, 0x30B6E091, 0x218F6E07 ; 1.0.1E, 1.0.2U, 1.0.0E
0x0282B264 = nop ; skip deserializeWorldEnemy
0x0282B410 = li r4, 1 ; for getWERewardList
; cfs::CfSocialManager::getQuestDetailFR((cfs::CfSocialQuestInfoFR &))
0x0228989C = nop ; Uncomment to show Appraisal Rewards
0x0228989C = nop ; show Appraisal Rewards

;BLADE Medal cheat
0x0288AA80 = subi r8, r3, $nemesiscost ; sets how much a mission cost
;Sets a minimum blade medal count ;replaces maximum blade medal cap
0x02888DEC = cmplwi r3, $minmedals
0x02888DF0 = bge 0x02888E08 ;LAB_02888e08
0x02888DFC = cmplwi r3, $minmedals
0x02888E00 = bge 0x02888E08 ;LAB_02888e08
0x02888E04 = li r3, $minmedals

[XCX_OFFLINEWE_V101E] ; ############################################################################################
moduleMatches = 0xF882D5CF, 0x218F6E07 ; 1.0.1E, 1.0.0E
Expand Down Expand Up @@ -109,7 +120,15 @@ moduleMatches = 0x7672271D ; 1.0.2J
0x02828348 = li r6, 1 ; to store in 8(r26) -> needed for cmpwi r0, 1 after callback
0x0282843C = nop ; skip deserializeWorldEnemy
0x028285E8 = li r4, 1 ; for getWERewardList
0x022892B4 = nop ; Uncomment to show Appraisal Rewards
0x022892B4 = nop ; show Appraisal Rewards

;BLADE Medal cheat
0x028879E0 = subi r8, r3, $nemesiscost
0x02885D4C = cmplwi r3, $minmedals
0x02885D50 = bge 0x02885D68 ;LAB_02885d68
0x02885D5C = cmplwi r3, $minmedals
0x02885D60 = bge 0x02885D68 ;LAB_02885d68
0x02885D64 = li r3, $minmedals

0x02AC22D0 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
0x02B96BCC = li r3, 1 ; Disable call to menu::MenuMultiQuestOrder::canOrderWorldEnemy
Expand Down Expand Up @@ -144,7 +163,15 @@ moduleMatches = 0xAB97DE6B, 0x676EB33E ; 1.0.1U, 1.0.0U
0x0282B0F4 = li r6, 1 ; to store in 8(r26) -> needed for cmpwi r0, 1 after callback
0x0282B1E8 = nop ; skip deserializeWorldEnemy
0x0282B394 = li r4, 1 ; for getWERewardList
0x0228982C = nop ; Uncomment to show Appraisal Rewards
0x0228982C = nop ; show Appraisal Rewards

;BLADE Medal cheat
0x0288AA04 = subi r8, r3, $nemesiscost
0x02888D70 = cmplwi r3, $minmedals
0x02888D74 = bge 0x02888D8C ;LAB_02888d8c
0x02888D80 = cmplwi r3, $minmedals
0x02888D84 = bge 0x02888D8C ;LAB_02888d8c
0x02888D88 = li r3, $minmedals

0x02AC5B84 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
0x02B9AFB0 = li r3, 1 ; Disable call to menu::MenuMultiQuestOrder::canOrderWorldEnemy
Expand Down Expand Up @@ -179,7 +206,15 @@ moduleMatches = 0x785CA8A9 ; 1.0.0J
0x0282731C = li r6, 1 ; to store in 8(r26) -> needed for cmpwi r0, 1 after callback
0x02827410 = nop ; skip deserializeWorldEnemy
0x028275BC = li r4, 1 ; for getWERewardList
0x02289008 = nop ; Uncomment to show Appraisal Rewards
0x02289008 = nop ; show Appraisal Rewards

;BLADE Medal cheat
0x02886608 = subi r8, r3, $nemesiscost
0x02884974 = cmplwi r3, $minmedals
0x02884978 = bge 0x02884990 ;LAB_02884990
0x02884984 = cmplwi r3, $minmedals
0x02884988 = bge 0x02884990 ;LAB_02884990
0x0288498C = li r3, $minmedals

0x02AC04E8 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
0x02B94268 = li r3, 1 ; Disable call to menu::MenuMultiQuestOrder::canOrderWorldEnemy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,30 @@
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "Offline Global Nemesis missions"
path = "Xenoblade Chronicles X/Mods/BLADE/Offline Global Nemesis missions"
description = Global Nemesis (both Telethia Plume and Yggralith Zero) are available in the BLADE console.|You still need medals to start the battle.
description = Global Nemesis (both Telethia Plume and Yggralith Zero) are available in the BLADE console.
version = 6

[Default]
$ygg = 0x4EED
$teli = 0x4EE9
$nemesiscost = 1
$minmedals = 0

[Preset]
category = "Telethia Bossfight Version"
name = "Monday Telethia (rising energy mist - time: 0:00)"
name = "Monday Telethia (energy mist - 0:00)"

[Preset]
category = "Telethia Bossfight Version"
name = "Friday Telethia (thunderstorms - time: 15:00)"
name = "Friday Telethia (thunderstorms - 15:00)"
$teli = 0x4EE8

[Preset]
category = "CHEAT - BLADE Medals not needed"
name = "Cheat not enabled"

[Preset]
category = "CHEAT - BLADE Medals not needed"
name = "Cheat enabled"
$nemesiscost = 0
$minmedals = 1
30 changes: 30 additions & 0 deletions src/XenobladeChroniclesX/Mods/BladeMedals/patch_Medal.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[XCX_BladeMedal_V101E_V102U]
moduleMatches = 0xF882D5CF, 0x30B6E091, 0x218F6E07 ; 1.0.1E, 1.0.2U, 1.0.0E
; write bp - addWorldEnemyTicket__Q2_2fw12SocialSystemFi
0x0288AA80 = addi r8, r3, 0 ; medals dont decrease when doing world enemy

; read bp - getWorldEnemyTicket__Q2_2fw12SocialSystemCFv
0x02888DF8 = li r3, $medals ; makes the game read given value
0x02888DE8 = li r3, $medals ; makes the game read given value
0x02888E04 = nop ; removes 9999 blade medal cap, loops to negatives at 32767

[XCX_BladeMedal_V102J]
moduleMatches = 0x7672271D ; 1.0.2J
0x028879E0 = addi r8, r3, 0
0x02885D58 = li r3, $medals
0x02885D48 = li r3, $medals
0x02885D64 = nop

[XCX_BladeMedal_V100U]
moduleMatches = 0xAB97DE6B, 0x676EB33E ; 1.0.1U, 1.0.0U
0x0288AA04 = addi r8, r3, 0
0x02888D7C = li r3, $medals
0x02888D6C = li r3, $medals
0x02888D88 = nop

[XCX_BladeMedal_V100J]
moduleMatches = 0x785CA8A9 ; 1.0.0J
0x02886608 = addi r8, r3, 0
0x02884980 = li r3, $medals
0x02884970 = li r3, $medals
0x0288498C = nop
48 changes: 48 additions & 0 deletions src/XenobladeChroniclesX/Mods/BladeMedals/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = Set BLADE Medal Count
path = "Xenoblade Chronicles X/Mods/BLADE/BLADE Medals"
description = Set the number of BLADE Medals you currently have. (must complete a nemesis mission for the new value to save)
version = 6

[Default]
$medals = 1

[Preset]
category = "Medals:"
name = "1"

[Preset]
category = "Medals:"
name = "10"
$medals = 10

[Preset]
category = "Medals:"
name = "50"
$medals = 50

[Preset]
category = "Medals:"
name = "100"
$medals = 100

[Preset]
category = "Medals:"
name = "500"
$medals = 500

[Preset]
category = "Medals:"
name = "1000"
$medals = 1000

[Preset]
category = "Medals:"
name = "9999"
$medals = 9999

###[Preset]
###category = "Medals:"
###name = "32767"
###$medals = 32767
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "Squad tasks and missions are available offline"
path = "Xenoblade Chronicles X/Mods/BLADE/Offline Squad tasks and missions"
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!!
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!!
version = 6

[Default]
Expand Down Expand Up @@ -111,6 +111,6 @@ $missionId = 24
name = "N25: Unused squad mission"
$missionId = 25

[Preset]
name = "N00: Broken squad mission"
$missionId = 26
###[Preset]
###name = "N00: Broken squad mission"
###$missionId = 26
21 changes: 15 additions & 6 deletions src/XenobladeChroniclesX/Mods/CollectiblesCatchRange/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@ name = Big Range

[Preset]
name = Bigger Range
$rangeinner = 80.0
$heightinner = 16.0
$rangedoll = 128.0
$heightdoll = 128.0
$rangeflight = 128.0
$heightflight = 104.0
$rangeinner = 60.0
$heightinner = 12.0
$rangedoll = 96.0
$heightdoll = 96.0
$rangeflight = 96.0
$heightflight = 78.0

[Preset]
name = CHEAT - Infinite Range
$rangeinner = 2000.0
$heightinner = 2000.0
$rangedoll = 2000.0
$heightdoll = 2000.0
$rangeflight = 2000.0
$heightflight = 2000.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "Freecam"
path = "Xenoblade Chronicles X/Mods/HUD/Freecam"
path = "Xenoblade Chronicles X/Mods/Graphics/Freecam"
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
version = 6
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "No Fading When Close-up"
path = "Xenoblade Chronicles X/Mods/HUD/No Fading When Close-up"
path = "Xenoblade Chronicles X/Mods/Graphics/No Fading When Close-up"
description = Makes it so that character and skell models don't fade out when the camera gets too close.
version = 6
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "Remove Overdrive Blur"
path = "Xenoblade Chronicles X/Mods/HUD/Remove Overdrive Blur"
path = "Xenoblade Chronicles X/Mods/Graphics/Remove Overdrive Blur"
description = Removes the blur that happens around the screen when you are in Overdrive.
version = 6
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "NPC info bubbles distance mod"
path = "Xenoblade Chronicles X/Mods/Graphics/NPC info bubbles distance mod"
path = "Xenoblade Chronicles X/Mods/HUD/NPC info bubbles distance mod"
description = Increase view distance for yellow information bubbles from NPC.
version = 6
18 changes: 9 additions & 9 deletions src/XenobladeChroniclesX/Mods/PhysicsJumpToTheMoon/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,41 +119,41 @@ category = "Vertical Velocity (height)"
$vert = 1.50

[Preset]
name = "CHEAT x25.0"
name = "CHEAT x18.0"
category = "Vertical Velocity (height)"
$vert = 25.0
$vert = 18.0

[Preset]
name = "Step forward (6)"
name = "Step forward [6]"
category = "Landing type"
$landtype = 6

[Preset]
name = "Normal land (5)"
name = "Normal land [5]"
category = "Landing type"
$landtype = 5

[Preset]
name = "Short land (4)"
name = "Short land [4]"
category = "Landing type"
default = 1

[Preset]
name = "Role (3)"
name = "Role [3]"
category = "Landing type"
$landtype = 3

[Preset]
name = "Full stop (2)"
name = "Full stop [2]"
category = "Landing type"
$landtype = 2

[Preset]
name = "Half stop (1)"
name = "Half stop [1]"
category = "Landing type"
$landtype = 1

[Preset]
name = "Never Land (0) SOFT LOCKS"
name = "Never Land [0] (softlocks)"
category = "Landing type"
$landtype = 0
Loading