18 April 2005, 11:16 | #1 |
Moderator
|
HEX --> DEC Converter
i´m searching for a program that converts Hex Words from a file to Dec Words to another file...is there anything already released...??
it doesn´t depends on WIN32 or Amiga application... |
18 April 2005, 11:56 | #2 |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,187
|
I don't follow. Let's say you have an input file with 4 words (8 bytes) with say $0005 $000a $0011 $0018 (decimal values 5, 10, 17, 24). What exactly do you want the output file to contain? Is the input file binary or a text file with the values etc? What format do you want the output file?
I think you need to give a lot more information before anyone can really help. You can always use the program "Programmers Calculator" on the Amiga or the Calculator in Windows to convert between hex and decimal if you don't have to convert too many values. |
18 April 2005, 12:05 | #3 |
Registered User
Join Date: Aug 2004
Location: Czech republic
Posts: 580
|
you can import it to excel and convert values, then export them back to text file
|
18 April 2005, 12:18 | #4 |
Registered User
Join Date: Jun 2002
Location: .
Age: 48
Posts: 5,562
|
if you need a whole program there is HexWorkshop that comes with an indipendent little converter; on Amiga there is Hex by Nicola Salmoria, a very cool little editor
|
18 April 2005, 13:37 | #5 |
Moderator
|
i like to have them in that way:
take first word from a binary file, convert the hex value (mostly shown in hexeditors) and write it back to a new file as decimal... take second value and follow the way above.... the destination file must be in TXT format.. this should be done with the whole source file like codetapper said before: e.g. sourcefile: 0005000a00110018 dest. file: 0005,0010,0017,0024 |
02 May 2005, 12:09 | #6 |
Senior Member
Join Date: Jun 2001
Location: Germany
Posts: 1,666
|
Why don't you just take BASIC and write such a tool on your own? I mean, this is *really* easy, even if you can't code.
|
02 May 2005, 21:18 | #7 |
Moderator
|
errr..i didn´t need such a program but i need another one...
and i believe ore already know that you can write such a toolin VB... let me explain that in german, english could be too difficult... das programm müßte erstens folgendes können: 1. eine beliebige bitmap datei mit einer farbtiefe von 8 bit nehmen 2. aus dieser geladenen bitmap "kacheln" in einem beliebigen format (quadratisch) schneiden 3. ein savestate von winuae laden und alle einzelnen "kacheln" statt der zahlen darstellen.. ok,etwas kompliziert aber ich denke du weißt, was ich meine... |
02 May 2005, 21:27 | #8 |
Senior Member
Join Date: Jun 2001
Location: Germany
Posts: 1,666
|
(I reply in english so everyone can follow)
That sounds quite different from your original post. I don't know what you mean with the third item: the program should be able to load a save state and then display the tiles instead of the numbers ? But where's the data coming from that tells the program which tile belongs to which number ? |
02 May 2005, 21:38 | #9 |
Moderator
|
ok, with "numbers" i mena following:
e.g take tile no. 1 and change every "byte,word,longword" that appears in the savestate with the value "1" with this tile...you understand..??? i think you know how gamemaps are stored in amiga games...somewhere in memory there is an array that stores the adresses to each maptile and if it is possible to replacing each value with a maptile is wonderful to rip gamemaps from each game... yes i know it a really difficult way, but possible... with some games it is already possible to load the raw level data where all maptiles could be replaced... |
03 May 2005, 11:23 | #10 |
Senior Member
Join Date: Jun 2001
Location: Germany
Posts: 1,666
|
I understood that, but you still have to tell the program which tile belongs to which number. Or should it always be ordered ? (1 = first tile, 2 = second tile, and so on...)
Let me see if I get some spare time this week, maybe I can rig up something useful. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Little hex editing help please | Aria | support.Games | 4 | 16 June 2011 20:20 |
Hex Comp | mai | support.Other | 2 | 28 May 2010 20:00 |
Hex Editor | Retro1234 | request.Other | 9 | 24 October 2006 11:03 |
Hex to Decimal | -Rob- | Coders. General | 8 | 21 June 2006 19:22 |
Hex Editor Help | misguided_fool | request.Apps | 5 | 22 March 2006 09:53 |
|
|