This will give the ability to edit scripts/triggers on linux without the Savage2 Editor or Stanz Editor. It gives you plain text files to edit so you can use any favorite editor out there.
I don't know if they already existed but I made 3 commands which make my modding life alot easier on linux.
First the link:
What this does is the following:
Gives one binary to compress/decompress-es .s2z and decompiles the triggerlist into seperate files.
Symlinks new compiled projects automaticly to ~/.savage2/game/maps/
This gives you the ability to quickly add and delete triggers also, by simply making the file or deleting one, and running s2z again.
How s2z works is with a series of commandline tools
- s2t "Compiles/decompiles triggerlist"
- s2l "Symlinks a s2z to ~/.savage2/game/maps/"
$ s2z filename.s2z
- extracts the normal contents to directory ./filename/
- decompiles triggerlist to ./filename/triggers/
$ s2z filename
- compiles ./filename/triggers/ into triggerlist
- zips filename back to filename.s2z
- calls s2l to symlink it to your savage2 homedir game/maps/ directory
This is the first basic working version so I could easily modify map scripts without too much hassle, functionality will be added whenever I feel is necessary or you guys have an idea for it, informational output will be added soon.