How to compress files in DDS format in SLLZ ???

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
locakert
Posts: 6
Joined: Sun Aug 13, 2017 7:46 pm

How to compress files in DDS format in SLLZ ???

Post by locakert »

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:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: How to compress files in DDS format in SLLZ ???

Post by aluigi »

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

Re: How to compress files in DDS format in SLLZ ???

Post by locakert »

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? :|
locakert
Posts: 6
Joined: Sun Aug 13, 2017 7:46 pm

Re: How to compress files in DDS format in SLLZ ???

Post by locakert »

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? :|
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: How to compress files in DDS format in SLLZ ???

Post by aluigi »

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.
locakert
Posts: 6
Joined: Sun Aug 13, 2017 7:46 pm

Re: How to compress files in DDS format in SLLZ ???

Post by locakert »

DELETE
Last edited by locakert on Mon Aug 14, 2017 6:46 pm, edited 1 time in total.
locakert
Posts: 6
Joined: Sun Aug 13, 2017 7:46 pm

Re: How to compress files in DDS format in SLLZ ???

Post by locakert »

DELETE
Last edited by locakert on Mon Aug 14, 2017 6:45 pm, edited 1 time in total.
locakert
Posts: 6
Joined: Sun Aug 13, 2017 7:46 pm

Re: How to compress files in DDS format in SLLZ ???

Post by locakert »

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
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: How to compress files in DDS format in SLLZ ???

Post by aluigi »

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.