Space Station 13 is a multiplayer, round-based role-playing game on the BYOND game engine. Increasing the maximum length of characters for Space Station 13 records can be a daunting task if you don’t know your way around the program. Don’t you worry, because it may not be as hard as you think!

Opening the Right Files

  1. Image titled Ss13 maxcharacterrecord1.png
    1

    Open BYOND Dream Maker. You can do this by navigating your computer’s file directory to the .exe file, or by using a shortcut you may have placed somewhere.

    • If you are having difficulty finding Dream Maker, you can use a search function on your computer to type in “Dream Maker” and your computer will find it for you!
  2. 2

    Open the .dme file of the working copy of the build you wish to contribute to.

    • Look towards the upper left of the screen.
    • Click “File”.
    • Click “Open Environment…”
  3. Image titled Ss13_maxcharacterrecord2.png
    3

    Navigate the file directory until you find the .dme file. Take care to use the most up-to-date revision of the copy you would like to upload later to the GitHub repository!

    • Depending on the build, the .dme file could be named:
      • baystation12.dme
      • Aurora Station.dme
      • Polaris.dme
    • You should see something like this, if successful:
      Image titled Ss13_maxrecordcharacter3.png
  4. 4

    Expand the “code” folder in the resource directory. You can do this by using the Left Mouse Button (LMB) to either double-click it, or single-click the + symbol to the left of the folder.

    Image titled Ss13_maxrecordcharacter4.png
  5. Image titled Ss13_maxrecordcharacter5.png
    5

    Expand the “__defines” folder in the resource directory. You can do this by using the same technique used to expand the “code” folder.
  6. Image titled Ss13_maxrecordcharacter6.png
    6

    Open the “misc.dm” file. You can do this by using the LMB to double-click on the file in the directory.

    • You may have to scroll down using a scroll wheel or by clicking on the scroll bar and dragging it downwards. Be sure to check up on how you do this!

    Part2

Making a Definition

  1. Image titled Ss13_maxrecordcharacter maxexample.png
    1

    Decide if you want a separate definition for record length. Depending on the method used to handle how many characters a record will hold, you may or may not find that there are distinct definitions made specifically for records.

    • You may wish to add a new definition as such, or you may wish to modify the value of the definition “MAX_PAPER_MESSAGE_LEN” to a more suitable number if you intend to use this definition for your build’s character records.
    • This guide will assume you would like to use a separate definition.
  2. Image titled Ss13_maxrecordcharacter7.png
    2

    Use LMB to single-click at the end of line that begins with “#define MAX_BOOK_MESSAGE_LEN”. Doing so should put the text cursor (the blinking vertical line) at the end of the number of the value used for this definition.
  3. Image titled Ss13_maxrecordcharacter8.png
    3

    Insert a line break. You can do this by pressing the appropriate key on your keyboard,  Enter or  Return.

    • On some keyboards, this is a sharp-angled arrow going down and to the left.
  4. Image titled Ss13_maxrecordcharacter9.png
    4

    Type in “#define MAX_RECORD_LENGTH 24576”. You may use another value if you so please, but this is a good value to accommodate a great level of detail for people to input, without having to worry about your traditional DOS bogeymen.

    • You may have to press the SPACEBAR (a long, horizontal key at the bottom of your keyboard) a few times to align the value up with the other definition’s values — you don’t want your newborn number to stand out and be picked on by the other values!

    Tip: Be sure to save the file before you close it! Do this by holding Ctrl+S on your keyboard.

Part3

Changing the Medical, Employment, and Security Records’ Used Definitions

  1. 1

    Get ready to update your setup to use the new definition. Assuming you have followed the guide so far, you will need to update the appropriate files that handle the records in the game’s character setup menu so that it uses the new definition (“MAX_RECORD_LENGTH”) instead of the limiting current definition (“MAX_PAPER_MESSAGE_LEN”).
  2. Image titled Ss13_maxrecordcharacter10.png
    2

    Expand the “modules” folder. You may have to scroll down the directory, or even collapse the “__defines” folder in order to find it (done by using LMB to double-click it or single-click the – symbol to the left of the folder). Use LMB to double-click the “modules” folder or single-click the + symbol to the left of the folder.
  3. 3

    Expand the “client” folder. You can do this by using LMB to double-click the folder or single-click the + symbol to the left of the folder.

    Image titled Ss13_maxrecordcharacter11.png
  4. 4

    Expand the “preference_setup” folder. You can do this by using LMB to double-click the folder or single-click the + symbol to the left of the folder.

    Image titled Ss13_maxrecordcharacter13.png
  5. 5

    Expand the “background” folder. You can do this by using LMB to double-click the folder or single-click the + symbol to the left of the folder.

    Image titled Ss13_maxrecordcharacter12.png
  6. Image titled Ss13_maxrecordcharacter14.png
    6

    Open the “03_records.dm” file. You can do this by using the LMB to double-click on the file in the directory.
  7. Image titled Ss13_maxrecordcharacter15.png
    7

    Scroll down to the appropriate line. You should eventually see something that uses what is called a “proc” called “sanitize” which returns a value to a new variable being defined — three times! It should be towards the bottom of the file.
  8. Image titled Ss13_maxrecordcharacter16.png
    8

    Drag the horizontal scroll bar to the right. This is done so you can see the part of the line you need to edit. Do this by using the LMB to click and drag the bottom scroll bar to the right.
  9. Image titled Ss13_maxrecordcharacter17.png
    9

    Change the appropriate parts of the lines from “MAX_PAPER_MESSAGE_LEN” to “MAX_RECORD_LENGTH”. Be sure to check the image of this step to know where to look! The parts will be highlighted in yellow.

    • Use the LMB to click at the start of the letter “M” where it says “MAX_PAPER_MESSAGE_LEN” and hold it down.
    • Drag the cursor to your right until the end of the letter “N” where it says “MAX_PAPER_MESSAGE_LEN” so that the whole of “MAX_PAPER_MESSAGE_LEN” is highlighted.
    • Let go of the LMB.
    • Type “MAX_RECORD_LENGTH”.
    • Repeat this step for the other two (or three!) locations in this file.

    Tip: Be sure to save the file before you close it! Do this by holding Ctrl+S on your keyboard.

    Part4

Changing the Exploitable Information Record’s Used Definition

  1. 1

    Expand the “antagonism” folder. You can do this by using LMB to double-click the folder or single-click the + symbol to the left of the folder.

    Image titled Ss13_maxrecordcharacter18.png
  2. Image titled Ss13_maxrecordcharacter19.png
    2

    Open the “02_setup.dm” file. You can do this by using the LMB to double-click on the file in the directory.
  3. Image titled Ss13_maxrecordcharacter20.png
    3

    Scroll down to the appropriate line. You should eventually see something that uses what is called a “proc” called “sanitize” which returns a value to a new variable being defined. It should be towards the bottom of the file.
  4. Image titled Ss13_maxrecordcharacter21.png
    4

    Drag the horizontal scroll bar to the right. This is done so you can see the part of the line you need to edit. Do this by using the LMB to click and drag the bottom scroll bar to the right.
  5. Image titled Ss13_maxrecordcharacter22.png
    5

    Change the appropriate parts of the lines from “MAX_PAPER_MESSAGE_LEN” to “MAX_RECORD_LENGTH”. Be sure to check the image of this step to know where to look! The part will be highlighted in yellow.

    • Use the LMB to click at the start of the letter “M” where it says “MAX_PAPER_MESSAGE_LEN” and hold it down.
    • Drag the cursor to your right until the end of the letter “N” where it says “MAX_PAPER_MESSAGE_LEN” so that the whole of “MAX_PAPER_MESSAGE_LEN” is highlighted.
    • Let go of the LMB.
    • Type “MAX_RECORD_LENGTH”

    Tip: Be sure to save the file before you close it! Do this by holding Ctrl+S on your keyboard.

Part5

Compiling the Code

  1. 1

    Begin compiling the code. It takes a few steps to do this:

    Image titled Ss13_maxrecordcharacter23.png
    • Look towards the upper. left of the screen.
    • Click on “Build”
    • Click “Compile”.
  2. Image titled Ss13_maxrecordcharacter laststep.png
    2

    Wait. The bottom part of the program should show some messages. It may take a while to compile all that information that is written for the game into a neatly packaged file.

    • Your screen should now look something like this! If so, give yourself a round of applause and jump for joy and cheer!