Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to run scripts with dfhack?  (Read 4538 times)

someone12345

  • Bay Watcher
    • View Profile
How to run scripts with dfhack?
« on: January 17, 2014, 07:27:02 pm »

How do you run dfhack scripts? For example, what would I type if I wanted to use the script that updates the population cap?
Logged
GENERATION 26:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experime

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: How to run scripts with dfhack?
« Reply #1 on: January 17, 2014, 08:04:47 pm »

You type the command you want into the dfhack command window, aka the black box that allow you to type.

Press help to see the list of commands.

And read this: https://github.com/peterix/dfhack/blob/0.34.11-r2/Readme.rst
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: How to run scripts with dfhack?
« Reply #2 on: January 17, 2014, 08:28:41 pm »

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: How to run scripts with dfhack?
« Reply #3 on: January 17, 2014, 08:30:42 pm »

Mh.. I took the one from the first post in the dfhack thread. Seems its quite outdated. ^^
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

someone12345

  • Bay Watcher
    • View Profile
Re: How to run scripts with dfhack?
« Reply #4 on: January 17, 2014, 09:28:53 pm »

I know how to use dfhack. I use it to fix trader immigrants, digv to dig veins, and sometimes showmood. I have read the readme. What exactly do I type in to use the pop-cap script (fix/population-cap)? Typing that in does not work.
Logged
GENERATION 26:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experime

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: How to run scripts with dfhack?
« Reply #5 on: January 17, 2014, 09:29:59 pm »

fix/population-cap. Try ls -a

someone12345

  • Bay Watcher
    • View Profile
Re: How to run scripts with dfhack?
« Reply #6 on: January 18, 2014, 11:26:38 am »

fix/population-cap. Try ls -a
Thanks. I must have made a mistake before.
Logged
GENERATION 26:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experime