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 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


All times are GMT -7. The time now is 02:40.

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