Perl scripts jet needs to write:


#1

Mostly for the sake of making myself good at writing perl scripts. This thread is a catch-all for annoyances that I realize “hey, I should write a script to automate this”, but then promptly forget about a couple days later.

  • script to move an image; that is, look for all references to an old image path in objects, and change the path to a new path

  • renaming an object, and all instances of it.

  • script to change a given tile type mnemonic to a new one; changing all instances of it in editor.cfg, tiles.cfg, the affected tile cfg files, and all levels.

  • change all version instances in levels to a new version