<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alliedmods.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bonejob</id>
	<title>AlliedModders Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alliedmods.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bonejob"/>
	<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/Special:Contributions/Bonejob"/>
	<updated>2026-05-28T18:49:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Compiling_SourceMod_Plugins&amp;diff=7666</id>
		<title>Compiling SourceMod Plugins</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Compiling_SourceMod_Plugins&amp;diff=7666"/>
		<updated>2010-04-15T14:42:43Z</updated>

		<summary type="html">&lt;p&gt;Bonejob: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ok, so you've read the [[Introduction to SourcePawn]] and [[Introduction to SourceMod Plugins]] and now you want to actually compile a plugin.&lt;br /&gt;
&lt;br /&gt;
You'll need the compiler which is included in the .../sourcemod/scripting/ folder of the [http://www.sourcemod.net/downloads.php main distribution] (not the [http://www.sourcemod.net/sdk.php SDK]). Windows users will need [http://www.7-zip.org/ 7-zip] to extract the .tar.gz files.&lt;br /&gt;
&lt;br /&gt;
In Windows, open up a command prompt (Start-&amp;gt;Run or WindowsKey+R, then &amp;quot;cmd&amp;quot;):&lt;br /&gt;
 cd &amp;lt;sourcemod&amp;gt;\scripting&lt;br /&gt;
 spcomp myplugin.sp&lt;br /&gt;
[http://www.computerhope.com/cdhlp.htm cd command reference]&lt;br /&gt;
&lt;br /&gt;
In Linux use:&lt;br /&gt;
 ./compile.sh myplugin.sp&lt;br /&gt;
&lt;br /&gt;
Now simply move the .smx (not .sp) file from .../sourcemod/scripting/ to the .../sourcemod/plugins/ folder.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' When compiling preexisting plugins it is easiest to move the included from the plugin source folder to the include folder in your Sourcemod\scripting\include. Please see [[Spcomp_switches]] specifically the ''-i'' parameter for specifying a different folder for includes.&lt;br /&gt;
&lt;br /&gt;
[http://forums.alliedmods.net/showthread.php?t=52664 Reference Source]&lt;br /&gt;
&lt;br /&gt;
See Also: [http://forums.alliedmods.net/forumdisplay.php?f=107 Scripting Forum]&lt;/div&gt;</summary>
		<author><name>Bonejob</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Spcomp_switches&amp;diff=7665</id>
		<title>Spcomp switches</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Spcomp_switches&amp;diff=7665"/>
		<updated>2010-04-15T14:41:21Z</updated>

		<summary type="html">&lt;p&gt;Bonejob: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SourcePawn Compiler Switches Version 1.3.1 ==&lt;br /&gt;
&lt;br /&gt;
 SourcePawn Compiler 1.3.1&lt;br /&gt;
 Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC&lt;br /&gt;
 Usage:   spcomp &amp;lt;filename&amp;gt; [filename...] [options]&lt;br /&gt;
 Options:&lt;br /&gt;
         -A&amp;lt;num&amp;gt;  alignment in bytes of the data segment and the stack&lt;br /&gt;
         -a       output assembler code&lt;br /&gt;
         -c&amp;lt;name&amp;gt; codepage name or number; e.g. 1252 for Windows Latin-1&lt;br /&gt;
         -Dpath   active directory path&lt;br /&gt;
         -e&amp;lt;name&amp;gt; set name of error file (quiet compile)&lt;br /&gt;
         -H&amp;lt;hwnd&amp;gt; window handle to send a notification message on finish&lt;br /&gt;
         -i&amp;lt;name&amp;gt; path for include files&lt;br /&gt;
         -l       create list file (preprocess only)&lt;br /&gt;
         -o&amp;lt;name&amp;gt; set base name of (P-code) output file&lt;br /&gt;
         -O&amp;lt;num&amp;gt;  optimization level (default=-O2)&lt;br /&gt;
             0    no optimization&lt;br /&gt;
             2    full optimizations&lt;br /&gt;
         -p&amp;lt;name&amp;gt; set name of &amp;quot;prefix&amp;quot; file&lt;br /&gt;
         -r[name] write cross reference report to console or to specified file&lt;br /&gt;
         -S&amp;lt;num&amp;gt;  stack/heap size in cells (default=4096)&lt;br /&gt;
         -s&amp;lt;num&amp;gt;  skip lines from the input file&lt;br /&gt;
         -t&amp;lt;num&amp;gt;  TAB indent size (in character positions, default=8)&lt;br /&gt;
         -v&amp;lt;num&amp;gt;  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1)&lt;br /&gt;
         -w&amp;lt;num&amp;gt;  disable a specific warning by its number&lt;br /&gt;
         -X&amp;lt;num&amp;gt;  abstract machine size limit in bytes&lt;br /&gt;
         -XD&amp;lt;num&amp;gt; abstract machine data/stack size limit in bytes&lt;br /&gt;
         -\       use '\' for escape characters&lt;br /&gt;
         -^       use '^' for escape characters&lt;br /&gt;
         -;[+/-]  require a semicolon to end each statement (default=-)&lt;br /&gt;
         sym=val  define constant &amp;quot;sym&amp;quot; with value &amp;quot;val&amp;quot;&lt;br /&gt;
         sym=     define constant &amp;quot;sym&amp;quot; with value 0&lt;br /&gt;
 Options may start with a dash or a slash; the options &amp;quot;-d0&amp;quot; and &amp;quot;/d0&amp;quot; are&lt;br /&gt;
 equivalent.&lt;br /&gt;
 Options with a value may optionally separate the value from the option letter&lt;br /&gt;
 with a colon (&amp;quot;:&amp;quot;) or an equal sign (&amp;quot;=&amp;quot;). That is, the options &amp;quot;-d0&amp;quot;, &amp;quot;-d=0&amp;quot;&lt;br /&gt;
 and &amp;quot;-d:0&amp;quot; are all equivalent.&lt;/div&gt;</summary>
		<author><name>Bonejob</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Spcomp_switches&amp;diff=7664</id>
		<title>Spcomp switches</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Spcomp_switches&amp;diff=7664"/>
		<updated>2010-04-15T14:40:56Z</updated>

		<summary type="html">&lt;p&gt;Bonejob: Created page with '== SourcePawn Compiler Switches Version 1.3.1 ==   SourcePawn Compiler 1.3.1  Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC  Usage:   spcomp &amp;lt;filename&amp;gt;...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SourcePawn Compiler Switches Version 1.3.1 ==&lt;br /&gt;
&lt;br /&gt;
 SourcePawn Compiler 1.3.1&lt;br /&gt;
 Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC&lt;br /&gt;
 Usage:   spcomp &amp;lt;filename&amp;gt; [filename...] [options]&lt;br /&gt;
 Options:&lt;br /&gt;
         -A&amp;lt;num&amp;gt;  alignment in bytes of the data segment and the stack&lt;br /&gt;
         -a       output assembler code&lt;br /&gt;
         -c&amp;lt;name&amp;gt; codepage name or number; e.g. 1252 for Windows Latin-1&lt;br /&gt;
         -Dpath   active directory path&lt;br /&gt;
         -e&amp;lt;name&amp;gt; set name of error file (quiet compile)&lt;br /&gt;
         -H&amp;lt;hwnd&amp;gt; window handle to send a notification message on finish&lt;br /&gt;
         -i&amp;lt;name&amp;gt; path for include files&lt;br /&gt;
         -l       create list file (preprocess only)&lt;br /&gt;
         -o&amp;lt;name&amp;gt; set base name of (P-code) output file&lt;br /&gt;
         -O&amp;lt;num&amp;gt;  optimization level (default=-O2)&lt;br /&gt;
             0    no optimization&lt;br /&gt;
             2    full optimizations&lt;br /&gt;
         -p&amp;lt;name&amp;gt; set name of &amp;quot;prefix&amp;quot; file&lt;br /&gt;
         -r[name] write cross reference report to console or to specified file&lt;br /&gt;
         -S&amp;lt;num&amp;gt;  stack/heap size in cells (default=4096)&lt;br /&gt;
         -s&amp;lt;num&amp;gt;  skip lines from the input file&lt;br /&gt;
         -t&amp;lt;num&amp;gt;  TAB indent size (in character positions, default=8)&lt;br /&gt;
         -v&amp;lt;num&amp;gt;  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1)&lt;br /&gt;
         -w&amp;lt;num&amp;gt;  disable a specific warning by its number&lt;br /&gt;
         -X&amp;lt;num&amp;gt;  abstract machine size limit in bytes&lt;br /&gt;
         -XD&amp;lt;num&amp;gt; abstract machine data/stack size limit in bytes&lt;br /&gt;
         -\       use '\' for escape characters&lt;br /&gt;
         -^       use '^' for escape characters&lt;br /&gt;
         -;[+/-]  require a semicolon to end each statement (default=-)&lt;br /&gt;
         sym=val  define constant &amp;quot;sym&amp;quot; with value &amp;quot;val&amp;quot;&lt;br /&gt;
         sym=     define constant &amp;quot;sym&amp;quot; with value 0&lt;br /&gt;
&lt;br /&gt;
 Options may start with a dash or a slash; the options &amp;quot;-d0&amp;quot; and &amp;quot;/d0&amp;quot; are&lt;br /&gt;
 equivalent.&lt;br /&gt;
&lt;br /&gt;
 Options with a value may optionally separate the value from the option letter&lt;br /&gt;
 with a colon (&amp;quot;:&amp;quot;) or an equal sign (&amp;quot;=&amp;quot;). That is, the options &amp;quot;-d0&amp;quot;, &amp;quot;-d=0&amp;quot;&lt;br /&gt;
 and &amp;quot;-d:0&amp;quot; are all equivalent.&lt;/div&gt;</summary>
		<author><name>Bonejob</name></author>
		
	</entry>
</feed>