LOVE2D quick setup guide for luasteam
Take a quick skim through the setup guide. Download the .SO files or .dll files that are required for your OS.
You should be using this link for luasteam, and this link for the SteamWorks SDK.
Put the files at the root of your game directory. (Or anywhere else where LuaJIT can find them)
Make sure they are named appropriately!!!
For windows 64 bit, you will need both steam_api64.dll
AND steam_api64.lib
.
(same goes for 32 bit windows)
Now, get the appid
of your game.
For example:
steampowered.com/app/1705610/PushOps
Here, 1705610
is the appid
.
Create a txt file at the base directory of your LOVE game.
Call it steam_appid.txt
, and paste the appid
in there, nothing else.
Now, open up steam, log in to the account you are releasing the game on, and check that the game appears in your library. (If the game isn't in your library, it won't work.) Keep steam open when running the game.
Finally, you should be able to set stuff up!
Steam = require("luasteam")
Steam.init() -- initializes steam SDK
... -- do whatever you want, give achievements, etc
Steam.shutdown() -- shuts down steam SDK
All the rest of the info you need can be found on luasteam's docs.