ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Nov 18, 2017 11:33 pm

All times are UTC




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun Aug 13, 2017 8:22 pm 

Joined: Sun Aug 13, 2017 7:46 pm
Posts: 6
this bms script can extract the contents of *.par and *.DDS
http://aluigi.altervista.org/bms/parc.bms



How to compress files in DDS format in SLLZ


this bms script can extract the contents of *.par and *.DDS

Next, I searched for LZSS compression on internet but I did not find anything relevant. :shock:


Attachments:
SLLZ.rar [38.31 KiB]
Downloaded 18 times
Top
   
PostPosted: Sun Aug 13, 2017 8:32 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
quickbms is open source (src\included\unyakuza.c) but there is no re-compression function for the yakuza compression algorithm.


Top
   
PostPosted: Sun Aug 13, 2017 8:36 pm 

Joined: Sun Aug 13, 2017 7:46 pm
Posts: 6
aluigi wrote:
quickbms is open source (src\included\unyakuza.c) but there is no re-compression function for the yakuza compression algorithm.



thank you

What should I do? :|


Top
   
PostPosted: Sun Aug 13, 2017 8:43 pm 

Joined: Sun Aug 13, 2017 7:46 pm
Posts: 6
aluigi wrote:
quickbms is open source (src\included\unyakuza.c) but there is no re-compression function for the yakuza compression algorithm.


thank you

how to use this file unyakuza.h

https://github.com/Grumbel/rfactortools ... unyakuza.h

What should I do? :|


Top
   
PostPosted: Sun Aug 13, 2017 8:56 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
Well, that depends by what you want and your skills.
I have seen your post on xentax where you asked how to open unyakuza.c and so I'm aware that you have zero skills, which means that if you want a complete solution (like a rebuilder tool) you are lost.

Technically for the lzss-like algorithms it's very easy to create a fake recompression function, for example a byte 0x00 followed by 8 original bytes, but that's completely useless in your situation because you have to recreate all the file (sllz) or archive (par) format.

quickbms has a very useful reimporting feature that can be used with the existent script IF someone is able (and has time) to write a REAL recompression function.
In that case you can post on https://encode.ru asking if someone wants to do the job and when I will have the recompression function I will implement it in the next quickbms version, but it's very important that the recompressed data is smaller/equal than the original compressed data (that's why the fake recompressor can't be used in quickbms).

Just for curiosity, are you really sure that the game needs the dds compressed as sllz?
If yes can you post a couple of these sllz files?
The fake recompressor may be used to create the sllz files but no way to use it with the par archives due to all the structure that must be created.


Top
   
PostPosted: Sun Aug 13, 2017 10:16 pm 

Joined: Sun Aug 13, 2017 7:46 pm
Posts: 6
DELETE


Attachments:
test.DDS.rar [17.26 KiB]
Downloaded 15 times


Last edited by locakert on Mon Aug 14, 2017 6:46 pm, edited 1 time in total.
Top
   
PostPosted: Sun Aug 13, 2017 10:33 pm 

Joined: Sun Aug 13, 2017 7:46 pm
Posts: 6
DELETE


Last edited by locakert on Mon Aug 14, 2017 6:45 pm, edited 1 time in total.

Top
   
PostPosted: Mon Aug 14, 2017 6:45 pm 

Joined: Sun Aug 13, 2017 7:46 pm
Posts: 6
aluigi wrote:
Well, that depends by what you want and your skills.

Just for curiosity, are you really sure that the game needs the dds compressed as sllz?
If yes can you post a couple of these sllz files?
The fake recompressor may be used to create the sllz files but no way to use it with the par archives due to all the structure that must be created.


If needed, i attached here the quickbms scipt i'm using, an gmd file i would like DDS format in SLLZ

https://www.sendspace.com/file/j0mrd1


Top
   
PostPosted: Mon Aug 14, 2017 7:15 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
I have no idea of what you are posting and why you uploaded an old version of quickbms with the cpk.bms script (eh?!?!?).
Anyway I already gave you the answer, I have nothing else to add.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 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