port vip card patch to all ep3 versions
This commit is contained in:
@@ -14,8 +14,6 @@ reloc0:
|
||||
.offsetof start
|
||||
|
||||
start:
|
||||
.include Episode3USAOnly
|
||||
|
||||
stwu [r1 - 0x20], r1
|
||||
mflr r0
|
||||
stw [r1 + 0x24], r0
|
||||
|
||||
@@ -21,8 +21,6 @@ reloc0:
|
||||
.offsetof start
|
||||
|
||||
start:
|
||||
.include Episode3USAOnly
|
||||
|
||||
stwu [r1 - 0x20], r1
|
||||
mflr r0
|
||||
stw [r1 + 0x24], r0
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user