<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.sandboxgamemaker.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Miluaces</id>
		<title>Platinum Arts Sandbox Free 3D Game Maker - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.sandboxgamemaker.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Miluaces"/>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Special:Contributions/Miluaces"/>
		<updated>2026-05-03T01:34:50Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://www.sandboxgamemaker.com/wiki/index.php?title=Compiling_the_source_code&amp;diff=571</id>
		<title>Compiling the source code</title>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Compiling_the_source_code&amp;diff=571"/>
				<updated>2009-10-11T14:44:40Z</updated>
		
		<summary type="html">&lt;p&gt;Miluaces: /* Main Method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page discusses on how to modify and compile the source code.&lt;br /&gt;
&lt;br /&gt;
==Windows:==&lt;br /&gt;
&lt;br /&gt;
===Main Method===&lt;br /&gt;
Click here to download the version of Codeblocks with the mingw compiler:&lt;br /&gt;
[http://kids.platinumarts.net/codeblocks.exe]&lt;br /&gt;
&lt;br /&gt;
Then go into your \src\vcpp folder.  Click on sandbox.cbp and codeblocks should load up.  Go to build and then build and it should create the Windows binary :) &lt;br /&gt;
&lt;br /&gt;
If you get &amp;quot;Invalid Compiler&amp;quot; when building, you need to set up the Mingw Compiler location. When you are in Codeblocks go to &amp;quot;Settings&amp;quot; &amp;gt; &amp;quot;Compiler and Debugger&amp;quot;. Then click the &amp;quot;&amp;gt;&amp;quot; button until you get to &amp;quot;Toolchain Executables&amp;quot;. Click the &amp;quot;Auto-Detect&amp;quot; button. It should find the Mingw folder, if it is pointing to the wrong location click the &amp;quot;...&amp;quot; button and find the folder yourself.&lt;br /&gt;
&lt;br /&gt;
If you are getting errors while compiling such as having to do with &amp;quot;_UnwindResume&amp;quot; you might have to link the libraries. You could do so like this: Go to &amp;quot;Settings&amp;quot; &amp;gt; &amp;quot;Compiler and Debugger&amp;quot;, then click Linker Settings. Under link libraries click &amp;quot;Add&amp;quot; and go to the \src\lib folder then highlight all the &amp;quot;.lib&amp;quot; files and click &amp;quot;Ok&amp;quot;. Now try compiling! :D&lt;br /&gt;
&lt;br /&gt;
Other Methods: There is a visual C++ project file included that you can use.  Load up the proper file and compile :)  I&amp;#039;m not sure if you&amp;#039;d need any libraries but you probably shouldn&amp;#039;t need any.&lt;br /&gt;
&lt;br /&gt;
==POSIX systems==&lt;br /&gt;
&lt;br /&gt;
You may need to convert some of the text file from dos format. There&amp;#039;s a handy program to do it with so you may need to install and use tofrodos&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;NOTE&amp;lt;/big&amp;gt; The Binaries are compiled for 32 bit systems, so if you&amp;#039;re on a 64 bit system, you&amp;#039;ll have to 1) compile your own, by using modified versions of the below instructions, or 2) install and use 32 bit libraries.&lt;br /&gt;
&lt;br /&gt;
====Makefile====&lt;br /&gt;
&lt;br /&gt;
First of all, make sure you have the the SDL and SDL_Image and SDL_Mixer development libraries installed on your system.&lt;br /&gt;
Next up, go into src folder. and type &amp;#039;make&amp;#039;, you can add one of the following at the end of the line&lt;br /&gt;
&lt;br /&gt;
* all - compiles the client&lt;br /&gt;
* libenet - compiles enet library&lt;br /&gt;
* clean - cleans up temporary files&lt;br /&gt;
* client - builds enet and integrates it into a client &lt;br /&gt;
* install - compiles enet and the client, and compies the client in /bin_unix/&lt;br /&gt;
* distinstall - creates a directory names /usr/local/sandbox/, and copies everything in there. it then sets permissions and some symlinks, so you can play the game by typing &amp;#039;sandbox&amp;#039; into a console.&lt;br /&gt;
* distclean - deletes /usr/local/sandbox/&lt;br /&gt;
&lt;br /&gt;
The compile automatically defaults to &amp;#039;all&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Chances are, you won&amp;#039;t have everything you needed installed, so if you receive any errors from missing devel libraries and frameworks, just installed them too.&lt;br /&gt;
if you receive errors similar  &amp;quot;bash: ./configure: /bin/sh^M: bad interpreter&amp;quot; you&amp;#039;ll need to use &amp;#039;fromdos&amp;#039; to convert them to unix friendly files.&lt;br /&gt;
&lt;br /&gt;
====Debug====&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re interested in compiling a version with debugging symbols, just follow the instructions.&lt;br /&gt;
&lt;br /&gt;
# first, open the Makefile with a text editor,&lt;br /&gt;
# next, you&amp;#039;ll need to add &amp;#039;-ggdb3&amp;#039; somewhere in the &amp;#039;CXXOPTFLAGS&amp;#039; list. It&amp;#039;s normally recommended to clear everything else out of there. you&amp;#039;re not meant to optimise and debug simultaneously.&lt;br /&gt;
# thirdly, scroll down to near the end, and remove all the lines with &amp;#039;strip&amp;#039; in them&lt;br /&gt;
# finally, you may wish to change the PLATFROM_PREFIX to something else, like debug for example.&lt;br /&gt;
&lt;br /&gt;
====Debug under Linux====&lt;br /&gt;
&lt;br /&gt;
Compile the debug version with: make install -f Makefile.debug&lt;br /&gt;
Than start gdb and type this:&lt;br /&gt;
&lt;br /&gt;
file bin/debug_client&lt;br /&gt;
run -r -t&lt;br /&gt;
&lt;br /&gt;
when it crash than type bt&lt;br /&gt;
&lt;br /&gt;
===MAC OSX===&lt;br /&gt;
&lt;br /&gt;
To start, you should have Xcode installed on your computer. Either install the Developer tools from the OS X install disks that came with your computer, or download  Xcode from the apple website: &lt;br /&gt;
http://developer.apple.com/technology/xcode.html&lt;br /&gt;
&lt;br /&gt;
Download SDL:  http://www.libsdl.org/release/SDL-1.2.13.dmg&lt;br /&gt;
Copy the SDL.framework folder to /Library/Frameworks &lt;br /&gt;
&lt;br /&gt;
Download SDL_Image: http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.6.dmg&lt;br /&gt;
Copy the SDL_image.framework folder to /Library/Frameworks&lt;br /&gt;
&lt;br /&gt;
Download SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.8.dmg&lt;br /&gt;
Copy the SDL_mixer.framework folder to /Library/Frameworks &lt;br /&gt;
&lt;br /&gt;
Download the latest Multiplatform.zip of Sandbox. Unzip and double click on PASX.X.Xmultiplatform/src/xcode/sandbox.xcodeproj&lt;br /&gt;
&lt;br /&gt;
Xcode will open the project. Change the &amp;#039;&amp;#039;&amp;#039;Active Build Configuration&amp;#039;&amp;#039;&amp;#039; from &amp;#039;&amp;#039;Debug&amp;#039;&amp;#039; to &amp;#039;&amp;#039;Release&amp;#039;&amp;#039;. Click on build - the Binary should compile without any errors.&lt;br /&gt;
&lt;br /&gt;
By default the executables, launcher and sandbox, are created in the folder PASX.X.Xmultiplatform/src/xcode/build/Release/&lt;br /&gt;
&lt;br /&gt;
Rename  the PASX.X.Xmultiplatform folder to &amp;#039;&amp;#039;sandbox&amp;#039;&amp;#039; and move the compiled sandbox.app into the top level of that folder. The launcher.app should be on the same level, but outside, the renamed &amp;#039;&amp;#039;sandbox&amp;#039;&amp;#039; folder.&lt;br /&gt;
&lt;br /&gt;
===FreeBSD===&lt;br /&gt;
&lt;br /&gt;
Unwritten&lt;/div&gt;</summary>
		<author><name>Miluaces</name></author>	</entry>

	<entry>
		<id>https://www.sandboxgamemaker.com/wiki/index.php?title=Compiling_the_source_code&amp;diff=570</id>
		<title>Compiling the source code</title>
		<link rel="alternate" type="text/html" href="https://www.sandboxgamemaker.com/wiki/index.php?title=Compiling_the_source_code&amp;diff=570"/>
				<updated>2009-10-11T14:44:03Z</updated>
		
		<summary type="html">&lt;p&gt;Miluaces: /* Main Method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page discusses on how to modify and compile the source code.&lt;br /&gt;
&lt;br /&gt;
==Windows:==&lt;br /&gt;
&lt;br /&gt;
===Main Method===&lt;br /&gt;
Click here to download the version of Codeblocks with the mingw compiler:&lt;br /&gt;
[http://kids.platinumarts.net/codeblocks.exe]&lt;br /&gt;
&lt;br /&gt;
Then go into your \src\vcpp folder.  Click on sandbox.cbp and codeblocks should load up.  Go to build and then build and it should create the Windows binary :) &lt;br /&gt;
&lt;br /&gt;
If you get &amp;quot;Invalid Compiler&amp;quot; when building, you need to set up the Mingw Compiler location. When you are in Codeblocks go to &amp;quot;Settings&amp;quot; &amp;gt; &amp;quot;Compiler and Debugger&amp;quot;. Then click the &amp;quot;&amp;gt;&amp;quot; button until you get to &amp;quot;Toolchain Executables&amp;quot;. Click the &amp;quot;Auto-Detect&amp;quot; button. It should find the Mingw folder, if it is pointing to the wrong location click the &amp;quot;...&amp;quot; button and find the folder yourself.&lt;br /&gt;
&lt;br /&gt;
If you are getting errors while compiling such as having to do with &amp;quot;_UnwindResume&amp;quot; you might have to link the libraries. You could do so like this: Go to &amp;quot;Settings&amp;quot; &amp;gt; &amp;quot;Compiler and Debugger&amp;quot;, then click Linker Settings. Under link libraries click &amp;quot;Add&amp;quot; and go to &amp;lt;Sandbox Location&amp;gt;/src/lib then highlight all the &amp;quot;.lib&amp;quot; files and click &amp;quot;Ok&amp;quot;. Now try compiling! :D&lt;br /&gt;
&lt;br /&gt;
Other Methods: There is a visual C++ project file included that you can use.  Load up the proper file and compile :)  I&amp;#039;m not sure if you&amp;#039;d need any libraries but you probably shouldn&amp;#039;t need any.&lt;br /&gt;
&lt;br /&gt;
==POSIX systems==&lt;br /&gt;
&lt;br /&gt;
You may need to convert some of the text file from dos format. There&amp;#039;s a handy program to do it with so you may need to install and use tofrodos&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;NOTE&amp;lt;/big&amp;gt; The Binaries are compiled for 32 bit systems, so if you&amp;#039;re on a 64 bit system, you&amp;#039;ll have to 1) compile your own, by using modified versions of the below instructions, or 2) install and use 32 bit libraries.&lt;br /&gt;
&lt;br /&gt;
====Makefile====&lt;br /&gt;
&lt;br /&gt;
First of all, make sure you have the the SDL and SDL_Image and SDL_Mixer development libraries installed on your system.&lt;br /&gt;
Next up, go into src folder. and type &amp;#039;make&amp;#039;, you can add one of the following at the end of the line&lt;br /&gt;
&lt;br /&gt;
* all - compiles the client&lt;br /&gt;
* libenet - compiles enet library&lt;br /&gt;
* clean - cleans up temporary files&lt;br /&gt;
* client - builds enet and integrates it into a client &lt;br /&gt;
* install - compiles enet and the client, and compies the client in /bin_unix/&lt;br /&gt;
* distinstall - creates a directory names /usr/local/sandbox/, and copies everything in there. it then sets permissions and some symlinks, so you can play the game by typing &amp;#039;sandbox&amp;#039; into a console.&lt;br /&gt;
* distclean - deletes /usr/local/sandbox/&lt;br /&gt;
&lt;br /&gt;
The compile automatically defaults to &amp;#039;all&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Chances are, you won&amp;#039;t have everything you needed installed, so if you receive any errors from missing devel libraries and frameworks, just installed them too.&lt;br /&gt;
if you receive errors similar  &amp;quot;bash: ./configure: /bin/sh^M: bad interpreter&amp;quot; you&amp;#039;ll need to use &amp;#039;fromdos&amp;#039; to convert them to unix friendly files.&lt;br /&gt;
&lt;br /&gt;
====Debug====&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re interested in compiling a version with debugging symbols, just follow the instructions.&lt;br /&gt;
&lt;br /&gt;
# first, open the Makefile with a text editor,&lt;br /&gt;
# next, you&amp;#039;ll need to add &amp;#039;-ggdb3&amp;#039; somewhere in the &amp;#039;CXXOPTFLAGS&amp;#039; list. It&amp;#039;s normally recommended to clear everything else out of there. you&amp;#039;re not meant to optimise and debug simultaneously.&lt;br /&gt;
# thirdly, scroll down to near the end, and remove all the lines with &amp;#039;strip&amp;#039; in them&lt;br /&gt;
# finally, you may wish to change the PLATFROM_PREFIX to something else, like debug for example.&lt;br /&gt;
&lt;br /&gt;
====Debug under Linux====&lt;br /&gt;
&lt;br /&gt;
Compile the debug version with: make install -f Makefile.debug&lt;br /&gt;
Than start gdb and type this:&lt;br /&gt;
&lt;br /&gt;
file bin/debug_client&lt;br /&gt;
run -r -t&lt;br /&gt;
&lt;br /&gt;
when it crash than type bt&lt;br /&gt;
&lt;br /&gt;
===MAC OSX===&lt;br /&gt;
&lt;br /&gt;
To start, you should have Xcode installed on your computer. Either install the Developer tools from the OS X install disks that came with your computer, or download  Xcode from the apple website: &lt;br /&gt;
http://developer.apple.com/technology/xcode.html&lt;br /&gt;
&lt;br /&gt;
Download SDL:  http://www.libsdl.org/release/SDL-1.2.13.dmg&lt;br /&gt;
Copy the SDL.framework folder to /Library/Frameworks &lt;br /&gt;
&lt;br /&gt;
Download SDL_Image: http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.6.dmg&lt;br /&gt;
Copy the SDL_image.framework folder to /Library/Frameworks&lt;br /&gt;
&lt;br /&gt;
Download SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.8.dmg&lt;br /&gt;
Copy the SDL_mixer.framework folder to /Library/Frameworks &lt;br /&gt;
&lt;br /&gt;
Download the latest Multiplatform.zip of Sandbox. Unzip and double click on PASX.X.Xmultiplatform/src/xcode/sandbox.xcodeproj&lt;br /&gt;
&lt;br /&gt;
Xcode will open the project. Change the &amp;#039;&amp;#039;&amp;#039;Active Build Configuration&amp;#039;&amp;#039;&amp;#039; from &amp;#039;&amp;#039;Debug&amp;#039;&amp;#039; to &amp;#039;&amp;#039;Release&amp;#039;&amp;#039;. Click on build - the Binary should compile without any errors.&lt;br /&gt;
&lt;br /&gt;
By default the executables, launcher and sandbox, are created in the folder PASX.X.Xmultiplatform/src/xcode/build/Release/&lt;br /&gt;
&lt;br /&gt;
Rename  the PASX.X.Xmultiplatform folder to &amp;#039;&amp;#039;sandbox&amp;#039;&amp;#039; and move the compiled sandbox.app into the top level of that folder. The launcher.app should be on the same level, but outside, the renamed &amp;#039;&amp;#039;sandbox&amp;#039;&amp;#039; folder.&lt;br /&gt;
&lt;br /&gt;
===FreeBSD===&lt;br /&gt;
&lt;br /&gt;
Unwritten&lt;/div&gt;</summary>
		<author><name>Miluaces</name></author>	</entry>

	</feed>