ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Aug 22, 2017 11:11 am

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Jul 18, 2016 1:05 pm 

Joined: Sun Jul 10, 2016 11:07 am
Posts: 50
can I adjust the level of compression of zblib when importing files back or let quickbms use check the old size of the old file and use all that size on the compression when importing files?

I'm just inquiring if this is possible since on a game it won't accept imported files that are much more smaller and has much 00/padding at the end before the next file and you have to edit the table manually.


Top
   
PostPosted: Mon Jul 18, 2016 4:46 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6457
Unfortunately that's not possible, basically you want to brute-force zlib and other deflate libraries (like zopfli) to find a level that gives the same amount of bytes of the original data :D
Probably the problem you have with that game is a checksum because zlib doesn't give problems if the compressed data terminates before the end of the source buffer.


Top
   
PostPosted: Tue Jul 19, 2016 8:33 am 

Joined: Sun Jul 10, 2016 11:07 am
Posts: 50
yeah I was thing something like that... if it's not possible can I change just the compression level?

like on zlib just want to compress/inject it back using standard normal compression "78 9C" instead of "78 DA"


Top
   
PostPosted: Tue Jul 19, 2016 9:44 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6457
No, quickbms uses everything at maximum.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited