FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   CLS for LZTurbo compressor (https://fileforums.com/showthread.php?t=100132)

78372 16-02-2018 08:13

LZTurbo - STDIO Patch
 
2 Attachment(s)
cls-lzt with STDIO decompression and file based compression. You can compress file with/without cls and decompress with cls.
Files needed for decompression :
cls-lzt.dll
cls.ini
lzt.exe
lztstdio.dll

Remember original(non patched) lzt doesn't work with cls and lztstdio.dll is a must for modfied lzt to work. Some antivirus may take it as virus, while it's not.
Use cls.ini for compression parameters / decompression threads



Update:

LZT STDIO patch(no cls) uploaded.
Thanks to Razor12911 for fixing, I really didn't had time to look at this thing.

Simorq 16-02-2018 09:10

no work / ratio 0%

78372 16-02-2018 09:19

Quote:

Originally Posted by Simorq (Post 466750)
no work / ratio 0%

What's your encode command(from cls.ini)?

Simorq 16-02-2018 09:20

Quote:

Originally Posted by 78372 (Post 466751)
What's your encode command(from cls.ini)?

Code:

[lzt]
Encode=-10 -b512 -p0
DecThreads=2


78372 16-02-2018 09:27

Not expected at all. Try compressing without cls, then decode with this.

Code:

[External compressor:lzt]
packcmd = lzt -10 -b512 -p0 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

But I think you missed something else because afaik compression is bug free at least.

Simorq 16-02-2018 09:50

Quote:

Originally Posted by 78372 (Post 466753)
Not expected at all. Try compressing without cls, then decode with this.

Code:

[External compressor:lzt]
packcmd = lzt -10 -b512 -p0 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

But I think you missed something else because afaik compression is bug free at least.

http://s9.picofile.com/file/83195798..._16_211808.jpg

lzt.exe does not run in the background.
That's probably the problem.

-NORO- 17-02-2018 08:14

decompression isn't working

78372 17-02-2018 19:34

Ok, this is seriously weird because some people are saying(who tested in before release) that it works, my tests were successful and here it fails.

Sergey3695 17-02-2018 23:53

Win 8.1 x64 it works for me. lol.
http://i100.fastpic.ru/big/2018/0218...303bd7e0f0.jpg

78372 18-02-2018 00:07

Yeah I forgot to tell, lzt is x64 only

Andu21 20-02-2018 14:50

Dec doesn't work either. Win7 x64 as well.

78372 23-02-2018 08:08

1 Attachment(s)
I absolutely have no idea how are you guys getting such error, here I find no errors, even while I removed cls for compression and only used for decompression, and also with other methods connected, no errors here

Sergey3695 23-02-2018 12:17

https://www.meme-arsenal.com/memes/4...40c7b77927.jpg

Mini 23-02-2018 16:11

dont work. win10 x64

Quote:

Extracting 4 files, 231,232,230 bytes. Processed 0%

ZakirAhmad 23-02-2018 18:53

can u please make nanozip studio patch

78372 23-02-2018 20:37

Quote:

Originally Posted by ZakirAhmad (Post 468328)
can u please make nanozip studio patch

I have taken that it mind but I don't think that would be easier, nz is an archiver, not single file compressor, and an archiver is supposed to seek, which isn't allowed in stdio. Anyways I planned to give it a shot but I can't tell that I will be able to do it, last time I failed to make RAZOR archiver support stdin because of numerous errors, so probably it's not even easy for nz.

ZakirAhmad 23-02-2018 21:48

Quote:

Originally Posted by 78372 (Post 468330)
I have taken that it mind but I don't think that would be easier, nz is an archiver, not single file compressor, and an archiver is supposed to seek, which isn't allowed in stdio. Anyways I planned to give it a shot but I can't tell that I will be able to do it, last time I failed to make RAZOR archiver support stdin because of numerous errors, so probably it's not even easy for nz.

Take your Time..

Cyber_Phantom 24-02-2018 04:53

I compressed successfully but i cant decompress. Can someone tell me how do i decompress because i think i am doing something wrong somewhere in the process

Simorq 24-02-2018 05:05

Quote:

Originally Posted by 78372 (Post 468330)
I have taken that it mind but I don't think that would be easier, nz is an archiver, not single file compressor, and an archiver is supposed to seek, which isn't allowed in stdio. Anyways I planned to give it a shot but I can't tell that I will be able to do it, last time I failed to make RAZOR archiver support stdin because of numerous errors, so probably it's not even easy for nz.

Maybe he can help.
http://krinkels.org/threads/rzm.3416/

78372 24-02-2018 05:19

Nope, I saw that before. There are two problems.

1. That uses MagicAPIHook which is buggy AF
2. That patches fopen, which uses CreateFileA to work, and patching that won't work for rz(only stdout works)


Anyways, I found the lzt cls bug for decompression, the problem is with multiple files(doesn't make sense) but I should look a bit deeper for this thing, anything that is an archiver f***s everything up while we use stdin -_-

-NORO- 24-02-2018 09:02

Quote:

Originally Posted by 78372 (Post 468343)

Anyways, I found the lzt cls bug for decompression, the problem is with multiple files(doesn't make sense) but I should look a bit deeper for this thing, anything that is an archiver f***s everything up while we use stdin -_-

Nice! waiting for update :)

ravencrow 24-02-2018 09:22

Quote:

Originally Posted by 78372 (Post 468343)
Nope, I saw that before. There are two problems.

1. That uses MagicAPIHook which is buggy AF
2. That patches fopen, which uses CreateFileA to work, and patching that won't work for rz(only stdout works)


Anyways, I found the lzt cls bug for decompression, the problem is with multiple files(doesn't make sense) but I should look a bit deeper for this thing, anything that is an archiver f***s everything up while we use stdin -_-

Patching CreateFileA shall make nz stdio, and archivers are made to work with files so they don't care about the amount of data that was actually read ;) Think about it and it shall work

78372 24-02-2018 09:38

^^
Thanks, I will try to give it a shot for nz64

Though even nz32 seems to be a riddle for me, the result given by PE Viewer was horrible :p

ravencrow 24-02-2018 10:21

Quote:

Originally Posted by 78372 (Post 468353)
^^
Thanks, I will try to give it a shot for nz64

Though even nz32 seems to be a riddle for me, the result given by PE Viewer was horrible :p

That's cause it's compressed exe, decompress it beforehand :)

78372 24-02-2018 10:34

hmm, seems it wouldn't be tough to use dllmerge to try, should do it tomorrow asap.

78372 25-02-2018 19:13

Quote:

Originally Posted by 78372 (Post 466745)

Update:

LZT STDIO patch(no cls) uploaded.
Thanks to Razor12911 for fixing, I really didn't had time to look at this thing.

@Everyone

Check first post

Razor12911 25-02-2018 19:17

1 Attachment(s)
screenshot

doofoo24 25-02-2018 19:19

thank's but LZTurbo seem similar to lzma with ratio and speed so why bother ?
https://github.com/powturbo/TurboBench

@78372 is it possible to use Fast LZMA2 library based on Radyx with <stdin> <stdout>?

Simorq 25-02-2018 22:02

Quote:

Originally Posted by Razor12911 (Post 468434)
screenshot

Thanks
LZTurbo has a high speed with excellent STDIO.

Is it possible for RAZOR also add STUDIO.

78372 25-02-2018 22:24

Quote:

Originally Posted by Simorq (Post 468438)
Thanks
LZTurbo has a high speed with excellent STDIO.

Is it possible for RAZOR also add STUDIO.

Afaik Razor12911 has already made that, but that's private tool.

Personally I once tried to make it but couldn't add stdin, only stdout worked, then left the project.

Plus no one can actually make a stdio tool public even if he had made it work perfectly, because the creator of rz doesn't allow it.

Code:

DO NOT directly or indirectly modify, decompile or otherwise reverse engineer

Simorq 25-02-2018 22:45

Code:

Special Thanks to Christian for his RAZOR(rz) and Eugene.
rzA rights goes to oreocreator16********com only, anyone else is not allowed to use it anyhow without our permissions.

Code:

[External compressor:rza]
header = 0
unpackcmd = rza d - - 1 450 400 <stdin> <stdout>

Unfortunately, this is also private.

78372 25-02-2018 22:51

Quote:

Originally Posted by Simorq (Post 468440)
Code:

Special Thanks to Christian for his RAZOR(rz) and Eugene.
rzA rights goes to oreocreator16********com only, anyone else is not allowed to use it anyhow without our permissions.

Code:

[External compressor:rza]
header = 0
unpackcmd = rza d - - 1 450 400 <stdin> <stdout>

Unfortunately, this is also private.

Private and most probably chunked mt

Simorq 25-02-2018 22:55

Quote:

Originally Posted by 78372 (Post 468441)
Private and most probably chunked mt

Exactly
However, you can reach mt 4x4.

78372 25-02-2018 22:57

Quote:

Originally Posted by Simorq (Post 468442)
Exactly
However, you can reach mt 4x4.

I don't need that :p I already have stdout support and chunked mt wrapper :p

Razor12911 26-02-2018 14:05

Quote:

Originally Posted by 78372 (Post 468439)
Afaik Razor12911 has already made that, but that's private tool.

Personally I once tried to make it but couldn't add stdin, only stdout worked, then left the project.

Plus no one can actually make a stdio tool public even if he had made it work perfectly, because the creator of rz doesn't allow it.

Code:

DO NOT directly or indirectly modify, decompile or otherwise reverse engineer

It's not private, I just don't have it. I deleted it after making stdio and found out that modifying/decompiling that author's tools can lead to a similar problem like the one I had with yener90 making him leave forum so I deleted everything because I simply do NOT want to go through that again. I don't want to be held responsible for another programmer's decisions.

RamiroCruzo 01-03-2018 18:29

Interesting XD


All times are GMT -7. The time now is 08:38.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com