Smtr is a tr-like program, just for StarMade templates.
To read an infile.smtpl and translate it to an outfile.smtpl, replacing the block IDs 286 and 444 by 75 and 296, respectively, run:
smtr -i infile.smtpl -o outfile.smtpl '286,444' '75,296'Single block IDs (i.e. 286) as well as ranges (i.e. 286-287) are supported. See the --help page for further assistance.
- A Ruby runtime
gem install trollop
StarMade is a game by, and trademark of, Schine GmbH.