aliens

Author Topic: MAPVIEW upgrade  (Read 156720 times)

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #525 on: October 20, 2021, 09:06:06 am »
2021 October 20
MapView2_211020.7z
https://drive.google.com/file/d/1CLaCLZu_Y_YMfmWaeSMYrfKsUCyeJTMx/view?usp=sharing

fix Copy/Paste tiles from one Map to another.
rework About boxes
+ assorted tweaks

Offline Nord

  • Commander
  • *****
  • Posts: 1336
  • The Gate is open.
    • View Profile
Re: MAPVIEW upgrade
« Reply #526 on: October 20, 2021, 09:30:36 am »
Ok, i have tryed an full-clean install. And it is working. Sorry, looks like problems are on my side. Too many modding, confused with all these maps and terrains.
Once again, sorry.
 :-[

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #527 on: October 20, 2021, 10:04:57 am »
kk

nothin wrong with pushing the limits..

Offline Finnik

  • Colonel
  • ****
  • Posts: 254
    • View Profile
Re: MAPVIEW upgrade
« Reply #528 on: October 26, 2021, 09:29:06 pm »
Can I make a few requests for PckView?

1) Add empty frame. Current version AFAIK can only add frame from file, but id like to draw in directly in your software.

2) Make SpriteEditor window bigger, with greater scaling. On my monitor its too small, that makes it hard to work with.

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #529 on: October 27, 2021, 02:10:52 am »
2) Make SpriteEditor window bigger, with greater scaling. On my monitor its too small, that makes it hard to work with.

done. not uploaded yet ... ( 1x .. 2x in increments of 10% )

will have a look at create blank sprite soon ...


there'll be a few minor upgrades to Mapview2 also ...

/cheers

[edit]
put in a small user-config file for PckView (autosaves on quit)

Code: [Select]
PckConfig:
  transparent: True
  spriteshade: True
  palette: 0
  grid: 0
  scale: 0

[edit2]
1) Add empty frame. Current version AFAIK can only add frame from file, but id like to draw in directly in your software.

done. RMB contextmenu will have create and clear ops

lookin pretty good, just wanna sleep on it ...
« Last Edit: October 29, 2021, 02:43:10 am by kevL »

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #530 on: October 29, 2021, 11:49:31 pm »
« Last Edit: October 30, 2021, 12:18:13 am by kevL »

Offline Finnik

  • Colonel
  • ****
  • Posts: 254
    • View Profile
Re: MAPVIEW upgrade
« Reply #531 on: October 30, 2021, 02:38:09 pm »
Works fine, at +10 it looks ok to me to work with, thank you!

Another possible improvement - not disable SpriteEditor window when Palette is opened. It is essential to have them both under hand in order to draw sprites.

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #532 on: October 30, 2021, 03:19:39 pm »
Another possible improvement - not disable SpriteEditor window when Palette is opened. It is essential to have them both under hand in order to draw sprites.

disable? i don't get what ya mean. There's the SpriteEditor (window) and the Palette (window) side by side ... the editor has two modes: Locked or Enabled (click text to toggle mode)

Do you mean you'd like the SpriteEditor to start in Enabled mode by default ? i can save the mode to the config file ... (kinda forgot to do that tbh)

Offline Finnik

  • Colonel
  • ****
  • Posts: 254
    • View Profile
Re: MAPVIEW upgrade
« Reply #533 on: October 31, 2021, 04:44:08 pm »
Yes, it would be nice too.

I mean that once I opened Palette window, I can't edit sprite in SpriteEditor before I close Palette window. That leads to frustration, when i need to open and close it over and over again in order to draw a sprite.

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #534 on: October 31, 2021, 04:47:58 pm »
I mean that once I opened Palette window, I can't edit sprite in SpriteEditor before I close Palette window.

hmmmmmmmm sounds like the win10 anomaly ... will need time to investigate ... (read: that should not happen)

[edit]
i think I have something, will upload later,
« Last Edit: November 02, 2021, 10:15:48 pm by kevL »

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #535 on: November 04, 2021, 01:58:11 am »
@Finnik - try this one

There should be a new item under Options in PckView's menu: _Bring editor/palette to front_

It is turned off by default. Turning it on allows the SpriteEditor and Palette windows to pop to the front of other app-windows that might be covering those windows, such that focusing the PckView window shall bring both the SpriteEditor and Palette to front, and focusing the SpriteEditor shall bring the Palette to front. But this is a finicky (no pun intended) business in .net ... it behaves differently in win7 and win10, eg.

I haven't found a way, in win10, that allows focus to return properly to the window that initiates the routine. So the _Bring editor/palette to front_ option just turns the routine on/off (ie. bypasses it when OFF).

if you turn the option on and focus does not return properly to the parent window, you'll have to close the child window(s) and turn the option off again.


note that whether the option is on or off, all windows of PckView can be brought to front by minimizing and then restoring PckView per the taskbar ...


Also, the option is saved to PckConfig.yml in the /settings folder


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

Offline Finnik

  • Colonel
  • ****
  • Posts: 254
    • View Profile
Re: MAPVIEW upgrade
« Reply #536 on: November 07, 2021, 03:47:19 pm »
@Finnik - try this one

There should be a new item under Options in PckView's menu: _Bring editor/palette to front_

It is turned off by default. Turning it on allows the SpriteEditor and Palette windows to pop to the front of other app-windows that might be covering those windows, such that focusing the PckView window shall bring both the SpriteEditor and Palette to front, and focusing the SpriteEditor shall bring the Palette to front. But this is a finicky (no pun intended) business in .net ... it behaves differently in win7 and win10, eg.

I haven't found a way, in win10, that allows focus to return properly to the window that initiates the routine. So the _Bring editor/palette to front_ option just turns the routine on/off (ie. bypasses it when OFF).

if you turn the option on and focus does not return properly to the parent window, you'll have to close the child window(s) and turn the option off again.


note that whether the option is on or off, all windows of PckView can be brought to front by minimizing and then restoring PckView per the taskbar ...


Also, the option is saved to PckConfig.yml in the /settings folder


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

Works great with default setting you made! Thank you so much!

Offline kevL

  • Colonel
  • ****
  • Posts: 380
  • pitchforks and torches
    • View Profile
Re: MAPVIEW upgrade
« Reply #537 on: November 07, 2021, 05:33:55 pm »
Works great with default setting you made! Thank you so much!

oky doke