Skip to content

A command line conversion tool to convert binary .map files used in Lego Rock Raiders to a JSON format usable by Raiders.

Notifications You must be signed in to change notification settings

marcbizal/map2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

map2json

A command line conversion tool written in Javascript with Node.js to convert binary .map files used in Lego Rock Raiders to a JSON format usable by Raiders.

Warning: map2json is in progress and will be available on npm very soon. For the time being please use map2json-cpp

Build Instructions

To build map2json, please use the following commands:

git clone https://github.com/marcbizal/map2json.git
cd map2json

npm install     # Installs dependencies.
npm run compile # Runs babel on 'src/' and outputs to 'lib/'.
npm link        # Creates a globally-installed symbolic link to map2json.

Usage

Usage: map2json <folder> [options]

Options:

  -h, --help           output usage information
  -V, --version        output the version number
  -o, --output [file]  name of output json file
  -a, --all            finds all subfolders and attempts to convert them
  -c, --cfg [file]     path to game configuration file

If the --output flag is not provided map2json will generate a file based on the folder name (i.e. Level05.json).

About

A command line conversion tool to convert binary .map files used in Lego Rock Raiders to a JSON format usable by Raiders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages