English Amiga Board


Go Back   English Amiga Board > Requests > request.Apps

 
 
Thread Tools
Old 18 April 2005, 11:16   #1
Joe Maroni
Moderator
 
Joe Maroni's Avatar
 
Join Date: Feb 2003
Location: Germany
Age: 44
Posts: 1,303
Send a message via MSN to Joe Maroni
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...
Joe Maroni is offline  
Old 18 April 2005, 11:56   #2
Codetapper
2 contact me: email only!
 
Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
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.
Codetapper is offline  
Old 18 April 2005, 12:05   #3
wlcina
Registered User
 
wlcina's Avatar
 
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
wlcina is offline  
Old 18 April 2005, 12:18   #4
Marcuz
Registered User
 
Marcuz's Avatar
 
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
Marcuz is offline  
Old 18 April 2005, 13:37   #5
Joe Maroni
Moderator
 
Joe Maroni's Avatar
 
Join Date: Feb 2003
Location: Germany
Age: 44
Posts: 1,303
Send a message via MSN to Joe Maroni
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
Joe Maroni is offline  
Old 02 May 2005, 12:09   #6
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,645
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.
derSammler is offline  
Old 02 May 2005, 21:18   #7
Joe Maroni
Moderator
 
Joe Maroni's Avatar
 
Join Date: Feb 2003
Location: Germany
Age: 44
Posts: 1,303
Send a message via MSN to Joe Maroni
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...
Joe Maroni is offline  
Old 02 May 2005, 21:27   #8
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,645
(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 ?
derSammler is offline  
Old 02 May 2005, 21:38   #9
Joe Maroni
Moderator
 
Joe Maroni's Avatar
 
Join Date: Feb 2003
Location: Germany
Age: 44
Posts: 1,303
Send a message via MSN to Joe Maroni
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...
Joe Maroni is offline  
Old 03 May 2005, 11:23   #10
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,645
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.
derSammler is offline  
 


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

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

Forum Jump


All times are GMT +2. The time now is 17:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07754 seconds with 13 queries