Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Quick raw file editing  (Read 2980 times)

Darkren

  • Bay Watcher
    • View Profile
Quick raw file editing
« on: July 13, 2012, 03:42:27 pm »

Every time I download a fresh version of Dwarf Fortress, I have to spend 15 minutes editing the raws (e.g. to remove [AQUIFER], or change [PET_EXOTIC] to [PET]) and init files. Would there happen to be a utility I could use to automate the process? For init files, something like the Masterwork DF launcher comes to mind as an amazing example, but I'm not aware of any standalone tools to do that.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Quick raw file editing
« Reply #1 on: July 13, 2012, 03:53:15 pm »

The Lazy Newb Pack ;)
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 :::

Darkren

  • Bay Watcher
    • View Profile
Re: Quick raw file editing
« Reply #2 on: July 13, 2012, 04:03:22 pm »

Tried moving the .exe and it complained about lack of a DF directory. Seems to have the same type of pre-packaged non-standalone init editor that Masterwork does.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Quick raw file editing
« Reply #3 on: July 13, 2012, 06:14:51 pm »

Notepad++ "find in files".

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: Quick raw file editing
« Reply #4 on: July 14, 2012, 11:21:21 am »

Winmerge to find and keep the changes. As for mods, I have an idea to make a set of batch scripts which are used to gen world for any mod I could be playing with. Since df has command line options to wordlgen, batch should overwrite draws with desired mod, generate world, save and put default raws back.
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

miauw62

  • Bay Watcher
  • Every time you get ahead / it's just another hit
    • View Profile
Re: Quick raw file editing
« Reply #5 on: July 14, 2012, 12:56:33 pm »

Logged

Quote from: NW_Kohaku
they wouldn't be able to tell the difference between the raving confessions of a mass murdering cannibal from a recipe to bake a pie.
Knowing Belgium, everyone will vote for themselves out of mistrust for anyone else, and some kind of weird direct democracy coalition will need to be formed from 11 million or so individuals.

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: Quick raw file editing
« Reply #6 on: July 14, 2012, 01:45:19 pm »

The Lazy Newb Pack ;)
^
Everything you're asking for and more.
Logged
Quote
'ere the Chias get hungry...