Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 81 82 [83] 84 85 ... 87

Author Topic: Dwarf Therapist v42.1.5 | DF 50.12  (Read 399656 times)

Codedependent

  • Escaped Lunatic
  • G'day you beautiful bastards!
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1230 on: June 23, 2023, 10:31:42 pm »

Hi, first of all - love DT, thanks for your work on it! Second, how does one create a memory layout file for DT? I've finally bitten the bullet and am trying out the experimental branch, but absolutely hate not having DT.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1231 on: June 24, 2023, 03:15:35 am »

You need DFHack, run the "devel/export-dt-ini" script, it will generate a "therapist.ini" file in DF root folder.
Logged

Codedependent

  • Escaped Lunatic
  • G'day you beautiful bastards!
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1232 on: June 24, 2023, 05:37:34 pm »

Thanks for the reply :)  FYI: That script chucks errors, after forcing it to run (unavailable). Just checked with the DF Hack folks and they said it hasn't been updated since 47.

[DFHack]# devel/export-dt-ini
...mmon\Dwarf Fortress/hack/scripts/devel/export-dt-ini.lua:47: attempt to perform arithmetic on a nil value (local 'addr')
stack traceback:
        ...mmon\Dwarf Fortress/hack/scripts/devel/export-dt-ini.lua:47: in local 'address'
        ...mmon\Dwarf Fortress/hack/scripts/devel/export-dt-ini.lua:132: in local 'script_code'
        ...team\steamapps\common\Dwarf Fortress\hack\lua\dfhack.lua:830: in function 'dfhack.run_script_with_env'
        (...tail calls...)
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1233 on: June 24, 2023, 06:05:55 pm »

It has been updated in February.

Line 132, replace 'game_extra' by 'game'. That should do it, if there was no other name change.
Logged

Codedependent

  • Escaped Lunatic
  • G'day you beautiful bastards!
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1234 on: June 24, 2023, 07:23:03 pm »

Thanks, that did it!
Logged

Codedependent

  • Escaped Lunatic
  • G'day you beautiful bastards!
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1235 on: June 25, 2023, 02:35:21 am »

Step by step instructions to create the memory map file required for Dwarf Therapist to work with experimental or beta builds (step 2 won't be required once DF Hack team fix the script):

1. Install DF Hack if not already installed
2. Edit the script "dwarf fortress base folder"\hack\scripts\devel\export-dt-ini.lua replacing game_extra with game on line 132. Original line is address('external_flag',globals,'game_extra','external_flag')
3. Run devel/export-dt-ini in DF Hack (will have to run it twice, as it is "unavailable"), which creates an ini file in the base DF directory
4. Copy that file into your dwarf therapist folder in "dwarf therapist base folder"\data\memory_layouts\windows (or whatever platform you're on) folder
5. Not sure if this is required, but I did it: rename the ini file to the version name contained within it. Line three in the file I just created was version_name=v0.50.08-sdl2-5 win64 STEAM so I renamed the ini file v0.50.08-sdl2-5 win64 STEAM.ini
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1236 on: June 25, 2023, 02:04:34 pm »

In the next version of DFHack, the script has been updated to correct the "game_extra" error and will no longer need to be run twice.

Reminder that if you see a script that works but needs to be run twice because it is marked as "unavailable" (or if you fix the script so that it works), please either remove the "unavailable" tag from the docs or let us know so we can do it. Thanks!
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Viax

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1237 on: June 29, 2023, 11:22:58 am »

Any updates for 50.09? :>
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1238 on: June 29, 2023, 08:51:40 pm »

The instructions above should work to generate a memory layout if you have DFHack.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1239 on: June 30, 2023, 08:43:54 am »

Experimental memory layouts:
Logged

Codedependent

  • Escaped Lunatic
  • G'day you beautiful bastards!
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1240 on: June 30, 2023, 10:04:52 pm »

Any updates for 50.09? :>

Step by step instructions to create the memory map file required for Dwarf Therapist to work with new, experimental or beta builds:

1. Install DF Hack if not already installed
2. Run devel/export-dt-ini in DF Hack, which creates an ini file in the base DF directory
3. Copy that file into your dwarf therapist folder in "dwarf therapist base folder"\data\memory_layouts\windows (or whatever platform you're on) folder
4. Not sure if this is required, but I did it: rename the ini file to the version name contained within it. Line three in the file I just created was version_name=v0.50.09 win64 STEAM so I renamed the ini file v0.50.09 win64 STEAM.ini
Logged

leopap

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1241 on: July 01, 2023, 06:28:35 am »

Experimental memory layouts:

Thank you! It worked.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1242 on: July 26, 2023, 01:26:08 am »

Step by step instructions to create the memory map file required for Dwarf Therapist to work with new, experimental or beta builds:

1. Install DF Hack if not already installed
2. Run devel/export-dt-ini in DF Hack, which creates an ini file in the base DF directory
3. Copy that file into your dwarf therapist folder in "dwarf therapist base folder"\data\memory_layouts\windows (or whatever platform you're on) folder
4. Not sure if this is required, but I did it: rename the ini file to the version name contained within it. Line three in the file I just created was version_name=v0.50.09 win64 STEAM so I renamed the ini file v0.50.09 win64 STEAM.ini
For anyone still looking, you can skip steps 1-2 and download a pre-made memory layout from https://github.com/Dwarf-Therapist/Dwarf-Therapist/pull/301/files, then use that file in step 3. Hopefully this will be merged soon.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

thefinn

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.1 | DF 50.08
« Reply #1243 on: July 27, 2023, 01:03:16 am »

Step by step instructions to create the memory map file required for Dwarf Therapist to work with experimental or beta builds (step 2 won't be required once DF Hack team fix the script):

1. Install DF Hack if not already installed
2. Edit the script "dwarf fortress base folder"\hack\scripts\devel\export-dt-ini.lua replacing game_extra with game on line 132. Original line is address('external_flag',globals,'game_extra','external_flag')
3. Run devel/export-dt-ini in DF Hack (will have to run it twice, as it is "unavailable"), which creates an ini file in the base DF directory
4. Copy that file into your dwarf therapist folder in "dwarf therapist base folder"\data\memory_layouts\windows (or whatever platform you're on) folder
5. Not sure if this is required, but I did it: rename the ini file to the version name contained within it. Line three in the file I just created was version_name=v0.50.08-sdl2-5 win64 STEAM so I renamed the ini file v0.50.08-sdl2-5 win64 STEAM.ini

Worked like a charm, thanks mate.

Now I can find that bloody vampire.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v42.0.2 | DF 50.09
« Reply #1244 on: July 30, 2023, 07:21:29 am »

New version released: 42.0.2

Sorry for being late. This release adds support for DF 50.09 and updates misc traits.

Changelog:
  • add memory layouts for DF 50.09
  • fixed cave adaptation misc trait
Logged
Pages: 1 ... 81 82 [83] 84 85 ... 87