diff --git a/Modifications/XenobladeX_mod_BattleDamageModGround/rules.txt b/Modifications/XenobladeX_mod_BattleDamageModGround/rules.txt index bad222a0..e554ba3a 100644 --- a/Modifications/XenobladeX_mod_BattleDamageModGround/rules.txt +++ b/Modifications/XenobladeX_mod_BattleDamageModGround/rules.txt @@ -1,8 +1,8 @@ [Definition] titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 name = "Ground damage multiplicator" -path = "Xenoblade Chronicles X/Modifications/Battle/Damage multiplicator (on foot)" -description = "Increase the damage done by your team on foot (skells not impacted)." +path = "Xenoblade Chronicles X/Modifications/Battle/Ground damage multiplicator" +description = "Increase the ground damage done by your team (skells not impacted)." version = 3 [Preset] diff --git a/Modifications/XenobladeX_mod_BattleEnemyStats/rules.txt b/Modifications/XenobladeX_mod_BattleEnemyStats/rules.txt index 929a445d..1bfd7a24 100644 --- a/Modifications/XenobladeX_mod_BattleEnemyStats/rules.txt +++ b/Modifications/XenobladeX_mod_BattleEnemyStats/rules.txt @@ -5,14 +5,14 @@ path = "Xenoblade Chronicles X/Modifications/Battle/Enemy Statistics modificator description = "Apply a percent modificator on enemies stats (HP, Melee Attack, Melee Accuracy, Ranged Attack, Ranged Accuracy, Potential and Evasion). You can consult the new values in the Bestiary menu." version = 3 -[Preset] -name = Set at 75% -$mod = 0.00075 - [Preset] name = Set at 50% $mod = 0.0005 +[Preset] +name = Set at 75% +$mod = 0.00075 + [Preset] name = Set at 125% $mod = 0.00125 diff --git a/Modifications/XenobladeX_mod_BattleNoQTE/rules.txt b/Modifications/XenobladeX_mod_BattleNoQTE/rules.txt index 9fa3a66d..3533d9a4 100644 --- a/Modifications/XenobladeX_mod_BattleNoQTE/rules.txt +++ b/Modifications/XenobladeX_mod_BattleNoQTE/rules.txt @@ -1,6 +1,6 @@ [Definition] titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Automatic QTE" -path = "Xenoblade Chronicles X/Modifications/Battle/Automatic QTE" -description = "The QTE challenges are automatic and silent success (no preset needed)." +name = "Automatic Soul Challenges" +path = "Xenoblade Chronicles X/Modifications/Battle/Automatic Soul Challenges" +description = "The Soul Challenges QTE are hidden and automatically successful (no preset needed)." version = 3 diff --git a/Modifications/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt b/Modifications/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt index e116f26a..8a25a972 100644 --- a/Modifications/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt +++ b/Modifications/XenobladeX_mod_BladeTasksAndMissionsOffline/rules.txt @@ -2,7 +2,7 @@ titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 name = "Squad tasks and missions are available offline" path = "Xenoblade Chronicles X/Modifications/BLADE/Offline tasks and missions" -description = "Squad tasks and missions are available offline. Uncapped presets ignore max tickets." +description = "Squad tasks and missions are available offline. Uncapped presets ignore max tickets. Use [Social > Squad Select] menu to change the Squad Tasks." version = 3 [Preset] diff --git a/Modifications/XenobladeX_mod_CollectiblesCatchRange/rules.txt b/Modifications/XenobladeX_mod_CollectiblesCatchRange/rules.txt index 07b5f4c7..a2a4dd59 100644 --- a/Modifications/XenobladeX_mod_CollectiblesCatchRange/rules.txt +++ b/Modifications/XenobladeX_mod_CollectiblesCatchRange/rules.txt @@ -2,5 +2,5 @@ titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 name = "Catch range mod" path = "Xenoblade Chronicles X/Modifications/Collectibles/Catch range mod" -description = "Increase the distance from which collectibles are looted." +description = "Increase the distance from which collectibles are looted (no preset needed)." version = 3 diff --git a/Modifications/XenobladeX_mod_CollectiblesIgnore100th/rules.txt b/Modifications/XenobladeX_mod_CollectiblesIgnore100th/rules.txt index e2f31a67..a171ae31 100644 --- a/Modifications/XenobladeX_mod_CollectiblesIgnore100th/rules.txt +++ b/Modifications/XenobladeX_mod_CollectiblesIgnore100th/rules.txt @@ -2,6 +2,6 @@ titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 name = "Ignore 100th" path = "Xenoblade Chronicles X/Modifications/Collectibles/Ignore 100th" -description = "Do not collect if you have 99 of the items (and don't sell it)." +description = "Do not collect if you have 99 of the items, and don't sell it (no preset needed)." version = 3 \ No newline at end of file diff --git a/Modifications/XenobladeX_mod_GraphicsCameraFov/patches.txt b/Modifications/XenobladeX_mod_GraphicsCameraFov/patches.txt deleted file mode 100644 index dcc98736..00000000 --- a/Modifications/XenobladeX_mod_GraphicsCameraFov/patches.txt +++ /dev/null @@ -1,12 +0,0 @@ -[XCX_CAMERA_FOV] -moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U - -codeCaveSize = 0x4 - -0x00000000 = .float $mod ; fov (default is 40.0) -_fov = 0x00000000 - -# CamData::CCamDataManager::getFov((CamData::eTargetTypes)) -0x02229CE0 = lis r11, _fov@h -0x02229CF8 = lfs f1, _fov@l(r11) -0x02229D14 = nop \ No newline at end of file diff --git a/Modifications/XenobladeX_mod_GraphicsCameraFov/rules.txt b/Modifications/XenobladeX_mod_GraphicsCameraFov/rules.txt deleted file mode 100644 index e087c746..00000000 --- a/Modifications/XenobladeX_mod_GraphicsCameraFov/rules.txt +++ /dev/null @@ -1,22 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Camera mod (fov)" -path = "Xenoblade Chronicles X/Modifications/Graphics/Camera mod (fov)" -description = "Affect the default fov of the camera (Vanilla fov is 40)." -version = 3 - -[Preset] -name = "Fov 50" -$mod = 50.0 - -[Preset] -name = "Fov 60" -$mod = 60.0 - -[Preset] -name = "Fov 70" -$mod = 70.0 - -[Preset] -name = "Fov 80" -$mod = 80.0 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsBestQuality/patches.txt b/Modifications/XenobladeX_mod_LootEquipmentsBestQuality/patches.txt new file mode 100644 index 00000000..90108d58 --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsBestQuality/patches.txt @@ -0,0 +1,19 @@ +[XCX_LOOT_EQUIPMENT_BESTQUALITY] +moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U + +; ---------------------------------------------------------------------------- +; WHO : __CPR98__calcItemTableID__Q2_8ItemDrop16CItemDropManagerFUcRCQ3_J20JJ29J11SCreateInfoRUs +; WHAT : Always best equipment looted (X6X) + +0x021AD710 = nop ; ground weapons ? +0x021ADA6C = nop ; ground armors +0x021ADDE8 = nop ; skell weapons +0x021AE164 = nop ; skell armors + +; ---------------------------------------------------------------------------- +; WHO : ItemDrop::CItemDropManager::calcAfxSltNum((unsigned short)) +; WHAT : Control of the loot quality (always orange/yellow) + +0x021AB380 = li r28, 100 +0x021AB394 = li r29, 100 +0x021AB3AC = li r30, 100 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsBestQuality/rules.txt b/Modifications/XenobladeX_mod_LootEquipmentsBestQuality/rules.txt new file mode 100644 index 00000000..3b0834f4 --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsBestQuality/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = "Equipment - Best Quality" +path = "Xenoblade Chronicles X/Modifications/Loot/Equipment - Always the Best Quality (X6X)" +description = "Equipment looted is always of the best quality (Prime for ground gear and Intergalactic for Skells) and has always 3 augments and 3 extra free slots (no preset needed)." +version = 3 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsForceCount/patches.txt b/Modifications/XenobladeX_mod_LootEquipmentsForceCount/patches.txt new file mode 100644 index 00000000..fb39f7d4 --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsForceCount/patches.txt @@ -0,0 +1,34 @@ +[XCX_LOOT_EQUIPMENT_COUNT] +moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U + +codeCaveSize = 0x30 + +0x00000000 = .byte $cnt3 +0x00000004 = .byte $cnt2 +0x00000008 = .byte $cnt1 +_cnt3 = 0x00000000 +_cnt2 = 0x00000004 +_cnt1 = 0x00000008 + +_forceLot_3 = 0x0000000C +0x0000000C = lis r3, _cnt3@h +0x00000010 = lbz r3, _cnt3@l(r3) +0x00000014 = blr + +_forceLot_2 = 0x00000018 +0x00000018 = lis r3, _cnt2@h +0x0000001C = lbz r3, _cnt2@l(r3) +0x00000020 = blr + +_forceLot_1 = 0x00000024 +0x00000024 = lis r3, _cnt1@h +0x00000028 = lbz r3, _cnt1@l(r3) +0x0000002C = blr + +; ---------------------------------------------------------------------------- +; WHO : ItemDrop::CItemDropManager::calcItemNum((uchar)) +; WHAT : Chances to loot multiples equipments (3 max) + +0x021AB218 = bla _forceLot_3 +0x021AB268 = bla _forceLot_2 +0x021AB2B8 = bla _forceLot_1 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsForceCount/rules.txt b/Modifications/XenobladeX_mod_LootEquipmentsForceCount/rules.txt new file mode 100644 index 00000000..8683663b --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsForceCount/rules.txt @@ -0,0 +1,24 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = "Equipment - Force Count" +path = "Xenoblade Chronicles X/Modifications/Loot/Equipment - Force Count" +description = "Force the count of equipment looted (IF and only IF you get a Silver or Gold treasure of course)." +version = 3 + +[Preset] +name = "Always 3 equipments" +$cnt3 = 0 +$cnt2 = 100 +$cnt1 = 100 + +[Preset] +name = "Always 2 equipments" +$cnt3 = 100 +$cnt2 = 0 +$cnt1 = 100 + +[Preset] +name = "Always 1 equipment" +$cnt3 = 100 +$cnt2 = 100 +$cnt1 = 0 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsForceType/patches.txt b/Modifications/XenobladeX_mod_LootEquipmentsForceType/patches.txt new file mode 100644 index 00000000..b578a79e --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsForceType/patches.txt @@ -0,0 +1,29 @@ +[XCX_LOOT_EQUIPMENT_TYPE] +moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U + +codeCaveSize = 0x1C + +; ---------------------------------------------------------------------------- +; WHO : __CPR98__calcItemTableID__Q2_8ItemDrop16CItemDropManagerFUcRCQ3_J20JJ29J11SCreateInfoRUs +; WHAT : Force some kind of equipment to be looted in Gold chests +; 2 = Ground weapons +; 4 = Ground armors +; 6 = Skell weapons +; 8 = Skell armors + +0x00000000 = .byte $mod +_ratio = 0x00000000 + +_setEquipR4 = 0x00000004 +0x00000004 = lis r4, _ratio@ha +0x00000008 = lbz r4, _ratio@l(r4) +0x0000000C = blr + +0x021AEB88 = bla _setEquipR4 + +_setEquipR27 = 0x00000010 +0x00000010 = lis r27, _ratio@ha +0x00000014 = lbz r27, _ratio@l(r27) +0x00000018 = blr + +0x021AEB5C = bla _setEquipR27 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsForceType/rules.txt b/Modifications/XenobladeX_mod_LootEquipmentsForceType/rules.txt new file mode 100644 index 00000000..0484d1d9 --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsForceType/rules.txt @@ -0,0 +1,22 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = "Equipment - Force Type" +path = "Xenoblade Chronicles X/Modifications/Loot/Equipment - Force Type" +description = "Force the type of equipment looted." +version = 3 + +[Preset] +name = "Ground weapons" +$mod = 2 + +[Preset] +name = "Ground armors" +$mod = 4 + +[Preset] +name = "Skell weapons" +$mod = 6 + +[Preset] +name = "Skell armors" +$mod = 8 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsIgnoreBroken/patches.txt b/Modifications/XenobladeX_mod_LootEquipmentsIgnoreBroken/patches.txt new file mode 100644 index 00000000..c1651d96 --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsIgnoreBroken/patches.txt @@ -0,0 +1,8 @@ +[XCX_LOOT_EQUIPMENT_BROKEN] +moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U + +; ---------------------------------------------------------------------------- +; WHO : __CPR129__calcItem__Q2_8ItemDrop16CItemDropManagerFRQ3_J13JJ22J9SDropInfoUcRCQ3_J13JJ22J11SCreateInfo +; WHAT : Remove broken equipment (to be tested) + +0x021AEBE0 = li r3, 0 ; Nothing is broken diff --git a/Modifications/XenobladeX_mod_LootEquipmentsIgnoreBroken/rules.txt b/Modifications/XenobladeX_mod_LootEquipmentsIgnoreBroken/rules.txt new file mode 100644 index 00000000..f5d741f6 --- /dev/null +++ b/Modifications/XenobladeX_mod_LootEquipmentsIgnoreBroken/rules.txt @@ -0,0 +1,7 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = "Equipment - Ignore broken" +path = "Xenoblade Chronicles X/Modifications/Loot/Equipment - Ignore broken" +description = "Never get broken equipment." +version = 3 + diff --git a/Modifications/XenobladeX_mod_LootEquipmentsType/patches.txt b/Modifications/XenobladeX_mod_LootEquipmentsType/patches.txt deleted file mode 100644 index eac03f9e..00000000 --- a/Modifications/XenobladeX_mod_LootEquipmentsType/patches.txt +++ /dev/null @@ -1,52 +0,0 @@ -[XCX_LOOT_EQUIPMENT] -moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U - -codeCaveSize = 0x1C - -; ---------------------------------------------------------------------------- -; WHO : __CPR98__calcItemTableID__Q2_8ItemDrop16CItemDropManagerFUcRCQ3_J20JJ29J11SCreateInfoRUs -; WHAT : Force some kind of equipment to be looted in Gold chests -; 2 = Ground weapons -; 4 = Ground armors -; 6 = Skell weapons -; 8 = Skell armors - -0x00000000 = .byte $mod -_ratio = 0x00000000 - -_setEquipR4 = 0x00000004 -0x00000004 = lis r4, _ratio@ha -0x00000008 = lbz r4, _ratio@l(r4) -0x0000000C = blr - -0x021AEB88 = bla _setEquipR4 - -_setEquipR27 = 0x00000010 -0x00000010 = lis r27, _ratio@ha -0x00000014 = lbz r27, _ratio@l(r27) -0x00000018 = blr - -0x021AEB5C = bla _setEquipR27 - -; ---------------------------------------------------------------------------- -; WHO : ItemDrop::CItemDropManager::calcItemNum((uchar)) -; WHAT : Chances to loot multiples equipments (3 max) - -0x021AB238 = li r11, 100 ; DRP_ItemNumTable - Lot_3 - -; ---------------------------------------------------------------------------- -; WHO : __CPR98__calcItemTableID__Q2_8ItemDrop16CItemDropManagerFUcRCQ3_J20JJ29J11SCreateInfoRUs -; WHAT : Always best equipment looted (X6X) - -0x021AD710 = nop ; ground weapons ? -0x021ADA6C = nop ; ground armors -0x021ADDE8 = nop ; skell weapons -0x021AE164 = nop ; skell armors - -; ---------------------------------------------------------------------------- -; WHO : ItemDrop::CItemDropManager::calcAfxSltNum((unsigned short)) -; WHAT : Control of the loot quality (always orange/yellow) - -0x021AB380 = li r28, 100 -0x021AB394 = li r29, 100 -0x021AB3AC = li r30, 100 diff --git a/Modifications/XenobladeX_mod_LootEquipmentsType/rules.txt b/Modifications/XenobladeX_mod_LootEquipmentsType/rules.txt deleted file mode 100644 index ffa0e226..00000000 --- a/Modifications/XenobladeX_mod_LootEquipmentsType/rules.txt +++ /dev/null @@ -1,26 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Force equipment loot mod" -path = "Xenoblade Chronicles X/Modifications/Loot/Force equipment loot mod" -description = "Force the type of equipment looted (always 3 pieces of best quality possible)." -version = 3 - -[Preset] -name = "Ground weapons" -$mod = 2 - -[Preset] -name = "Ground armors" -$mod = 4 - -[Preset] -name = "Skell weapons" -$mod = 6 - -[Preset] -name = "Skell armors" -$mod = 8 - -[Preset] -name = "Never drop equipment! (unexpected results if chest quality is forced)" -$mod = 0 diff --git a/Modifications/XenobladeX_mod_LootForceChest/rules.txt b/Modifications/XenobladeX_mod_LootForceChest/rules.txt deleted file mode 100644 index 05b8564d..00000000 --- a/Modifications/XenobladeX_mod_LootForceChest/rules.txt +++ /dev/null @@ -1,22 +0,0 @@ -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Force chest quality mod" -path = "Xenoblade Chronicles X/Modifications/Loot/Force chest quality mod" -description = "Force the chest quality (WARNING: this will break quests which need another quality loot)." -version = 3 - -[Preset] -name = "Always Gold chests" -$mod = 1 - -[Preset] -name = "Always Silver chests" -$mod = 2 - -[Preset] -name = "Always Bronze chests" -$mod = 3 - -[Preset] -name = "No chest at all!" -$mod = 0 diff --git a/Modifications/XenobladeX_mod_LootMaterialsChance/patches.txt b/Modifications/XenobladeX_mod_LootMaterialsDrop/patches.txt similarity index 100% rename from Modifications/XenobladeX_mod_LootMaterialsChance/patches.txt rename to Modifications/XenobladeX_mod_LootMaterialsDrop/patches.txt diff --git a/Modifications/XenobladeX_mod_LootMaterialsChance/rules.txt b/Modifications/XenobladeX_mod_LootMaterialsDrop/rules.txt similarity index 79% rename from Modifications/XenobladeX_mod_LootMaterialsChance/rules.txt rename to Modifications/XenobladeX_mod_LootMaterialsDrop/rules.txt index 685e744e..7845cc5e 100644 --- a/Modifications/XenobladeX_mod_LootMaterialsChance/rules.txt +++ b/Modifications/XenobladeX_mod_LootMaterialsDrop/rules.txt @@ -1,7 +1,7 @@ [Definition] titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Materials drop ratio mod" -path = "Xenoblade Chronicles X/Modifications/Loot/Materials drop ratio" +name = "Materials - Drop Ratio" +path = "Xenoblade Chronicles X/Modifications/Loot/Materials - Drop Ratio" description = "Affect the materials minimum drop ratio in the loots." version = 3 diff --git a/Modifications/XenobladeX_mod_LootForceChest/patches.txt b/Modifications/XenobladeX_mod_LootTreasureQuality/patches.txt similarity index 52% rename from Modifications/XenobladeX_mod_LootForceChest/patches.txt rename to Modifications/XenobladeX_mod_LootTreasureQuality/patches.txt index ff1a2f85..0f5c6026 100644 --- a/Modifications/XenobladeX_mod_LootForceChest/patches.txt +++ b/Modifications/XenobladeX_mod_LootTreasureQuality/patches.txt @@ -1,18 +1,26 @@ [XCX_LOOT_FORCECHEST] moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U -codeCaveSize = 0x10 +codeCaveSize = 0x30 -0x00000000 = .byte $mod -_chest = 0x00000000 +0x00000000 = .byte $forced +0x00000004 = .byte $treasure +_forced = 0x00000000 +_treasure = 0x00000004 -_changeQuality = 0x00000004 -0x00000004 = lis r3, _chest@ha -0x00000008 = lbz r3, _chest@l(r3) -0x0000000C = blr +; ---------------------------------------------------------------------------- +; WHO : ItemDrop::CItemDropManager::calcRank((unsigned short, int)) +; WHAT : Force the chest quality -0x021AADB8 = bla _changeQuality -0x021AADBC = blr +_goForced = 0x00000008 +0x00000008 = lis r28, _forced@ha +0x0000000C = lbz r28, _forced@l(r28) +0x00000010 = cmpwi r28, 0 +0x00000014 = bnelr +0x00000018 = mr. r28, r3 +0x0000001C = blr + +0x021AAFA4 = bla _goForced ; ---------------------------------------------------------------------------- ; WHO : ItemDrop::CItemDropManager::calcRank((unsigned short, int)) @@ -22,6 +30,11 @@ _changeQuality = 0x00000004 ; : 2) Calculate luck for silver chest, if success exit with silver quality (2), else process next step ; : 3) Calculate luck for bronze chest, if success exit with bronze quality (3), else process next step ; : 4) No chest at all, exit with no chest (0) -; : --> The mod below only changes this last step. So even if you put 1 value (gold chest), you'll still get a silver chest if the game succeeded the step 2. +; : --> The mod below only changes this last step. So even if you put value 1 (gold chest), you'll still get a silver chest if the game succeeded the step 2. -;0x21AAF18 = li r3, 1 ; 0 = nothing (default), 1 = gold, 2 = silver, 3 = bronze +_goTreasure = 0x00000020 +0x00000020 = lis r3, _treasure@ha +0x00000024 = lbz r3, _treasure@l(r3) +0x00000028 = blr + +0x21AAF18 = bla _goTreasure ; li r3, 1 ; 0 = nothing (default), 1 = gold, 2 = silver, 3 = bronze diff --git a/Modifications/XenobladeX_mod_LootTreasureQuality/rules.txt b/Modifications/XenobladeX_mod_LootTreasureQuality/rules.txt new file mode 100644 index 00000000..0351252b --- /dev/null +++ b/Modifications/XenobladeX_mod_LootTreasureQuality/rules.txt @@ -0,0 +1,41 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = "Treasure Quality" +path = "Xenoblade Chronicles X/Modifications/Loot/Treasure Quality" +description = "Select the preferred treasure quality you want to loot (see patches.txt for explanation). Presets with [FORCED] will always give you the wanted treasure but this will break quests whose need a different quality (but is very useful for loot grinding)." +version = 3 + +[Preset] +name = "Gold quality" +$treasure = 1 +$forced = 0 + +[Preset] +name = "Silver quality" +$treasure = 2 +$forced = 0 + +[Preset] +name = "Bronze quality" +$treasure = 3 +$forced = 0 + +[Preset] +name = "Gold quality (FORCED)" +$treasure = 1 +$forced = 1 + +[Preset] +name = "Silver quality (FORCED)" +$treasure = 2 +$forced = 2 + +[Preset] +name = "Bronze quality (FORCED)" +$treasure = 3 +$forced = 3 + +[Preset] +name = "No treasure at all" +$treasure = 0 +$forced = 0 diff --git a/Modifications/XenobladeX_mod_PhysicsRunForrestRun/patches.txt b/Modifications/XenobladeX_mod_PhysicsRunForrestRun/patches.txt index 76161333..f78b2262 100644 --- a/Modifications/XenobladeX_mod_PhysicsRunForrestRun/patches.txt +++ b/Modifications/XenobladeX_mod_PhysicsRunForrestRun/patches.txt @@ -1,10 +1,10 @@ [XCX_MOVESPEED] moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U -codeCaveSize = 0x18 +codeCaveSize = 0x1C -0x00000014 = .float $mod ; dash speed (smallest means fastest, default is 1.0) -_speed = 0x00000014 +0x00000018 = .float $mod ; dash speed (smallest means fastest, default is 1.0) +_speed = 0x00000018 _setSpeed = 0x00000000 0x00000000 = lis r3, _speed@h @@ -15,3 +15,10 @@ _setSpeed = 0x00000000 # chr::CInnerLabelState::applyFieldMoveWeight((float)) 0x02643330 = bla _setSpeed ; SetVariableFloat(0xBD,float) + +;0x026431C8 = bla _setSpeed +;0x026431D8 = bla _setSpeed +;0x026431E8 = bla _setSpeed +;0x026431F8 = bla _setSpeed +;0x02643208 = bla _setSpeed +;0x02643218 = bla _setSpeed diff --git a/Modifications/XenobladeX_mod_PhysicsRunForrestRun/rules.txt b/Modifications/XenobladeX_mod_PhysicsRunForrestRun/rules.txt index 8a30fa39..b45393c6 100644 --- a/Modifications/XenobladeX_mod_PhysicsRunForrestRun/rules.txt +++ b/Modifications/XenobladeX_mod_PhysicsRunForrestRun/rules.txt @@ -15,4 +15,4 @@ $mod = 0.5 [Preset] name = "Speed x3" -$mod = 0.3 +$mod = 0.33