Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Game.StoreSaveThumbnail() - Dual monitor error  (Read 7329 times)

0 Members and 1 Guest are viewing this topic.

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Game.StoreSaveThumbnail() - Dual monitor error
« on: August 12, 2013, 10:34:55 PM »

Hi Mnemonic,

I've ran into the following issue:

my menu is a window which opens from a regular scene. To preserve a nice screenshot I use the following code just before I display that window:

Code: WME Script
  1. if (!Game.StoreSaveThumbnail())                
  2. {                   
  3.     Game.Msg("Something went horribly wrong!");
  4. }
  5.  

The image thumbnail is set in Project Manager to 176x176, Personal Savegames are set to Yes, Save directory as saves and Rich Saved Games to Yes.

At work I have W7 64bit, at home Vista 64bit (don't ask me why :))

In both cases the code runs with no problem, however on W7 only black rectangle is stored instead of thumbnail image.

On my home Windows Vista, the thumbnail is correctly stored and shown. As I use SVN so it's guaranteed both installations are the same. No error in log either. It seems that for some reason the method returns just a black rectangle.

One thing to mention is that at work I have dual monitor setup but I've played the game on the first (main) monitor.

UPDATE: I've tested on my W7 64bit laptop and savegame thumbnails work correctly there! I've tried all possible combinations and the issue is connected to dual monitor setup. No matter which monitor I run the game on, as soon as I have dual monitor setup, no thumbnail (or black square instead of proper image) is stored.

UPDATE 2:
After some more testing, this issue happens only when either window or fullscreen is on the second monitor.

Thank you!
« Last Edit: August 13, 2013, 01:42:40 PM by metamorphium »
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
 

Page created in 0.023 seconds with 24 queries.