Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 31.04 memory pointers and all that jazz  (Read 1044 times)

clc02

  • Bay Watcher
    • View Profile
31.04 memory pointers and all that jazz
« on: May 21, 2010, 08:27:30 pm »

Wondering if anyone had the memory pointers for .04 for mods like reveal yet, (And if you had a better name for it :P).

The .03 version is up on the wiki page but it doesn't have anything for the .04 version yet, is it any set spot in the memory I could get to get the value?

(Bad description.  Hopefully this lets you know what I'm talking about)
The value like:
[4BC3C470]
dwarf_fortress=0x00A5ED94
map_data=0x016AE760
map_x_count=0x016AE780
map_y_count=0x016AE784
map_z_count=0x016AE788
map_data_designation_offset=0x29C

That are used to tell reveal where the memory is at to reveal the tiles, how would I go about finding new ones for the new versions?  Preferably someone could tell me where the memory, or how to find it, for future reference.
Logged
Only in dwarven culture is alcohol poisoning a death worthed investigating, while being impaled through several toes, a eye, and a thumb from a spiraling water[3] is not.  Because everyone knows, the only way a dwarf could get alcohol poisoning is if someone put poison into the alcohol.

Andux

  • Bay Watcher
  • [PREFSTRING:semicolons]
    • View Profile
    • Andux's DFWiki page
Re: 31.04 memory pointers and all that jazz
« Reply #1 on: May 21, 2010, 09:33:50 pm »

Code: [Select]
; .31.04 legacy
[4BEFDDE5]
dwarf_fortress=0x00e4d438
map_data=0x0172edbc
map_x_count=0x0172eddc
map_y_count=0x0172ede0
map_z_count=0x0172ede4
map_data_designation_offset=0x29C

; .31.04 SDL
[4BF014FA]
dwarf_fortress=0x00dcb8e8
map_data=0x016baac4
map_x_count=0x016baae4
map_y_count=0x016baae8
map_z_count=0x016baaec
map_data_designation_offset=0x29C

I've been trying to keep DFWiki's memory hacking page current with all offsets used by Reveal and Tile Edit.
Logged
(Do not sign anything.) -- Fell, Planescape: Torment

MADMAN · Save Tools · WTF Tools · Generated Raws Extractor · Tweak for 0.31–34.xx

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: 31.04 memory pointers and all that jazz
« Reply #2 on: May 21, 2010, 09:58:08 pm »

I got the same results, except for the dwarf_fortress value:

Code: [Select]
; .31.04
[4BF014FA]
dwarf_fortress=0x00A551C0
map_data=0x016BAAC4
map_x_count=0x016BAAE4
map_y_count=0x016BAAE8
map_z_count=0x016BAAEC
map_data_designation_offset=0x29C
Logged

Ratbert_CP

  • Bay Watcher
    • View Profile
    • The Enraged Primate
Re: 31.04 memory pointers and all that jazz
« Reply #3 on: May 21, 2010, 11:47:59 pm »

http://github.com/peterix/dfhack

There's been a concerted effort to keep the memory maps as up to date as possible...
Logged
Ratbert #CP#Z
"For FUN and HONOR!"