ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Apr 05, 2020 2:44 am

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Duckman Game
PostPosted: Mon Aug 13, 2018 8:26 pm 

Joined: Thu Jun 09, 2016 1:15 am
Posts: 45
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!


Top
   
 Post subject: Re: Duckman Game
PostPosted: Tue Aug 14, 2018 2:10 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11164
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.


Top
   
 Post subject: Re: Duckman Game
PostPosted: Tue Aug 14, 2018 9:16 pm 

Joined: Thu Jun 09, 2016 1:15 am
Posts: 45
Ok. Thanks!


Top
   
 Post subject: Re: Duckman Game
PostPosted: Wed Aug 15, 2018 7:22 pm 

Joined: Thu Jun 09, 2016 1:15 am
Posts: 45
I have more compression for the file: CKRLE, LZ77WII_RAW30, COMPRLIB_RLE1

I have the same problem.


Top
   
 Post subject: Re: Duckman Game
PostPosted: Wed Aug 15, 2018 11:45 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11164
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.


Top
   
 Post subject: Re: Duckman Game
PostPosted: Thu Aug 16, 2018 6:25 am 

Joined: Thu Jun 09, 2016 1:15 am
Posts: 45
Sorry and thank you.


Top
   
 Post subject: Re: Duckman Game
PostPosted: Sun Sep 08, 2019 4:37 am 

Joined: Thu Jun 09, 2016 1:15 am
Posts: 45
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!


Top
   
 Post subject: Re: Duckman Game
PostPosted: Fri Sep 27, 2019 11:37 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11164
@Pakolmo
Are you using reimport2.bat?


Top
   
 Post subject: Re: Duckman Game
PostPosted: Mon Sep 30, 2019 10:39 pm 

Joined: Thu Jun 09, 2016 1:15 am
Posts: 45
@alugi

Yes and reimport.bat, too.


Top
   
 Post subject: Re: Duckman Game
PostPosted: Tue Oct 01, 2019 12:51 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11164
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.


Top
   
 Post subject: Re: Duckman Game
PostPosted: Tue Oct 01, 2019 7:16 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 499
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.

_________________
Tribo Gamer Brasil


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited