aliens

Author Topic: MAPVIEW upgrade  (Read 276459 times)

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #555 on: August 17, 2022, 11:50:17 pm »
color schemes ... surprisingly nontrivial

but gettin there

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11515
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: MAPVIEW upgrade
« Reply #556 on: August 18, 2022, 11:22:37 am »
Next step: skins with custom textures and cursors. ;D

Offline thusky

  • Sergeant
  • **
  • Posts: 29
    • View Profile
Re: MAPVIEW upgrade
« Reply #557 on: August 18, 2022, 12:58:06 pm »
color schemes ... surprisingly nontrivial

but gettin there
Thank you for your hard work! I already hyped both discord servers about your color schemes upgrade!

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #558 on: August 18, 2022, 07:32:18 pm »
everytime i think hm, Presets: Save/Load/Reset

I shuffle outside and water the tomato plants.

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #559 on: August 24, 2022, 02:43:44 pm »
2022 aug 24

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


https://github.com/kevL/OpenXCOM.Tools/releases/tag/220824

Offline thusky

  • Sergeant
  • **
  • Posts: 29
    • View Profile
Re: MAPVIEW upgrade
« Reply #560 on: August 24, 2022, 09:50:47 pm »
Just shared your update on the discord servers! I'll be sure to report anything unusual/buggy so you know what's up, again big thanks for your work, it's a big help for my eyes ahah!

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #561 on: August 24, 2022, 11:05:16 pm »
cool cool :^)


ps. when I stress backup, backup settings/MapTilesets.yml (also)

note that the MV_Backup folders that appear here and there are ONE SHOT only. That is, when MapView2 writes pretty much any file it makes a back up in MV_Backup -- but those files get overwritten the very next time another write happens. So the folder is for users who notice immediately that something bad may have happened: don't go pressing savesavesave why isn't this working? Because that defeats automated Mv2 backups ...
« Last Edit: August 24, 2022, 11:21:38 pm by kevL »

Offline thusky

  • Sergeant
  • **
  • Posts: 29
    • View Profile
Re: MAPVIEW upgrade
« Reply #562 on: August 24, 2022, 11:10:55 pm »
I just duplicated my whole mapview working folder personally, no errors so far so I kept working, the ability to change colors is a boon for sure, I feel much better working with Mapview now, I can't stress how much this will help me on the long run!

it's things like this that makes me want to boot the software more often!

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #563 on: August 24, 2022, 11:27:20 pm »
nice. I wish i had more time to put it through its paces ...

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #564 on: October 05, 2022, 10:31:26 pm »
RouteView gets Highlights menu

https://github.com/kevL/OpenXCOM.Tools/releases/tag/221005

+ minor fixes and tweaks

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #565 on: October 11, 2022, 03:11:03 am »
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.


https://github.com/kevL/OpenXCOM.Tools/releases/tag/221011

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #566 on: May 23, 2023, 01:38:07 am »
2023 May 22

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 ...


https://github.com/kevL/OpenXCOM.Tools/releases/tag/230522

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: MAPVIEW upgrade
« Reply #567 on: June 02, 2023, 10:41:18 am »
Thank you for updating MapView2 your program is great.

Offline kevL

  • Colonel
  • ****
  • Posts: 475
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #568 on: June 03, 2023, 01:13:08 am »
Thank you for updating MapView2 your program is great.

i pass it on in spirit to Ben, and anyone who's contributed in any way: code, reports, requests

/salut

Offline GumChewer

  • Sergeant
  • **
  • Posts: 38
    • View Profile
Re: MAPVIEW upgrade
« Reply #569 on: January 16, 2024, 07:57:28 pm »
I request an option for directly reading a OXC(E) terrain .rul file in MapView.
Instead of having to use the RulesetConverter initally and re-convert whenever something in the .rul file changes.

I'm fine with, and it is seemingly easy to implement by glancing the source code,
1) Store the corresponding input (path of the .rul file, optional basepath, type) of the corresponding RulesetConverter call in the options of MapView. Or in the MapTileset.yml file which then acts only as a proxy.
2) Do the conversion at every startup of MapView
3) Do not write changes back to the .rul file

Anyway, thanks for the work so far!