-
Notifications
You must be signed in to change notification settings - Fork 72
Installing Self compile
Bara edited this page Nov 9, 2020
·
1 revision
- If you would like to compile yourself the below is required.
- AutoExecConfig
- SMLib
- ColorLib (Only the colorlib.inc file is needed)
- If you are going to self-compile the below installations are required.
- Install AutoExecConfig
- Install SMLib
- Install ColorLib
- You have completed Installing Self compile.
- Proceed to Testing Self compile
- If you are unsure as to how you compile a plugin, you can follow the steps outlined here.
Installation
- Locate the file you downloaded.
- Open the downloaded file and copy
autoexecconfig.inc
tocsgo/addons/sourcemod/scripting/include/
Installation
- Locate the file you downloaded.
- Open the downloaded file and copy
gamedata
andscripting
tocsgo/addons/sourcemod/
Installation
- Only the colorlib.inc file is needed.
- Locate the file you downloaded.
- Open the downloaded file and locate
addons/sourcemod/scripting/include/colorlib.inc
. Copy this file tocsgo/addons/sourcemod/scripting/include/
How to
- Windows
- Firstly make sure you have installed Sourcemod and Metamod
- Secondly make sure you have installed Self compile
- Locate
csgo/addons/sourcemod/scripting/
and you will see a file namedspcomp.exe
. To compile a plugin simply drag and drop the.sp
file of the plugin onto the compiler. If the compile was a success you should now have themyplugin.smx
file. - Now simply move the
.smx
(not.sp
) file fromcsgo/addons/sourcemod/scripting/
to thecsgo/addons/sourcemod/plugins/
folder.
- Note: If you are configuring your server via FTP you will not be able to drag and drop the file. You will need to copy you server contents to your local machine to do this.
- Linux
- Firstly make sure you have installed Sourcemod and Metamod
- Secondly make sure you have installed Self compile
- Depending on your Linux version you need to install the
libc6
andlibstdc++6
32bit libraries before you start to compile. Example for Ubuntu:apt-get install libc6:i386 lib32stdc++6
- Then use:
./compile.sh myplugin.sp
. If the compile was a success you should now havemyplugin.smx
located in a new folder called compile. - Now simply move the
.smx
(not.sp
) file fromcsgo/addons/sourcemod/scripting/compiled/
to thecsgo/addons/sourcemod/plugins/
folder.