SFML community forums

Help => General => Topic started by: Redee on November 24, 2014, 04:31:24 pm

Title: Stand alone EXE with PhysFS with zip archive ?
Post by: Redee on November 24, 2014, 04:31:24 pm
We can see a lot of small programs with Icons, Images, Music in one ExE file.
For example keygens.

My question is >
We can compile using MS Visual Studio to 1 eXecutable file > with PhysFS internal dll and zip resource file ?

I know its a little bit noob question but search some cross-platform solution to do this.
Thanks in advance.
Title: Re: Stand alone EXE with PhysFS with zip archive ?
Post by: Gambit on November 24, 2014, 04:47:20 pm
This is not an SFML related problem or question, therefore it does not belong here. Furthermore, we are not your personal army to do your research for you.
Title: Re: Stand alone EXE with PhysFS with zip archive ?
Post by: Hapax on November 25, 2014, 12:17:49 am
What are "keygens"?
Title: Re: Stand alone EXE with PhysFS with zip archive ?
Post by: eXpl0it3r on November 25, 2014, 12:29:36 am
Hapax: What is google?

As Gambit said, this has nothing to do with SFML directly. There is a lot of material out there and it's not our job to find it for anyone. Plus there are many communities for more common questions which may or may not have heard the same issue.

All you need to know regarding SFML on the topic is that you can derive from sf::InputStream (http://sfml-dev.org/tutorials/2.1/system-stream.php) to create an SFML "stream" compatible class or you can load things directly from memory with loadFromMemory.
How you read/decompress/decrypt stuff from the harddisk is unrelated to SFML.