Hi,
I would like to translate this game into spanish but i cannot open the bin files. I have tried everything, I think, but nothig.
There is a some-like BMS script for this game and its bin files?
I have uploaded a Bin file, the smallest one, to Megaupload.
File
Thanks.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Darkness Within BIN files
- 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 BIN files
Code: Select all
get DUMMY long
for FILES = 0
get DUMMY long
if DUMMY == 0
break
endif
get SIZE long
get NAMESZ byte
getdstring NAME NAMESZ
next FILES
savepos OFFSET
goto 4
for i = 0 < FILES
get DUMMY long
get SIZE long
get NAMESZ byte
getdstring NAME NAMESZ
string NAME += _
string NAME += i
string NAME += ".lua"
log NAME OFFSET SIZE
math OFFSET += SIZE
next i
-
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Darkness Within BIN files
I think, you are looking for the "local.bin" file, whitch has this structure:
The game text file is the file with FileID 0xFCD0A552
I also created a primitive BIN extractor for the "local.bin" file
Usage: darkeXtr.exe <BIN_File> <TargetDir>
example: darkeXtr.exe local.bin e:\temp\target
A .BIN updater also included!
Usage: darkUpdater.exe <BIN_File> <DataFile_to_Update> <IDnumber>
example: darkUpdater.exe local.bin e:\mytranslation\mytext.txt FCD0A552
Code: Select all
-> Header: (4 bytes)
NrofFiles : WORD;
Unknown : WORD; // $1000
-> Directory: (NrOfFiles * 16 bytes)
for each file:
-> FileID : DWORD;
-> RelativeFilePos : DWORD; // from the Start of The "File Data"
-> FileSize : DWORD; // size of the file, no compression used
-> CheckSum : DWORD; // the negative of the data's CRC32 value
-> File Data...
I also created a primitive BIN extractor for the "local.bin" file
Usage: darkeXtr.exe <BIN_File> <TargetDir>
example: darkeXtr.exe local.bin e:\temp\target
A .BIN updater also included!
Usage: darkUpdater.exe <BIN_File> <DataFile_to_Update> <IDnumber>
example: darkUpdater.exe local.bin e:\mytranslation\mytext.txt FCD0A552
Last edited by bacter on Thu Jun 23, 2011 6:40 pm, edited 2 times in total.
-
- beginner
- Posts: 25
- Joined: Tue Mar 02, 2010 7:29 pm
- Has thanked: 8 times
- Been thanked: 3 times
Re: Darkness Within BIN files
Firstly, thanks to both for your support.
You're right bacter, this is the file I needed to translate the game. Anyway, always is a good idea to explore all the files to see if there are some files to change as well. Really there are a couple of files out of Local to change but local.bin is what I needed. Really, you're great! with your executable all bin files has been decompressed, except scripts.bin, but without your updater executable an effective translation would have been impossible. Really, you're great!
Best regards!
You're right bacter, this is the file I needed to translate the game. Anyway, always is a good idea to explore all the files to see if there are some files to change as well. Really there are a couple of files out of Local to change but local.bin is what I needed. Really, you're great! with your executable all bin files has been decompressed, except scripts.bin, but without your updater executable an effective translation would have been impossible. Really, you're great!
Best regards!
Re: Darkness Within BIN files
Hi guys, I have a problem. After updating the file, the game continues in English. So I extracted the local.bin file again and noticed the file FCD0A552 is the same that I translated. Does anyone know why the game was not translated? It is necessary do more than update local.bin? Thanks
-
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Darkness Within BIN files
I created the GUI version of the BIN extractor,updater. Try that. I hope it's not too hard to use.
See the Darkness Within 2 forum topic: viewtopic.php?f=10&t=4530&p=40053#p40053
See the Darkness Within 2 forum topic: viewtopic.php?f=10&t=4530&p=40053#p40053
-
- ultra-n00b
- Posts: 6
- Joined: Tue Jun 29, 2010 3:48 pm
- Has thanked: 3 times
Re: Darkness Within BIN files
hi mate the tool work almost all files but one and i think the text files are there its the scripts.bin i send a photo of the error that give me :
http://img682.imageshack.us/img682/7911/erroo.png
please can you fix this on your tool to read that file ?
http://img682.imageshack.us/img682/7911/erroo.png
please can you fix this on your tool to read that file ?
-
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Darkness Within BIN files
Hey!
Why don't you read carefully this topic?
My proggy not supports the scripts.bin file, because it uses a completely different structure, and because there are no useful game resources in that file.
There are no images, text files etc. It contains only compiled lua scripts. I don't think that anyone wants to edit them.
But, if you REALLY need the files inside the script.bin, you need to use the QuickBMS program.
See the comment of aluigi, (second entry of this topic) posted at: Thu May 27, 2010 2:08 pm
If you are looking for the ingame texts, then see my comment (third entry of this topic) posted at: Thu May 27, 2010 7:47 pm
Why don't you read carefully this topic?
My proggy not supports the scripts.bin file, because it uses a completely different structure, and because there are no useful game resources in that file.
There are no images, text files etc. It contains only compiled lua scripts. I don't think that anyone wants to edit them.
But, if you REALLY need the files inside the script.bin, you need to use the QuickBMS program.
See the comment of aluigi, (second entry of this topic) posted at: Thu May 27, 2010 2:08 pm
If you are looking for the ingame texts, then see my comment (third entry of this topic) posted at: Thu May 27, 2010 7:47 pm
-
- ultra-n00b
- Posts: 6
- Joined: Tue Jun 29, 2010 3:48 pm
- Has thanked: 3 times