REGoth-project / REGoth

OpenSource-Reimplementation of the zEngine, used by the game "Gothic"
GNU General Public License v3.0
631 stars 62 forks source link

Should be possible to load .DAT-Files (compiled scripts) from VDFS-Archives #279

Open ataulien opened 7 years ago

ataulien commented 7 years ago

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.

This is needed for better mod-support.