Dwarf Fortress

Dwarf Fortress

Editing raw files in new steam edition?
Hey all, I tried looking around and I'm a little unclear on a few things.

The old DF wikis point at editing your save's raw files, but as far as I can tell in steamapps/common/Dwarf Fortress/, there is no raw files anywhere to be found. There's a data/vanilla/ folder with .txt files that have the raw looking files.

In the past you were able to edit your save in various little ways AFTER the game started, is that no longer the case?
< >
Showing 1-8 of 8 comments
Vepatzioone Dec 15, 2022 @ 9:21pm 
>In the past you were able to edit your save in various little ways AFTER the game started

False. Each world generated takes the raws and generates a world from them, and then proceeds to NOT interract with the raws afterwards, regardless of your edits. You need to create a new world for new raw edits to take effect.
Hmm ok, interesting. I found at least one reddit discussion where people were talking explicitly about editing raws of a save AFTER it had started, to quote:

"It does not have to be done before world generation, you just have to go into the current save's raw files and add [TRAINABLE] to the wolves. I've done this a ton of times, it doesn't cause any problems."

Maybe they had a particular setup that enabled this.. Thanks!
Last edited by CASIOPEA 1979 FULL ALBUM; Dec 15, 2022 @ 9:25pm
Shiranai Dec 15, 2022 @ 9:25pm 
You can find your saves at Dwarf Fortress folder. There's a "Save" folder there with a bunch of .dat files
koimeiji Dec 15, 2022 @ 9:38pm 
Originally posted by CASIOPEA 1979 FULL ALBUM:
Hmm ok, interesting. I found at least one reddit discussion where people were talking explicitly about editing raws of a save AFTER it had started, to quote:

"It does not have to be done before world generation, you just have to go into the current save's raw files and add [TRAINABLE] to the wolves. I've done this a ton of times, it doesn't cause any problems."

Maybe they had a particular setup that enabled this.. Thanks!
Yeah, not sure what the other guy is talking about. You could edit your raws directly from the save in DF Classic.

You're right that you can't do that anymore in DF Steam...because you shouldn't be editing the raws directly in the first place!

The new way of doing it is making a mod folder with the proper structure and syntax to add or remove tokens from the raws (or adding brand new raws altogether)

https://bay12games.com/dwarves/modding_guide.html has most of the info on said file structure. I'd also recommend downloading a few mods off the workshop to see how they're set up, as well as reading the dwarffortresswiki page on modding.

IIRC there's also a way to add or remove mods to an already existing save, but I've never needed to so I'm not sure what that process is
Last edited by koimeiji; Dec 15, 2022 @ 9:40pm
Vepatzioone Dec 15, 2022 @ 9:39pm 
Originally posted by CASIOPEA 1979 FULL ALBUM:
Hmm ok, interesting. I found at least one reddit discussion where people were talking explicitly about editing raws of a save AFTER it had started, to quote:

"It does not have to be done before world generation, you just have to go into the current save's raw files and add [TRAINABLE] to the wolves. I've done this a ton of times, it doesn't cause any problems."

Maybe they had a particular setup that enabled this.. Thanks!

No you are right and I am wrong. In my 47 DF game I have 33 worlds and around half of them are debugging worlds that crash/cause errors in the errorlog. I'm just an idiot who did not know that there exist a separate raw file folder inside a world save. In the current steam version I cannot find such folder however.
Ten4 Dec 15, 2022 @ 9:45pm 
I was able to mess with the metals in the objects folder. I was able to adjust the metals file so i could craft weapons made out of platinum without having to be in a strange mood. I didn't need to restart. But I'm not sure if this is the same thing.
Smithy, was this in the /data/vanilla/ folders? All the dat files appear to be raw/compressed binaries and I don't really want to put that much effort into it lol
Originally posted by Vepatzioone:
>In the past you were able to edit your save in various little ways AFTER the game started

False. Each world generated takes the raws and generates a world from them, and then proceeds to NOT interract with the raws afterwards, regardless of your edits. You need to create a new world for new raw edits to take effect.
only certin edits can be made though
it makes a copy of the raws in the save folder, these can be edited. however new reactions cant be added, only edited without changing the entity file.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Dec 15, 2022 @ 9:16pm
Posts: 8