Purpose:
This allows you to compile .sp files by double click, offline.
Installation:
1. Download
stand-alone (offline) compiler and unpack it to convenient folder, like "d:\dev\SourceMod" where it'll be untoched.
2. Unpack archive, attached below.
3. Right click on file "SP_Assoc.cmd" => choose "Edit", set correct path to spcomp.exe in this line:
Code:
set SPCompPath=d:\dev\SourceMod\addons\sourcemod\scripting\spcomp.exe
an save.
4. Right click on file "SP_Assoc.cmd" => choose "Run as Administrator".
My batch file will install for you required registry entries. Now, you are fine.
How to use:
Just double click on .sp file.
Console window will appear for ~2 sec if compilation is success. You'll have enough time to read "warnings".
If compilation is failed, console window will be set in pause.
P.S. Also, see notice:
- in
post #3 about
Notepad++ /
Akelpad integration.
- in
post #10 about
Sublime Text integration.