hi all
i've finished my simple game , but i'd like to pack all the media files into one File
any one here know some usefull units or VCL's ?!
hi all
i've finished my simple game , but i'd like to pack all the media files into one File
any one here know some usefull units or VCL's ?!
usefull unit: zLib. Do a google and I think you can find some references.
NecroSOFT - End of line -
You can also have a look at this thread:
http://www.pascalgamedevelopment.com...4.msg46356#new
Wake up from the dream and live your life to the full
Hi virtual :-)Originally Posted by virtual
You could also try my files2pas conversion program (see http://www.pascalgamedevelopment.com...p?topic=4275.0 for details).
It takes multiple files and creates .pas 'resource' files from them so you can compile them into your exe and extract them as TMemoryStream instances
It can also compress the files if you want too...
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Just have a little browse through this great site and i'm sure you'll find several solutions for your project.
Windows Vista x64 Ultimate<br />AMD Athlon x64 4000+<br />Codegear Delphi 2009, Delphi 2007, Borland Delphi 7
thank you very much .
and thanks paul for files2pas , thats really helpfull
Glad I could help
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
I just stumbled upon this thread and files2pas looks really cool. Might be very helpful for "hiding" the tilesets I'm using in a FreePascal SDL game I'm working on. Very nice work indeed!
Laserbrain Studios - Currently developing Hidden Asset!
Ascii Sector - Real-time roguelike in space!
Thanks for the kind words PP2005Originally Posted by PP2005
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
"Hiding" the resources are the wrong reason to to this. As long as you are displaying the images they can, easilly be ripped. If youre using OpenGL its even easier.Originally Posted by PP2005
See http://www.opengl.org/sdk/tools/GLIntercept/
The reason to add resources to the exe or a package file should be to decrease loading times (by compressing the data) or to allow single file distribution for ease of use.
Amnoxx
Oh, and this code appears to be an approximate replacement for return(random() & 0x01);
Phoenix Wiki
http://www.phoenixlib.net/
Phoenix Forum
http://www.pascalgamedevelopment.com/viewforum.php?f=71
Bookmarks