Gildor's Forums

Author Topic: LZO - Decompresse then compress again.length of the data has changed  (Read 287 times)
X-bimo
Newbie
*
Posts: 4


View Profile
LZO - Decompresse then compress again.length of the data has changed
« on: February 09, 2023, 15:29 »

data compressed by LZO
Decompress then compress again
The length of the data has changed
I tried all the compression methods of LOZ
Does anyone know why? please!


(Tools can read recompressed, but the game can't read it correctly)

 Embarrassed Embarrassed Embarrassed Embarrassed

* compressed (46.92 KB - downloaded 41 times.)
* uncompress (128 KB - downloaded 49 times.)
« Last Edit: February 09, 2023, 15:33 by X-bimo » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: LZO - Decompresse then compress again.length of the data has changed
« Reply #1 on: February 09, 2023, 15:42 »

This might vary because of LZO version. E.g. the author has updated the code, fixed some bugs, may be improved compression - and data will be changed. Also, there's LZO Pro, which is used by UE3, which might behave differently compared to the freeware open source version.
Logged
X-bimo
Newbie
*
Posts: 4


View Profile
Re: LZO - Decompresse then compress again.length of the data has changed
« Reply #2 on: February 09, 2023, 16:06 »

Thank you very much for your reply
So it was
The game is indeed a UE3 engine
Does it have to be compressed with LZO PRO

Logged
X-bimo
Newbie
*
Posts: 4


View Profile
Re: LZO - Decompresse then compress again.length of the data has changed
« Reply #3 on: February 09, 2023, 16:34 »

This might vary because of LZO version. E.g. the author has updated the code, fixed some bugs, may be improved compression - and data will be changed. Also, there's LZO Pro, which is used by UE3, which might behave differently compared to the freeware open source version.

LZO Pro should be able to decompress LZO GPL ?
maybe the stream position wrong when I repack blocks and chunks
I will try again
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: LZO - Decompresse then compress again.length of the data has changed
« Reply #4 on: February 09, 2023, 16:46 »

http://www.oberhumer.com/products/lzo-professional/

LZO Pro is compatible in binary formats with LZO Free. I think the main difference is a possibility to use in commercial projects (different license), plus better compression.
Logged
X-bimo
Newbie
*
Posts: 4


View Profile
Re: LZO - Decompresse then compress again.length of the data has changed
« Reply #5 on: February 09, 2023, 16:55 »

http://www.oberhumer.com/products/lzo-professional/

LZO Pro is compatible in binary formats with LZO Free. I think the main difference is a possibility to use in commercial projects (different license), plus better compression.

Thanks!
That should be a problem with my code

 Cheesy
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS