From 9ad0dc03521ad6acd7ff7988abace93fdcc591f3 Mon Sep 17 00:00:00 2001 From: lasyan3 Date: Tue, 25 Jun 2019 20:02:55 +0200 Subject: [PATCH] [XCX] Offline BLADE Missions : temporary removed tickets presets (seems unstable, investigation in progress). --- .../patches.txt | 118 ------------------ .../rules.txt | 37 +----- 2 files changed, 1 insertion(+), 154 deletions(-) diff --git a/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/patches.txt b/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/patches.txt index fa2ec894..ef1347e5 100644 --- a/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/patches.txt +++ b/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/patches.txt @@ -49,65 +49,6 @@ _gotoNext = 0x023ABE54 0x023ABDD4 = beq _gotoTimeout 0x023ABDD8 = b _gotoNext -######################## More Tickets - -0x00000014 = .short $mult -_mult = 0x00000014 -0x00000018 = .byte $uncap -_uncap = 0x00000018 - -; ---------------------------------------------------------------------------- -; WHO : cfs::CfSocialManager::addTradeTicket((int, unsigned int)) -; WHAT : Multiply the reward tickets given in many occasions - -_moreTickets = 0x0000001C -0x0000001C = lis r28, _mult@ha -0x00000020 = lhz r28, _mult@l(r28) -0x00000024 = mullw r28, r4, r28 -0x00000028 = blr - -0x022CA874 = bla _moreTickets - -; ---------------------------------------------------------------------------- -; WHO : cfs::CfSocialManager::addTradeTicket((int, unsigned int)) -; WHAT : Ignore the max number of tickets we can get - -_uncapTickets = 0x0000002C -0x0000002C = lis r5, _uncap@ha -0x00000030 = lbz r5, _uncap@l(r5) -0x00000034 = cmpwi r5, 1 -0x00000038 = beqlr -0x0000003C = mr r3, r25 -0x00000040 = blr - -0x022CAC5C = bla _uncapTickets - -; ---------------------------------------------------------------------------- -; WHO : menu::MenuMultiQuestInfoWindow::displayInfo((menu::MenuObject *,bool)) -; WHAT : - -_dispBefore = 0x00000044 -0x00000044 = lhz r26, 0x8C(r1) -0x00000048 = lis r24, _mult@ha -0x0000004C = lhz r24, _mult@l(r24) -0x00000050 = mullw r26, r26, r24 -0x00000054 = blr - -0x02B94718 = bla _dispBefore - -; ---------------------------------------------------------------------------- -; WHO : menu::MenuMultiQuestResult::setup((void)) -; WHAT : - -_dispAfter = 0x00000058 -0x00000058 = lhz r5, 0x5778(r29) -0x0000005C = lis r3, _mult@ha -0x00000060 = lhz r3, _mult@l(r3) -0x00000064 = mullw r5, r5, r3 -0x00000068 = blr - -0x02B9FE2C = bla _dispAfter - ##################################################################################################### [XCX_SQUADMISSIONS_1E] moduleMatches = 0xF882D5CF ; 1.0.1E @@ -219,65 +160,6 @@ _gotoNext = 0x023ABDE4 0x023ABD64 = beq _gotoTimeout 0x023ABD68 = b _gotoNext -######################## More Tickets - -0x00000014 = .short $mult -_mult = 0x00000014 -0x00000018 = .byte $uncap -_uncap = 0x00000018 - -; ---------------------------------------------------------------------------- -; WHO : cfs::CfSocialManager::addTradeTicket((int, unsigned int)) -; WHAT : Multiply the reward tickets given in many occasions - -_moreTickets = 0x0000001C -0x0000001C = lis r28, _mult@ha -0x00000020 = lhz r28, _mult@l(r28) -0x00000024 = mullw r28, r4, r28 -0x00000028 = blr - -0x022CA804 = bla _moreTickets - -; ---------------------------------------------------------------------------- -; WHO : cfs::CfSocialManager::addTradeTicket((int, unsigned int)) -; WHAT : Ignore the max number of tickets we can get - -_uncapTickets = 0x0000002C -0x0000002C = lis r5, _uncap@ha -0x00000030 = lbz r5, _uncap@l(r5) -0x00000034 = cmpwi r5, 1 -0x00000038 = beqlr -0x0000003C = mr r3, r25 -0x00000040 = blr - -0x022CABEC = bla _uncapTickets - -; ---------------------------------------------------------------------------- -; WHO : menu::MenuMultiQuestInfoWindow::displayInfo((menu::MenuObject *,bool)) -; WHAT : - -_dispBefore = 0x00000044 -0x00000044 = lhz r26, 0x8C(r1) -0x00000048 = lis r24, _mult@ha -0x0000004C = lhz r24, _mult@l(r24) -0x00000050 = mullw r26, r26, r24 -0x00000054 = blr - -0x02B9468C = bla _dispBefore - -; ---------------------------------------------------------------------------- -; WHO : menu::MenuMultiQuestResult::setup((void)) -; WHAT : - -_dispAfter = 0x00000058 -0x00000058 = lhz r5, 0x5778(r29) -0x0000005C = lis r3, _mult@ha -0x00000060 = lhz r3, _mult@l(r3) -0x00000064 = mullw r5, r5, r3 -0x00000068 = blr - -0x02B9FD2C = bla _dispAfter - ##################################################################################################### # getServerTimeSec__Q2_2nt10CNetLibNexCFRUL 0x0295E984 = nop diff --git a/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt b/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt index ddcc0171..9c3573cc 100644 --- a/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt +++ b/Mods/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt @@ -2,40 +2,5 @@ titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 name = "Squad tasks and missions are available offline" path = "Xenoblade Chronicles X/Mods/BLADE/Offline tasks and missions" -description = Squad tasks and missions are available offline. Uncapped presets ignore max tickets. Use [Social > Squad Select] menu to change the Squad Tasks. +description = Squad tasks and missions are available offline. Use [Social > Squad Select] menu to change the Squad Tasks. version = 3 - -[Preset] -name = "Normal" -$mult = 1 -$uncap = 0 - -[Preset] -name = "Gain more Tickets (x10)" -$mult = 10 -$uncap = 0 - -[Preset] -name = "Gain more Tickets (x100)" -$mult = 100 -$uncap = 0 - -[Preset] -name = "Gain more Tickets (x1000)" -$mult = 1000 -$uncap = 0 - -[Preset] -name = "Gain more Tickets (x10 Uncapped)" -$mult = 10 -$uncap = 1 - -[Preset] -name = "Gain more Tickets (x100 Uncapped)" -$mult = 100 -$uncap = 1 - -[Preset] -name = "Gain more Tickets (x1000 Uncapped)" -$mult = 1000 -$uncap = 1