A registration key generator for Planets: TEOS v2.02, a 1994 DOS BBS door game by Seth Able Robinson.
Run keygen.exe — no installation required.
- Enter the Sysop Real Name exactly as you will type it in
PLANCFG.EXE - Enter the BBS Name exactly as you will type it in
PLANCFG.EXE - Click Generate Key
- Enter the resulting number as the Registration # in
PLANCFG.EXE
Names are case-insensitive — the game uppercases them before checking.
The key is computed entirely from the two names.
No server, no random seed, no date — the same names always produce the same key.
The algorithm was reverse-engineered from function 148D:0000 inside PLANCFG.EXE
(a Turbo Pascal 7.0 16-bit DOS executable).
The game converts both names to uppercase before doing any math, so
"sysop" and "SYSOP" produce identical keys.
Start with seed = 4.
For each character (1-indexed):
- Always add the character's ASCII value to
seed - If the index is even, also add
ascii_value ÷ index(integer division)
seed += ord(ch)
if index % 2 == 0:
seed += ord(ch) // index
For each character (1-indexed):
- Always add the character's ASCII value to
seed - If the index is odd, add the index, then add
seed ÷ index(using the already-updated seed)
seed += ord(ch)
if index % 2 == 1:
seed += index
seed += seed // index
After both loops, the seed is multiplied up if it hasn't grown large enough:
| Condition | Action |
|---|---|
| seed < 1000 | multiply × 17 |
| seed < 3000 | multiply × 11 |
| seed < 7000 | multiply × 4 |
The checks are applied in order on the running value, so a very small seed can be multiplied by more than one factor.
The final 32-bit value is the number you enter in PLANCFG.EXE.
| File | Description |
|---|---|
keygen.exe |
Win64 GUI keygen — just run it |
keygen.pas |
Free Pascal source (FPC 3.2.2, Win32 API) |
keygen.py |
Python command-line version |
Requires Free Pascal Compiler (tested with 3.2.2):
fpc keygen.pas -WG -O2 -XsI ordered valid keys from GamePort and have not received any response or keys. In case there are others who want VALID KEYS with their own information (bbs name/sysop/valid key), I'm posting this on Github.
This project is licensed under the MIT License — see LICENSE for the full text.