You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took a look through some of the files out of curiosity, and it seems there's a lot of correlation between SWE1R and JKDF2's helper functions. I think this is in the main repo wiki but LEC has a common std library and the renderdroid library, and for JKDF2 the Sith engine is just built on top of that.
Grim Fandango Remastered on Android has a .so file which leaks all the canonical names for std and rd* functions, it may make it a lot easier to reverse SWE1R. vec.c is rdVector, I think File-access.md is stdConffile, I'll have to see if I can figure out a few more but I have a good portion of the matrix/vector stuff implemented at https://github.com/shinyquagsire23/OpenJKDF2/tree/master/df2_reimpl and a function listing for JKDF2.
Anyhow it might be a good idea to have a common codebase for the std and renderdroid libraries, maybe not right away but at least keep names the same that way improvements can be ported across maybe.
EDIT: actually last thing, I also noticed between JKDF2 and Droidworks/MoTS/probably SWE1R, they switched compilers. JK keeps a lot of unreferenced functions and has a lot more inlining, whereas after JKDF2 the compiler strips out unused functions more often, but inlines less aggressively I think.
The text was updated successfully, but these errors were encountered:
I took a look through some of the files out of curiosity, and it seems there's a lot of correlation between SWE1R and JKDF2's helper functions. I think this is in the main repo wiki but LEC has a common
std
library and therenderdroid
library, and for JKDF2 the Sith engine is just built on top of that.Grim Fandango Remastered on Android has a
.so
file which leaks all the canonical names forstd
andrd*
functions, it may make it a lot easier to reverse SWE1R.vec.c
isrdVector
, I thinkFile-access.md
isstdConffile
, I'll have to see if I can figure out a few more but I have a good portion of the matrix/vector stuff implemented at https://github.com/shinyquagsire23/OpenJKDF2/tree/master/df2_reimpl and a function listing for JKDF2.Anyhow it might be a good idea to have a common codebase for the
std
andrenderdroid
libraries, maybe not right away but at least keep names the same that way improvements can be ported across maybe.EDIT: actually last thing, I also noticed between JKDF2 and Droidworks/MoTS/probably SWE1R, they switched compilers. JK keeps a lot of unreferenced functions and has a lot more inlining, whereas after JKDF2 the compiler strips out unused functions more often, but inlines less aggressively I think.
The text was updated successfully, but these errors were encountered: