Expand description
Siglus-like resource lookup for BG images and movies.
This stage implements the file search policy used by the original helpers in
eng_dir.cpp:
tnm_find_g00_sub: tryg00/<name>.<ext>in the orderg00 -> bmp -> png -> jpg -> ddstnm_find_g00: search append directories from the current append entry to the end ofSelect.initnm_find_mov: search append directories from the current append entry to the end ofSelect.ini, with extension orderwmv -> mpg -> avi
We keep the existing explicit-path behavior for the port, but normal resource resolution follows the original directory search order.
Enums§
Functions§
- find_
audio_ path_ with_ append_ dir - find_
bg_ image - Find an image path for BG loading.
- find_
bg_ image_ with_ append_ dir - find_
g00_ image - Find an image path restricted to the
g00/directory. - find_
g00_ image_ with_ append_ dir - find_
initial_ gameexe_ path - Resolve the Gameexe file used by the original startup path.
- find_
mov_ path - find_
mov_ path_ with_ append_ dir - find_
omv_ path_ with_ append_ dir - find_
scene_ pck_ path - find_
scene_ pck_ path_ for_ append - Resolve the one active Scene.pck used by the original lexer.
- game_
file_ exists - game_
path_ exists - load_
gameexe_ decode_ options - load_
project_ emote_ key - load_
project_ key_ toml - load_
scene_ pck_ decode_ options - read_
file_ bytes - read_
file_ to_ string - resolve_
game_ file - Resolve an existing game file using Windows case-insensitive semantics.
- resolve_
game_ path - Resolve an existing game path using the Windows case-insensitive semantics expected by Siglus scripts and resource data. This works for files or directories.