Cyningstan DOS Games

Games for Early PCs

The NameLib Name Generator Library is Here!

Star Cadre: Team Command image with random names superimposed
Star Cadre: Team Command image with random names superimposed

Thursday, 8th October 2026

The name generator library used in Star Cadre: Combat Class, The Chambers Beneath, and Star Cadre: Team Command, is now available as a separate project for game developers to use.

NameLib Name Generator Library reads ASCII files full of names or words, stores the letter combinations away, and uses them to generate names of its own. It's useful for characters and places in procedurally generated RPG or strategy game worlds.

The library uses an old name generation algorithm from the 1980s, and is fast and simple, suitable for implementation on old platforms with slow processors and little memory. With carefully curated input data and parameters, the names it generates can be memorable and pronounceable.

NameLib Name Generator Library is included in the sources of the aforementioned games, but you can get it as a separate project from its own web page (or from the download links below)

NameLib Binaries for MS-DOS

Download: namelib.zip
Size 40kb, downloads 31.

This is the binary installation for linking with MS-DOS projects using the OpenWatcom tool set. It includes the manual, a C header, a demonstration program, and a name data build utility, alongside the library itself. (read more...)

NameLib Source Code

Download: name-src.zip
Size 72kb, downloads 24.

This is the source code for NameLib. You can modify and rebuild it for MS-DOS, or build it for other platforms. Makefiles are provided for OpenWatcom under MS-DOS, and GCC under Linux. (read more...)

Comments

New Comment

Yes No