Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Quick raw file editing  (Read 385 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
  • [inactive - don't PM me]
    • View Profile
    • Cyclenomads
Re: Quick raw file editing
« Reply #1 on: July 13, 2012, 03:53:15 pm »

The Lazy Newb Pack ;)
Logged
☼MASTERWORK☼ Dwarf Fortress -  V.3a
 - A comprehensive mod pack with 25% higher FPS -

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
  • Legendary+1 Modder
    • View Profile
Re: Quick raw file editing
« Reply #3 on: July 13, 2012, 06:14:51 pm »

Notepad++ "find in files".
Logged

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
Q: How do elves get all their wood?
A: Every time someone kills cute animal or chops tree - elf shits log.
-----
Did you know that the Russian word for "sock" is "no sock"?

miauw62

  • Bay Watcher
  • Toys in bay define kay
    • 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.
It all ends with Belgium, because no one rules Belgium. Not even the governement.

Toxicshadow

  • Bay Watcher
    • View Profile
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 from: Hugo_the_Dwarf
Quote from: Toxicshadow
I want to send him hatemail; do you want to send hatemail?
I'd rather send him a pipe bomb
Quote from: Hugo_the_Dwarf
Oh no it's a girl and her name is Blanket Shankbasement
If you go outside remember to stay vigilant against the steam menace out there.