Skip to content

Commit aabaf32

Browse files
committed
Updated steam release script and added documentation
1 parent accbdf5 commit aabaf32

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ LibGDX supports an HTML based facade based on the Google Web Toolkit. Its use is
9393

9494
* Add in the code like with Android: `gradlew fetchGwt` then rerun Gradle
9595

96+
[Steam Release Process](steam/SteamRelease.md)
97+
------------
98+
9699
Contributors
97100
------------
98101
[GitHub contribution stats](https://github.com/MovingBlocks/DestinationSol/graphs/contributors)

steam/ContentBuilder/scripts/depot_build_342981.vdf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
{
1616
// This can be a full path, or a path relative to ContentRoot
1717
"LocalPath" "libs\*"
18-
18+
1919
// This is a path relative to the install folder of your game
2020
"DepotPath" "libs\"
21-
21+
2222
// If LocalPath contains wildcards, setting this means that all
2323
// matching files within subdirectories of LocalPath will also
2424
// be included.
@@ -27,18 +27,18 @@
2727
"FileMapping"
2828
{
2929
// This can be a full path, or a path relative to ContentRoot
30-
"LocalPath" "res\*"
31-
30+
"LocalPath" "modules\*"
31+
3232
// This is a path relative to the install folder of your game
33-
"DepotPath" "res\"
34-
33+
"DepotPath" "modules\"
34+
3535
// If LocalPath contains wildcards, setting this means that all
3636
// matching files within subdirectories of LocalPath will also
3737
// be included.
3838
"recursive" "1"
3939
}
4040

41-
// but exclude all symbol files
41+
// but exclude all symbol files
4242
// This can be a full path, or a path relative to ContentRoot
4343
"FileExclusion" "*.pdb"
4444
}

steam/SteamRelease.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Steam Release Process
2+
------------
3+
Here is a quick run down of the steam build process and instructions on how to manually upload a new build should anyone need to do it. The future goal is to automate this process.
4+
5+
#### Prerequisites
6+
1. You need to be a Steamworks developer with build permissions on the Destination Sol app.
7+
2. Download the Steamworks SDK
8+
3. Run the steamcmd in tools -> Content Builder. The first run downloads and installs some extra files.
9+
4. I highly recommend reading the documentation: https://partner.steamgames.com/documentation/steampipe
10+
11+
#### Upload Process
12+
1. Copy the build scripts from the Destination Sol repo to the steam-sdk directory at: steam-sdk/tools/ContentBuilder/scripts
13+
2. Get the build you want to use. This is most likely the latest build from Jenkins: http://jenkins.movingblocks.net/job/DestinationSol/
14+
3. Unzip the file and copy the DestinationSol folder into the steam-sdk directory at: steam-sdk/tools/ContentBuilder/content
15+
4. Edit the script file app_build_342980.vdf and add a message to the "desc" field. This helps identify the build that you are uploading.
16+
In most cases you can comment out depots 342982, 342983 and 342984 as these are the JRE for the different operating systems and only need to be included if they have been modified. If you are updating the JRE it should be kept in sync with Terasology by using the [TerasologyJRE](https://github.com/MovingBlocks/TerasologyJRE) tools.
17+
5. From a terminal/command prompt at the ContentBuilder directory, run the following command. Replace username and password with your steam username and password. Change the steamcmd path so it's appropriate for your OS:
18+
bash ./builder_osx/steamcmd.sh +login username password +run_app_build ../scripts/app_build_342980.vdf +quit
19+
6. This will upload the files and this will show as a new build in Steamworks under the Builds tab.
20+
21+
#### Set Beta Branch to Live
22+
The next steps depend on what you want to do. The most common approach would be to promote that build to Beta. This is easily achieved by:
23+
1. Go to the Steamworks Builds tab for the app.
24+
2. Click the "Select an app branch" in the drop down of the newly uploaded build
25+
3. Select the Beta branch and click "Preview Change."
26+
4. Add a comment about the release
27+
5. Click "Set Build Live Now" to make the build live as the new Beta.

0 commit comments

Comments
 (0)