Expand description
Script handling for extracted .inf scripts, standalone .s2s transpilation,
dialogue parsing, and sectioned file conversion.
Structs§
- InfRaw
Source - Fallback when .inf parsing fails: preserve the raw source in .ron format so the file still appears in the manifest registry.
Functions§
- convert_
sectioned_ file - Convert a sectioned .s2s file (with
//~markers) to a Lua module. - format_
script_ ref - Format a path to the .lua script for a given sequential index, relative to the .ron file.
- parse_
dialogue_ to_ lua - Parse dialog data from a .s2s file and generate a Lua table as a string.
- split_
into_ sections - Split .s2s file content into sections by
//~markers. - write_
script_ lua - Extract an embedded .s2s script from an .inf entry, transpile it to Lua,
and write it alongside the .ron file as
<ron_stem>.<seq_index>.lua.