Currently they can only be loaded directly from a file. Loading is done inside ScriptEngine::loadDAT, hte problem is, that Daedalus::DaedalusVM only provides a constructor which takes a path to the file to load from.
It should also provide an overload to load from a VDFS-FileIndex (see other content loaders) or from raw-data.
Currently they can only be loaded directly from a file. Loading is done inside
ScriptEngine::loadDAT
, hte problem is, thatDaedalus::DaedalusVM
only provides a constructor which takes a path to the file to load from.It should also provide an overload to load from a VDFS-FileIndex (see other content loaders) or from raw-data.
This is needed for better mod-support.