A place to write native code that would be too slow to run in DM.
Because I'm a hipster.
I expect the project layout to change before incorporation into the /tg/station codebase, but for now...
- Install DMD
- Verify that the binaries are on your system PATH
- Install Visual Studio 2015 (Community or better)
- Install the VisualD package.
- Download the Gazoot.var_dump library.
- Open and compile
AtmosDllTest.dme
from Dream Maker - Open
SS13.dll_src\SS13.dll.sln
- Open the project properties (Select it in the Solution Explorer and press Alt+Enter)
- Under 'Configuration Properties' -> 'Debugging'
- Set Command to:
C:\Program Files (x86)\BYOND\bin\dreamseeker.exe
(or werever you have it installed) - Set Command Arguments to:
AtmosDllTest.dmb
- Set Working Directory to:
..
- Set Command to:
- You should now be able to debug the code using breakpoints and all with F5.
- Install DMD
- Verify that the binaries are on your system PATH
- Download the Gazoot.var_dump library.
- Open and compile
AtmosDllTest.dme
from Dream Maker - Run
SS13.dll_src\buildWin_debug.bat
- Run
AtmosDllTest.dmb
- No debugging for you!
The DM code is currently written to copy SS13.dll
to CopySS13.dll
at launch in order to let you easily rebuild the DLL
while the world is running. You can then reboot the world to bring in the updated DLL.