Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / can dbc go into zip files?

Author
Message
Xarshi
19
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 6th Jan 2006 22:20
can dbc enter zip files to retrieve media needed for the game? like .rar files or .zip

HARK!
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 7th Jan 2006 00:11
I doubt it. There might be a dll though...


Hippopotomonstrosesquippedaliophobia-Fear of long words
Xarshi
19
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 7th Jan 2006 00:56
k.thanks

HARK!
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 7th Jan 2006 02:26
You might want to wait a while for more answeres. There might be a way to do this.


Hippopotomonstrosesquippedaliophobia-Fear of long words
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 7th Jan 2006 02:51
it`s hard , but you have .pac files aldo (dbc can make them)



(it might be possible , but you would have to read the whole zip and find out the part of it that contains media and somehow use it -,but if that`s the only way...i wouldnt try it...)


master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 7th Jan 2006 04:31 Edited at: 7th Jan 2006 04:33
I have two theories.
Theory 1: Maybe you could use a .zip as a pack file and unload it using a code like this:

or something to that effect (maybe even read dirblock). This is untested, but I'll try it soon and get back to ya, but it's worth a shot

Theory 2: They're might be a .dll file there somewhere

Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 7th Jan 2006 13:24
Or try to figure out how zips are constructed and decompress it withing DB.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 7th Jan 2006 13:53
Yup... but it's easy to find out with the internet.

I go here:
http://www.wotsit.org/default.asp

I've attached the text file I downloaded from that link about .zip format.


Attachments

Login to view attachments
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 7th Jan 2006 17:44
Somebody's already written a dll that will allow you to access a zip archive. I believe it was Walaber(at least that's what Google tells me), unfortunately his site is down, maybe somebody here has the download still?


I'm going to eat you!
Epimetheus
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Naples, Florida
Posted: 7th Jan 2006 20:02
You can read and even write to them(with full password protection) by using the expansion pack.
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 7th Jan 2006 20:31
to zip ??? - great thing , really great !

THat would probably reduce the game size much , but that would make game work slower (or atleast slower loading) and if you need smaller file for like internet uploading and so , then you can make installation or zip up the whole game..


BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 8th Jan 2006 10:16
Epimetheus what the hell are you talking about?

If you've found something cool then please let us in on it.


I'm going to eat you!
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 9th Jan 2006 18:14
Quote: " You can read and even write to them(with full password protection) by using the expansion pack. "


wha-?

Support the AAANJL by doing nothing! Visit teh site below..

Login to post a reply

Server time is: 2025-05-23 00:39:39
Your offset time is: 2025-05-23 00:39:39