Final game setup looks for 3.4.0

Started by Crimson Wizard, Sat 28/05/2016 02:23:48

Previous topic - Next topic

Crimson Wizard

Quote from: Dave Gilbert on Tue 31/05/2016 20:38:54
Thanks CW!

I compiled my game with the new ACWIN and played around. Sadly, using any type of scaling in windowed mode results in a black screen. The music plays, but the screen is completely blank. Running in full-screen or a non-scaled window (native: 640 x 360) is fine. I am trying to run the game in Direct3D mode if that helps. (AGS games don't even run in DirectDraw mode on my computer!)


Does same happen when you use ACWIN that comes with 3.4.0.7 release, or it started only with the one in this thread?
Also, is your game 32-bit or 16-bit?

Dave Gilbert

It only started with the version in this thread. When I switched back to the original 3.4.0.7 version of ACWIN, the game worked fine.

My game is 32-bit.

Crimson Wizard

Could you put this in the acsetup.cfg file -
Code: text

[misc]
log=1

- run the game again to produce same error, then go to C:/Users/<username>/Saved Games/.ags and post the contents of "ags.log" here?

Dave Gilbert

Quote from: Crimson Wizard on Tue 31/05/2016 21:38:32
Could you put this in the acsetup.cfg file -
Code: text

[misc]
log=1

- run the game again to produce same error, then go to C:/Users/<username>/Saved Games/.ags and post the contents of "ags.log" here?

Sure. Here you go:

Code: ags

Adventure Game Studio v3.4 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-2016 others
ACI version 3.4.0.7

Installing exception handler
Initializing allegro
Reading configuration
Looking for game data file
Game data file: d:/Unavowed/Compiled/Windows/Unavowed.exe

Game data version: 47
Requested engine version: 3.4.0.7
Setting up window
Initializing TTF renderer
Initializing mouse
Mouse confined: (0,0)-(319,199) (320x200)
Checking memory
Initializing audio vox
Audio vox found and initialized.
Initializing keyboard
Install timer
Initialize sound drivers
Trying 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 data version: 47
Requested engine version: 3.4.0.7
Game GUI version: 118
Unavowed
Checking for disk space
Initializing MOD/XM player
Initializing resolution settings
Game native resolution: 640 x 360 (32 bit)
Device display resolution: 1920 x 1080
Game settings: windowed = yes, screen def: scaling, screen size: 1920 x 1080, match device ratio: ignore, game scale: proportional
Built library path: d3d9.dll
Using graphics factory: D3D9
Created graphics driver: Direct3D 9
Supported gfx modes (32-bit): 
	320x200;320x200;320x240;320x240;400x300;400x300;512x384;512x384;
	640x400;640x400;640x480;640x480;800x600;800x600;1024x768;1024x768;
	1152x864;1152x864;1280x600;1280x600;1280x720;1280x720;1280x768;1280x768;
	1280x800;1280x800;1280x960;1280x960;1280x1024;1280x1024;1360x768;1360x768;
	1366x768;1366x768;1400x1050;1400x1050;1440x900;1440x900;1600x900;1600x900;
	1680x1050;1680x1050;1920x1080;1920x1080;
Supported gfx modes (24-bit): none
Requested gfx filter: StdScale
Using gfx filter: StdScale
Switching to graphics mode
Attempting to find nearest supported resolution for screen size 1920 x 1080 (32-bit) windowed
Attempt to switch gfx mode to 1920 x 990 (32-bit) windowed; game frame: 1920 x 1080
D3DGraphicsDriver: InitializeD3DState()
Succeeded. Using gfx mode 1920 x 990 (32-bit) windowed
	filter dest (0, -45, 1919, 1034 : 1920 x 1080), render dest (0, -45, 1919, 1034 : 1920 x 1080)
Preparing graphics mode screen
Initializing colour conversion
Mouse control: off, base: 1.000000, speed: 1.000000
Check for preload image
Initialize sprites
Set up screen
Initialize game settings
Cannot open translation: default.tra
Prepare to start game
Mouse confined: (0,-45)-(1919,1034) (1920x1080)
Audio is processed on the main thread
Checking replay status
Engine initialization complete
Starting game
WARNING: Not all of the Direct3D resources have been disposed; ID3D ref count: 1

Crimson Wizard

I've split all the discussion about the possible new features of setup program into another thread:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=53604.0

Sorry for inconvenience, but these really made it difficult for me; all I need now is to fix the work of current setup without adding anything new.

Crimson Wizard


cat

Would it maybe be a good idea to increase the default sprite cache size? This is a setting that hardly anyone will touch but there can occur errors if it is set too low. The number should not matter now anymore on modern computers.

Dave Gilbert

#27
Quote from: Crimson Wizard on Wed 01/06/2016 15:35:09
@ Dave Gilbert: I think I fixed the problem that was occuring for you.
http://www.mediafire.com/download/5ruoaw094t4oau4/acwin_3.4.0.7-improve-winsetup.zip

This one seems to work! Thanks CW. :)

Crimson Wizard

#28
Quote from: cat on Wed 01/06/2016 15:41:38
Would it maybe be a good idea to increase the default sprite cache size? This is a setting that hardly anyone will touch but there can occur errors if it is set too low. The number should not matter now anymore on modern computers.
Is 100 MB a good value? I can also add higher values to setup, like up to 500 MB, or even 1 GB.

E: I guess any of that is technically suitable as default for modern computer, but how do we find a sane value? Normally we would need to run statistics on how much animations have to be loaded in the game for it to work without slowdowns.


cat

100MB seems reasonable. Just for reference, here is a thread where this problem was mentioned:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=45945.msg617135#msg617135
And a possible other occurrence of this:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=45209.0

Crimson Wizard

Another thing, Gurok asked me to move "Custom saves path" into Advanced section.
Is that okay? I know that some people prefer to always have saves in the same folder as the game itself, so they will be checking that option for every game they install.

cat

Yes, please move it. The less settings in basic mode the better.

SMF spam blocked by CleanTalk