Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Papers Please,wfLZEx files

Featured Replies

  • Author
  • Localization

imjinjia, posted Mon Mar 07, 2022 1:48 pm (70340)


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
  • Author
  • Localization

aluigi, posted Mon Mar 07, 2022 6:01 pm (70347)


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.
  • Author
  • Localization

rabatini, posted Mon Mar 07, 2022 6:21 pm (70348)


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
  • Author
  • Localization

aluigi, posted Mon Mar 07, 2022 10:07 pm (70350)


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
  • Author
  • Localization

rabatini, posted Tue Mar 08, 2022 12:20 am (70353)


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
  • Author
  • Localization

imjinjia, posted Tue Mar 08, 2022 12:42 am (70354)


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.
  • Author
  • Localization

imjinjia, posted Tue Mar 08, 2022 12:48 am (70355)


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!
  • Author
  • Localization

aluigi, posted Tue Mar 08, 2022 10:31 am (70357)


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.
  • Author
  • Localization

imjinjia, posted Tue Mar 08, 2022 12:49 pm (70360)


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.
  • Author
  • Localization

rabatini, posted Tue Mar 08, 2022 1:59 pm (70364)


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?
  • Author
  • Localization

rabatini, posted Tue Mar 08, 2022 8:49 pm (70370)


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.
  • Author
  • Localization

cic, posted Tue Mar 08, 2022 11:06 pm (70373)


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
  • Author
  • Localization

rabatini, posted Tue Mar 08, 2022 11:18 pm (70374)


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.
  • Author
  • Localization

aluigi, posted Tue Mar 08, 2022 11:21 pm (70375)


Hijacking topics of other users is really a shame moreover after I already deleted his previous post few minutes ago.
  • Author
  • Localization

cic, posted Tue Mar 08, 2022 11:49 pm (70376)


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.
  • Author
  • Localization

cic, posted Tue Mar 08, 2022 11:50 pm (70377)


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 :(
  • Author
  • Localization

cic, posted Fri Mar 11, 2022 3:59 pm (70442)


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..
  • Author
  • Localization

cic, posted Fri Mar 11, 2022 4:00 pm (70443)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.