r/coolgithubprojects • • 22h ago

control a Windows XP retro PC from your terminal

https://github.com/maluramichael/xpctl

Hey, I have an old Windows XP PC for retro games and wanted to manage it from my Mac instead of sitting in front of it for every install, file copy or patch check.

It has two parts. On the XP machine runs xpserver.exe, a single .NET 3.5 exe that sits in the tray, nothing to install. On your own machine you use xpctl.py, a single Python script with no dependencies (macOS, Linux or Windows). From the terminal you can run commands, copy files, read windows and click through installers, read the registry, mount CD images, rip CDs, install drivers and check temperatures.

Since the box is for gaming, a lot of it is about games. There is a hand-researched database of around 140 game exes that tells you which version you have installed and whether an official patch exists. Another one lists the copy protection of original discs (SafeDisc, SecuROM, StarForce) and how to image them so they still run. It can also read and edit save games for Diablo II 1.14d and Need for Speed: Underground, with checksum repair and a backup before every write.

Two things to know. It's meant for your LAN only: traffic is not encrypted, the login uses HMAC so the password never goes over the wire, but whoever has the password owns the machine. And the program itself still speaks German (tray UI and CLI output), the docs are in English.

Full disclosure: this is my own project and I used Claude to help me build it. PRs are very welcome, especially new entries for the game version and copy protection databases. If you run an XP box too, tell me what you would want it to do.

0 Upvotes

0 comments sorted by