Results 1 to 6 of 6
I am working with program which gives me 5 files(vel1,vel2....) in binary format.How to open them,to get standard ascii output?...
- 06-19-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 41
problems with binary file
I am working with program which gives me 5 files(vel1,vel2....) in binary format.How to open them,to get standard ascii output?
- 06-19-2010 #2
There is no way to tell, unless you provide more information.
A binary file can be anything. mp3, jpg, elf, database,... even textfiles.
So,
- which program produces these five files?
- can you please run
- not sure, if this is what you want, but this will output the printable characters of a fileCode:file vel1
Code:strings vel1
You must always face the curtain with a bow.
- 06-19-2010 #3Just Joined!
- Join Date
- May 2010
- Posts
- 41
It is a fortran code,vel is fpr velocities output.
milenko@hp6830s:~/cz/fast/2d_example_linux/final1$ file vel1
vel1: data
milenko@hp6830s:~/cz/fast/2d_example_linux/final1$ strings vel1
milenko@hp6830s:~/cz/fast/2d_example_linux/final1$
Thanks for help!
- 06-24-2010 #4Just Joined!
- Join Date
- May 2010
- Posts
- 41
When I open vel1 with text editor I get something like this:
� � f . �
That is just part of the code.
Still do not have idea how to convert it to ascii format.
- 06-24-2010 #5
If this is complied code, then you need a appropiate decompiler.
And if optimization was turned on, it might not even be possible.You must always face the curtain with a bow.
- 06-24-2010 #6Just Joined!
- Join Date
- May 2010
- Posts
- 41
I will explain with more detils.The program FAST calculates velocities at specific nodes(points).The file vel1 is the output of compiled code.If I want to use code I must start from ASCII because that is the only way how I can present sources,receivers and parametrization.So I must convert this to ASCII somehow.
Irithori thanks for help.
Issue of decompiler is still unclear to me?


Reply With Quote
