[XCX] Add mod to unlock all augments in the shop.

This commit is contained in:
lasyan3 2018-11-09 08:48:43 +01:00
parent d17f099e6c
commit 00c02127cc
2 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,52 @@
[XCX_UNLOCKAUGMENTS_EU]
moduleMatches = 0xF882D5CF ; 1.0.1E
codeCaveSize = 0x1C
0x00000000 = .byte $checkIgnore
0x00000001 = .byte $checkIgnoreEnd
_ignore = 0x00000000
_end = 0x00000001
_checkIgnore = 0x00000004
0x00000004 = lis r4, _ignore@h
0x00000008 = lbz r3, _ignore@l(r4)
0x0000000C = blr
_checkIgnoreEnd = 0x00000010
0x00000010 = lis r3, _end@h
0x00000014 = lbz r3, _end@l(r3)
0x00000018 = blr
; ----------------------------------------------------------------------------
; WHO : menu::MenuArmsCompanyDeviceList::CheckEnableCreateByDeviceID
; WHAT : Unlimited augments
0x02A817A0 = li r3, 0 ; all augments are known
0x02A817C8 = bla _checkIgnore ; ignore requirements
0x02A81A3C = bla _checkIgnoreEnd ; ignore requirements (end game)
;#####################################################################################
[XCX_UNLOCKAUGMENTS_US]
moduleMatches = 0x30B6E091 ; 1.0.2U
codeCaveSize = 0x1C
0x00000000 = .byte $checkIgnore
0x00000001 = .byte $checkIgnoreEnd
_ignore = 0x00000000
_end = 0x00000001
_checkIgnore = 0x00000004
0x00000004 = lis r4, _ignore@h
0x00000008 = lbz r3, _ignore@l(r4)
0x0000000C = blr
_checkIgnoreEnd = 0x00000010
0x00000010 = lis r3, _end@h
0x00000014 = lbz r3, _end@l(r3)
0x00000018 = blr
0x02A81790 = li r3, 0 ; all augments are known
0x02A817B8 = bla _checkIgnore ; ignore requirements
0x02A81A2C = bla _checkIgnoreEnd ; ignore requirements (end game)

View File

@ -0,0 +1,17 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "Unlock all augments"
path = "Xenoblade Chronicles X/Modifications/Equipment/Unlock all augments"
description = All the augments are already known at the shop, and with the CHEAT preset they cost nothing.
version = 3
[Preset]
name = "Normal"
$checkIgnore = 5
$checkIgnoreEnd = 7
[Preset]
name = "CHEAT - Ignore Miranium and resources requirements"
$checkIgnore = 0
$checkIgnoreEnd = 0