False.Genesis

Results 41 comments of False.Genesis

Most of this should be in VFSTools.h: Given a file name with full path, you can use these: GetBaseNameFromPath() StripLastPath() But note they were not explicitly made for this purpose,...

Almost. Wildcard matching is just for strings, added for convenience. So you still need to build the list yourself (use forEachFile + filter file names by wildcard)

> Most of this should be in **VFSTools.h**: ^ Read. Also it's called "tiny" for a reason :p Iteration and so on is in VFSDirView.h. But it's all already included...

You can't. This is by design -- since you can mount subtrees whereever you want, there would also be multiple parents to choose from in such cases. To avoid the...

Consider something like this instead: ``` #include "VFSUtil.h" ttvfs::Root root; // ... ttvfs::VFSDir *d = root.GetDir("path/to/thing"); std::string s= d->name(); ttvfs::StripLastPath(s); ttvfs::VFSDir *parent = root.GetDir(s); ``` While you can't go backwards,...

VFS_GUARD_OPT is gone in the newer dev version. It was "there, but never tested and risking to make people believe it worked was too dangerous to keep it in. Just...

Fixed in 'v1' branch. If the old version is working for you and you want to keep using it, this is the branch you should switch to. The upcoming version...

Is this API simple enough, or what else do you have in mind? -> https://github.com/fgenesis/ttvfs/blob/dev/examples/example10.cpp FYI, i do most development on windows with MSVC 2008, so the first OS that...

Like libcanister -- i had the need to package files into a container and zip didn't do it for me, so i made my own: https://github.com/fgenesis/liblvpa I made ttvfs bindings...

> If I understand this correctly, this code allows you to reuse the same texture multiple times and place each vertex and texture coordinate individually? Yes. > The Pi uses...