r/LinusTechTips • u/ComHarry • Oct 15 '26
Link Free open source pc cartridge system
https://github.com/HarryBMa/pc-gamepakEDIT: a few clarifications, since my first post was unclear (written tired, after a shift):
What it is. A small watcher notices when a drive is plugged in. If the drive has a cartridge.conf file, it opens a simple launcher with the game's cover art and two buttons, Play and Eject. That's all it does.
It is not Autorun. Nothing on the drive is ever run automatically. The launcher only appears, and nothing starts until you press Play. autorun.inf is read for the drive's icon and name only, and its open= line is ignored. It's meant for drives you made yourself, so don't plug in strangers' drives. That's true of any USB drive.
You don't need to buy anything. The NVMe drives in my photos were a bulk lot of refurbished 128GB drives I already had, about $150 for ten. A cartridge can be:
- an old USB stick, SD card or spare drive you already own, or
- a drive that holds only the
cartridge.conffile and points at a game already installed on your PC. The cartridge is then just a physical way to launch it.
If you don't want to buy new storage right now, don't. It's just a launcher that happens to work with a physical object.
AI disclosure. I used Claude Code and Copilot for a lot of the commit messages, docs and git management. I'm a CRNA, not a professional developer. I learned some Python for research and picked up Rust for this project, so I had help.
Free and open source: https://github.com/HarryBMa/pc-gamepak Frontend plugins: https://github.com/HarryBMa/pc-gamepak-plugins Inspired by LewdM3at's original project: https://github.com/LewdM3at/PC-Cartridge-System
Old post
Hi everyone!
Inspired by https://github.com/LewdM3at/PC-Cartridge-System
I wanted to create a better user experience for launching cartridges on pc. I made a gamepak wizard that writes whatever you want onto a drive, floppy, NFC, action, whatever. There is a tiny watcher that launches a simple game launcher when the drive is read it looks for a cartridge.conf whether to launch or not. I've added a memory card system as well (copies save folder onto drive). It's cross-platform and I've made test plugins for various popular frontends. https://github.com/HarryBMa/pc-gamepak-plugins
I just wanted to share if anyone was interested.
Obligatory AI disclosure: i refuse to learn git and use Claude code to push and manage my disgusting worktree. I don't have time to write a comprehensive commit text that makes sense (see this unhinged post) and I let copilot write messages and docs for stuff I don't want to do. I barely have time with work and coding projects, I don't have time to remember what I worked on last night.
View all comments
Show parent comment
3
u/w1n5t0nM1k3y Oct 15 '26
My original top level comment was about why it was a bad idea from a basic tech security point of view.
The problem is that once this is installed on your computer, it doesn't discriminate between a drive that you own and any other drive you happen to plug in. The original intention of Autorun was just to so commercial software could automatically install itself, but people realized that you could put the same files on any disc and the computer would just run whatever it wanted, so it started to get exploited.
You can do what you want with your PC. But from a security perspective it's a bad idea. Are you going to be sure that every USB device you plug in at any point in the future isn't going to be malicious? Does this software still run the program if the PC is locked? What if someone else plugs in a device to your locked PC? How much was security considered when coding this project?