Gamestudio Links
Zorro Links
Newest Posts
zorro 64bit command line support
by jcl. 04/20/24 08:52
StartWeek not working as it should
by jcl. 04/20/24 08:38
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (7th_zorro, Aku_Aku, henrybane, flink, 1 invisible), 712 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 5 1 2 3 4 5
Re: super simple filepacker [Re: Quad] #161384
02/17/08 01:40
02/17/08 01:40
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Works for me thanks Does it matter if you have compressed textures and compress them again with this packer?


smile
Re: super simple filepacker [Re: D3D] #161385
02/17/08 10:22
02/17/08 10:22
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
it's the lossless compression algorithm which also gets used for normal zip files. i think dds compression isn't very efficient (it was made to be cheap to process) so it even can make them a bit smaller in many cases.

Re: super simple filepacker [Re: ventilator] #161386
02/18/08 11:19
02/18/08 11:19
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
so, is there any way to use lower compression ratio(or no compression, just packing)?(to make it unpack faster?)


3333333333
Re: super simple filepacker [Re: Quad] #161387
02/18/08 11:38
02/18/08 11:38
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
yes, there is an alternative version of the compress function in the zlib dll which also allows to set the compression level. the standard one seems to be a good compromise between speed and compression though. is it too slow for you?

if you don't want compression you don't have to use the zlib dll at all.

Re: super simple filepacker [Re: ventilator] #161388
02/19/08 08:03
02/19/08 08:03
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
ok, thanks i got it.

its

int compress2(byte *dest, long *destlen, const byte *source, long sourcelen, int level);

(same uncompression method used.)

level: must be between 0-9 or -1 (it returns -2 , if something other than 1-9 or -1 entered)

1 low compression-high speed , 9 high comp.-low speed, 0 no compression(just store), -1 default

i think the level -1 is same as the normal compress method that ventilator used.



Thank you for thar super simple packer.

Last edited by Quadraxas; 02/19/08 08:23.

3333333333
Re: super simple filepacker [Re: Quad] #161389
02/21/08 03:06
02/21/08 03:06
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Another question. Are you just using the dll. I mean this dll isn't compiled with GameStudio plugin-sdk, but can call and use functions directly from Litec? Didn't realize it was possible although I think I saw the same with Newton?


smile
Re: super simple filepacker [Re: D3D] #161390
02/21/08 11:29
02/21/08 11:29
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
yes, it's the official zlib dll. c-dlls can be used directly in lite-c.

Re: super simple filepacker [Re: Quad] #284064
08/11/09 14:07
08/11/09 14:07
Joined: Jul 2009
Posts: 25
oyUn ceHeNnEMi
turkkanka Offline
Newbie
turkkanka  Offline
Newbie

Joined: Jul 2009
Posts: 25
oyUn ceHeNnEMi
Thank You


Turkish Game Producer Team

oyUn ceHeNnEMi
Re: super simple filepacker [Re: turkkanka] #284102
08/11/09 18:36
08/11/09 18:36
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Why bumping an old thread??
NOTE FOR EVERYONE ELSE: This thread is 2 years old and outdated.

And BTW, turkkanka, you already have the Pro edition, so you don't need this.

Re: super simple filepacker [Re: Cowabanga] #297526
11/07/09 23:58
11/07/09 23:58
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
well thanks for the bump because i needed this, lets hope it still works

Page 2 of 5 1 2 3 4 5

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1