Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

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

Featured Replies

  • Author
  • Localization

locakert, posted Sun Aug 13, 2017 8:22 pm (25483)


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:
  • Author
  • Localization

aluigi, posted Sun Aug 13, 2017 8:32 pm (25484)


quickbms is open source (src\included\unyakuza.c) but there is no re-compression function for the yakuza compression algorithm.
  • Author
  • Localization

locakert, posted Sun Aug 13, 2017 8:36 pm (25485)


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? :|
  • Author
  • Localization

locakert, posted Sun Aug 13, 2017 8:43 pm (25486)


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? :|
  • Author
  • Localization

aluigi, posted Sun Aug 13, 2017 8:56 pm (25487)


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.
  • Author
  • Localization

locakert, posted Sun Aug 13, 2017 10:16 pm (25489)


DELETE
  • Author
  • Localization

locakert, posted Sun Aug 13, 2017 10:33 pm (25490)


DELETE
  • Author
  • Localization

locakert, posted Mon Aug 14, 2017 6:45 pm (25516)


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
  • Author
  • Localization

aluigi, posted Mon Aug 14, 2017 7:15 pm (25520)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.