Qhimm.com Forums
Miscellaneous Forums => Tools => Misc. Tools => Topic started by: myst6re on 2014-06-29 17:24:59
-
For a long time I used homemade tools that I will now share. The first one, qt-lzs, is a simple command-line tool to compress/uncompress lzs files.
My implementation is based on Haruhiko Okumura code, which is really fast. But it is also not designed for large files.
I provide the source code on GitHub, and I hope that some people will help.
Contribute on GitHub (https://github.com/myst6re/qt-lzs)
Download it on GitHub (https://github.com/myst6re/qt-lzs/releases/latest)
-
myst6re, Can you add a command-line switch to qt-lzs so I can decompress "Another Mind" style LZS files. (The ones with the "CC FF" in the header)
Better yet, if it detects "C3 FF" at the beginning of the file to ignore them and decompress the rest. It's a pain to edit several hundred files one at a time to remove those two bytes.
-
Yup, some options like "--offset" and "--size", I'll do that!
-
And it's done! Version 1.1 is released, look at the first post to download it.
@halkun:
To decompress a tiz file, here is the command:
unlzs -p 2 --no-header-test foobar.tiz
-
neato burrito!
Aww, It's not working right :/
I can't do the following...
unlzs -p 2 --no-header-test *.tiz
...to mass decompress. Also the output data is not correct. I'm investigating.
-
Oh, that's right, I can add a wildcard parser for that (I've already done that for Vincent Tim).
Meanwhile, bash (or other programming language) is your friend.
-
Done! You can now use "*" to select several files, and if the last argument is a directory output files will be moved in it.
https://sourceforge.net/projects/qtlzs/files/v1.2/
-
.
-
Qt projects are easy to build on either system just install QtCreator.
-
There is a Windows build (http://sourceforge.net/projects/qtlzs/files/v1.2/qt-lzs-1.2.zip/download) in SourceForge.
-
.
-
There's no installer, so nothing can be bundled, if that's what you're referring to. It's just an archive file containing the precompiled binaries and required dlls.
-
.
-
New version available with a fix for big files.