Author Topic: OpenGL issue: Desktop mouse overlays game mouse  (Read 528 times)

Dave Gilbert

  • Mittens Vassal
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that won an AGS Award!
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
One of my testers is reporting that that her desktop's normal mouse overlays the in-game mouse and causes the game to not take her input.

I asked her to generate a log file. Any light-shedding appreciated!

Code: [Select]
Adventure Game Studio v3.4 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-2018 others
ACI version 3.4.1.13

Installing exception handler
Initializing allegro
Initializing game data
Looking for the game data file
Located game data file: c:/PROGRA~2/Steam/STEAMA~1/common/Unavowed/Unavowed.exe
Opened game data file: game28.dta
Game data version: 49
Compiled with: 3.4.1.13
Setting up game configuration
Setting up window
Initializing TTF renderer
Initializing mouse: number of buttons reported is 5
Checking memory
Data directory: c:/PROGRA~2/Steam/STEAMA~1/common/Unavowed
Initializing speech vox
Voice pack found and initialized.
Initializing audio vox
Audio vox found and initialized.
Initializing keyboard
Install timer
Initialize sound drivers
Sound settings: digital driver ID: 'AXA ' (0x41584120), MIDI driver ID: 'Auto' (0xffffffff)
Installed digital driver ID: 'AXA ' (0x41584120), MIDI driver ID: 'W32M' (0x5733324d)
Install exit handler
Initialize path finder library
Load game data
Game GUI version: 118
Requested script API: v3.4.1 (5), compat level: v3.2.1 (0)
Built library path: agsteam-unified.dll
Plugin 'agsteam-unified' loading succeeded, resolving imports...
Game title: 'Unavowed'
Checking for disk space
Initializing MOD/XM player
Initializing resolution settings
Game native resolution: 640 x 360 (32 bit)
Device display resolution: 1280 x 720
Game settings: windowed = no, screen def: explicit, screen size: 1280 x 720, match device ratio: ignore, game scale: stretch
Using graphics factory: OGL
Created graphics driver: OpenGL
Supported gfx modes (32-bit):
320x200;320x240;400x300;512x384;640x400;640x480;800x600;1024x768;
1280x720;1280x768;1280x800;1280x1024;1360x768;1366x768;1400x1050;1440x900;
1600x900;1680x1050;1920x1080;
Attempting to find nearest supported resolution for screen size 1280 x 720 (32-bit) fullscreen
Attempt to switch gfx mode to 1280 x 720 (32-bit) fullscreen
Running OpenGL: 4.4.0 - Build 20.19.15.4364
Succeeded. Using gfx mode 1280 x 720 (32-bit) fullscreen
Render frame set, render dest (0, 0, 1279, 719 : 1280 x 720)
Requested gfx filter: StdScale
Graphics filter set: 'StdScale', filter dest (0, 0, 1279, 719 : 1280 x 720)
Using gfx filter: StdScale
Mouse control: on, base: 1.000000, speed: 1.500000
Mouse confined: (0,0)-(1279,719) (1280x720)
Check for preload image
Initialize sprites
Initialize game settings
Prepare to start game
Audio is processed on the main thread
Checking replay status
Engine initialization complete
Starting game
Game GUI version: 118
Unable to write log to ''.
***** ENGINE HAS SHUTDOWN
[/quote]

Re: OpenGL issue: Desktop mouse overlays game mouse
« Reply #1 on: 06 Jun 2018, 02:10 »
Does this happen only in fullscreen? Does it work in windowed?

Re: OpenGL issue: Desktop mouse overlays game mouse
« Reply #2 on: 06 Jun 2018, 09:38 »
I'd also ask if it occurs with Direct3D renderer too , if tester can run it.

PS. Hmm this is a weird one:
Quote
Unable to write log to ''.
Was the log file in place actually? Where did the text come from if it was not able to write log...
« Last Edit: 06 Jun 2018, 11:20 by Crimson Wizard »

Dave Gilbert

  • Mittens Vassal
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that won an AGS Award!
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
Re: OpenGL issue: Desktop mouse overlays game mouse
« Reply #3 on: 06 Jun 2018, 12:04 »
The problem only occurs with OpenGL in fullscreen mode only. Direct3D mode works fine.

The tester sent me the log file, so I can only assume that it was generated fine.

Re: OpenGL issue: Desktop mouse overlays game mouse
« Reply #4 on: 15 Nov 2018, 21:37 »
its a viewframe overlay issue, OS related:
early adopter issues is to find settings with least conflicts, as in:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=54805.msg636569474#msg636569474