make client functions parameterizable by version
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
# This patch disables the logic that causes all unlockable areas to be open by
|
||||
# default for all players, instead restoring the logic that checks quest flags
|
||||
# to open areas (as previous PSO versions used).
|
||||
|
||||
# This patch is intended to be used in the BBRequiredPatches field in
|
||||
# config.json if you want the classic behavior, hence the presence of the
|
||||
# hide_from_patches_menu directive here.
|
||||
|
||||
.meta name="Classic main warp behavior"
|
||||
.meta description=""
|
||||
.meta hide_from_patches_menu
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksBB
|
||||
.data 0x0064A5DE # Episode 1
|
||||
.data 1
|
||||
.binary 01
|
||||
.data 0x0064A448 # Episode 2
|
||||
.data 2
|
||||
.binary 0100
|
||||
.data 0x0064A529 # Episode 4
|
||||
.data 1
|
||||
.binary 01
|
||||
.data 0x0064A658 # Non-Normal difficulty check
|
||||
.data 2
|
||||
nop
|
||||
nop
|
||||
.data 0
|
||||
.data 0
|
||||
+6
-4
@@ -10,21 +10,23 @@
|
||||
.meta description=""
|
||||
.meta hide_from_patches_menu
|
||||
|
||||
.versions 59NJ 59NL
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
.include WriteCodeBlocksBB
|
||||
.data 0x0064A642 # Episode 1
|
||||
.data <VERS 0x0064A642 0x0064A5DE> # Episode 1
|
||||
.data 1
|
||||
.binary 01
|
||||
.data 0x0064A4AC # Episode 2
|
||||
.data <VERS 0x0064A4AC 0x0064A448> # Episode 2
|
||||
.data 2
|
||||
.binary 0100
|
||||
.data 0x0064A58D # Episode 4
|
||||
.data <VERS 0x0064A58D 0x0064A529> # Episode 4
|
||||
.data 1
|
||||
.binary 01
|
||||
.data 0x0064A6BC # Non-Normal difficulty check
|
||||
.data <VERS 0x0064A6BC 0x0064A658> # Non-Normal difficulty check
|
||||
.data 2
|
||||
nop
|
||||
nop
|
||||
@@ -1,26 +0,0 @@
|
||||
# It would be a bad idea to remove `.meta hide_from_patches_menu` to make this
|
||||
# patch an option for players to be able to select; either all players on the
|
||||
# server should have this patch, or none should have it.
|
||||
|
||||
# This patch clears the list of unreleased items on the client, so the client
|
||||
# never creates buggy items when the server generates an item that wasn't
|
||||
# released on the official servers.
|
||||
|
||||
.meta name="Clear unreleased item list"
|
||||
.meta description=""
|
||||
.meta hide_from_patches_menu
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
xor eax, eax
|
||||
mov edx, esp
|
||||
mov esp, 0x009F81B0
|
||||
mov ecx, 0x3C
|
||||
again:
|
||||
push 0
|
||||
dec ecx
|
||||
jnz again
|
||||
mov esp, edx
|
||||
ret
|
||||
+3
-1
@@ -10,13 +10,15 @@
|
||||
.meta description=""
|
||||
.meta hide_from_patches_menu
|
||||
|
||||
.versions 59NJ 59NL
|
||||
|
||||
entry_ptr:
|
||||
reloc0:
|
||||
.offsetof start
|
||||
start:
|
||||
xor eax, eax
|
||||
mov edx, esp
|
||||
mov esp, 0x009F61B0
|
||||
mov esp, <VERS 0x009F61B0 0x009F81B0>
|
||||
mov ecx, 0x3C
|
||||
again:
|
||||
push 0
|
||||
Reference in New Issue
Block a user