| View previous topic :: View next topic |
| Author |
Message |
dany25
Joined: 08 Apr 2006 Posts: 37 Location: France
|
Posted: Wed Jun 06, 2007 10:24 Post subject: research tool converting to float32 |
|
|
| i'm looking fo a tool can automaticaly convert an entire file into float32 values? somebody can found a tool can do it? |
|
| Back to top |
|
 |
mirex Administrator


Joined: 15 Oct 2005 Posts: 102 Location: SVK
|
Posted: Thu Jun 07, 2007 11:15 Post subject: |
|
|
Hi
what do you mean by 'converting entire file' ? Is it for converting text file with numbers into binary float32 values, or the opposite ?
I have created a tool for viewing binary files in their numeric form, you can download it at http://mirex.mypage.sk/FILES/tools.rar . Its called 'nuview' and its a console tool (it has to be run from console), and it looks like this:
its a crappy, hard to use tool. So I suggest your to do what would be alot easier - to write a short program that would read the file and do what you want it to do. It would be a short program.
In case you decide to use the nuview, then here is how you work with it:
nuview.exe <file you want to view>
arrows left/right - move by 1 byte
arrows up/down - move by 16 bytes
escape - quit |
|
| Back to top |
|
 |
dany25
Joined: 08 Apr 2006 Posts: 37 Location: France
|
Posted: Fri Jun 08, 2007 14:14 Post subject: |
|
|
| it's for reading an binary file and save a txt file that's contain all float values of the binary file |
|
| Back to top |
|
 |
Alhexx Administrator


Joined: 28 Jun 2005 Posts: 59 Location: Dortmund, Germany
|
Posted: Sun Jun 10, 2007 0:06 Post subject: |
|
|
Any good hex-editor can display binary data in almost every format you want.
My favorite one is Hex Workshop.
If you want a freeware hex-editor which can do this job, too, you should take a look at Tiny Hexer. On the first screenshot you can see the data display panel.
If you do not want to display a file, but convert it to text format, then you'll need a little tool for that.
Since it is not much work, it did it for you (source included):
http://www.alhexx.com/stuff/float2txt.rar
- Alhexx |
|
| Back to top |
|
 |
dany25
Joined: 08 Apr 2006 Posts: 37 Location: France
|
|
| Back to top |
|
 |
|