{"id":15722698,"url":"https://github.com/subsoap/defsteam","last_synced_at":"2025-05-13T03:45:41.839Z","repository":{"id":71235833,"uuid":"110058848","full_name":"subsoap/defsteam","owner":"subsoap","description":"Steamworks support for Defold","archived":false,"fork":false,"pushed_at":"2018-11-14T18:28:24.000Z","size":2358,"stargazers_count":11,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T05:52:48.608Z","etag":null,"topics":["defold","defold-game-engine"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subsoap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-09T02:47:12.000Z","updated_at":"2024-06-13T20:35:31.000Z","dependencies_parsed_at":"2023-02-28T01:01:18.805Z","dependency_job_id":null,"html_url":"https://github.com/subsoap/defsteam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefsteam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefsteam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefsteam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefsteam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subsoap","download_url":"https://codeload.github.com/subsoap/defsteam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870822,"owners_count":21976610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["defold","defold-game-engine"],"created_at":"2024-10-03T22:08:59.626Z","updated_at":"2025-05-13T03:45:41.816Z","avatar_url":"https://github.com/subsoap.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# THIS IS NOW DEPRECIATED!! DO NOT USE!!\n\nUse this up to date extension instead:\n\nhttps://www.defold.com/community/projects/121594/\n\nhttps://github.com/britzl/steamworks-defold\n\n\n# DefSteam\n\nSteamworks support for Defold\n\n# Installation\n\nTo use this extension you must be a registered Steamworks developer through Valve and a game on Steam setup with an appid. Otherwise this extension will be of no use to you.\n\nYou can sign up here: https://partner.steamgames.com/\n\nYou must first download the latest Steamworks SDK. If the latest doesn't work the last known version tested is 1.40 which should work.\n\nhttps://partner.steamgames.com/downloads/list\n\nCreate a folder called \"res\" in the root of your project next to your game.project file. Look at the example project for a sample. \n\nCreate a \"common\" folder within the \"res\" folder and then create a \"steam_appid.txt\" and type your Steam game's appid into it. Open your game.project file and add a line under [project] with the text \"bundle_resources = /res\" without quotes.\n\nCopy and paste the \"steam_appid.txt\" to the root of your project next to your game.project file. A steam_appid.txt file is required when launching a game using Steam directly without launching from Steam.\n\nCreate target folders within the \"res\" folder for each platform you wish to release your game on Steam. Valid options are \"x86-win32\" \"x86_64-win32\" \"x86_64-osx\" \"x86_64-linux\" then copy the appropriate redistributable files from the Steamworks SDK to these folders. You can find these in for example \"\\steamworks_sdk_140\\sdk\\redistributable_bin\" with the non-64 win32 steam_api.dll in that folder. These files are copied into the root of your game's folder when bundling.\n\nNext copy and paste the redistributable files into the root of your project next to the game.project file. This is so that you can test your game using \"Project -\u003e Build\"\n\nNext add this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add:\n\n\thttps://github.com/subsoap/defsteam/archive/master.zip\n\nRemember to do Project -\u003e Fetch Libraries\t\n\t\n# Bundling\n\nWith the steps for installation correctly followed the appropriate redistributable files should be included with your game when bundling.\n\n# Example\n\nThe example uses the Steam appid of 480. This is the game Valve uses for testing Steamworks features, and a copy of it is included in the Steamworks SDK. You can view its achievement and stats metadata here: https://steamdb.info/app/480/stats/\n\nTo run the example you will need to go through the steps in the installation to add redistributable files to your project root and res folders as the required redistributable files are not included with DefSteam.\n\n# Usage\n\nIn your main script require DefSteam.\n\n```\nlocal defsteam = require(\"defsteam.defsteam\")\n```\n\nThen run init\n\n```\ndefsteam.init()\n```\n\nMost of the Steamworks API should be available to you. You can read the Steamworks documentation for features.\n\nhttps://partner.steamgames.com/doc/sdk/api\n\nFor achievements you would for example use.\n\n```\ndefsteam.userstats.SetAchievement(\"ACH_WIN_ONE_GAME\")\n```\n\n# Information\n\nDefSteam does not use native extensions and instead is using ffi.\n\nDefSteam uses a modified ffibuild generated steamworks.lua from the [Goluwa project](https://github.com/CapsAdmin/goluwa).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsoap%2Fdefsteam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubsoap%2Fdefsteam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsoap%2Fdefsteam/lists"}