Virtual Bin for Resources

Advanced game related topics
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1286
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Virtual Bin for Resources

Post by Paul »

For anyone interested, I have posted a virtual bin maker "VBin Maker" along with a PB Library "VBin_Lib" for retrieving files from the Virtual Bin.

This allows you to compress (and encrypt) your graphics and audio into a single BIN file and then easily retrieve any of the resources from the BIN to use with PureBasic's Catch commands. Folder structure is also preserved within the BIN.

Download it from the PureBasic Resources Site under ASM Libs.

Enjoy :)
Image Image
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Once again excelent work Paul!
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

Nice one, will have to check it out ! :D
Paid up PB User !
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

I have a little Request:

Can you write a lib, that do the same thing for resources (type RCData)?

And: Can i add your lib in the UserLibrariesPack?
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1286
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

GPI wrote:Can i add your lib in the UserLibrariesPack?
I have no problem with my libs appearing on sites that allow for the selection and download of individual libs.

What I don't like are libs included in a big package where the user must install everything and is not allowed to select individual packages.

Thans ;)
Image Image
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post by benny »

Hey Paul,

I had just a quick look on your lib, but it sounds fantastic. It is the best compromise between including EVERYTHING in one file (includebinary) and, the opposite, load all the "raw" data from disk !

Thank you very much !!!
regards,
benny!
-
pe0ple ar3 str4nge!!!
cykotic
User
User
Posts: 24
Joined: Wed Nov 12, 2003 6:24 am
Location: Canada
Contact:

Post by cykotic »

I've said it once and I'll say it again... great work Paul! :lol:
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

While I still try to get this thing working at all, is there any way to be able to pass a file name of the "bin" file to the library, instead of it always having the .bin extension?
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Any updates to this library yet?
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

Shannara wrote:While I still try to get this thing working at all, is there any way to be able to pass a file name of the "bin" file to the library, instead of it always having the .bin extension?
Heh, I would be willing to pay money to get rid of the ".bin" extention... I'm using this lib for the SS FreeStyle project (which has become quite MASSIVE)... I would rather not have to switch libraries just to get a different extention on the theme archives...
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Heh, I was willing to pay money for something awhile back on these forums, remember? But unfortunately, nobody here are really into money, and the code I needed was never created... :P I wish you luck with this one.
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

It's frustrating really... The library has never failed me but I can't get rid of the ".bin".....
Oh well... If that's how Paul wants it, it's his lib :(
I only wish one of the zip libs for PB worked with the newest updates...
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1286
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

It's frustrating really... The library has never failed me but I can't get rid of the ".bin".....
Hi Guys. Did anyone shoot me an email asking if the ".bin" extension could be changed?
I don't think it would be a problem to make this change but without knowing of problems or requests, how would I know to make changes?? ;)
Last edited by Paul on Tue Aug 31, 2004 8:05 pm, edited 1 time in total.
Image Image
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

Sorry Paul :oops:
You get this kinda crap often I've noticed :D
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Heh true, and sorry.

Anyways, have you been able to add this feature in yet? I know of at least two peeps who can use this :D
Post Reply