Skip to content

compile

shanapu edited this page Jan 29, 2020 · 1 revision

Compile guide

In this tutorial, I try so "noob-like" as I can, to explain how to compile MyStore plugins. This guide is for beginner which never compiled a "greater" plugin before.

Advanced users can skip this guide or read it for fun.

Prerequisites

Basic knowledgein handling a windows pc, drag&drop, using a web browser, unpacking archives are basic requirements. Using a texteditor is optional. 😏

Download files and prepare environment

  1. Download the sourcemod release for windows to your PC (even when your server runs Linux. Your PC is windows).
  2. Extract the .zip to a new folder. In this example C:\mys-sourcemod
  3. Download the source code of MyStore to your PC
  4. Open the .zip and copy the \gameserver\addons directory to your folder from step 2

Make your optional changes

  • Optional: Use the editor of your choice and make your edits in the sourcefiles at C:\mys-sourcemod\addons\sourcemod\scripting\MyJailbreak with your editor
  • Save your work

Compile mystore scourefiles *.sp

  1. Go to C:\mys-sourcemod\addons\sourcemod\scripting and mark all mystore files mystore_*****.sp
  2. Drag the marked files above the compile.exe and drop them
  3. A console window shows up and all MyStore plugins will be compiled.
  4. You will find your newly compiled files in: C:\mys-sourcemod\addons\sourcemod\scripting\compiled

Clone this wiki locally