Skip to content

Releases: lluchs/ocmapgen

0.3.0: CBOR-based API and Node.js client

08 Apr 19:49
Compare
Choose a tag to compare

This release adds a CBOR-based API on stdin/stdout and a Node.js client to communicate with that API. The intention is to use the Node.js client to implement an Electron-based UI for the map generator (probably as part of the nanoMill project).

The Node.js client is published on NPM. There's a bit of documentation in ocmapgen.js.

0.2.0: Compatibility with "real" Map.c

03 Apr 14:58
Compare
Choose a tag to compare

ocmapgen now does most things the Map.c in the OC repository require:

  • It generates default SCENPAR constants from ParameterDefs.txt
  • It loads the top-level System.ocg (but not scenario-level ones, those usually depend on definitions)
  • It implements GetStartupPlayerCount() and GetStartupTeamCount()
  • It loads materials from overloaded Material.ocg

(Mape only does the last point!)

Other improvements:

  • Non-cryptic error reporting, including multiple lines of script errors
  • --watch switch for the CLI enables automatic recompilation on save
  • Map background export
  • Saving as indexed BMP which is usable as static map

v0.1.0: First working version

26 Mar 17:47
Compare
Choose a tag to compare

Binaries are attached below for Windows and Linux. The Linux binaries are linked dynamically and work (at least) on Arch LInux and Debian sid.