Skip to content

Commit b77df01

Browse files
committed
Update steamworks to 1.60
This, in combination with an update of Steamworks.NET, will allow modders to use the newer features offered by the latest version of the Steamworks SDK.
1 parent f72bf79 commit b77df01

7 files changed

Lines changed: 48 additions & 8 deletions

File tree

.github/workflows/build-libs.yml

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,35 @@ jobs:
440440
name: piton-apphosts-${{ matrix.target }}
441441
path: source/Piton/apphost/${{ matrix.lib_name }}
442442

443+
build-steamworks-net:
444+
name: Steamworks.NET
445+
runs-on: ubuntu-latest
446+
447+
steps:
448+
- uses: actions/checkout@v3
449+
with:
450+
sparse-checkout: source/Steamworks.NET
451+
submodules: true
452+
453+
- uses: actions/setup-dotnet@v4
454+
with:
455+
dotnet-version: '8'
456+
457+
- name: Build Steamworks.NET
458+
working-directory: source/Steamworks.NET/Standalone
459+
run: dotnet build -t:BatchBuild Steamworks.NET.Standard.sln
460+
461+
- name: Upload Steamworks.NET binaries
462+
uses: actions/upload-artifact@v4
463+
with:
464+
name: steamworks-net
465+
path: source/Steamworks.NET/Standalone/bin
466+
467+
443468
generate-lib-ext:
444469
name: Generate lib-ext
445470
runs-on: ubuntu-latest
446-
needs: [build-fnalibs, build-piton]
471+
needs: [build-fnalibs, build-piton, build-steamworks-net]
447472

448473
steps:
449474
- uses: actions/checkout@v4
@@ -485,20 +510,25 @@ jobs:
485510
mkdir -p ../lib-ext/lib64-win-x64
486511
mkdir -p ../lib-ext/lib64-osx
487512
mkdir -p ../lib-ext/lib64-linux
488-
513+
489514
### Vendored files
490515
cp README_lib-ext.md ../lib-ext/README.md
491516
cp source/SDL_GameControllerDB/gamecontrollerdb.txt ../lib-ext
492517
493518
# Windows x86
494-
cp binaries/steamworks/windows-x86/CSteamworks.dll ../lib-ext/lib64-win-x86
519+
cp source/Steamworks.NET/com.rlabrecque.steamworks.net/Plugins/steam_api.dll ../lib-ext/lib64-win-x86
495520
496521
# Windows x64
497-
cp binaries/steamworks/windows-x64/CSteamworks.dll ../lib-ext/lib64-win-x64
498-
cp binaries/steamworks/windows-x64/steam_api64.dll ../lib-ext/lib64-win-x64
522+
cp source/Steamworks.NET/com.rlabrecque.steamworks.net/Plugins/steam_api64.dll ../lib-ext/lib64-win-x64
499523
cp binaries/fmod/windows-x64/fmod64.dll ../lib-ext/lib64-win-x64
500524
cp binaries/fmod/windows-x64/fmodstudio64.dll ../lib-ext/lib64-win-x64
501525
526+
# OSX
527+
cp source/Steamworks.NET/com.rlabrecque.steamworks.net/Plugins/steam_api.bundle/Contents/MacOS/libsteam_api.dylib ../lib-ext/lib64-osx
528+
529+
# Linux x64
530+
cp source/Steamworks.NET/com.rlabrecque.steamworks.net/Plugins/libsteam_api.so ../lib-ext/lib64-linux
531+
502532
# Piton
503533
cp piton-runtime.yaml ../lib-ext/piton-runtime.yaml
504534
@@ -542,6 +572,11 @@ jobs:
542572
cp ../binaries/discord_game_sdk/lib/x86_64/discord_game_sdk.dylib lib64-osx/libdiscord_game_sdk.dylib
543573
cp ../binaries/discord_game_sdk/lib/x86_64/discord_game_sdk.so lib64-linux/libdiscord_game_sdk.so
544574
575+
cp ../binaries/steamworks-net/x86/Windows/netstandard2.1/Steamworks.NET.dll lib64-win-x86
576+
cp ../binaries/steamworks-net/x64/Windows/netstandard2.1/Steamworks.NET.dll lib64-win-x64
577+
cp ../binaries/steamworks-net/x64/OSX-Linux/netstandard2.1/Steamworks.NET.dll lib64-osx
578+
cp ../binaries/steamworks-net/x64/OSX-Linux/netstandard2.1/Steamworks.NET.dll lib64-linux
579+
545580
### Piton
546581
mv ../binaries/piton-apphosts piton
547582

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@
2222
[submodule "source/FMOD_SDL"]
2323
path = source/FMOD_SDL
2424
url = https://github.com/flibitijibibo/FMOD_SDL
25+
[submodule "source/Steamworks.NET"]
26+
path = source/Steamworks.NET
27+
url = https://github.com/rlabrecque/Steamworks.NET

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Some libraries have patches applied to them, to account for Everest-specific nee
66
## Libraries Versions
77

88
### Open-Source Libraries
9-
These libraries are open source and are built in CI.
9+
These libraries are open source and are built in CI.
1010

1111
- SDL2 `2.28.5`
1212
- FNA `24.01`
@@ -17,11 +17,12 @@ These libraries are open source and are built in CI.
1717
- Vulkan Loader `1.3.296`
1818
- Piton [21c7868](https://github.com/Popax21/Piton/tree/21c7868d06007f0c5e7d9030a0109fe892df1bf3)
1919
- FMOD_SDL [1f021ce](https://github.com/flibitijibibo/FMOD_SDL/tree/1f021ceb6cc13e3fe93e53e0f87d2673b24e54b7)
20+
- Steamworks.NET [`2024.8.0`](https://github.com/rlabrecque/Steamworks.NET/tree/2024.8.0)
2021

2122
### Closed-Source Libraries
22-
These libraries are closed source and cannot be _built_ in CI.
23+
These libraries are closed source and cannot be _built_ in CI.
2324
Some are not accessible without an account, and therefore need to be vendored as a binary blob.
2425

2526
- DiscordGameSDK `3.2.1` (downloaded: https://dl-game-sdk.discordapp.net/3.2.1/discord_game_sdk.zip)
2627
- FMOD Engine `1.10.14` (binary and headers) (vendored: [Download (Requires account)](https://www.fmod.com/download#fmodengine), [License](https://github.com/EverestAPI/Everest-libs/blob/main/binaries/fmod/EULA-FMOD.txt))
27-
- Steamworks SDK `1.40` (with Steamworks.NET `10.0.0`) (vendored: [Download (Official, Requires account)](https://partner.steamgames.com/downloads/list), [Download (via Steamworks.NET)](https://github.com/rlabrecque/Steamworks.NET/releases/tag/10.0.0))
28+
- Steamworks SDK `1.60` (with Steamworks.NET `2024.8.0`) (vendored: [Download (Official, Requires account)](https://partner.steamgames.com/downloads/list), [Download (via Steamworks.NET)](https://github.com/rlabrecque/Steamworks.NET/releases/tag/2024.8.0))
-160 KB
Binary file not shown.
-240 KB
Binary file not shown.
-134 KB
Binary file not shown.

source/Steamworks.NET

Submodule Steamworks.NET added at a2fc889

0 commit comments

Comments
 (0)