The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
locus - loading data from paths, files, and directories
keharriso


Joined: 03 Aug 2015
Posts: 1
Hey, all.

I just put together a lightweight and cross-platform library to help with a mod/plugin system I'm making. It might be useful to you if you're also making a cross-platform game that needs to load data from a data directory.

It has three jobs:
1) Find the data directory (XDG_DATA_HOME/APPDATA/Application Support)
2) Manipulate file paths for easy file finding
3) Walk through directory contents

Let me know if you find it useful or would like to see other features.