Indigo Rose Software

Go Back   Indigo Rose Software Forums > Indigo Rose Software > General Chat

Reply
 
Thread Tools Display Modes
  #1  
Old 3 Weeks Ago
gladius gladius is offline
Forum Member
 
Join Date: Feb 2009
Posts: 30
Grin Decode an unknow file format

Hello guys,

I'm very curious on how a skilled coder decode and create a program for an unknow file format?

Thanks, Gladius.
Reply With Quote
  #2  
Old 3 Weeks Ago
Scriptonite's Avatar
Scriptonite Scriptonite is offline
Indigo Rose Customer
 
Join Date: Oct 2009
Location: 127.0.0.1
Posts: 41
Kind of a vague question. I don't consider myself a skilled programmer but there are lots of resources for unknown file types. I prefer http://www.openwith.org/ for unknown extensions. It gives you a new option in your right click.

If you mean making your own file format for your own software see this thread:
http://www.indigorose.com/forums/sho...tom+extensions
__________________
User error: replace user and press any key to continue.
Reply With Quote
  #3  
Old 3 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Quote:
Originally Posted by gladius View Post
Hello guys,

I'm very curious on how a skilled coder decode and create a program for an unknow file format?

Thanks, Gladius.
Are you talking a single file as a 'data file'? if so; there's a program called DataJunction that can help identify.

If you just want to "id" a file -- google for "trid".

You, at the very least, need to know what KIND of file you're looking at, before you can start analyzing it's parts.
__________________
Reply With Quote
  #4  
Old 2 Weeks Ago
gladius gladius is offline
Forum Member
 
Join Date: Feb 2009
Posts: 30
Grin

Let me explain it better:

Example: There is a new program with a new extension, How can another coder make a program to read that new file extension without knowing anything about it? How can he decode all the data from the file?



And another doubt: How can a person make a sound player from the beggining?, explaning bettter, How to make a sound player program that read *.mp3 files without the need of pre-built DLL's? How can a person make his own mp3 DLL player? Does he need to code in assembly?
Reply With Quote
  #5  
Old 2 Weeks Ago
Sakuya's Avatar
Sakuya Sakuya is online now
Forum Member
 
Join Date: Oct 2009
Posts: 115
I'm not sure this magical script that can decode any format exists.
Reply With Quote
  #6  
Old 2 Weeks Ago
Ulrich's Avatar
Ulrich Ulrich is offline
Indigo Rose Staff Member
 
Join Date: Apr 2005
Location: Sao Paulo, Brazil
Posts: 823
Quote:
Originally Posted by gladius View Post
Example: There is a new program with a new extension, How can another coder make a program to read that new file extension without knowing anything about it? How can he decode all the data from the file?
It is impossible to read or decode a file when the file structure is unknown.

Quote:
And another doubt: How can a person make a sound player from the beggining?, explaning bettter, How to make a sound player program that read *.mp3 files without the need of pre-built DLL's? How can a person make his own mp3 DLL player? Does he need to code in assembly?
MP3 is a file format developed and patented by the Fraunhofer Institute, and you need to pay for a license to decode and play back files in this format. If you don't want to pay for a license, use a open standards file format, like OGG.

Ulrich
__________________
Reply With Quote
  #7  
Old 2 Weeks Ago
Scriptonite's Avatar
Scriptonite Scriptonite is offline
Indigo Rose Customer
 
Join Date: Oct 2009
Location: 127.0.0.1
Posts: 41
Quote:
Originally Posted by gladius View Post
Example: There is a new program with a new extension, How can another coder make a program to read that new file extension without knowing anything about it? How can he decode all the data from the file?
You need to open the file in it's native application and analyze how the program handles it and processes the file. There is no "easy way" that I am aware of to accomplish this. Even with all the right tools it can still be an extensive, tedious process.


Quote:
I'm not sure this magical script that can decode any format exists.
Would be nice though wouldn't it...............how much less aggravating would "new" Microsoft formats be.........................
__________________
User error: replace user and press any key to continue.
Reply With Quote
  #8  
Old 2 Weeks Ago
gladius gladius is offline
Forum Member
 
Join Date: Feb 2009
Posts: 30
Hello guys,

I really don't want to make something like that, I'm only curios on how to make something like that. Like, If I want to make a new program or DLL to play .OGG song files, What Will I need to do that? Should I know a low level language? Is there any possible way to do that without knowing how to decode that?. And Whats is all that unknow symbols when you open any uknow file with notepd?

Sorry for my noobs questions, but I'm very curios about that things.

Thanks, Gladius

**Another thing: How hard is to to make a compiler???

Last edited by gladius; 2 Weeks Ago at 07:25 PM.
Reply With Quote
  #9  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
There is no way to "decode an unknown file format"

For instance -- let's say I come out with "josh's image format" .JIF
I designed it -- how on earth can you decode it since it's unknown to you? youcan't. You need to KNOW the image format to decode it.

-josh
Another thing: don't hijack threads, even if they're your own.
__________________
Reply With Quote
  #10  
Old 2 Weeks Ago
gladius gladius is offline
Forum Member
 
Join Date: Feb 2009
Posts: 30
I'm only curious, don't need to be rude.
Reply With Quote
  #11  
Old 2 Weeks Ago
Scriptonite's Avatar
Scriptonite Scriptonite is offline
Indigo Rose Customer
 
Join Date: Oct 2009
Location: 127.0.0.1
Posts: 41
Not be be off putting, but I don't think anyone here is going to teach you to be a hacker. This is place to talk about creating new and useful software (and related items), not a discussion on how to tear someones work apart. I'm new to this forum, and I don't mean to speak out of turn, but pay your dues man and learn to code. Get some books, take some classes, use some free software, and learn. If it was easy and automatic everyone would do it and no one would have their own software or proprietary files. There are a lot of superb coders on this forum who have more than paid their dues and help people on here because of their love of programming, not because they have to. And they want to see people with the same passion to learn and help others, not people just looking for hand outs. Otherwise it starts to feel like a waste of time and people burn out. Then it's ruined for everybody. Just my 2 cents for what it's worth.
__________________
User error: replace user and press any key to continue.
Reply With Quote
  #12  
Old 2 Weeks Ago
Sakuya's Avatar
Sakuya Sakuya is online now
Forum Member
 
Join Date: Oct 2009
Posts: 115
Quote:
Originally Posted by gladius View Post
Hello guys,

I really don't want to make something like that, I'm only curios on how to make something like that. Like, If I want to make a new program or DLL to play .OGG song files, What Will I need to do that? Should I know a low level language? Is there any possible way to do that without knowing how to decode that?. And Whats is all that unknow symbols when you open any uknow file with notepd?

Sorry for my noobs questions, but I'm very curios about that things.

Thanks, Gladius

**Another thing: How hard is to to make a compiler???
The 'unknown symbols' when you open an 'unknown' file is actually binary.
Reply With Quote
  #13  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Quote:
Originally Posted by gladius View Post
I'm only curious, don't need to be rude.
Sorry if you found my response(s) rude -- I didn't mean to be rude; please tell me what was rude so I may avoid rudeness in the future.
__________________
Reply With Quote
  #14  
Old 2 Weeks Ago
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
It's called "reverse engineering" and it is extremely difficult.

In some parts of the world (most notably the U.S.) it may even be illegal, depending on what you're attempting to reverse engineer.

Generally you can't just take a data file and reverse engineer it without knowing something about how it is used. But if you have access to the software that uses it, you can use advanced tools to examine every action taken upon it and figure it out.
__________________
--[[ Indigo Rose Software Developer ]]

Last edited by Lorne; 2 Weeks Ago at 01:01 AM.
Reply With Quote
  #15  
Old 2 Weeks Ago
gladius gladius is offline
Forum Member
 
Join Date: Feb 2009
Posts: 30
Hello Guys,

I don't want to hack anything, I was curios, because I saw a DLL that can play a lot of sound formats and I was curious how they do that, because when we make a program that play music in AMS we only gave the command to play it, not the whole code to make the app recognize the format and interpret all the data on it.

Quote:
The 'unknown symbols' when you open an 'unknown' file is actually binary.
Thanks

Quote:
Sorry if you found my response(s) rude -- I didn't mean to be rude; please tell me what was rude so I may avoid rudeness in the future.
I told before that I was a noob and I don't have a very good english, sometimes I can missunderstood. nevermind that and thanks for helping.

Quote:
It's called "reverse engineering" and it is extremely difficult.
I know it, but this is not what I meant.
Reply With Quote
Reply

Tags
decode unknow format

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 08:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software