I have a lot of *.RCS with LZS compression
Aluigi, can you do a script to compress and decompress the RCS files?
https://www.dropbox.com/s/qgfw74v79atkn ... t.rcs?dl=0
Compress/Decompress LZS (The Quivering game)
-
- Posts: 12
- Joined: Sat Apr 13, 2019 4:19 pm
Re: Compress/Decompress LZS (The Quivering game)
I'm not Aluigi but here you go To recompress, run quickbms with the -r option
-
- Posts: 52
- Joined: Thu Jun 09, 2016 1:15 am
Re: Compress/Decompress LZS (The Quivering game)
Thanks, but I can decompress, but no compress...
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compress/Decompress LZS (The Quivering game)
The correct decompression script is:
I don't know where is the rdesktop compression code, I see mppc_expand but not the compression.
Code: Select all
comtype lzs
get ZSIZE asize
xmath SIZE "ZSIZE * 10"
get NAME basename
clog NAME 0 ZSIZE SIZE
I don't know where is the rdesktop compression code, I see mppc_expand but not the compression.
-
- Posts: 12
- Joined: Sat Apr 13, 2019 4:19 pm
Re: Compress/Decompress LZS (The Quivering game)
Sorry I'm still pretty new to this, especially compression types. I was skeptical that the decompressed size was the same as the compressed size but it seemed to accept it
-
- Posts: 388
- Joined: Thu Aug 07, 2014 10:28 pm
Re: Compress/Decompress LZS (The Quivering game)
this page?
https://github.com/FreeRDP/FreeRDP/blob ... dec/mppc.c
int mppc_compress(MPPC_CONTEXT* mppc, BYTE* pSrcData, UINT32 SrcSize, BYTE** ppDstData,
UINT32* pDstSize, UINT32* pFlags)
https://github.com/FreeRDP/FreeRDP/blob ... dec/mppc.c
int mppc_compress(MPPC_CONTEXT* mppc, BYTE* pSrcData, UINT32 SrcSize, BYTE** ppDstData,
UINT32* pDstSize, UINT32* pFlags)
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compress/Decompress LZS (The Quivering game)
Good but not so easy.
The compressed data doesn't work, it's something related to the history size probably but no solution yet.
The compressed data doesn't work, it's something related to the history size probably but no solution yet.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compress/Decompress LZS (The Quivering game)
I confirm, it's not 100% compatible.