ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Sep 21, 2019 9:19 pm

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: use dll compression
PostPosted: Mon Mar 25, 2019 7:05 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 239
i know it's not a new thing and quickbms has so many compression method, but how can i use a external .dll in quickbms? im working on a mod program (not a game), and i have a zlib modified library for that program archive
because zlib_noerror and zlib has problem in reimporting
is that possible to use a dll in quickbms?


Top
   
 Post subject: Re: use dll compression
PostPosted: Wed Mar 27, 2019 2:08 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10569
quickbms supports a lot of ways for using "external code".
What's the prototype of the function of the dll you want to use?

Generic usage example:
Code:
calldll "file.dll" function_name __stdcall RET_VALUE ARG1 ARG2 ARG3 ... ARGN

Not sure how it may work in reimport mode, I'm sure the problem you are experiencing is not related to zlib_noerror or zlib.


Top
   
 Post subject: Re: use dll compression
PostPosted: Sun Mar 31, 2019 9:38 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 239
aluigi wrote:
quickbms supports a lot of ways for using "external code".
What's the prototype of the function of the dll you want to use?

Generic usage example:
Code:
calldll "file.dll" function_name __stdcall RET_VALUE ARG1 ARG2 ARG3 ... ARGN

Not sure how it may work in reimport mode, I'm sure the problem you are experiencing is not related to zlib_noerror or zlib.

I just asked this, because zlib has problem in reimporting and some games will give error with recompressed zlib


Top
   
 Post subject: Re: use dll compression
PostPosted: Sun Mar 31, 2019 12:54 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10569
I guess you mean the "zopfli" error of quickbms 0.9.2, right?
That bug will be fixed in next version.


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