diff --git a/system/client-functions/AllCards.3SE0.patch.s b/system/client-functions/AllCards.3SE0.patch.s index 57c4cf46..a6e56a1d 100644 --- a/system/client-functions/AllCards.3SE0.patch.s +++ b/system/client-functions/AllCards.3SE0.patch.s @@ -14,8 +14,6 @@ reloc0: .offsetof start start: - .include Episode3USAOnly - stwu [r1 - 0x20], r1 mflr r0 stw [r1 + 0x24], r0 diff --git a/system/client-functions/Editors.3SE0.patch.s b/system/client-functions/Editors.3SE0.patch.s index ad9eac8d..9806cb57 100644 --- a/system/client-functions/Editors.3SE0.patch.s +++ b/system/client-functions/Editors.3SE0.patch.s @@ -21,8 +21,6 @@ reloc0: .offsetof start start: - .include Episode3USAOnly - stwu [r1 - 0x20], r1 mflr r0 stw [r1 + 0x24], r0 diff --git a/system/client-functions/VIPCard.3SE0.patch.s b/system/client-functions/VIPCard.3SE0.patch.s index 9b81cab0..96263984 100644 --- a/system/client-functions/VIPCard.3SE0.patch.s +++ b/system/client-functions/VIPCard.3SE0.patch.s @@ -1,5 +1,3 @@ -# This patch gives you a VIP card in PSO Episode 3 USA. - # This patch is only for PSO Episode 3 USA, which means it requires the # EnableEpisode3SendFunctionCall option to be enabled in config.json. If that # option is disabled, the Patches menu won't appear for the client. If this @@ -13,8 +11,6 @@ reloc0: .offsetof start start: - .include Episode3USAOnly - # Call seq_var_set(7000) - this gives the local player a VIP card li r3, 7000 lis r0, 0x8010 diff --git a/system/client-functions/VIPCard.3SJ0.patch.s b/system/client-functions/VIPCard.3SJ0.patch.s new file mode 100644 index 00000000..f289a2dd --- /dev/null +++ b/system/client-functions/VIPCard.3SJ0.patch.s @@ -0,0 +1,14 @@ +.meta name="Get VIP card" +.meta description="Gives you a VIP card" + +entry_ptr: +reloc0: + .offsetof start + +start: + # Call seq_var_set(7000) - this gives the local player a VIP card + li r3, 7000 + lis r0, 0x8010 + ori r0, r0, 0xBED8 + mtctr r0 + bctr diff --git a/system/client-functions/VIPCard.3SJT.patch.s b/system/client-functions/VIPCard.3SJT.patch.s new file mode 100644 index 00000000..01f42232 --- /dev/null +++ b/system/client-functions/VIPCard.3SJT.patch.s @@ -0,0 +1,14 @@ +.meta name="Get VIP card" +.meta description="Gives you a VIP card" + +entry_ptr: +reloc0: + .offsetof start + +start: + # Call seq_var_set(7000) - this gives the local player a VIP card + li r3, 7000 + lis r0, 0x8010 + ori r0, r0, 0xF410 + mtctr r0 + bctr diff --git a/system/client-functions/VIPCard.3SP0.patch.s b/system/client-functions/VIPCard.3SP0.patch.s new file mode 100644 index 00000000..33c0d159 --- /dev/null +++ b/system/client-functions/VIPCard.3SP0.patch.s @@ -0,0 +1,18 @@ +# This patch can't be used currently because the EU version of Episode 3 doesn't +# natively support B2, and there is no buffer-overflow exploit (yet) to address +# this. + +.meta name="Get VIP card" +.meta description="Gives you a VIP card" + +entry_ptr: +reloc0: + .offsetof start + +start: + # Call seq_var_set(7000) - this gives the local player a VIP card + li r3, 7000 + lis r0, 0x8010 + ori r0, r0, 0xC1A4 + mtctr r0 + bctr