Jump to content
am632

hex conversion help please

Recommended Posts

am632

Hi,

I have a file and I'm using the following code to get its hex and export it to a text file.

Local $FileOpen, $FileRead, $Hex

$FileOpen = FileOpen("C:\game.save",16)

$FileRead = FileRead($FileOpen)

FileClose($FileOpen)

;convert to hex
$Hex = Hex($FileRead)

FileWrite("C:\save.txt",$Hex)

My question is, once I have made my changes to the hex values i'm looking for, how do I convert it back to its original readable format?

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×