Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » What do you know about the .bin format
What do you know about the .bin format [message #265624] Tue, 12 June 2007 14:46 Go to next message
jamiejrg is currently offline  jamiejrg
Messages: 403
Registered: February 2007
Location: Canada
Karma: 0
Commander
Hey guys, not sure if this thread would belong in the the general chat or mod chat but whatever.

Is there anyone here that knows anything about .bins? I know they are disk images like iso but I need to extract a certian one.

What i'm trying to do.

My goal is to fully translate monster hunter portable for the psp. I'm pretty sure i'm looking for some sort of string file and i'm pretty sure it's contained in the game's munge file. The munge file in question is called DATA.BIN. I have tried all the programs at my disposal but none have been able to extract it. I have used magicISO and WINISO with no avail. The people that i have been talking to tell me that i would have to make myself a game specific extractor.

The Extractor.

For those of you who aren't as well versed in the psp. The storage format is called a UMD disk (universal media disk). I have already extracted the UMD's contense and within said contense is the DATA.BIN. Any ideas where to start with this thing?

Jamie


cncnick13 wrote on Fri, 24 August 2007 23:39

ok im using my dektop right now


cncnick13 wrote on Sun, 26 August 2007 00:04

umm whats the edit button
Re: What do you know about the .bin format [message #265627 is a reply to message #265624] Tue, 12 June 2007 15:06 Go to previous messageGo to next message
Yrr is currently offline  Yrr
Messages: 556
Registered: October 2006
Location: Germany
Karma: 0
Colonel

In general .bin files contain any binary data. This could be for example a disk image, data in a game specific format (as I assume it here) or even binary garbage!
What are the first 4 bytes within the .bin file? They could denote a file type.


Re: What do you know about the .bin format [message #265628 is a reply to message #265624] Tue, 12 June 2007 15:10 Go to previous messageGo to next message
Ryu is currently offline  Ryu
Messages: 2833
Registered: September 2006
Location: Liverpool, England.
Karma: 0
General (2 Stars)

To open a .bin, You need it's .cue file.

You can open them by mounting the image to a drive, Uhh, Demon tools or Alcohol 120% can handle them.


Presence is a curious thing, if you think you need to prove it... you probably never had it in the first place.
Re: What do you know about the .bin format [message #265629 is a reply to message #265624] Tue, 12 June 2007 15:10 Go to previous messageGo to next message
jamiejrg is currently offline  jamiejrg
Messages: 403
Registered: February 2007
Location: Canada
Karma: 0
Commander
How would I go about finding the first few bytes out? Hex editor?

*edit* Alex that won't work in this situation. If it was an actual disk image then yes but i'm pretty sure this is just an archive deal.


cncnick13 wrote on Fri, 24 August 2007 23:39

ok im using my dektop right now


cncnick13 wrote on Sun, 26 August 2007 00:04

umm whats the edit button

[Updated on: Tue, 12 June 2007 15:14]

Report message to a moderator

Re: What do you know about the .bin format [message #265643 is a reply to message #265624] Tue, 12 June 2007 15:46 Go to previous messageGo to next message
Romaner is currently offline  Romaner
Messages: 355
Registered: January 2007
Location: edmonton, canada
Karma: 0
Commander
if i remember correctly you can take the .bin and the .cue files place them in the same folder then you can open them with poweriso just select them both then click enter...
Re: What do you know about the .bin format [message #265656 is a reply to message #265624] Tue, 12 June 2007 16:17 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
www.filext.com
Specific: http://filext.com/file-extension/bin

A file that contains other files, but is not a folder. Filext lists links to open these types of files although it is maninly usd by the program in question, and can only be used by the program in question. All binary files are encoded different ways and unless you know how to decode them there's a very slim chance that you'd open it.
Re: What do you know about the .bin format [message #265740 is a reply to message #265643] Tue, 12 June 2007 18:34 Go to previous messageGo to next message
jamiejrg is currently offline  jamiejrg
Messages: 403
Registered: February 2007
Location: Canada
Karma: 0
Commander
Romaner wrote on Tue, 12 June 2007 17:46

if i remember correctly you can take the .bin and the .cue files place them in the same folder then you can open them with poweriso just select them both then click enter...


There is no cue file involved.

Mero, nice site and thank you, but i'm affraid it doesn't help in the specific area that i need.

Jamie


cncnick13 wrote on Fri, 24 August 2007 23:39

ok im using my dektop right now


cncnick13 wrote on Sun, 26 August 2007 00:04

umm whats the edit button
Re: What do you know about the .bin format [message #265766 is a reply to message #265740] Tue, 12 June 2007 21:30 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
Emulators use those files to play games don't they?

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: What do you know about the .bin format [message #265831 is a reply to message #265624] Wed, 13 June 2007 02:28 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Not all.

Many use .rom and .zip, some n64 ones use .n64 and .z64.

.bin is like .dat. I have a few .dat files around and just because XCC can open always.dat doesn't mean it can open all .dat files.

Unless you know what program made and compiled this file it's very hard to open it and extract the files in working condition.
Re: What do you know about the .bin format [message #265948 is a reply to message #265831] Wed, 13 June 2007 14:41 Go to previous messageGo to next message
jamiejrg is currently offline  jamiejrg
Messages: 403
Registered: February 2007
Location: Canada
Karma: 0
Commander
The Merovingian wrote on Wed, 13 June 2007 04:28

Not all.

Many use .rom and .zip, some n64 ones use .n64 and .z64.

.bin is like .dat. I have a few .dat files around and just because XCC can open always.dat doesn't mean it can open all .dat files.

Unless you know what program made and compiled this file it's very hard to open it and extract the files in working condition.


That's exactly it in a nut shell. So basicly i need to find someone that can reverse engi something up for it.

Btw, i have only seen a few emulators that use bin/cue format, most use iso. The fist one i was dreamcast emu, and the second was a ps1 emu.

*edit* is there anything i can do to try and find stuff out about the file itself? Like observe through hex edit etc?

also, anyone know of a good free hex editor.. my trial ran out.

Jamie


cncnick13 wrote on Fri, 24 August 2007 23:39

ok im using my dektop right now


cncnick13 wrote on Sun, 26 August 2007 00:04

umm whats the edit button

[Updated on: Wed, 13 June 2007 14:42]

Report message to a moderator

Re: What do you know about the .bin format [message #265973 is a reply to message #265624] Wed, 13 June 2007 17:01 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

I can say with a fair amount of certainty that it is not a bin/cue format bin file. It is most probably a proprietary file that contains game code, graphics, sounds etc. The game is coded such that it can access the file. Without having the source to the game, you are pretty much out of luck. If it was on a PC, you could at least do some debugging and whatnot to determine the storage layout. Your best and only hope is to post on some emulator newsgroups, and find someone who has a psp dev environment that would be willing to try to hack it for you.
Re: What do you know about the .bin format [message #265977 is a reply to message #265624] Wed, 13 June 2007 17:17 Go to previous messageGo to next message
jamiejrg is currently offline  jamiejrg
Messages: 403
Registered: February 2007
Location: Canada
Karma: 0
Commander
Thanks a bunch Blazer. That actualy adds a significant amount of clarity to the situation.

*edit* So, since the psp actualy is able to navigate and open resources within the .bin during game play this also means that it should be able to extract the contense as well right? I'm thinking an app that will run on the psp would do the trick?

Thanks again guys,
Jamie


cncnick13 wrote on Fri, 24 August 2007 23:39

ok im using my dektop right now


cncnick13 wrote on Sun, 26 August 2007 00:04

umm whats the edit button

[Updated on: Wed, 13 June 2007 17:19]

Report message to a moderator

Re: What do you know about the .bin format [message #267540 is a reply to message #265624] Wed, 20 June 2007 12:15 Go to previous messageGo to next message
ericlaw02
Messages: 185
Registered: June 2003
Location: Hong Kong
Karma: 0
Recruit
jamiejrg wrote on Wed, 13 June 2007 05:46

My goal is to fully translate monster hunter portable for the psp. I'm pretty sure i'm looking for some sort of string file and i'm pretty sure it's contained in the game's munge file. The munge file in question is called DATA.BIN. I have tried all the programs at my disposal but none have been able to extract it. I have used magicISO and WINISO with no avail. The people that i have been talking to tell me that i would have to make myself a game specific extractor.


There was an extractor for MHP2 (or MHF2...whatever) IIRC...or you're trying to extract MHP1?
Re: What do you know about the .bin format [message #267603 is a reply to message #265624] Wed, 20 June 2007 19:03 Go to previous message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

Okay let me try another way of explaning it. Let's say you were writing a program and needed to store various chunks of data. Images, sound files, executables, etc. You don't want to use an already existing format like zip or rar, because then people could just open the file and dig through the contents.

So, you create a proprietary storage container, which is a fancy way of saying, "a file whose format you made up". Let's say you decide that the first 512 bytes will contain a list of the file names, along with an address (beginning byte) of the actual file locations. So using this, you can then make a file that is just a bunch of files all concatenated together, and only your program knows how to read the "directory" header and access them.

Crude Example:
0000 someimage.jpgFF0039FFsomesound.wavFF0069FF <-"directory"
0039 010101010101010101010101010101010101010101 <-image data
0069 111111111111100000001111110000011000011110 <-sound data


Looking at the example, you should be able to see how a program could be coded so that it read the "directory", which is just the beginning of the bin file, and using the provided pointers, it knows that it can find the data for someimage.jpg at offset 0039, and the data for the soundfile somesound.wav at offset 0069.

Note this is a VERY crude and basic example. In reality you would also need to know where the file ends as well as begins (or have some sort of seperator). Also, most binary formats are not simple as this, as the program could very well have the "directory" hard coded, so the bin file is nothing but a bunch of data, and the program knows which bytes to pull out for whichever file or data it needs.

This should help you see that there is no way you can just go find "an app" that can magically read a proprietary binary file format that the game designers made up.

Your only hope is that someone has already figured out the format, and written an extractor for it (probably not as you would have found it by now), or if you can find someone who has a development version of the psp (they exist), and can essentially debug the game and thus learn the storage format. That's a heck of a long-shot, so I wouldn't get your hopes up.

In short if you cant find an extractor via Google or asking around on news groups and forums, you are out of luck.

[Updated on: Wed, 20 June 2007 19:08]

Report message to a moderator

Previous Topic: Zmatrix
Next Topic: Safari
Goto Forum:
  


Current Time: Thu Nov 14 01:36:44 MST 2024

Total time taken to generate the page: 0.00952 seconds