- Joined
- Jan 22, 2014
- Messages
- 1,047
- Reaction score
- 299
I created a small program for basic template editing, called smtr. Its name comes from its similarities to tr, a Unix command line tool that can substitute characters in strings—which is pretty much what this tool does: It can substitute blocks in template files.
Why is this useful? Because you can, for instance, create one template, and then quickly create more that differ only in coloring.
Basic usage:
This reads infile.smtpl and writes the modified template to outfile.smtpl, substituting all occurences of ice crystals (/ice crystal wedges) with black hull (wedges).
Content page
Todo:
Why is this useful? Because you can, for instance, create one template, and then quickly create more that differ only in coloring.
Basic usage:
Code:
smtr -i infile.smtpl -o outfile.smtpl '286,444' '75,296'
Content page
Todo:
- Add "block classes". Example: stmr '[:blue:]' '[:red:]'