Educational project on the creation of a proxy between the server engine and the game module of the game STAR WARS™ Jedi Knight - Jedi Academy™
To compile a 32bits version on a 64bits linux distribution add the following define when generating the CMAKE files:
cmake .. -DTARGET_ARCH=x86
Patchnote : https://hackmd.io/E6LOdJOVQBi4pr1S7z11UA
Todo : https://hackmd.io/LDI7ekrzREu7WFHZJKooMQ
Features : https://hackmd.io/kvj--DTaTmOofjxL5bud-Q
Trampoline hook : https://hackmd.io/7SyusRFMR-m06e-nQ2ehDw
If you deal with static
functions, you better copy/paste them in the Proxy instead of making a trampoline of them because it won't work properly.
Then after that, each function that call this static
function should be redefined in a trampoline.
I'm not sure yet but it seems that sometimes with Discord (and even without) opened it would crash with typing from in-game rcon map_restart 0
/ rcon map mp/ffa2
(any map) with one of the following hook/trampoline:
SV_PacketEvent
SV_ConnectionlessPacket
SVC_RemoteCommand