Hey guys I'm very new to programming but I have a unique problem that sprang up. I want to read a .bin file out of a updater program. There is a .exe that uses 3 .bin files for updating but I want to view or change the .bin files because they are a direct tune for my truck.
Anyway if you can help me I can send you one of the bin files and see if what I'm asking is possible.
5 replies to this topic
#1
Posted 20 August 2011 - 09:31 AM
|
|
|
#2
Posted 20 August 2011 - 11:22 AM
Those files probably include all kinds of data, not just music. Also, the audio that is included in them could be in almost any format. It may be in a compressed format, or not.
#3
Posted 20 August 2011 - 11:41 AM
WingedPanther said:
Those files probably include all kinds of data, not just music. Also, the audio that is included in them could be in almost any format. It may be in a compressed format, or not.
They arent music or video. These files change the programming on the cars computer to enhance performance, mileage etc.
But how would I start to figure out how the data is used? Compile it in c++ ?? Any help is appreciated.
#4
Posted 20 August 2011 - 03:49 PM
In that case, it's already compiled. What it does will depend on the firmware it's running on.
#5
Posted 23 August 2011 - 05:01 AM
You're going to need to decompile the .bin files to some readable(-ish) format. If it are compiled, non-compressed bin files you can try to load them up in a debugger and by that try to read asm. Or load them up in a HEX-editor and see if you can find readable strings giving away a clue as to what it is.
#6
Posted 23 August 2011 - 06:17 AM
The extension ".bin" typically means "binary". (I use italics on "typically" because there's always the odd case.) This is what's known as unformatted data in the I/O world. In other words, you're not likely to be able to make any sense of the data without additional external documentation.
When programs store their data in binary format, they are storing the raw 1's and 0's of their program variables onto the hard drive. To complicate matters, programs may store any arbitrary variables at any arbitrary offset within the file, and the data could be compressed, encoded, or otherwise manipulated. There is no universal format governing the .bin extension, so there's no way to say, "I have a .bin file," and automatically know the structure of the file, especially if what you're trying to do is an undocumented "feature" (hack) of the original program.
Getting into that file to read data would require either documentation from the software's author on the structure of the file, or extensive analysis of the program using a debugger to find out what values it's writing and where it's writing them. Or you could try Google to see if anyone else has done what you're trying to do before.
It would offer a bit more context if you mentioned the name of the software, and what specifically you're trying to do with it. Perhaps someone familiar with it could give you some tips.
When programs store their data in binary format, they are storing the raw 1's and 0's of their program variables onto the hard drive. To complicate matters, programs may store any arbitrary variables at any arbitrary offset within the file, and the data could be compressed, encoded, or otherwise manipulated. There is no universal format governing the .bin extension, so there's no way to say, "I have a .bin file," and automatically know the structure of the file, especially if what you're trying to do is an undocumented "feature" (hack) of the original program.
Getting into that file to read data would require either documentation from the software's author on the structure of the file, or extensive analysis of the program using a debugger to find out what values it's writing and where it's writing them. Or you could try Google to see if anyone else has done what you're trying to do before.
It would offer a bit more context if you mentioned the name of the software, and what specifically you're trying to do with it. Perhaps someone familiar with it could give you some tips.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









