FrameScriptExecuteFile
function · ui · orchestration
- Address
0x704bc0· 162 bytes, up to0x704c61- Meaning
- Reads a file and runs it as the chunk @path, hashing it into an MD5 context when given
- Confidence
- verified, proof one
- Finding
- ui/framexml#loading-one-file
Finding: Loading one file in ui: loading the interface from toc and XML files
0x6ede10(path, md5, status) first collapses ..: while the path holds a .. with a separator on
both sides, it removes it with the directory before it; the first .. not so bounded stops the
collapse. Then a path whose text from its last . is .lua, in any case, runs as a Lua file;
anything else is read, hashed and parsed as XML, and its top-level elements are loaded. A Lua file
runs as the chunk @path; a missing one reports Error loading %s. A compile error is reported and
then passed to the error handler; a run-time error goes to the handler and is then reported.
The derivation is in the doc.
Callers 2
Callees 5
- SFile::Load storm
- SFile::Unload storm
- SStrPrintf storm
- MD5Update storm
- FrameScriptExecuteBuffer ui
Calls and jumps by a bare address, from tables/calls.tsv.