mcleanjx/PCMDbEditor ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python desktop app that can open and edit Pro Cycling Manager save files, specifically Cyanide Studio .cdb databases.

I want a GUI where I can load a save from a Databasefile folder next to the script, or have it open automatically on start if the file is there. The app should let me browse the database tables and records, especially the cyclist data, search cyclists by name, and view their stats in a clear visual way, like bar charts. I also need to be able to edit those cyclist attributes and save the changes back into the file.

Please make sure it creates a backup .bak file before overwriting anything. If you need to check the exact .cdb format details or current Python handling for this kind of file, look up the relevant docs online. Keep the interface simple and practical, with a focus on making the database easy to inspect and modify.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab