#Rust callbacks to factorio lua events
1 messages ยท Page 1 of 1 (latest)
ribbets ๐ธ
debug symbols help a decent amount
eli5?
factorio ships with debug symbols (on linux/mac included inside the binary, on windows in a .pdb file).
and that includes a lot of information about functions, classes, structs, etc
oh so basically a sourcemap
almost
hmm
So you found the spot in the binary that creates events, and then patched some assembly in there somehow that hooks the rust program?
yep. and then trampolines back into the original c++ function
Im very surprised by the font you use in VSC tbh ๐
sarif font for types ๐ซ
@sullen jungle
I thought facatorio already had enough rust
Maybe dumb, but how hard would it be to use Java for handling events and etc
why? and most likely just "no".
Because I was wondering...