Downloading the source code: Difference between revisions

Jump to navigation Jump to search
m
Minor adjustments to page, creation of prompt for coders / Admins to contribute to actual operation of servers from their end
No edit summary
m (Minor adjustments to page, creation of prompt for coders / Admins to contribute to actual operation of servers from their end)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Needs revision|reason=More like I will fix this|user=[[User:Jando|jando]]}}
{{Needs revision|reason=Staff/Coder consultation needed for in-server control panels operation|user=[[User:Anvilman|Anvilman6]]}}


This page contains the information and steps needed to download the latest version of the code, compile it and host your own server.
This page contains the information and steps needed to download the latest version of the code, compile it and host your own server.


<!--
== Licensing ==
== Licensing ==


The /tg/station 13 source code is under [http://www.gnu.org/licenses/agpl-3.0.html GNU AGPL v3 license] and the assets are [http://freedomdefined.org/Licenses/CC-BY-SA CC-BY-SA].
The /tg/station 13 source code is under [http://www.gnu.org/licenses/agpl-3.0.html GNU AGPL v3 license] and the assets are [http://freedomdefined.org/Licenses/CC-BY-SA CC-BY-SA].
 
-->
== Downloading ==
== Downloading ==


We use GitHub to host our project.
We use GitHub to host our project.


A zip download is available here: [https://github.com/tgstation/-tg-station]
A zip download is available here: [https://github.com/yogstation13/Yogstation-TG]


If you don't want to download 30MB of data every time an update is made, you can [[Setting up git|follow this guide]] to set up TortoiseGit.
If you don't want to download 30MB of data every time an update is made, you can [[Setting up git|follow this guide]] to set up TortoiseGit.


== "I did not change anything, but the code does not work anymore!" ==
[[File:Download za git.png]]
 
This is likely due to corrupted files.
To fix this, you need to:
 
*Re-download everything
*Copy over your config folder and the data folder
*Clean compile
 
(There is no good alternative to this with TortoiseGit)


== Hosting a server ==
== Hosting a server ==


To get a simple server running first
To get a simple server running:
* Download the source code as explained [[Downloading_the_source_code#Downloading|above]]
* Download the source code as explained [[Downloading_the_source_code#Downloading|above]]
* Open tgstation.dme in dream maker (double click it)
* Open yogstation.dme in dream maker (double click it)
* Once it opens select Build > Compile
* Once it opens select Build > Compile
* Wait until it compiles. Once it does a new file "tgstation.dmb" will be created in the same folder where "tgstation.dme" is. The dmb file has an orange icon. Compile time usually takes between 1 and 10 minutes, depending on your computer. Dream maker will show as 'not responding' during this time, but it is compiling.
* Wait until it compiles. Once it does a new file "Yogstation.dmb" will be created in the same folder where "yogstation.dme" is. The dmb file has an orange icon. Compile time usually takes between 1 and 10 minutes, depending on your computer. Dream maker will show as 'not responding' during this time, but it is compiling.
* Open dream daemon (Win7: start menu > all programs > BYOND > Dream Daemon; Win8: start > type Dream Daemon > Dream Daemon)
* Open dream daemon (Win7: start menu > all programs > BYOND > Dream Daemon; Win8: start > type Dream Daemon > Dream Daemon)
* Select the "..." in the lower right corner and select the file "tgstation.dmb".
* Select the "..." in the lower right corner and select the file "yogstation.dmb".
* Click the "GO" button and wait until it changes to a red "stop" button. Starting the server usually takes between 1 and 5 minutes. It is fully started once you can normally interact with Dream Daemon and a byond://xxx.xxx.xxx.xxx:xxxxx link is present at the bottom.
* Click the "GO" button and wait until it changes to a red "stop" button. Starting the server usually takes between 1 and 5 minutes. It is fully started once you can normally interact with Dream Daemon and a byond://xxx.xxx.xxx.xxx:xxxxx link is present at the bottom.
* Click the yellow button (former "...") to auto-join
* Click the yellow button (former "...") to auto-join
Line 40: Line 32:
* Paste the link (ctrl+v) to your friends so they can join.
* Paste the link (ctrl+v) to your friends so they can join.


== Making your server visible on byond.com ==
<!-- == Making your server visible on byond.com ==


You '''DO NOT NEED''' to pay for membership to make your server visible on byond.com!
You '''DO NOT NEED''' to pay for membership to make your server visible on byond.com!
Line 46: Line 38:
To make your server show up, go to the /code/hub file. That file contains information on how to make your server visible. Be sure to edit that file '''BEFORE''' you compile. If this doesn't work, you may ask for help on our [irc://irc.rizon.net/tgstation13 IRC].
To make your server show up, go to the /code/hub file. That file contains information on how to make your server visible. Be sure to edit that file '''BEFORE''' you compile. If this doesn't work, you may ask for help on our [irc://irc.rizon.net/tgstation13 IRC].


-->
== Setting up the database ==
== Setting up the database ==


Line 100: Line 93:


For additional database-related tutorials, see [[Working with the database]].
For additional database-related tutorials, see [[Working with the database]].
==In-server administrative operation and tips==
[To be filled by administration / coders]




{{Contribution guides}}
{{Contribution guides}}
[[Category:Guides]] [[Category:Game Resources]]
[[Category:Guides]] [[Category:Game Resources]]
Wiki Director
287

edits

Navigation menu