Releases: kevL/OpenXCOM.Tools
MapView2_240806.7z
2024 aug 6
MapView .exe 4.6.0.0
McdView .exe 4.2.1.0
PckView .exe 4.3.2.0
XCom .dll 4.4.0.0
DSShared .dll 4.2.3.0
YamlDotNet.dll 0.0.1.0 (c) Antoine Aubry and contributors
ConfigConverter .exe 2.2.2.2
RulesetConverter.exe 1.3.0.2
Maintenance
- refactors
- update function/variable descriptions, tidy notes, and style
- remove several unused functions, variables, dependencies
- specify functions and variables as static when possible
- update CHM helpfile and keyboard_cheatsheet
TopView
- render blob-color beneath the Part slot
- rightclick on Part slot sets the currently selected part to null
- refactor blob-draw routines and add several corner LoFTs
- use WhiteSmoke instead of White as the prep-color for translucent blobs
- add EnableAll to the Visibility menu - [F9] in TopView, [Ctrl+F9] in MainView
- close TestPartslots dialog if/when the current tileset closes
- switch positions of levelup/leveldown buttons
- print path of current Mapfile to the titlebar
- prevent several possible borks after closing a Mapfile
MainView
- change shortcut for toggling 1-tile selection border from [Ctrl+F9] to [Shift+F9]
- add [Ctrl+F9] to enable visibility of all parttypes (cf. TopView's Visibility menu)
- switch positions of levelup/leveldown buttons
- tweak determination of tile occultations
- prevent several possible borks after closing a Mapfile
RouteView
- fix: allow hotkeys [Shift+Add] and [Shift+Subtract] to drag nodes up/down levels
- fix: refresh the color of NodeRankHighlight panels when user changes rank-colors in options
- highlight the color of the NodeRankHighlight texts when ONLY spawn-nodes are highlighted (as a visual aid)
- allow [Ctrl] to modify shortcuts [0..8] when selecting highlights
- adjust width of the NodeRankHighlight group based on UFO/TFTD texts
- switch positions of Goto-up/Goto-down buttons
- print path of current Routefile to the titlebar
- SpawnInfo dialog: allow user to bypass tallying routenodes in other Maps (in the current Category) if a routefile can't be found
- prevent several possible borks after closing a Mapfile
TileView
- print parttype (Floor,West,North,Content) on the titlebar (for selected part) and statusbar (for mouseovered part)
- prevent several possible borks after closing a Mapfile
general
- stop decoding a spriteset as soon as an erroneous end-of-sprite marker is found
MapView2_240530.7z
MapView .exe 4.5.0.0
McdView .exe 4.2.0.0
PckView .exe 4.3.1.0
XCom .dll 4.3.0.0
DSShared .dll 4.2.2.0
YamlDotNet.dll 0.0.1.0 (c) Antoine Aubry and contributors
ConfigConverter .exe 2.2.2.2
RulesetConverter.exe 1.3.0.2
- general maintenance
- bypass advanced mousewheel handling in Mono builds (by GumChewer)
- minor updates to the CHM helpfile
MapView
- fix a few typos in TileView's Options descriptions
- draw small indicators on tiles in TopView if extended LoFT ids are detected
- tweak blob shapes and draw a light content-blob for GravLift floorparts
- disable the ticker that hides the targeter when cursor leaves the panel since
this appears to be handled by other routines - fix potential null reference in the QuadrantPanel when dismissing a SaveAlert
to load or reload a tileset
McdView
- allow values of 0..9 for BigWall
- extend Strict values for TerrainOffset (-24 to +24)
- allow boolean fields to take a byte value if not Strict
- tweak textbox (string) handling (allow a field to be blank until unfocused -
reassign its cached value if blanked)
RouteView
- tweak layout of the Goto controls on the menubar
- refresh the panel when Goto #id changes level
- Highlights menu: remove "highlight" text (is redundant)
- GetTileLocation() - fix arithmetic overflow bug that happened OnMouseOver when
the viewer-size is vertically decreased so much that the tiles can no longer
be sensibly drawn
MapView2_230522.7z
MapView.exe 4.4.6.0
McdView.exe 4.1.2.1
PckView.exe 4.3.0.1
XCom.dll 4.2.0.0
DSShared.dll 4.2.1.1
YamlDotNet.dll 0.0.1.0 (c) Antoine Aubry and contributors
ConfigConverter.exe 2.2.2.1
RulesetConverter.exe 1.3.0.1
RouteView
-
hardcap Link destinations to MaxDestId=250. The value is stored as a byte in
the Routefile but the top 5 values are reserved for the compass points and the
NotUsed value. Note that Routenode IDs are not limited to Byte.MaxValue but
they can't be linked to if their ID is greater than 250. -
support more than 256 routenodes in a Routefile.
-
TftD NodeRanks: change "Leader/Commander" string to "Navigator/Commander".
-
SpawnInfo dialog: rework layout mechanics to account for the longer
"Navigator/Commander" string. -
add (textbox) Goto #id on the menubar.
-
rewrite the embedded MonotoneSpriteset (TopView's quadrant and TileView's
eraser sprites).
MapResize
- restrict cols/rows/levels to Max 255 (these values are stored in a Mapfile as
bytes). - bugfix: when removing levels from the bottom of a Map that has routenodes that
go out of bounds at the currently displayed level an exception was thrown by
RouteView's Paint routine. fixed ...
MapView2_221011.7z
MapView 4.4.4.0
- enhancement to RouteView's noderank highlights: depressing [Ctrl] when
clicking items in the Highlights menu or on the noderank color-panels will add
or subtract the rank without affecting the current state of other ranks.
MapView2_221005.7z
MapView.exe 4.4.3.0
- RouteView: add Highlights menu. Allows user to decolor (aka ghost) nonspawn
nodes so that only spawn nodes are colored (aka highlighted) [Ctrl+h]. Further
allows user to highlight nodes of a specific rank [0..8]. Requested by Kato* - RouteView: limit calculated link-distance to Byte.MaxValue (also widen the
Distance textbox)
XCom.dll 4.1.5.0
- RouteNode: use int not byte when printing node locations (allows negative
values in case of out-of-bounds nodes) - RouteCheckInfobox: tweaks to designer
- RouteCheckService: format invalid node strings better
- RouteNodes: fix dropdown text for noderank (TFTD)5:Medic
McdView.exe 4.1.2.0
- fix description of SpriteShade (default is 0 off, not -1)
* In RouteView there's a new menu: Highlights. in the bottom right corner of RouteView, the colors and their noderanks are listed. Leftclick on any of those small color-panels ghosts the other ranks. Same as the Highlights menu (note that the Highlights menu also lets you ghost non-spawn nodes).
colors for noderanks can be customized in RouteView's Options dialog.
MapView2_220824.7z
MapView.exe 4.4.0.0
XCom.dll 4.1.3.0
DSShared.dll 4.2.1.0
IMPORTANT: The MapTree has been overhauled. Navigating away from a treenode
(whether by leftclick or keyboard) for which a tileset is currently loaded shall
close that tileset (a save confirmation should appear if the tileset has been
changed). Further, when navigating the tree by keyboard arrows, a selected
tileset node will appear with a border only; pressing [Enter] (or clicking on
the node) will fill the border with color if the tileset loads successfully.
Also, the MapTree's context menu (rightclick or spacebar) is disabled when the
treenode of an invalid tileset is currently selected.
The changes are intended to resolve any ambiguity that could result from the
fact that a selected treenode did not necessarily correspond to a loaded
tileset.
WARNING: That involved many technical changes and a partial rethink of the way
that the MapTree functions. So BACKUP YOUR STUFF before taking this version of
Mapview2 out for a spin ... if you aren't comfortable using beta software then
it's best to wait a couple weeks for possible bugs/glitches to be found and get
fixed.
Please report bugs/glitches ASAP. Tks. And ... Pls BACKUP yer STUFF
-
fix: do not attempt to draw blobs for crippled tileparts (in TopView and
RouteView). Crippled parts have ids beyond the currently allocated terrainset
and have no records, hence no blobs. -
fix: deter enabled state of levelup/down arrows in MainView and TopView when
using the Go/Og buttons or when raising/lowering a routenode in RouteView. -
fix: do not show infinite SaveAlerts when deleting a Changed tileset from the
MapTree (just close it - no confirmation is given). -
fix: deleting a tileset in the Maptree closes the tileset
-
add File|Close (closes a currently loaded tileset)
-
refactor and tweak the Maptree's context routines
-
show highest invalid setId in TilepartSubstitution dialog (if a placed
tilepart id is greater than the current Max terrainset id) -
Options dialogs: when minimized, clicking a dialog's respective Option-button
[Ctrl+o] shall restore instead of close the dialog -
add lots of Color choices to each viewer's Options (allows user to reduce
gravitational x-rays emitted by his/her monitor and could lead to watching
Neil Breen movies). Requested by thusky
MapView2_220506.7z
PckView 4.3.0.0
- add operation to the File menu: Create Tabfile for ...
- add a dialog Create Tabfile that can take a good shot at rewriting the
Tabfile for a Pckfile. If a PCK spriteset fails to load there's a good chance
that its Tabfile isn't up to snuff.
XCom.dll 4.1.2.1
- better error messages if a PCK spriteset fails to load.
- improve the algorithm for determining a Tabfile's tabword length.
CHM Helpfile
- update and add my take on the PCK+TAB specification.
MapView2_220326.7z
McdView 4.1.1.0
- bugfix: clear selected id when a terrain loads, before its parts are
instantiated not after. Else the tilepanel could try to scroll to a part past
a terrain's total parts id.
MapView2_220315.7z
MapView 4.3.0.0
- x2 scale button for RouteView
MapView2_220118.7z
MapView 4.2.0.0
- docs and refactor
- conform alphanumeric case of menuitems
- addresses an issue where .net disallows a click on ToolStrip controls if the
window is inactive. The workaround is to force focus to the ToolStrip when the
window is activated by a click on the ToolStrip. - addresses an issue where TopView disallows a click on its grid if the window
is inactive. The fix is to force focus to the grid-panel and properly set the
current mouse-location so that TopView's grid can accept the click. - accept only LMB and RMB clicks on tileparts in TileView.
- replace ContextMenu with ContextMenuStrip in TileView and allow it to open
only if the mousecursor is inside the bounds of the TilePanel. - replace ContextMenu with ContextMenuStrip on the MapTree.
- disallow hiding the McdInfo window (if shown) when a part is double-clicked
PckView 4.2.2.0
- breakout load user-config routine to its own method.
- breakout load file from FileExplorer routine to its own method.
- show SpriteEditor and Palette in the taskbar when Options|Bring editor/palette
to front is off.
XCom 4.1.1.2
- doc changes
DSShared 4.2.0.0
- add control-type ToolStripOneclick, inherits ToolStrip, to detect activation
and focus the control.
Misc
- update CHM Helpfile
- update copyleft dates in all assemblies to 2022