Page 1 of 1

PAK app and resource files into Single EXE

Posted: Sun Aug 24, 2003 7:21 am
by Paul
If anyone is interested in trying an enhanced version of my PureInstall application, I have a beta available...
http://www.reelmediaproductions.com/pur ... stall2.exe

This version allows you to combine many resources into a single PAK file and then attach this PAK file to your EXE creating a single EXE. Files can be encrypted with a key if you want to prevent them from being tampered with.

You can also keep the PAK file external if you wish.

There are 3 commands you can call from your application to access these PAK'd resource files...
PAK_Extract(file,key)
PAK_ExtractAll(key)
PAK_ExtractMemory(file,key)

There are 3 demo examples showing how to use these commands in your program. Demo1 shows how to extract a single graphic file from the EXE and then loa it as a sprite. Demo2 shows how to extract a single graphic file from an external PAK file and load it as a sprite. Demo3 shows how to extract a single graphic from the EXE and Catch it from memory to use as a sprite without having to extract to your hard drive.


This version will stay seperate from the original PureInstall application and is basically for PureBasic users since you must compile your apps using the various PAK commands to access your data in the PAK files.


(sorry, I cannot provide much support for this version since it was basically just to try some ideas I had in my head :) )

Posted: Sun Aug 24, 2003 11:16 am
by TronDoc
I was just about to install the original version
to try it out. Should I go ahead with that and
then try the v2? Do they conflict with each other?
Do they both have unInstalls?
Thanks.
Joe

Posted: Sun Aug 24, 2003 4:30 pm
by Paul
Just place them in different folders when you install them.

Posted: Sun Aug 24, 2003 11:46 pm
by TronDoc
cool.
I couldn't wait; so I installed the original version.
Very nice! Easy to use. SMALL!
I may toss the other insallers I have lying around. :wink:
Joe