XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Aug 19, 2017 5:59 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Darkness Within 2 - BIN files
PostPosted: Sun May 30, 2010 1:41 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Wed Apr 07, 2010 7:38 pm
Posts: 197
Has thanked: 35 times
Have thanks: 5 times

Hi there,

This file contains the strings and texts for the game. However I couldn't find anything to edit it with. Anyone have any ideas?

http://www.speedyshare.com/files/22698062/local_english.rar

You can make the ads go away by registering


_________________
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu


Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Sun May 30, 2010 2:35 pm 
Offline
VVIP member
VVIP member
User avatar

Joined: Thu Dec 08, 2005 12:26 pm
Posts: 1925
Location: www.ZENHAX.com
Has thanked: 4 times
Have thanks: 629 times
script for quickbms for extracting the files:
Code:
get CP11 long
get DUMMY long
get FILES long
get DATA_SIZE long
for i = 0 < FILES
    get DUMMY long
    get OFFSET long
    get SIZE long
    get DUMMY long
    getdstring NAME 0x30
    log NAME OFFSET SIZE
next i


Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Sun May 30, 2010 4:25 pm 
Offline
beginner

Joined: Tue Mar 02, 2010 7:29 pm
Posts: 25
Has thanked: 8 times
Have thanks: 3 times
I think there is a problem. When the file has been uncompressed, and the changes have been done it's neccesary to include these files into BIN file again, due to the game not recognize the uncompressed files, like in Darkness Within. I tried to use DarkUpdater.exe but it doesn't work because I have not the ID of the files. Is There any way to get those ID, or recompress again this files using BMS?

Thanks.


Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Sun May 30, 2010 4:38 pm 
Offline
veteran

Joined: Mon Feb 22, 2010 8:42 pm
Posts: 142
Has thanked: 2 times
Have thanks: 76 times
darkUpdater works only with the 1st part of the game.
Here are the programs for the 2nd part: dark2eXtr and dark2Updater!!!

The structure of the 'local_english.bin' file:

Code:
  -> Header: (16 bytes)
         ID : Array[0..3] Of Char; // 'CP11'
         Version : DWORD; // $200
         NrOfFiles : DWORD;
         DataSize : DWORD; // size of the FILE DATA
  -> Directory: (NrOfFiles * 64 bytes)
       for each file:
        -> FileID : DWORD;
        -> FileStartPos : DWORD;
        -> FileSize : DWORD;
        -> CRC32 : DWORD; // the CRC32 value of the data
        -> FileName : Array[0..47] Of Char; // with padding zeroes to fill the space
  -> Padding Zeroes: to align the FILE DATA to $8010 starting position
  -> FILE DATA...


Last edited by bacter on Thu Jun 23, 2011 6:42 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Mon May 31, 2010 2:56 pm 
Offline
beginner

Joined: Tue Mar 02, 2010 7:29 pm
Posts: 25
Has thanked: 8 times
Have thanks: 3 times
Thanks a lot bacter!

Regards.


Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Wed Jun 09, 2010 2:36 pm 
Offline
ultra-n00b

Joined: Tue Nov 10, 2009 5:11 pm
Posts: 8
Has thanked: 2 times
Have thanks: 0 time
Thanks bacter for great work. Thumbs up!

Can I ask you about one thing? I have one more "local.bin" file containing ingame texts and need some way to unpack/pack it to edit it. It seems to be similar to bin in DWithin, but its not packed, text is visible, so it may be even easier task. I assume you already worked with similar files. Please could you take a look at it?

You can download it here - http://www.volny.cz/farflame/eng.rar

Thanks.


Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Wed Jun 30, 2010 5:41 pm 
Offline
ultra-n00b
User avatar

Joined: Tue Jun 29, 2010 3:48 pm
Posts: 6
Has thanked: 3 times
Have thanks: 0 time
hi mates i be able to extract the files of the texts with the quickbms :) But after editing the texts how can i manage to pack again to same file :?: i try too the dark2updater but i cant work or dont know how to work with it (: Please help guys :wink:


Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Wed Jun 30, 2010 10:01 pm 
Offline
veteran

Joined: Mon Feb 22, 2010 8:42 pm
Posts: 142
Has thanked: 2 times
Have thanks: 76 times
Hi! I created a GUI version of the eXtractor/Updater. It works with the 1st and the 2nd part of the game.
#1: Select the correct game from the combobox
#2: Select the bin file
#3: Select the target directory
#4: Extract the contents of the bin file;
#5: Modify your extracted files;
#6: Use the "Replace" function.
I hope it is not too complicated.


Last edited by bacter on Thu Jun 23, 2011 6:42 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Thu Jul 01, 2010 9:28 pm 
Offline
ultra-n00b
User avatar

Joined: Tue Jun 29, 2010 3:48 pm
Posts: 6
Has thanked: 3 times
Have thanks: 0 time
it works simple and usefull thanks a lot mate bacter you rule :wink:


Top
 Profile  
 
 Post subject: Re: Darkness Within 2 - BIN files
PostPosted: Tue Dec 01, 2015 1:34 pm 
Offline
ultra-n00b

Joined: Tue Dec 01, 2015 1:21 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
But where can I find this eXtractor/Updater to download?



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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot], lovosolitario13 and 12 guests


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group