SFML community forums

General => General discussions => Topic started by: Kian on June 30, 2011, 10:42:16 pm

Title: Filesystem from SFML?
Post by: Kian on June 30, 2011, 10:42:16 pm
I figured I'd ask here to double-check, but I'm guessing the answer is no. Anyway, is there a way to interact with the file system from SFML? Something basic, like finding the names of the files in a directory and the like. If not, what would a good way of doing it be? I think Boost has a library for that?
Title: Filesystem from SFML?
Post by: Nexus on June 30, 2011, 10:46:51 pm
This feature request has already been discussed here (http://www.sfml-dev.org/forum/viewtopic.php?t=3114), SFML won't provide file handling functionality in the near future.

There is currently a project called SFSL (http://www.sfml-dev.org/forum/viewtopic.php?t=5064) which aims to provide file system functions on top of SFML. Apart from that, Boost.Filesystem (http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm) is an option.
Title: Filesystem from SFML?
Post by: Kian on July 01, 2011, 12:01:15 am
Thank you for the link. Interesting. I should make better use of the search function.
Title: Filesystem from SFML?
Post by: Disch on July 01, 2011, 12:08:04 am
Progress on SFSL has been slowed because I'm in the middle of a job transition, but I am still working on it!