Papers Please,wfLZEx files
-
- Posts: 29
- Joined: Wed Jul 18, 2018 11:10 pm
Papers Please,wfLZEx files
Hello!
I 've been trying to translate this gamse,but I don't know how to uncompress these wflz files or compress it back.
please help me,thank you!
samples
I 've been trying to translate this gamse,but I don't know how to uncompress these wflz files or compress it back.
please help me,thank you!
samples
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Papers Please,wfLZEx files
I'm not sure if that's really compressed.
I found a reference to "ZLFW" (the magic at offset 0x10) in the double_dragon_neon.bms script and in that case there is no compression involved.
Also most of the samples files like "bf" and "d7" don't look compressed because their 16bit or 32bit structs are intact.
I found a reference to "ZLFW" (the magic at offset 0x10) in the double_dragon_neon.bms script and in that case there is no compression involved.
Also most of the samples files like "bf" and "d7" don't look compressed because their 16bit or 32bit structs are intact.
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Papers Please,wfLZEx files
aluigi wrote:I'm not sure if that's really compressed.
I found a reference to "ZLFW" (the magic at offset 0x10) in the double_dragon_neon.bms script and in that case there is no compression involved.
Also most of the samples files like "bf" and "d7" don't look compressed because their 16bit or 32bit structs are intact.
wfLZ is the compression algorithm used by WayForward's internal console/pc engine (http://www.wayforward.com).
https://github.com/ShaneYCG/wflz
You can find algorithm here.
Need to build arguments to decompress and compress.
because the github just have a example.
but all algorithm is in there.
maybe implement in quickbms in future?
here is for some games of wayfoward
https://github.com/meh2481/wfLZEx
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Papers Please,wfLZEx files
Ah, that wflz, yeah that compression is already available in quickbms as: comtype wflz
It's just that I didn't have any script in my collection using it
It's just that I didn't have any script in my collection using it
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Papers Please,wfLZEx files
aluigi wrote:Ah, that wflz, yeah that compression is already available in quickbms as: comtype wflz
It's just that I didn't have any script in my collection using it
maybe his file can be the first? hahahaha
-
- Posts: 29
- Joined: Wed Jul 18, 2018 11:10 pm
Re: Papers Please,wfLZEx files
rabatini wrote:aluigi wrote:I'm not sure if that's really compressed.
I found a reference to "ZLFW" (the magic at offset 0x10) in the double_dragon_neon.bms script and in that case there is no compression involved.
Also most of the samples files like "bf" and "d7" don't look compressed because their 16bit or 32bit structs are intact.
wfLZ is the compression algorithm used by WayForward's internal console/pc engine (http://www.wayforward.com).
https://github.com/ShaneYCG/wflz
You can find algorithm here.
Need to build arguments to decompress and compress.
because the github just have a example.
but all algorithm is in there.
maybe implement in quickbms in future?
here is for some games of wayfoward
https://github.com/meh2481/wfLZEx
Thank you for helping me.
-
- Posts: 29
- Joined: Wed Jul 18, 2018 11:10 pm
Re: Papers Please,wfLZEx files
aluigi wrote:Ah, that wflz, yeah that compression is already available in quickbms as: comtype wflz
It's just that I didn't have any script in my collection using it
Boss,i'm counting on you!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Papers Please,wfLZEx files
ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
-
- Posts: 29
- Joined: Wed Jul 18, 2018 11:10 pm
Re: Papers Please,wfLZEx files
aluigi wrote:ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
You are a life saver! after decompressing these files,i'll conver it to texture.
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Papers Please,wfLZEx files
imjinjia wrote:aluigi wrote:ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
You are a life saver! after decompressing these files,i'll conver it to texture.
Are you pretend to compress to insert this file in the game?
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Papers Please,wfLZEx files
aluigi wrote:ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
I think you did right programing in just one file.
The compressor works fine in your descompressed data.
only the header, that shoulded to maintain, because when compress, the header is lost.
-
- Posts: 45
- Joined: Fri Jan 07, 2022 7:44 pm
Re: Papers Please,wfLZEx files
aluigi wrote:ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
Don’t delete it, don’t forget it: viewtopic.php?f=9&t=16634
-
- Posts: 179
- Joined: Tue Jan 18, 2022 12:21 am
Re: Papers Please,wfLZEx files
cic wrote:aluigi wrote:ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
Don’t delete it, don’t forget it: viewtopic.php?f=9&t=16634
Spamning topics from colleagues, it will not bring answers for your problem,on the contrary, it will only bring dislike from other users.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Papers Please,wfLZEx files
Hijacking topics of other users is really a shame moreover after I already deleted his previous post few minutes ago.
-
- Posts: 45
- Joined: Fri Jan 07, 2022 7:44 pm
Re: Papers Please,wfLZEx files
aluigi wrote:Hijacking topics of other users is really a shame moreover after I already deleted his previous post few minutes ago.
Sorry. I made a mistake.
-
- Posts: 45
- Joined: Fri Jan 07, 2022 7:44 pm
Re: Papers Please,wfLZEx files
rabatini wrote:cic wrote:aluigi wrote:ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
Don’t delete it, don’t forget it: viewtopic.php?f=9&t=16634
Spamning topics from colleagues, it will not bring answers for your problem,on the contrary, it will only bring dislike from other users.
I know it’s a mistake
-
- Posts: 45
- Joined: Fri Jan 07, 2022 7:44 pm
Re: Papers Please,wfLZEx files
rabatini wrote:cic wrote:aluigi wrote:ok, done:
http://aluigi.org/bms/zlfw.bms
I don't know if it's better to dump the decompressed data in separate files or in one.
The header of ZLFW makes me think that it's just one file so that's how I programmed the script.
Don’t delete it, don’t forget it: viewtopic.php?f=9&t=16634
Spamning topics from colleagues, it will not bring answers for your problem,on the contrary, it will only bring dislike from other users.
Also, it’s not a spam it’s a gift, this website doesn’t use topic contrary dislikes in all dislikes..
Last edited by cic on Fri Mar 11, 2022 4:01 pm, edited 1 time in total.
-
- Posts: 45
- Joined: Fri Jan 07, 2022 7:44 pm
Re: Papers Please,wfLZEx files
aluigi wrote:Hijacking topics of other users is really a shame moreover after I already deleted his previous post few minutes ago.
Dude it was a gift.