Giter Club home page Giter Club logo

openxcom-namegen's Introduction

OpenXcom Namelist Generator

A small command-line utility for generating namelist files for OpenXcom from a list of (nick)names.

Installation

  1. Make sure you have node.js 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.

openxcom-namegen's People

Contributors

daiz avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.