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 Professional Discussion / Another Techy Pro Question, Zip/RAR?

Author
Message
Kangaroo2
23
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 17th Aug 2003 04:29
Sorry to post 2 Questions in one night, just call my "curious George"

I know of Toady's RAR plug-in and RGT-Zip which are both really cool, but I would kinda like some more features, so I guess I'm asking are any of these possible?

Loading from any kind of decent compressed file (zip,RAR,whatever) any type of file, EG Bitmaps, jpg etc for images, without having to use files created as memblocks first?

EG take a genuine bitmap, zip it in a large archive, then use a command similar to

"Load compressed image (archive$, image$, image number, 1)"

Also, even nicer would be any way of actually being able to compress files from withing dbpro, rather than being limited to uncompressing. I appreciate that ZIP compression has liscencing restrictions but I'm sure there are free source compression methods out there?

EG "Make archive (name$, password$)"
and "Add file to archive (archive$, file$)"
or something to that effect

Hands down guys, if anyone can do this, I'll be impressed, grateful, and might even pay them the price I am otherwise gonna have to pay to liscence an invisible command line method as a little reward

Cheers, Sam/K2
Bunnies aren't just cute like everybody supposes, They got them hoppy legs & twitchy little noses,
And what's with all the carrots? What do they need such good eyesight for anyway?
HZence
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 17th Aug 2003 04:55
I know of at least one person that could do this. He'd probably charge you about $50 for the plug-in though...

In any case, good question K2, I'm curious as well.

SW Games - www.freewebs.com/swgames

Yeah, I know, I only have one game. Yeah, I know it sucks. But I made it! Me!
Kangaroo2
23
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 17th Aug 2003 22:55
$50 would be a fair price if I could then use it royalty free

Bunnies aren't just cute like everybody supposes, They got them hoppy legs & twitchy little noses,
And what's with all the carrots? What do they need such good eyesight for anyway?
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 18th Aug 2003 00:04
Unfortuntely I cant write a RAR compression - apparently the RAR compression system isn't designed to be called as a library (I asked quite a while ago, and they're not going to do anything about it yet - obviosuly the codes a complete mess ). Thus, the only way would be a ZIP utility, and the only way to get that would be to buy DBPro from America...

If I remember correctly you can decompress seperate RAR files to memory or a file.


Logo design by Indi
Its better than a poke in the eye...
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Aug 2003 03:39
It ain't gonna happen ... until Lee opens up a few more of the internals at least.

The only way to get media into the 'guts' of DBPro is to use memblocks - believe me, I tried
Kangaroo2
23
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 18th Aug 2003 04:54
Thanks Toady - Oh and RGTZip is free to every1 now, I got a copy a while back, it doesn't compress files tho, just decompress.

IanM - Yes I think I may have to go that way, and just make a quick convert program, not exactly what I wanted - oh well, cheers m8

Bunnies aren't just cute like everybody supposes, They got them hoppy legs & twitchy little noses,
And what's with all the carrots? What do they need such good eyesight for anyway?
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 18th Aug 2003 11:00
Yes, the compression is only for the Americans...


Logo design by Indi
Its better than a poke in the eye...

Login to post a reply

Server time is: 2026-07-25 08:13:25
Your offset time is: 2026-07-25 08:13:25