Jibble

Author Topic: AGS 3.5.1 - Beta 5  (Read 1391 times)

Re: AGS 3.5.1 - Beta 2
« Reply #20 on: 08 Apr 2021, 20:11 »
It would be bad to block the process from closing when it wasn't expected. I think how it works now may not be convenient but it is logical and correct given that this is not a console application and it doesn't know exactly where the output handles are pointing. These are the same reasons that it doesn't attempt to attach by default, which is very convenient but also introduces edge cases where it does the wrong thing.

eri0o

Re: AGS 3.5.1 - Beta 2
« Reply #21 on: 09 Apr 2021, 17:07 »
Other idea, add a little help text about this console-attach in winsetup (I don't remember if winsetup had a bar on top with things like file, about, ...), since it's a thing that happens only windows, could maybe help with discoverability. Again, not sure if a good idea, but it's the graphical accessible place I can think of.

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.5.1 - Beta 2
« Reply #22 on: 09 Apr 2021, 18:42 »
Other idea, add a little help text about this console-attach in winsetup (I don't remember if winsetup had a bar on top with things like file, about, ...), since it's a thing that happens only windows, could maybe help with discoverability. Again, not sure if a good idea, but it's the graphical accessible place I can think of.

I am afraid we are making this too complicated. What is the purpose and use case of this anyway? If the idea is to provide technical information, then the manual is the first choice.
If the person is using command line, then they might be savvy enough to search in documentation if something did not work.

Of course having a message appear with a hint would be nice, but then there's a question whether this may prevent other options from working. This may be interesting to investigate more later, although not a priority imho.

On winsetup, console commands are unrelated thing, and placing them in setup GUI would look confusing to majority of people who use it. For instance, in the past commercial game developers were requesting to remove or hide numerous parameters in winsetup, because they were strange to most players who made mistakes trying to change them.
I'd even say setup app could have all these arguments as options under some "Expert" tab instead, because it's purpose is to provide graphical interface to these things.
« Last Edit: 09 Apr 2021, 19:23 by Crimson Wizard »

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.5.1 - Beta 2
« Reply #23 on: 09 Apr 2021, 20:02 »
BTW, I just wanted to mention this somewhere because people are keep stumbling into this problem, here's finally an article on breaking savegames with game updates and some ways to work around that:
https://github.com/adventuregamestudio/ags-manual/wiki/GameSavesCompatibility

(this will be included in the manual too)

cat

  • Mittens Baronet
  • AGS Baker
    • cat worked on one or more games that won an AGS Award!
    •  
    • cat worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.5.1 - Beta 2
« Reply #24 on: 09 Apr 2021, 20:10 »
Sorry for having caused such discussion. I think a manual entry should be enough. I searched the manual but couldn't find any info on how to use acwin.exe to run a game. Just a single manual page (that can be found when searching acwin) should be enough.

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.5.1 - Beta 2
« Reply #25 on: 09 Apr 2021, 22:59 »
Well I just realized we have a command-line explanation but it's in a big article called "Runtime Engine": https://adventuregamestudio.github.io/ags-manual/RuntimeEngine.html
It was quick remake from an older article, and has random bunch information put there. Also commands are not updated to latest 3.5.1 beta yet.

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.5.1 - Beta 4
« Reply #26 on: 17 Apr 2021, 05:58 »
Updated to Beta 4
(use download links in the first post)

Editor:
 - Added "Attach game data to exe" option to General Settings. This lets you to package game data separately from the game.exe (only important on Windows at the moment).

Script API:
 - Added GUI.Shown readonly property that tells whether GUI is active on screen. This is primarily for GUIs with "Popup At Y" style, because they hide themselves regardless of Visible property.
Note that since 3.5.0 GUI.Visible only tells a script-set value.

Engine:
 - Added "--localuserconf" command and similar global config option which tells engine to read and write user config in the game's directory rather than using standard platform path. Game dir must be writeable for this to work.
 - Added "--conf" command which forces engine to read only explicit config file on startup.
 - Added "--user-data-dir" and "--shared-data-dir" commands for setting save game directory and shared app data directory from command line (this corresponds to existing options in config).
 - Fixed engine crash when button's graphic is set to sprite out of range.
 - Fixed certain interactions did not work with GUI if it was made fully transparent. (This appears to be a regression since 3.5.0)

Engine Plugin API:
 - Added IAGSEngine::GetRenderStageDesc() function which returns current render stage parameters. As of this version these parameters include 3 transformation matrixes, allowing any 3D render plugin to stay compliant to engine's scene rendering.

Compatibility:
 - Fixed GUI.Visible not returning expected values for GUIs with "Popup At Y" style in pre-3.5.0 games, breaking some older games logic.
 - Fixed potential buffer overflow when reading pre-3.1.0 games with old dialog script texts.

Windows:
 - Windows version of the engine now reads global configuration file. It is looked up in "%USERPROFILE%/Saved Games/Adventure Game Studio/acsetup.cfg"
 - Default log file location is now also in "%USERPROFILE%/Saved Games/Adventure Game Studio".


New config and command-line options are documented in OPTIONS.md. They have to be added to manual eventually.



I think this is coming close to final release. Most of the things planned for this update has been added, as well as few things that were not planned initially.
« Last Edit: 17 Apr 2021, 20:50 by Crimson Wizard »

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.5.1 - Beta 5
« Reply #27 on: 30 Apr 2021, 03:35 »
Updated to Beta 5
(use download links in the first post)

Script API:
 - File.Open() now supports $CONFIGFILE$ tag which will try to open user config file for reading or writing regardless of where config is located on disk.
 - Added System.SaveConfigToFile() which writes current engine settings to the user config file. Only the options that can be changed at runtime are written back at the moment.

The above was added mainly to complement new setting that lets player to have user config in the game directory, and also the fact that engine does not save config automatically on exit (this behavior was present in a previous version, but was causing confusion to people in some situations). This way if you script changing certain config options in your game you may write these back to standard user config without guessing where it's located. Note that assuming that it is always located in "$SAVEGAMEDIR$" would be incorrect now.

For those who would like to work with config file, there's a good IniFile module that can load and save it back in a correct format.

New config and command-line options are documented in OPTIONS.md. They have to be added to manual eventually.

I think this may be the last update that *adds* new things. Currently only updating the manual is in plans. And of course bug fixing, if someone finds anything serious.
« Last Edit: 30 Apr 2021, 03:39 by Crimson Wizard »

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.5.1 - Beta 5
« Reply #28 on: 03 May 2021, 22:40 »
I'm duplicating this message from another thread hoping to increase amount of feedback.

Current Color Picker for the properties in the Editor is almost useless because it provides selection among some standard lists of colours only. Selmiak was nagging us to make a better one, so I made this in an experimental "ags4" branch as a test.
The new one is a classic Colour Picker you see in Paint, for example, with full range of colours, and even ability to save colours (except they don't save between Editor launches).

The code changes were rather minor, so I also thought about porting these to 3.5.1 release, but it slipped out of my mind.

I'd like to receive some feedback before doing this though, because existing Picker appears as a non-modal panel below the Color property, but the new one is a modal dialog (requires to press OK).

This is a custom build of a 3.5.1 Editor with this colour picker (you may copy these files over 3.5.1 installation):

https://www.dropbox.com/s/7iyidlbnmeiu8tf/ags-3.5.1--colourpicker.zip?dl=0

If for some reason you think that's a too radical change and improvements are necessary before it may be used, we could also leave this for 3.6.0.
« Last Edit: Yesterday at 00:01 by Crimson Wizard »