Duckman Game
-
- Posts: 52
- Joined: Thu Jun 09, 2016 1:15 am
Duckman Game
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!
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!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Duckman Game
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.
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.
-
- Posts: 52
- Joined: Thu Jun 09, 2016 1:15 am
Re: Duckman Game
I have more compression for the file: CKRLE, LZ77WII_RAW30, COMPRLIB_RLE1
I have the same problem.
I have the same problem.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Duckman Game
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.
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.
-
- Posts: 52
- Joined: Thu Jun 09, 2016 1:15 am
Re: Duckman Game
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!
The game crash because the pointers aren’t updated.
Please, HELP ME!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Duckman Game
@Pakolmo
Are you using reimport2.bat?
Are you using reimport2.bat?
-
- Posts: 52
- Joined: Thu Jun 09, 2016 1:15 am
Re: Duckman Game
@alugi
Yes and reimport.bat, too.
Yes and reimport.bat, too.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Duckman Game
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.
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.
-
- Posts: 561
- Joined: Tue Oct 13, 2015 1:26 pm
Re: Duckman Game
All files sizes have a 0x0800 padding.aluigi wrote:No idea why you get the crash, probably because the data must be located in a specific block of bytes...