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.

Duckman Game

Featured Replies

  • Author
  • Localization

Pakolmo, posted Mon Aug 13, 2018 8:26 pm (37482)


I am trying to translate Duckman game.

I did a comtype_scan2.bat and I have 2 files with texts: 206.dmp (COMP_DICT, 92Mb) and 493.dmp (COMP_PCLZFG, 570Mb)

Now I can see all the texts.

But, I don't know how I can do the reverse. I need the original file (28Mb).

Can you help me wih a QuickBMS script, please?

The file is: https://www.dropbox.com/s/b2zx28gv3395m ... N.GAM?dl=0

Thanks!
  • Author
  • Localization

aluigi, posted Tue Aug 14, 2018 2:10 pm (37511)


Honestly I don't know if exist a (re)compression implementation of the algorithm because dict was available on the (apparently no longer existent) freearc.org website as a "research" while pclzfg doesn't have any recompressor in its source code.
I leave here the 2 links available in the source code of quickbms:
http://freearc.org/download/research/dict.zip
http://www.embedded-os.de/en/pclzfg.shtml

I'm really surprised there is a game using this (these) algorithms anyway I didn't investigate and simply answered to the question.
  • Author
  • Localization

Pakolmo, posted Tue Aug 14, 2018 9:16 pm (37524)


Ok. Thanks!
  • Author
  • Localization

Pakolmo, posted Wed Aug 15, 2018 7:22 pm (37556)


I have more compression for the file: CKRLE, LZ77WII_RAW30, COMPRLIB_RLE1

I have the same problem.
  • Author
  • Localization

aluigi, posted Wed Aug 15, 2018 11:45 pm (37561)


You have done a huge mess with this topic. It was in the wrong section and tried to use comtype.
NEVER EVER USE THE COMTYPE SCANNER: you are wasting your time and, unfortunately, mine too.

I have moved the topic in the correct section and made a script for the format:
http://aluigi.org/bms/duckman.bms

The script automatically handles the dialog files having type 15 so will directly get the txt files in the extracted folder "15" without any additional operation.
  • Author
  • Localization

Pakolmo, posted Thu Aug 16, 2018 6:25 am (37576)


Sorry and thank you.
  • Author
  • Localization

Pakolmo, posted Sun Sep 08, 2019 4:37 am (50638)


I finished the translation but I have a BIG problem when I import the texts.
The game crash because the pointers aren't updated.

Please, HELP ME!
  • Author
  • Localization

aluigi, posted Fri Sep 27, 2019 11:37 am (50970)


@Pakolmo
Are you using reimport2.bat?
  • Author
  • Localization

Pakolmo, posted Mon Sep 30, 2019 10:39 pm (51233)


@alugi

Yes and reimport.bat, too.
  • Author
  • Localization

aluigi, posted Tue Oct 01, 2019 12:51 am (51241)


The first link no longer exists.
And I confirm that reimport2.bat works perfectly and the OFFSET field is correctly updated.
No idea why you get the crash, probably because the data must be located in a specific block of bytes and if the new (longer) string is moved outside this block (necessary for adding longer strings) then the game may refuse to work.
No fix, it's all ok here.
  • Author
  • Localization

Delutto, posted Tue Oct 01, 2019 7:16 am (51246)


aluigi wrote:
No idea why you get the crash, probably because the data must be located in a specific block of bytes...
All files sizes have a 0x0800 padding.
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.