Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Stand alone EXE with PhysFS with zip archive ?  (Read 1207 times)

0 Members and 1 Guest are viewing this topic.

Redee

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Stand alone EXE with PhysFS with zip archive ?
« 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.

Gambit

  • Sr. Member
  • ****
  • Posts: 283
    • View Profile
Re: Stand alone EXE with PhysFS with zip archive ?
« Reply #1 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.

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Stand alone EXE with PhysFS with zip archive ?
« Reply #2 on: November 25, 2014, 12:17:49 am »
What are "keygens"?
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10823
    • View Profile
    • development blog
    • Email
Re: Stand alone EXE with PhysFS with zip archive ?
« Reply #3 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 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.
« Last Edit: November 25, 2014, 12:33:26 am by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/