ExeFS

Scarlet & Violet (ExeFS) #

Titan


Dependencies and libraries: #

  • Lua 5.4
  • Haxe 3.4.7

Notable facts: #

  • Uses new trpfs / trpfd file system
  • Game logic written in haxe and compiled to binary lua
  • A lot more game logic moved to haxe/lua than previous games

Notable Lua offsets: #

FunctionDescriptionOffset (1.0.0)Offset (1.0.1)Offset (1.1.0)
lua_newstateCreate a new LuaState struct0x00ADAE000x0003B4200x0003B420
luaL_loadbufferxLoads a string of plaintext lua code0x00D69E700x00D9EEF00x00DC6A80
lua_pcallkCalls loaded function on the stack0x0099E3B00x009B96C00x009C8B20
lua_tostringPops string off the lua stack0x009AEB100x009CA6100x009D99A0
lua_settopSets Lua stack0x0099DF800x009B92900x009C86F0
lua_gettopGets Lua stack pos0x0099DF600x009B92700x009C86D0
lua_typeGet Lua type0x00A4DD500x00A96B400x00AAEA90
luaB_printPrints lua value to stdout0x00045F800x000461300x00046130

Notable pml offsets: #

FunctionDescriptionOffset (1.0.0)Offset (1.0.1)Offset (1.1.0)
pml::pokepara::Factory::InitCoreDataGenerate pokemon on battle0x00CD1FE80x00x0

Notes: #

  1. Dummy