Virtual file systems

I have been developing a game for quite some time now, and it depends on various folders with images and .dlls to run. Is there a program that can package the .exe with all of the folders/images/.dlls that it depends on into one .exe? If so, that would be great. If not, I wouldn't expect there to be one.

<note>
I am not looking for a single-click installer
</note>
Also: I use Code::Blocks and the game is dependent on SDL. It is programming in C++ (duh)

Also: I have a launcher coded in c# that determines some pre-game settings, if I could package the .NET framework in this it would be great also, but I doubt anything could do this.
If you want a nice exercise that will keep you busy for a couple weeks, try implementing part of the ZIP format, plus a streams library that will let you transparently access loaded ZIP files, the file system, or in-memory files.
Ideally, a usage would look something like this:
1
2
3
4
5
6
7
8
9
//virtual_file_system vfs; (global)
virtual_stream vs=vfs.open("texture.png");
std::vector<byte_t> buffer;
vs.read_all(buffer);
vfs.new_memory_file("loaded");
virtual_stream vs2=vfs.open("loaded");
vs2.write(vs);
vs.close();
vs2.close();
Topic archived. No new replies allowed.