https://github.com/daiz/openxcom-namegen
Namelist generator for OpenXcom.
https://github.com/daiz/openxcom-namegen
Last synced: 5 months ago
JSON representation
Namelist generator for OpenXcom.
- Host: GitHub
- URL: https://github.com/daiz/openxcom-namegen
- Owner: Daiz
- License: mit
- Created: 2014-02-03T10:16:19.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-03T10:37:41.000Z (over 12 years ago)
- Last Synced: 2025-11-20T19:25:34.665Z (7 months ago)
- Language: LiveScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenXcom Namelist Generator
A small command-line utility for generating namelist files for [OpenXcom](http://openxcom.org) from a list of (nick)names.
## Installation
1. Make sure you have [node.js](http://nodejs.org) installed.
2. Run `npm install -g openxcom-namegen` from the command line.
## Usage
```
Usage: openxcom-namegen [options] namefile
Generate OpenXcom namelist files from a list of (nick)names.
Namefile defaults to names.txt. Names are spread evenly across all countries
unless the -d/--dupe option is specified.
Options:
-h, --help Show this help.
-o, --output Output directory. [SoldierName]
-d, --dupe Duplicate all names across all countries. [false]
-s, --stable Generate names for stable version instead of nightly. [false]
```
By default, the namefiles will be placed into a `SoldierName` directory. After generation, you can simply copy the directory to your `[OpenXcom Path]\data` directory - you'll probably want to back up the original `SoldierName` directory first!
**IMPORTANT:** It is recommended that you use the nightly builds for this, as they support namelists without last names. You can use the `-s/--stable` flag to generate namelist files for the latest stable (0.9), but your soldier names will end in two empty spaces in that case.
## Namefile
Your namefile (`names.txt` by default) should have the following format:
```
name1
name2
name3
name4
```
And so on. One name per line with nothing else. Avoid using quotes (`"`). These names will be used as last names in the game, with the first names left empty for everyone. If you don't have a lot of names, usage of the `-d/--dupe` option is recommended.