Resources in binary file

Hi dudes, my name is Leandro and this is my first msg to the list :smiley:
(sorry my poor english hehe)

Well, if i generate a final release of SDL game, i need attach all resources
files in original format (.png, .ogg, .txt, etc), right?
Exists some method to create a .dat file (binary) for hide the original file
?

See ya,

Leandro A. Thomas
C.E.S.A.R System Engineer
Recife - PE - Brazil

Heya Leandro,

Check out physicsfs at http://icculus.org/physfs/ it should do what you want
it to do (:_____

From: sdl-bounces+atrix2=cox.net@libsdl.org
[mailto:sdl-bounces+atrix2=cox.net at libsdl.org] On Behalf Of Leandro
Sent: Tuesday, May 23, 2006 1:10 PM
To: sdl at libsdl.org
Subject: [SDL] Resources in binary file

Hi dudes, my name is Leandro and this is my first msg to the list :smiley:

(sorry my poor english hehe)

Well, if i generate a final release of SDL game, i need attach all resources
files in original format (.png, .ogg, .txt, etc), right?

Exists some method to create a .dat file (binary) for hide the original file
?

See ya,

Leandro A. Thomas
C.E.S.A.R System Engineer

Recife - PE - Brazil

Well, if i generate a final release of SDL game, i need attach all resources
files in original format (.png, .ogg, .txt, etc), right?

No, you don’t, unless your game needs them to run.

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

Yep, Sam, the game will need them to run… then, all original images can be
modified for an user :frowning:

Thanks Allan, i’ll search more about physicsfs…

See yaOn 5/23/06, Sam Lantinga wrote:

Well, if i generate a final release of SDL game, i need attach all
resources
files in original format (.png, .ogg, .txt, etc), right?

No, you don’t, unless your game needs them to run.

   -Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Leandro A. Thomas
C.E.S.A.R System Engineer
Recife - PE - Brazil

Quoting Leandro :

Yep, Sam, the game will need them to run… then, all original images can be
modified for an user :frowning:

i use xpm in a header file to compile images into the binary.

never got it to work on windows yet tho----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Hello !

never got it to work on windows yet tho

What was the problem ?

CU

cant remember exactly, something do with xpm support in the sdl_image i was
using, i actually wiped all my windows for this machine (yay!), i’ll have a
look see if i can compile the code i was using on the doze laptop at
somepoint and if i still have greif, i’ll mail here. ;))

cheers!On Wednesday 24 May 2006 15:56, Torsten Giebl wrote:

Hello !

never got it to work on windows yet tho

What was the problem ?