Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Accessing Memory  (Read 688 times)

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Accessing Memory
« on: June 12, 2011, 01:28:21 am »

So, I know the basic answer, "Using DFHack" but that doesn't tell me much.  I want to poke at being able to make a utility, but I have no real idea how to access or modify DF's memory.  Any easy rundown of how to go about grabbing data?

Malecus

  • Bay Watcher
    • View Profile
Re: Accessing Memory
« Reply #1 on: June 12, 2011, 01:33:09 am »

While I'm no codemaster, reading back on this sort of subject has given me the singular impression there isn't an easy way.  At least, not compared to editing the raws.

How good is your C++?
Logged

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: Accessing Memory
« Reply #2 on: June 12, 2011, 01:35:00 am »

Base-level at best.  I'm good at the code part, the if's and for's and crazy logic, but I haven't messed around with using C++ to access system tools or other things.  I'm a fast learner though, so any tidily coded example might be enough for me to figure it out...