mirror of
https://github.com/fortressforever/fortressforever-serveroffsets.git
synced 2024-11-21 12:00:56 +00:00
re-organize so the 'good' file is more obvious
This commit is contained in:
parent
f00b08b8a7
commit
083b5d9106
4 changed files with 9 additions and 2 deletions
|
@ -2,8 +2,15 @@
|
|||
# cffplayer_vtable is made from ida rdata dump of *WINDOWS* binary
|
||||
# dumps em out in offset# for sourcemod
|
||||
|
||||
with open("cffplayer_offsets.txt", "w") as of:
|
||||
with open("cffplayer_vtable_v2.7.6.txt") as f:
|
||||
# to generate the input file, search .rdata section in IDA for ~CFFPlayer to
|
||||
# find the start of the vtable and copy paste it into a file starting with
|
||||
# the line that is '; const CBasePlayer::`vftable''
|
||||
|
||||
IN = "cffplayer_vtable_v2.7.6.txt"
|
||||
OUT = "cffplayer_offsets.txt"
|
||||
|
||||
with open(OUT, "w") as of:
|
||||
with open(IN) as f:
|
||||
lns = f.readlines()
|
||||
|
||||
for i in range(0, len(lns)):
|
Loading…
Reference in a new issue