Losing a key-code for an old PC game is frustrating. Try these steps in order:
.txt
.ini
If the developer is defunct, recovery may be impossible. Prioritize legal methods to protect your system.