Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Renamed:Semi Working Dwarf Tweak for 39b  (Read 1385 times)

Aorik

  • Bay Watcher
    • View Profile
Renamed:Semi Working Dwarf Tweak for 39b
« on: July 15, 2008, 10:19:20 pm »

OK, Ive gotten dwarf tweak to work with reveal, enable magma, tile edit, and adjust start, anything relating to creatures Ive been unable to get to work, as i don't know what the corresponding addresses are in your list, they dont match any names in your list. anyhow here is a link to the semi working dwarf tweak, Note: i don't really have permission to post this, download it at your own discretion, i didn't really do any real work so credit all goes to rick and the other module developers, and you jifodus for finding the memory addresses i simply filled them into the text to the best of my ability.
http://dffd.wimbli.com/file.php?id=298
PS. Seems i accidentally included the working dwarf prospector to
_______________________________________________________________
I know, i know, the noobs impatient lol, However if anyone has figured these values out, any of them, i would be very very grateful. and then probably return to lurking.
« Last Edit: July 16, 2008, 02:04:20 pm by Aorik »
Logged

Stregone

  • Bay Watcher
    • View Profile
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #1 on: July 15, 2008, 10:24:27 pm »

Dwarf Foreman too  :'(
Logged

Sukasa

  • Bay Watcher
    • View Profile
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #2 on: July 15, 2008, 10:33:21 pm »

Doesn't Tweak, uh, have a utility to find those memory addresses?  Or it is broken in the new release?
Logged
<@TRS[DF]> I'll drive this place into the ground faster than Boatmurdered

Aorik

  • Bay Watcher
    • View Profile
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #3 on: July 15, 2008, 11:58:06 pm »

It does, but it seems to only find the address for magma building enable, thats all thats in the xml file for that module, wich doesnt help me with reveal and such
Logged

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #4 on: July 16, 2008, 12:23:20 pm »

Dwarf Foreman is on the wiki.

I have zero clue what the format for Tweak is, so I can't provide any support for it.

Other memory addresses/offsets can be found at http://www.dwarffortresswiki.net/index.php/User:Jifodus#v0.28.181.39a
Logged

Aorik

  • Bay Watcher
    • View Profile
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #5 on: July 16, 2008, 12:27:35 pm »

Thank you thank you thank you!
Logged

Aorik

  • Bay Watcher
    • View Profile
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #6 on: July 16, 2008, 12:44:30 pm »

Crap, i dont think the map data one is correct, ive setup reveal module as it should be ( almost 100% sure on that) and it crashes dwarf tweak. as matter of fact, i dont think any of your map addresses are correct, it seems that when i enter them with dwarf fortress running, and check the process with my hex editor, those offsets point to ff, no numbers or anything
« Last Edit: July 16, 2008, 12:48:21 pm by Aorik »
Logged

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #7 on: July 16, 2008, 01:28:35 pm »

Yeah, I didn't see the b in the title (nor did I refresh the DF home page so I didn't see the update there either), I do have the addresses for b now though.

These ought to work (I'm generating a world to test them now), and I've got a Tweak core.xml all set up for the test.

Update: I have done some initial tests, and they appear to work and be correct.
Code: [Select]
menu_state == 0x01323D58
focused_creature == 0x00D17C20
cursor_x == 0x009D7284
cursor_y == 0x009D7288
cursor_z == 0x009D728C
map_count_x == 0x01555040
map_count_y == 0x01555044
map_count_z == 0x01555048
map_data == 0x01555028
main_creature_vector == 0x015134F4
dwarf_race_id == 0x013201B8
starting_points == 0x00835243
starting_points_offset == 0x00000904
alt-starting_dwarves == 0x00836154
alt-language_vector == 0x01556FA8
words_vector == 0x01556E88
happiness_offset == 0x00000520
art_defacement_malus == 0x00850D35
skill_limit == 0x00831E13
start_game_data == 0x01331D98
creature_jobs == 0x00000474
creature_race == 0x0000008C
creature_x == 0x00000094
creature_y == 0x00000096
creature_z == 0x00000098
creature_id == 0x000000F4
dwarf_civ_id == 0x013201AC
creature_civ == 0x00000100
creature_bodyparts == 0x000002FC
alt-creature_pain == 0x00000364
creature_exhaustion == 0x00000368
creature_hunger == 0x0000036C
creature_thirst == 0x00000370
creature_drowsiness == 0x00000374
creature_strength == 0x00000438
creature_agility == 0x0000043C
creature_toughness == 0x00000440
creature_skills == 0x00000444
creature_total_xp == 0x000004DC
dwarf_fortress == 0x009633E4
pe_timestamp == 0x00400108
pe_timestampv == 0x487C9338
dwarf_foreman_check == 0x01A16957
« Last Edit: July 16, 2008, 01:31:08 pm by Jifodus »
Logged

Aorik

  • Bay Watcher
    • View Profile
Re: Has Anyone Figured the memory values for Dwarf tweak on 39b?
« Reply #8 on: July 16, 2008, 02:01:09 pm »

OK, Ive gotten dwarf tweak to work with reveal, enable magma, tile edit, and adjust start, anything relating to creatures Ive been unable to get to work, as i don't know what the corresponding addresses are in your list, they dont match any names in your list. anyhow here is a link to the semi working dwarf tweak, Note: i don't really have permission to post this, download it at your own discretion, i didn't really do any real work so credit all goes to rick and the other module developers, and you jifodus for finding the memory addresses i simply filled them into the text to the best of my ability.
http://dffd.wimbli.com/file.php?id=298 
PS. Seems i accidentally included the working dwarf prospector to
Logged

Rick

  • Bay Watcher
  • Engineer
    • View Profile
Re: Renamed:Semi Working Dwarf Tweak for 39b
« Reply #9 on: July 16, 2008, 07:09:13 pm »

Jifodus linked me to IRC on some Tweak formatted config, here is some test data for Tweak for 39a and 39b. I havn't tested it all, I'm busy with a project and can't divert any time to DF right now.

http://df.pipboy.us/tweak/testdata.zip
Logged