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/226980 ... nglish.rar
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Darkness Within 2 - BIN files
- lostprophet
- mega-veteran
- Posts: 202
- Joined: Wed Apr 07, 2010 7:38 pm
- Has thanked: 35 times
- Been thanked: 7 times
- aluigi
- VVIP member
- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 664 times
- Contact:
Re: Darkness Within 2 - BIN files
script for quickbms for extracting the files:
Code: Select all
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
-
- beginner
- Posts: 25
- Joined: Tue Mar 02, 2010 7:29 pm
- Has thanked: 8 times
- Been thanked: 3 times
Re: Darkness Within 2 - BIN files
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.
Thanks.
-
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Darkness Within 2 - BIN files
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:
Here are the programs for the 2nd part: dark2eXtr and dark2Updater!!!
The structure of the 'local_english.bin' file:
Code: Select all
-> 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.
Re: Darkness Within 2 - BIN files
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.
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.
-
- ultra-n00b
- Posts: 6
- Joined: Tue Jun 29, 2010 3:48 pm
- Has thanked: 3 times
Re: Darkness Within 2 - BIN files
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
-
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Darkness Within 2 - BIN files
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.
#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.
-
- ultra-n00b
- Posts: 6
- Joined: Tue Jun 29, 2010 3:48 pm
- Has thanked: 3 times