Page 1 of 1

Duke Nuken Forever .bin file

Posted: Wed Jun 15, 2011 8:29 pm
by Venushja
I was stuck in extracting the "Text Files" ... I do not know how to read the 3 bytes there was not part of "42 01 09" make me give meaningful data for the pull ...
Excuse my English is bad

.bin File here ->

Code: Select all

http://koukej.707.cz/obrazky/PS3_Coalesced_int.rar

Re: Duke Nuken Forever .bin file

Posted: Fri Jun 17, 2011 1:31 pm
by Venushja
Anyone?

Re: Duke Nuken Forever .bin file

Posted: Sun Jun 19, 2011 7:20 am
by MrDeviance
Venushja wrote:Anyone?
For a forum that has Duke Nukem in it's banner, they don't seem give a shit about DNF's file formats it seems.
That's so lame...

Re: Duke Nuken Forever .bin file

Posted: Sun Jun 19, 2011 8:42 am
by aluigi
considering that this is not even an archive (aka off-topic) and can be edited with a simple hex editor I find perfectly correct how the thread has been "not" handled (aka ignored), DNF or not.

Re: Duke Nuken Forever .bin file

Posted: Sun Jun 19, 2011 8:54 am
by aluigi
I was forgiving that I have in mind something for quickbms to help who is not comfortable with the editing of text data with the hex editor but it's not clear yet how to do it (I mean format and reimporting).

for example if instead of using the hex editor you can use notepad although you can't write more chars than the originals would it be ok?
would you be comfortable with a similar solution?

for example editing a file like the following:

Code: Select all

00001234 this is the original text string!
00001281 this is the another string
I need feedback otherwise I don't waste time implementing it

Re: Duke Nuken Forever .bin file

Posted: Sun Jun 19, 2011 9:10 am
by michalss
aluigi wrote:I was forgiving that I have in mind something for quickbms to help who is not comfortable with the editing of text data with the hex editor but it's not clear yet how to do it (I mean format and reimporting).

for example if instead of using the hex editor you can use notepad although you can't write more chars than the originals would it be ok?
would you be comfortable with a similar solution?

for example editing a file like the following:

Code: Select all

00001234 this is the original text string!
00001281 this is the another string
I need feedback otherwise I don't waste time implementing it

I'm glad to try it out, but not sure what exactly you mean ?

Re: Duke Nuken Forever .bin file

Posted: Sun Jun 19, 2011 9:20 am
by aluigi
I mean:
- extracting a textual version with quickbms
- modifying a text file with a normal editor instead of using a hex editor on a binary file
- reimporting the next text with quickbms

the only limitation will be the same of any reimporter, so the length of the text can't be greater than the original but you will have the advantage of using a text editor instead the hex one.

how it sounds?

Re: Duke Nuken Forever .bin file

Posted: Sun Jun 19, 2011 10:52 am
by michalss
aluigi wrote:I mean:
- extracting a textual version with quickbms
- modifying a text file with a normal editor instead of using a hex editor on a binary file
- reimporting the next text with quickbms

the only limitation will be the same of any reimporter, so the length of the text can't be greater than the original but you will have the advantage of using a text editor instead the hex one.

how it sounds?
I'm so sorry but i really dont get this "extracting a textual version with quickbms" - what is it?
There is no such a script i guess.

And yes i can try modifiy this with notepad++ and wil let you know.

Re: Duke Nuken Forever .bin file

Posted: Sun Jun 19, 2011 4:03 pm
by timartinelli
It would help me Luigi, you can do this script?

I am carrying the translation on my tongue.

I look forward to.

Hug.

Re: Duke Nuken Forever .bin file

Posted: Mon Jun 20, 2011 10:43 am
by XRaptor
This file seems to be broken somehow. I have tool to fully read and extract coalesced archives and content of this file makes no sense to me.

At offset 0x9f there is key name "; (MapName" and next is expected value. But there is 0x52 followed by 0x02 value. It is wrong. There should be just 1B value contains length of followed text. Nothing more. But next text is 0x92 long. But maybe this is another screwed version of coalesced archive.

Re: Duke Nuken Forever .bin file

Posted: Mon Jun 20, 2011 1:12 pm
by michalss
XRaptor wrote:This file seems to be broken somehow. I have tool to fully read and extract coalesced archives and content of this file makes no sense to me.

At offset 0x9f there is key name "; (MapName" and next is expected value. But there is 0x52 followed by 0x02 value. It is wrong. There should be just 1B value contains length of followed text. Nothing more. But next text is 0x92 long. But maybe this is another screwed version of coalesced archive.

Hi can you try your method on this one pls ? Might possible post the quickbms script ?
PS3 is kinda strange :(

Code: Select all

http://loadfiles.in/qahiv2k7xvtg/XBOX_Coalesced_int.bin

Re: Duke Nuken Forever .bin file

Posted: Mon Jun 20, 2011 1:40 pm
by XRaptor
It is almost the same. I'll try to find out what the hell it is :-) It seems that just some values are saved as 1B and some values as 2B.

Re: Duke Nuken Forever .bin file

Posted: Thu Jun 23, 2011 2:18 pm
by XRaptor
Bleh, it is really very strange file. I thought I'm able to fully read it, but there is 1 problem and it is dynamic length of arrays. I normal way, there is always byte value for counts (files, sections, key-value pairs). But in this file it is 1st time I see more then 255 key-value pairs in section, so there is 2B value with count. Offset 0x1996, value 0x863. And it is problem. Because it is only 1 file with this, I'm not able to find out how to check if value is 1B or 2B and then count correct number. When reading string length, it is easy. It is dynamic value too, but it is not problem to test it. But with this count value, it is strange. I thing I will have to find more files with this values and check it or simply debug exe to findout reading mechanism.

Re: Duke Nuken Forever .bin file

Posted: Thu Jun 30, 2011 10:46 am
by XRaptor
Do you have PS3_Coalesced_int.bin file from full version? That one you posted is from demo.

Re: Duke Nuken Forever .bin file

Posted: Thu Jun 30, 2011 2:03 pm
by timartinelli
Friend,

here are. bin update the game, these are the files used in the game.