{"id":28713874,"url":"https://github.com/wolfe2x7/look-dont-touch","last_synced_at":"2026-04-24T12:31:40.579Z","repository":{"id":298999761,"uuid":"1001787227","full_name":"Wolfe2x7/Look-Dont-Touch","owner":"Wolfe2x7","description":"Inhibits tampering with the game.projectc file in Defold","archived":false,"fork":false,"pushed_at":"2025-06-14T03:10:00.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-14T04:20:39.481Z","etag":null,"topics":["defold","lock","project"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wolfe2x7.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,"zenodo":null}},"created_at":"2025-06-14T03:04:47.000Z","updated_at":"2025-06-14T03:10:03.000Z","dependencies_parsed_at":"2025-06-14T04:32:20.894Z","dependency_job_id":null,"html_url":"https://github.com/Wolfe2x7/Look-Dont-Touch","commit_stats":null,"previous_names":["wolfe2x7/look-dont-touch"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Wolfe2x7/Look-Dont-Touch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wolfe2x7%2FLook-Dont-Touch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wolfe2x7%2FLook-Dont-Touch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wolfe2x7%2FLook-Dont-Touch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wolfe2x7%2FLook-Dont-Touch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wolfe2x7","download_url":"https://codeload.github.com/Wolfe2x7/Look-Dont-Touch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wolfe2x7%2FLook-Dont-Touch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259906018,"owners_count":22929963,"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","lock","project"],"created_at":"2025-06-15T01:00:18.189Z","updated_at":"2026-04-24T12:31:37.987Z","avatar_url":"https://github.com/Wolfe2x7.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"Look, Don't Touch\n---\n\nThis Lua module for Defold ensures selected \"game.project\" settings keep their\nexpected values by reading from inside the bundle, inhibiting the extraordinary\ntampering Defold allows if players edit \"game.projectc\".\n\nCalled as a function, it constructs a new .projectc-formatted file from the\ndeveloper's desired constants and the user's desired configuration, then reboots\nthe game using the merged config. The file exposes the same settings as before\n(\"look\"), but in an unassuming \u0026 suitably-named hidden file called \".session\"\nthat has no effect on the game if edited (\"don't touch\").\n\nSetup:\n1. Include this module \u0026 \"inifile\" with your project, and add \"look_dont_touch\"\nto a script at game start with \"require()\"\n2. Create a \".lua\" file that returns an empty table for saving project constants;\nif the project has been bundled before, Look Don't Touch fills the table in debug\n3. A table in \"look_dont_touch.lua\" named \"lookup\" defines configurable settings;\nit includes common game options, maybe missing some troubleshooting/compatibility\n5. Call the module as a function; it returns `true` if successful\n```lua\nlook_dont_touch(consts_path, consts_table, passkey)\n  -- consts_path = path string to save the constants module\n  -- consts_table = the constants module\n  -- passkey = the body of a \"--config=\" argument, like \"bootstrap.rebooted=true\"\n```\nThe constants table only picks up changes when running the project in debug,\nafter bundling the project at least one time with the correct settings.\n\nThe \"game.projectc\" file may be tidied up by deleting unwanted categories or\nkeys. Note: *Defold still requires file paths if it cannot resolve an\nalternative.* For example, if the \"main_collection\" key is omitted, Defold\nlooks for it at the engine default value: \"/logic/main.collectionc\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfe2x7%2Flook-dont-touch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolfe2x7%2Flook-dont-touch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfe2x7%2Flook-dont-touch/lists"}