{"id":31162134,"url":"https://github.com/crozone/psp-killswitch","last_synced_at":"2025-09-19T04:56:56.043Z","repository":{"id":303817015,"uuid":"1016738178","full_name":"crozone/PSP-KillSwitch","owner":"crozone","description":"Plugin (.prx) to disable the PSP power switch and prevent accidental sleep mode/shutdown in-game.","archived":false,"fork":false,"pushed_at":"2025-09-11T14:04:11.000Z","size":99,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T17:02:17.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/crozone.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-09T12:59:19.000Z","updated_at":"2025-09-11T14:04:15.000Z","dependencies_parsed_at":"2025-09-11T16:07:04.114Z","dependency_job_id":"d0cc6e1c-faf3-4686-a3d7-cd2bc4314296","html_url":"https://github.com/crozone/PSP-KillSwitch","commit_stats":null,"previous_names":["crozone/psp-killswitch"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/crozone/PSP-KillSwitch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crozone%2FPSP-KillSwitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crozone%2FPSP-KillSwitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crozone%2FPSP-KillSwitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crozone%2FPSP-KillSwitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crozone","download_url":"https://codeload.github.com/crozone/PSP-KillSwitch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crozone%2FPSP-KillSwitch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275883240,"owners_count":25545490,"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","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-09-19T04:56:53.453Z","updated_at":"2025-09-19T04:56:56.020Z","avatar_url":"https://github.com/crozone.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PSP-KillSwitch\nPlugins (.prx) to disable the PSP power switch and prevent accidental sleep mode/shutdown.\n\nTested with ARK-4 CFW on PSP-3000 FW 6.61.\n\n## Preface\n\nIt's no secret that the PSP power switch is poorly designed, and Sony never bothered to fix it on any version of the PSP.\n\nThere are two major issues:\n\n* The position of the power switch makes it very easy to accidentally trigger in-game, leading to sleeping or shutdown during gameplay.\n* Disabling the hold switch can accidentally overshoot and hit the power button, sleeping the PSP.\n\nThese plugins aim to fix these issues.\n\n## Plugins\n\nThere are two plugins which each fix one issue. They can be used individually or together.\n\n* KillSwitch.prx\n* KillSwitchHold.prx\n\nThe plugins do not, and cannot, override the force shutdown proceedure. Holding the power switch for 10-15 seconds will always forcefully power off the PSP. It is a built-in hardware feature.\n\n### KillSwitch\n\nDisables the power switch completely, unless the HOME button is held down while the power switch is pushed.\n\nThis is designed to prevent accidental sleep mode or shutdown during gameplay.\n\nAlthough the plugin can be loaded at any time, the typical setup is to only activate KillSwitch in-game, by configuring the CFW plugin loading to \"game\".\nFor example, with ARK-4 CFW, add the following line to `SEPLUGINS/PLUGINS.TXT`:\n\n`game, ms0:/SEPLUGINS/KillSwitch.prx, on`\n\n### KillSwitchHold\n\nDisables the power switch for 300ms after hold is deactivated.\n\nThis is designed to prevent accidental sleep mode when disabling hold and overshooting the detent.\n\nThe typical setup is to activate this for the VSH (the XMB menu), or always, depending on whether it is combined with KillSwitch.\nFor example, with ARK-4 CFW, add the following line to `SEPLUGINS/PLUGINS.TXT`:\n\n`vsh, ms0:/SEPLUGINS/KillSwitchHold.prx, on`\n\n## Installation\n\n* You will need a custom firmware installed on your PSP. See the [ARK-4 project](github.com/PSP-Archive/ARK-4) for details on how to install it.\n* Copy KillSwitch.prx and/or KillSwitchHold.prx into /SEPLUGINS/ on the root of your Memory Stick\n* Edit `SEPLUGINS/PLUGINS.TXT`\n  * For KillSwitch and KillSwitchHold, add the lines\n    ```\n    vsh, ms0:/SEPLUGINS/KillSwitchHold.prx, on\n    game, ms0:/SEPLUGINS/KillSwitch.prx, on\n    ```\n  * For KillSwitchHold only, add the line\n    ```\n    all, ms0:/SEPLUGINS/KillSwitchHold.prx, on\n    ```\n  * See [ARK-4 Plugins](https://github.com/PSP-Archive/ARK-4/wiki/Plugins) for more details. \n* Restart the PSP.\n\n## Building\n\n* Follow the PSPDEV toolchain [installation steps](https://pspdev.github.io/installation.html)\n\n### For release\n\n```bash\nmkdir -p -- build/release\ncd build/release\npsp-cmake -DCMAKE_BUILD_TYPE=Release ../..\nmake\n```\n\n### For debug (with debug logs to the PSP display)\n\n```bash\nmkdir -p -- build/debug\ncd build/debug\npsp-cmake -DCMAKE_BUILD_TYPE=Debug ../..\nmake\n```\n\n## Disclaimer\n\nAs always, the software is provided as-is without warranties of any kind, or claims of fitness for a particular purpose.\nI take no responsiblity for any damage caused to your hardware. Be safe and always check your work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrozone%2Fpsp-killswitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrozone%2Fpsp-killswitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrozone%2Fpsp-killswitch/lists"}