Crates.io | twstorage |
lib.rs | twstorage |
version | 0.1.1 |
source | src |
created_at | 2024-04-30 09:44:48.706728 |
updated_at | 2024-04-30 11:58:19.96953 |
description | Access the data and config directories of Teeworlds and DDNet |
homepage | |
repository | https://gitlab.com/ddnet-rs/twstorage |
max_upload_size | |
id | 1224782 |
size | 49,973 |
Various tools require access to files distributed alongside the Teeworlds/DDNet client. Additionally, the config directory of Teeworlds/DDNet needs to be taken into account for such file accesses.
This Rust crate locates the respective directories, and provides methods to access contained resources.
Contributions are very welcome! As of yet, this crate is still both bare-bones and untested.
TODOs:
~/.steam
always exist on Linux?
What about non-standard Steam installation locations on Windows?
Maybe parse (JSON) libraryfolders.vdf
to detect all local Steam library paths.