Author Topic: AGS 3.4.1 - Beta 7 -- upcoming new version  (Read 15321 times)  Share 

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #220 on: 06 Oct 2017, 23:39 »
Make sure you're using Default Setup panel in the editor, not winsetup. Winsetup writes config to user profile, not game directory.

So 'default setup' is what winsetup used to do, and the new winsetup is something else?

Well... I guess you may put it that way too. It's just that acsetup.cfg that Winsetup saves is now located in user directory.

I had to add Default Setup page into editor because of that, so that you could generate default acsetup.cfg for you game. Otherwise you'd have to copy it from saved games.

The current config system and file locations are explained in the OPTIONS.md in our repository, here's the excrept:
Quote
Three configuration files are supported by the engine, which are read in the order listed below, every next overriding previous one:

* Default config file, found in the game's installation directory, applied for the game loaded from that directory;
* Current user's global config file, applied for any AGS game.
* Current user's game config file, applied for only game of given title. This config file is also the one being written to when the engine or setup application (Windows only) modifies game configuration.
Locations of two latter files differ between running platforms:

Linux:
* user's global config: $XDG_DATA_HOME/ags/acsetup.cfg
* user's game config: $XDG_DATA_HOME/ags/GAMENAME/acsetup.cfg
NOTE: if $XDG_DATA_HOME is not defined, then "$HOME/.local/share" is used instead.
Windows:
* user's global config: %USERPROFILE%/Saved Games/.ags/acsetup.cfg
* user's game config: %USERPROFILE%/Saved Games/GAMENAME/acsetup.cfg

Note, the "global config" was asked by Linux users, IDK if it is useful for Windows users; personally I use it to set up config for debugging purposes. There is also no way at the moment to generate it using GUI, you have to make one by hand.
« Last Edit: 06 Oct 2017, 23:47 by Crimson Wizard »

Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #221 on: 07 Oct 2017, 02:47 »


Hey @Crimson Wizard, in this new build, changing to openGL makes the Scaling Filter empty for me and it crashes when I click on the dropdown button of Scaling Filter. Granted I run AGS on Wine, but this is my first crash of it on Wine. :O

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #222 on: 07 Oct 2017, 02:53 »
Hey @Crimson Wizard, in this new build, changing to openGL makes the Scaling Filter empty for me and it crashes when I click on the dropdown button of Scaling Filter. Granted I run AGS on Wine, but this is my first crash of it on Wine. :O

Completely forgot about filter selection. Well, I will fix this tomorrow then.

Radiant

  • AGS Baker
  • Mittens Knight
  • Return once more to the Two Kingdoms!
    • I can help with publishing
    •  
    • I can help with story design
    •  
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #223 on: 07 Oct 2017, 08:14 »
It's just that acsetup.cfg that Winsetup saves is now located in user directory.
Well that makes sense, as program files is not guaranteed to be writable.

Quote
* Current user's global config file, applied for any AGS game.
This strikes me as problematic, though, as settings for one game are not guaranteed to work for another. For instance, suppose I normally play games in 320x200 and have set the DEFAULT config to scale at 3x. Then I play a 1024x768 game, and it won't initialize because at scale x3 this doesn't fit on my screen. So now a file that most users won't know about may cause other games to not work. I understand you're using it for debug purposes but I don't think this fits in a release version.

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #224 on: 07 Oct 2017, 15:48 »
Quote
* Current user's global config file, applied for any AGS game.
This strikes me as problematic, though, as settings for one game are not guaranteed to work for another. For instance, suppose I normally play games in 320x200 and have set the DEFAULT config to scale at 3x. Then I play a 1024x768 game, and it won't initialize because at scale x3 this doesn't fit on my screen. So now a file that most users won't know about may cause other games to not work. I understand you're using it for debug purposes but I don't think this fits in a release version.

It is only being used if you created one. And you cannot create it unknowingly, you should go to appropriate location on your HDD, create text file and write something into it.
Then, if display mode config is unusable for the game, engine will automatically adjust settings at startup. In your example the game window will be reduced to fit the screen.
Lastly, it were Linux people who asked for this and they are using it with release version.
« Last Edit: 07 Oct 2017, 15:55 by Crimson Wizard »

Radiant

  • AGS Baker
  • Mittens Knight
  • Return once more to the Two Kingdoms!
    • I can help with publishing
    •  
    • I can help with story design
    •  
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #225 on: 07 Oct 2017, 15:57 »
It is only being used if you created one. And you cannot create it unknowingly,
I think that the installer script for Game A could create a global config that is incompatible with Game B. It shouldn't but it can.

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #226 on: 07 Oct 2017, 16:04 »
Very well, I will remove it on Windows.

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #227 on: 07 Oct 2017, 19:13 »
https://www.dropbox.com/s/l7xzerukbcnjnst/ags--07-oct-2017-fixes.zip?dl=0

- Fixed scaling filters selection in default setup
- Disabled global config reading on Windows
- Fixed ShakeScreen for software renderer.

Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #228 on: 08 Oct 2017, 14:32 »


Hey @Crimson Wizard, I get the above error on launch (double clicking the AGS icon) with this new build. :(

I just copy pasted the files in the c:\Program Files\Adventure Game Studio 3.4.1\ folder, over the latest 3.4.1-7 files, and ran AGS.


Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  

Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #230 on: 08 Oct 2017, 15:24 »
@Crimson Wizard these now works flawlessly apparently, including the filters on Default Setup. I built my game using it and it worked. ;-D

You are awesome. :-*

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    •  
  • Dave Gilbert worked on a game that was nominated for an AGS Award!Dave Gilbert worked on a game that won an AGS Award!
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #231 on: 09 Oct 2017, 16:49 »
Ditto! Thanks CW!

Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #232 on: 13 Oct 2017, 22:00 »
Hey,is there any difference between this version and whats expected to be final release?

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #233 on: 13 Oct 2017, 22:30 »
Hey,is there any difference between this version and whats expected to be final release?

Basically, I just need to finish updating the manual, but I was unexpectedly busy in last weeks and could not get to it yet.

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    •  
  • Dave Gilbert worked on a game that was nominated for an AGS Award!Dave Gilbert worked on a game that won an AGS Award!
Re: AGS 3.4.1 - Beta 7 -- upcoming new version
« Reply #234 on: 16 Oct 2017, 17:20 »
I originally posted this in the wrong thread!

One odd glitch I'm noticing. If my computer has been on for a very long time (say, I leave it on overnight) and then I compile and run my game, the game will not accept ANY keyboard input. No escape, no press-key-to-advance-dialog, no nothing. I can't even type in names for save files. The only input it accepts is the mouse button. Rebooting my computer fixes the problem every time.

This could be an issue with my computer, but it's a problem that only surfaced with AGS 3.4.0. As a test I switched over to to a game compiled with earlier versions (before I rebooted, obviously) and they accepted keyboard inputs just fine.


Bit of an update regarding this. It turns out the problem was completely on my end. It had to do with using the Steam plugin under a VERY specific set of circumstances. I spoke to Michael Rittenhouse about it and he has fixed the plugin for me.