Skip to content

Commit

Permalink
add steam libs to builds, replace steamworks.lua with uspgamedev/luas…
Browse files Browse the repository at this point in the history
  • Loading branch information
RunningDroid committed Oct 18, 2023
1 parent 3aae7d0 commit 7a5d909
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 3,750 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,14 @@ A replayable arcade shooter with a focus on build theorycrafting. Use a massive
1. Download `BYTEPATH-win32.zip` from the latest [release](https://github.com/RunningDroid/BYTEPATH/releases)
2. Extract `BYTEPATH-win32.zip` on top of the version installed by Steam
- It's most likely `C:\Program Files (x86)\Steam\steamapps\common\BYTEPATH`
3. Copy `steam_api.dll` from another game and put it in the folder you just extracted
- Or you can grab a `steam_api.dll` from the [Steamworks SDK](https://partner.steamgames.com/downloads/list) instead
4. Enjoy your achievements!
3. Enjoy your achievements!

##### Linux

1. Download `game_64.AppImage` from the latest [release](https://github.com/RunningDroid/BYTEPATH/releases)
2. Replace the `game_64.AppImage` Steam has with the one you just downloaded
- It's most likely in `$XDG_DATA_HOME/Steam/steamapps/common/BYTEPATH`
3. Copy `libsteam_api.so` from another game and put it in the same folder as `game_64.AppImage`
- Or you can grab a `libsteam_api.so` from the [Steamworks SDK](https://partner.steamgames.com/downloads/list) instead
4. Enjoy your achievements!
3. Enjoy your achievements!

---

Expand Down
4 changes: 2 additions & 2 deletions globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ function unlockAchievement(achievement_name)
achievements[achievement_name] = true
if Steam then
local steam_achievement_name = achievement_name:upper():gsub(' ', '_')
print(Steam.userstats.SetAchievement(steam_achievement_name))
print(Steam.userStats.SetAchievement(steam_achievement_name))
print(achievement_name .. ' unlocked!')
timer:after(0.5, function() Steam.userstats.StoreStats() end)
timer:after(0.5, function() Steam.userStats.StoreStats() end)
end
end

Expand Down
Loading

0 comments on commit 7a5d909

Please sign in to comment.