ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > Scummvm Tools And Cruise for a Corpse Error
Scummvm Tools And Cruise for a Corpse Error
  Author    Thread Reply to topic
micartu



Joined: 28 Jun 2007
Posts: 15
Scummvm Tools And Cruise for a Corpse Error 

I'm trying to use the "extract" function with the d1 d2 d3 d4 archives of Cruise for a Corpse.
The italian translation of the game was ill-famed back at the time: Delphine realized it without knowing the language. For example they translated the main title "Cruise for a corpse" with "Crociata per un cadavere", where the word Crociata it mean Crusade. Crusade for a Corpse hahah not bad, and it was only the main title.

i want to make a new italian translation of the game, so i was trying to extract the d1,d2,d3,d4,d5 archives with the "cruise for a corpse" scummvm tools extract function. But it doesn't work. I've tried the english floppy version, the french version, the italian version and the cd multilanguage version.
Maybe the extract function for this game is broken?

 Reply with quote  
Post Sat Jan 28, 2017 9:36 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 456
Location: West Sussex, UK
 

I just tried it and the extraction for cine games is indeed partially broken: it only works when run from the directory that contains the game files. This means you need to use the command line tool (scummvm-tools-cli) and run it from the directory that contains your game data.

I will fix that for the next release.
Edit: This is now fixed.

 Reply with quote  
Post Sun Jan 29, 2017 4:47 pm 
 View user's profile Send private message
micartu



Joined: 28 Jun 2007
Posts: 15
 

Thank you for the attention, but it's still broken.
I mean in the windows gui version.
When i select "extract" the game selection menu it's disappeared, if i choose "advanced", and then "extract cruise_pc" it says: "Fatal Error Occurred: Invalid file signature"
and in red "Tool ended with errors"

I think that the "cine" function is for future wars, not Cruise for a corpse, but like you said it's working now under this voice. But what it does "extract-cruise-pc"?

 Reply with quote  
Post Mon Jan 30, 2017 12:34 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 456
Location: West Sussex, UK
 

I completely forgot that we had a extract_cruise_pc tool. It is actually not mentioned anywhere on our wiki or in our README files, and I have no idea what it does. It doesn't seem to be able to extract anything from any of the files from my DOS version. When reading files it expects them to start with a specific header, and the error you get ("Invalid file signature"), which is the same one I get, indicates that it doesn't find that header (which means the file doesn't have the expected format).

The extract_cine tool was indeed designed for the earlier Cine games, but by some luck it also works with Cruise for a Corpse. If you look at the notes for the Cine engines on our wiki, you will see that one of the few things that were kept for the later engine used by Cruise for a corpse is the resource loading/unpacking.

Note: I just noticed that there is still a bug in extract_cine. It is supposed to extract all files if you run it on the VOL.CNF. But it errors out after the first archive. So for now you need to run it on each archive (D1 to D5) independently.

 Reply with quote  
Post Mon Jan 30, 2017 8:40 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 456
Location: West Sussex, UK
 

I found the answer on our bug tracker: https://sourceforge.net/p/scummvm/bugs/4584/

The extract_cruise_pc tool extracts E1, E4 and E5 files found in some versions of the game.

 Reply with quote  
Post Mon Jan 30, 2017 8:53 pm 
 View user's profile Send private message
micartu



Joined: 28 Jun 2007
Posts: 15
 

Thanks a lot for your support! Now i can try to create a compressor, so when i'll have translated the game i'll repack the archives.

 Reply with quote  
Post Mon Jan 30, 2017 9:15 pm 
 View user's profile Send private message
Buddha
ScummVM Developer


Joined: 16 Apr 2007
Posts: 53
Location: Turku, Finland
 

quote:
Originally posted by micartu
Thanks a lot for your support! Now i can try to create a compressor, so when i'll have translated the game i'll repack the archives.


You can find the compression format at http://wiki.scummvm.org/index.php/Cine/Specifications#Compression_format ... using that it should be possible to create a compressor. Or you can also take a look at the decompressor's source code https://github.com/scummvm/scummvm/blob/master/engines/cine/unpack.h and https://github.com/scummvm/scummvm/blob/master/engines/cine/unpack.cpp
 Reply with quote  
Post Tue Jan 31, 2017 6:38 pm 
 View user's profile Send private message Visit poster's website
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
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 vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge