Page 1 of 1

Hello, package of resources?

Posted: Sun Jan 25, 2015 1:56 am
by Johny8
I am fairly new to PureBasic, I used Blitz3D and I wish my options to package the resources of a video game, meshes, textures, sounds etc.

I appreciate your help.

Re: Hello, package of resources?

Posted: Sun Jan 25, 2015 4:17 am
by IdeasVacuum
Consider using an installer if the game is for WindowsOS. The installer used by Fantaisie for PB is Inno Setup: http://www.jrsoftware.org/isinfo.php - it's free.

You can include your resources inside your app, using IncludeBinary() for example:
http://www.purebasic.com/documentation/ ... ludes.html

You can write a Resource-Script (*.rc) and add the file name in Compiler Options/Resources
.rc is a plain text file, you can write them in NotePad.

Re: Hello, package of resources?

Posted: Sun Jan 25, 2015 9:34 am
by chi
For games take a look at Add3DArchive()

Re: Hello, package of resources?

Posted: Sun Jan 25, 2015 1:44 pm
by Johny8
IdeasVacuum wrote:Consider using an installer if the game is for WindowsOS. The installer used by Fantaisie for PB is Inno Setup: http://www.jrsoftware.org/isinfo.php - it's free.

You can include your resources inside your app, using IncludeBinary() for example:
http://www.purebasic.com/documentation/ ... ludes.html

You can write a Resource-Script (*.rc) and add the file name in Compiler Options/Resources
.rc is a plain text file, you can write them in NotePad.
Hello, thank you very much for the information.

chi wrote:For games take a look at Add3DArchive()
Hi, this is exactly what I wanted, now my question is: Is it possible to open zip packages that have password ?.

regards