diff --git a/CHANGELOG.md b/CHANGELOG.md index 9aeb301c..3431b48b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ Changelog ========= +### 0.31.1 + - Lean on Java's built-in blowfish cipher to replace the BlowfishJ library I'd + been using. + - Renamed the unit viewer to a general purpose object viewer, and gave it the + ability to view Red Alert mission maps. Currently only works with the + directory structure I have for local dev and doesn't work for interior maps. + ### 0.31.0 - Converted the C/C++ code for reading encrypted MIX files to Groovy - no more native platform compilers needed for supporting other platforms diff --git a/README.md b/README.md index 7ddeed26..810ac7de 100644 --- a/README.md +++ b/README.md @@ -121,19 +121,23 @@ Demo of WSA (animation format) playback on YouTube: ### view -Unit/structure viewer. Currently supports only a handful of units; those which -I have built configuration files for. +Unit/structure and map viewer. Currently supports only a handful of units - +those which I have built configuration files for - and non-interior theater +maps. ``` -Usage: view [-hV] [--palette=] [] - Path to the unit shp file to view, or a mix file that - contains the unit - [] If is a mix file, this is the name of the shp in - the mix file to view +Usage: view [-hV] [--full-screen] [--palette=] [] + Path to the object file file to view, or a mix file that + contains the object + [] If is a mix file, this is the name of the object + in the mix file to view + --full-screen Run in fullscreen mode. Only applies to the mission + viewer. -h, --help Show this help message and exit. --palette= Which game palette to apply to a paletted image. One of - "RA" or "TD". + "ra-snow", "ra-temperate", or "td-temperate". Defaults + to ra-temperate -V, --version Print version information and exit. ``` diff --git a/build.gradle b/build.gradle index 245b22df..a0e2babc 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ plugins { // Global configuration allprojects { group = 'nz.net.ultraq.redhorizon' - version = '0.31.0' + version = '0.31.1' } // Root project configuration diff --git a/redhorizon-utilities/objectviewer/source/nz/net/ultraq/redhorizon/utilities/ObjectViewer.groovy b/redhorizon-utilities/objectviewer/source/nz/net/ultraq/redhorizon/utilities/ObjectViewer.groovy index 192cd878..af4b3533 100644 --- a/redhorizon-utilities/objectviewer/source/nz/net/ultraq/redhorizon/utilities/ObjectViewer.groovy +++ b/redhorizon-utilities/objectviewer/source/nz/net/ultraq/redhorizon/utilities/ObjectViewer.groovy @@ -65,7 +65,7 @@ class ObjectViewer implements Callable { @Parameters(index = '1', arity = '0..1', description = 'If is a mix file, this is the name of the object in the mix file to view') String entryName - @Option(names = ['--full-screen'], description = 'Run in fullscreen mode') + @Option(names = ['--full-screen'], description = 'Run in fullscreen mode. Only applies to the mission viewer.') boolean fullScreen @Option(names = ['--palette'], defaultValue = 'ra-temperate', description = 'Which game palette to apply to a paletted image. One of "ra-snow", "ra-temperate", or "td-temperate". Defaults to ra-temperate')