Jump to content
Sign in to follow this  
AfterBurn

Help with .exe & .data file

Recommended Posts

AfterBurn

Hello,

I have made script that reads different addresses and returns the value. So what I want to do is store the addresses in a .data file because I change the addresses often and compile the script so it a .exe file. I got all this done but I can't seem to figure out how to make the .exe read the .data file for the addresses.

; Example <==
_MemoryRead($Address1, $ID, $Value, "byte4")
Where $Address1 = 0x00000000 is stored on the .data file. I have tried FileRead(@ScriptDir, "filename.data") but it says all my address $Names are used before being declared. Help with reading the .data file. Thank you.

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.