Download it here: http://www.pyrron.com/sots2/mapview0.3.zip (v0.3)
ReadMe: http://www.pyrron.com/sots2/mapview-readme.txt
FEATURES:
# 3D rotating view of SotS II .starmap files
# Displays Starting Systems, Node Lines, and Terrain association of stars
FEATURES IN DEVELOPMENT
Coming soon™:
# Standalone .exe version
Coming later:
# GUI version
# Display of additional data for individual stars/terrains
Feature requests? Post them here!
Installation and Usage:
1. Install Python 2.72 from http://www.python.org (This project will not run under Python 3!)
2. Install VPython from http://www.vpython.org/
3. Unzip this package to your Sword of the Stars II starmaps folder (Default location: "C:\Program Files\Steam\steamapps\common\sword of the stars ii\assets\base\starmaps")
4. Open a command line (under Windows, press [Windows key]+[R], type "cmd" and hit [Enter].
5. Navigate to the your starmaps folder (See above)
6. Run this program with the command: python mapview.py [filename.starmap]
If this doesn't work, Python may not be in your system path. In that case, use the full path to the python.exe, e.g. c:\Python27\python.exe mapview.py [filename.starmap]
7. For configuration options, use "mapview.py -h"
Commandline options:
-h: displays help message
-p: highlights starting systems (default: off)
-t: colors stars according to their terrain (default off)
-n: displays nodelines (default off)
-v [X]: sets the verbosity level to X. 0 or 1 for normal usage, higher levels are only useful for debugging (default: 1)
-s [X]: sets display size in pixels of stars (default: 10)
Example:
python mapview.py -ptn mymap.starmap
-> opens mymap.starmap with all display options enabled
Known issues:
# There is no easy way to configure the tool, and there is no GUI[/list]
Please post here if you find bugs!
Changelog:
v0.3
# Added commandline argument parsing
# Fixed terrain translation/rotation issue
v0.2
# Added functionality and configuration options to display starting systems and terrains
v0.11
# Fixed parsing of Systems not within a Terrain block
# Added configuration options within the script file. Simply follow the instructions at the start of the file mapview.py (just edit it with a text editor) to enable/disable nodeline display, and set verbosity level
v0.1
# Initial release
Original Post:
Hey all!
I've spent a few hours this christmas eve writing an external 3d viewer for .starmap files. It works, but it's currently very slow and unoptimized, and I haven't figured out how to pack it for distribution yet - have to admit that I'm a total noob when it comes to this stuff.
Anyways, I was wondering if there's any demand for such a tool, and if yes, what features you'd like it to have. All it does right now is to display the stars and a coordinate system in 3D, and not much else - which suffices for what I needed it for today, but if there's any interest, I would release it and work on it some more.
So, any feature suggestions?