Unaffiliated

Home Documentation & Help
Steamworks Documentation
Setup instructions for the PC Café model

Steam Site Server Step-By-Step Instructions

The Steam Site Server allows licensees of the Steam PC Café Program to share commercial licenses in their local network. Commercial game licenses that are purchased through Steam with the Steam master account will be added to a license pool that will be accessible to patrons in the cafe's network. The location name and available games will be visible in the library section of the Steam client when the user logs in.

The following instructions will walk you through the setup of the Steam Site Server. Additional information about the program can be found here.

  • Visit the Steamworks website and login with your Steam master account credentials.
  • Download the Steam Site Server file by clicking the link located under the "Tools + Links" section on the right.
  • Unzip the server files to your hard drive.
  • Create a new Steam account here that will be used at the individual location as a Site Server account. If you have multiple physical locations, you will need one Steam Server account per location.
  • Once the account has been created, go back to the Steamworks website (make sure you're logged in with your Steam master account), navigate to the "Users & Permissions" menu option and select "Manage Users". On this page click the "Add User" button and fill in the required information about the Steam server account you've just created. Don't give it any special permissions.
  • Go to the "Manage Sites" page and add a new site location. The name you select here will also be displayed in the Steam client library of your patrons. Once the site has been added, move the cursor over the site definition. You should see a key symbol appear under the "Server Account" section. Select this and then select the Steam server account you just added. Repeat this step if you have multiple site locations.

Run The Local Server

Once you have extracted the documents from the zip file and added the server account to your site location, it’s time to run the server in your local network.

First, navigate to the folder that the server files have been extracted to. Right click the steamconsole.cfg file and select Open With > Notepad. Please note that the .cfg extension may be hidden by your operating system.

Find the line in this file that includes the command "@sStartupScript" and change < account > to the server account name that you have selected for the location; you'll also need to enter the password of the account where it says < password >.

Delete the // characters from before @sStartupScript and save the file; this will activate the command when running the SteamCMD.

Next, run SteamCMD by double clicking it. The SteamCMD will automatically log in on every launch, using the account credentials you have entered into the steamconsole.cfg file. The first time you're launching the SteamCMD, you may need to enter the Steam Guard code that will be sent to the email address associated with the Site Server Steam account.

steam_guard1.png

Once you've successfully logged in, the CMD will present you with the screen below.

logged_in1.png

Content Cache Configuration

The content cache allows you to download game files once and then distribute them through your local network to the individual game stations. Patrons that bring their own computer or laptop can also access the game files instead of using your location's Internet bandwidth. Please note that the game files will be saved on your server machine and you may need to increase your hard drive space depending on the amount of games that you will offer.

Navigate to the folder where you previously extracted the server files to. The folder will be named "site_server".

In order for the content cache to work properly, you will need to un-comment the command lines in the "steamconsole.cfg" file. Un-commenting can be done by removing the "//" at the beginning of each line. You will at least have to un-comment and edit the following lines:

@nSiteLicenseProxyPort
@sSiteLicenseProxyCacheDirectory
@nSiteLicenseProxyCacheMaxGB
In our sample arcade, we have chosen to create a content folder on the main hard drive and set the cache limit to 500GB. Our sample configuration for this is as followed:
//
// Content cache configuration
//
// The location of the game download cache on the server machine.
// You should create the cache directory before running the server.

// ----- This must be set for the content cache to operate -----
@sSiteLicenseProxyCacheDirectory C:\sls_cache_public

// The maximum size on disk of the game download cache (default = 100GB)
@nSiteLicenseProxyCacheMaxGB 500

// Steam client game downloads will proxy through this port on the site server
// ----- This must be set for the content cache to operate -----
@nSiteLicenseProxyPort 3128

// Optional flag to enable the Steam clients on your network to share downloads with each other, reducing traffic
@nSiteLicenseProxyEnableP2P 1

When a game is launched for the first time in your network, the download request will be sent to the server machine. If the game files are not cached on the server yet, the server will download them automatically, cache them, and return them to the client machine. If the game content cache is already available on your server, the server will automatically send the files to the client machine. The content cache feature is also compatible with regular Steam games that your patrons own on their personal Steam accounts.