Page 1 of 1

Standalone tools for loading DF resources at runtime?

Posted: Thu Nov 22, 2018 10:20 pm
by spearman
Are there any standalone tools that can be used for loading audio, textures/sprites, and possibly models at runtime? I see on github daggerfallconnect (C#) and daggerfallexplorer (C++), do either of these fit the bill? I have a DF-themed multiplayer arena prototype but so far I have extracted resources offline and just loaded from files. If I intend to open source this project I believe I will have to get rid of these assets and opt for loading them at runtime from the Arena2 folder.

Re: Standalone tools for loading DF resources at runtime?

Posted: Fri Nov 23, 2018 2:41 am
by Interkarma
Welcome to the forums.

This is the major challenge I had to solve when building Daggerfall Tools for Unity (DFTFU), the code library underpinning Daggerfall Unity. If you need to load Daggerfall resources at runtime into another game, these are the same problems you will need to solve also.

If you're using Unity, you're welcome to strip out the parts you want from DFTFU and use those. If you're using a different platform, you can likely study the DFTFU code and reimplement into a new library matching your needs.

All the best!