Adventure Game Studio | Forums

AGS Support => Advanced Technical Forum => Topic started by: Dave Gilbert on Tue 05/06/2018 21:20:16

Title: OpenGL issue: Desktop mouse overlays game mouse
Post by: Dave Gilbert on Tue 05/06/2018 21:20:16
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!


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]
Title: Re: OpenGL issue: Desktop mouse overlays game mouse
Post by: eri0o on Wed 06/06/2018 02:10:23
Does this happen only in fullscreen? Does it work in windowed?
Title: Re: OpenGL issue: Desktop mouse overlays game mouse
Post by: Crimson Wizard on Wed 06/06/2018 09:38:30
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...
Title: Re: OpenGL issue: Desktop mouse overlays game mouse
Post by: Dave Gilbert on Wed 06/06/2018 12:04:22
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.
Title: Re: OpenGL issue: Desktop mouse overlays game mouse
Post by: ollj on Thu 15/11/2018 21:37:29
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