AGS Awards nominations close at 13:59 GMT on Saturday 10 February 2018. You haven't yet nominated, so you've got 20 days and 14 hours left to play the games and decide which to nominate!

Author Topic: AGS 3.3.5  (Read 7823 times)

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
    •  
AGS 3.3.5
« on: 26 Mar 2016, 01:39 »
AGS 3.3.5 released


Please, read "Upgrading to AGS 3.3" AND "Upgrading to AGS 3.3.5" topic in the manual that comes with this version before upgrading your game project to 3.3.0 - 3.3.5! It contains important information on few potential problems you may encounter.

Released: 26th March 2016

Previous version: AGS 3.3.4 forum thread



Please, read before using
This update adds a serious change that may be not noticeable at first (and many players will probably not notice it at most times).
The change was discussed at: http://www.adventuregamestudio.co.uk/forums/index.php?topic=52897.0

Since 3.3.5 AGS does not allow to write any files into other path rather than "$SAVEGAMEDIR$" (personal user saves directory) or "$APPDATADIR$" (all-users game data directory). An attempt to open file for writing at any other path from script will make engine automatically remap the path to $APPDATADIR$. If your game is built in Debug mode, it will also print a warning into "warnings.log".

At the same time the players are allowed to set up their own custom path to write game saves & data in. This basically works as remapping $SAVEGAMEDIR$ and $APPDATADIR$ to custom location. Game script will be "unaware" of this, and work as usual.

Conceptually, AGS is gradually leaning towards using only "symbols of file locations" rather than actual, explicit locations.

Furthermore, winsetup will now write config file into game saves location, rather than game's installation directory. If config file is present in the game installation folder, then it is used as "default" read-only config file. The config in saves folder overrides default one.
This way it should be totally safe to install any AGS game into C:/Program Files, without having administrative rights, or even have it installed on device with read-only access.


Changes since version 3.3.4:

Editor Features:
- Path to resource's (sprite, audio) source file is now saved as relative one if the file is
  located inside game project's folder.
- Removed arbitrary limit of the script imports (was 50000).
- Script allows struct member qualifiers to be in any order.
- Better detection of integer constants overflow in script.
- Removed arbitrary limit of integer default value of +/-32000. Integer values are now limited
  by correct 32-bit values (-2147483648 to 2147483647).
- Support for negative constants in enums.
- Better folding markers and indentation guides in script editor.

Editor Bug Fixes:
- Fixed compiler crash if unknown keyword used after "readonly".
- Fixed compiler did not properly report incorrect type of dynamic array in function declaration.
- Fixed compiler did not report proper type name in case of syntax error sometimes.
- Fixed mouse cursor flicker above the script editor.

Engine Features:
- Removed unconfigurable mouse cursor's acceleration (Windows).
- Support for mouse cursor speed control (works in fullscreen mode only by defau;t): may be defined in configuration and changed in script.
- A config option for keeping consistent cursor speed relative to user's desktop resolution.
- Support for locking mouse inside window: automatic lock is enabled in configuration, and user
  may use Ctrl+Alt combination to lock/release mouse at any time.
- Restricted writing game files to special system directories
  (game is forbidden to write files into installation directiory or by absolute path).
  For old games unsafe paths are remapped.
- Support for player defined saves & game file directory.
- -v/--version command line argument makes engine display its version and bail.

Engine Bug Fixes:
- Fixed crash if screenshot is taken while game window was minimized or moving.
- Fixed alpha blend did not work properly for speech portrait if blinking frame did not have alpha channel.
- Fixed Display and Say script commands were displaying text for minimal amount of time under certain conditions.
- Fixed legacy audio functions did not start digital music playback if MIDI driver failed to initialize.
- Fixed game was run in smallest possible window if graphics driver failed to initialize fullscreen mode.
- Fixed "--help" command line argument not working all times depending on its order.
- Fixed engine did not always properly closed application window when running debug build.

Script API:
- Supported late_repeatedly_execute_always() callback in script, called after game has updated, but
  before it is drawn.
- Added Mouse.ControlEnabled (readonly) and Mouse.Speed properties.
- Added System.HasInputFocus property which tells if game currently has focus or runs at background.

Cosmetics & convenience:
- Clarified disabled MIDI option name in WinSetup.
- Extended information displayed if graphics driver failed to initialize.
- Clarified error messages for running unsupported games.


Templates updated:
Empty and Default Game templates were converted to 32-bit ones. You may still downgrade them to 16 and 8-bit after creating the game project of course.
Default Game template has its save system fixed, as explained in this thread.
« Last Edit: 19 Jun 2016, 23:21 by Crimson Wizard »

Mehrdad

    • I can help with animation
    •  
    • I can help with characters
    •  
    • I can help with story design
    •  
    • I can help with web design
    •  
Re: AGS 3.3.5
« Reply #1 on: 26 Mar 2016, 05:27 »
Great update.Nice job CW and developers ;-D
Thanks in advance for your hard works.
« Last Edit: 26 Mar 2016, 10:52 by Mehrdad »

Re: AGS 3.3.5
« Reply #2 on: 26 Mar 2016, 10:02 »
Nice one CW! And all the contributors!

Danvzare

  • The Man with No Name
    • I can help with AGS tutoring
    •  
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
Re: AGS 3.3.5
« Reply #3 on: 26 Mar 2016, 10:34 »
Brilliant CW! :-D
And thanks to everyone who helped bring this to fruition.

AnasAbdin

  • Peace, Love and AGS
Re: AGS 3.3.5
« Reply #4 on: 26 Mar 2016, 11:25 »
Thanks Crimson and all developers for working hard on the new release (nod)

Billbis

  • R, what else?
    • I can help with translating
    •  
Re: AGS 3.3.5
« Reply #5 on: 26 Mar 2016, 12:42 »
Many thanks to all contributors!

selmiak

  • ǝsıɔɹǝxǝ ʞɔǝu puɐ uıɐɹq
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with translating
    •  
    • I can help with web design
    •  
    • selmiak worked on a game that was nominated for an AGS Award!
Re: AGS 3.3.5
« Reply #6 on: 26 Mar 2016, 16:31 »
Sweet! Thanks for this! ;-D

Atavismus

  • Amiga Rulez!
    • Atavismus worked on a game that was nominated for an AGS Award!
Re: AGS 3.3.5
« Reply #7 on: 26 Mar 2016, 16:44 »
Thx CW! :)

Re: AGS 3.3.5
« Reply #8 on: 27 Mar 2016, 12:50 »
No cfg-file is created when I run acwin --setup. The game I'm running is Maniac Mansion Deluxe. Also, I can get the mouse lock to work, but it glitches, kind of like the mouse is trying to "excape" the lock.

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.3.5
« Reply #9 on: 27 Mar 2016, 15:10 »
No cfg-file is created when I run acwin --setup. The game I'm running is Maniac Mansion Deluxe.
After you run winsetup with new engine, the config file is now supposed to be created in the standard "Saved Games" folder (e.g. "C:/Users/<Username>/Saved Games/<Game Name>", if you run Windows 7). But then again, if you run setup program, you do not (usually) have to edit that file by hand.
On the other hand, you may create acsetup.cfg in the game's folder yourself, and it will be used as a "default" config, but still overriden by the one located in "Saved Games", if there is one.
The reason why it is made so is explained in the first post of this thread.

but it glitches, kind of like the mouse is trying to "excape" the lock.
Could you elaborate?
« Last Edit: 27 Mar 2016, 15:25 by Crimson Wizard »

Re: AGS 3.3.5
« Reply #10 on: 28 Mar 2016, 00:13 »
Ok, found the config. That's good. Most options doesn't seem to do anything, but I guess that could be due to the game itself?

For the mouse issue... if I move the mouse cursor to the very edge of the window on left or right, the in-game cursor disappears for a split second. This continues to happen as long as I move the mouse cursor from eg. top left to bottom left or vice versa.

Also, the in-game text in MMD looks very strange, like the black lining of the letters are too thick. A scaling thing?
« Last Edit: 28 Mar 2016, 00:17 by Muyfa666 »

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.3.5
« Reply #11 on: 28 Mar 2016, 00:26 »
Ok, found the config. That's good. Most options doesn't seem to do anything, but I guess that could be due to the game itself?
I cannot answer such question without clarification on which options you are talking about.

Also, the in-game text in MMD looks very strange, like the black lining of the letters are too thick. A scaling thing?
Sorry, but I cannot answer such question without more details. For instance, screenshot would be helpful, as well as knowing what display mode you are running the game in.
In any case, the relative thickness of outline is not supposed to change with game scaling. Only thing I can think of is image stretching to wider screen (in fullscreen mode).
« Last Edit: 28 Mar 2016, 00:30 by Crimson Wizard »

Re: AGS 3.3.5
« Reply #12 on: 28 Mar 2016, 09:18 »
http://imgur.com/VCY6w19
These does not do anything at all for me:
Filter
Mouse speed
Enable side borders
Enable top & bottom
Smooth scaled sprites

Example of think lines of text:
http://imgur.com/paJTqjz
« Last Edit: 28 Mar 2016, 09:21 by Muyfa666 »

Danvzare

  • The Man with No Name
    • I can help with AGS tutoring
    •  
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
Re: AGS 3.3.5
« Reply #13 on: 28 Mar 2016, 12:38 »
http://imgur.com/VCY6w19
These does not do anything at all for me:
Filter
Mouse speed
Enable side borders
Enable top & bottom
Smooth scaled sprites

Example of think lines of text:
http://imgur.com/paJTqjz

Those problems have been affecting Maniac Mansion Deluxe whenever you run the game from acwin, for a long time. And so have nothing to do with the currently released version.
In my opinion, it's because the game is too old. I find it best to just run the game as is through the default executable, although I'm guessing that isn't an option for you.

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.3.5
« Reply #14 on: 28 Mar 2016, 13:13 »
http://imgur.com/VCY6w19
These does not do anything at all for me:
Filter
Mouse speed
Enable side borders
Enable top & bottom
Smooth scaled sprites
Are you sure? You mean that when you change filter even the window size does not change?
Also, mouse speed and borders only work in fullscreen mode (and borders only appear if there is a need for them).


Example of think lines of text:
http://imgur.com/paJTqjz
Hmm, this rather looks like outlining is not emulated properly. Like Danvzare said, MMD is a pretty old game and some things could have changed in AGS since.
If that bothers you, one thing you may do is enable 640x400 mode font in the older games when running with new engine; add following to the config file:
Code: Text
  1. [override]
  2. upscale=1
  3.  
This is all because of the way it was implemented in old games: they had just two resolution modes, but could have two different font groups to use depending on mode.



EDIT
I find it best to just run the game as is through the default executable
The whole point of making new engines run old games is that you just can't run old AGS games on modern computers anymore. For example, I personally am unable to run any 320x200 game of Maniac Mansion Deluxe age in fullscreen on my PC at all, and when in windowed mode it is too tiny.
Also, after recent update to my video card driver, running AGS games in DirectDraw5 mode (and ALL the old games have only that mode) started to produce lots of glitches.
Using modern engine is the only way to play them now.
« Last Edit: 28 Mar 2016, 13:41 by Crimson Wizard »

Re: AGS 3.3.5
« Reply #15 on: 28 Mar 2016, 16:57 »
[override]
upscale=1

This seem to work for the font outlining. Great. Most other thigns also seem to work now. Strange.

The scaled smooth sprites does nothing thou. Not very important. D3D9 glitches quite a bit, but DDraw5 works quite ok.

Re: AGS 3.3.5
« Reply #16 on: 10 Apr 2016, 20:10 »
It works perfectly with my project, thanks!
_______________________________________ ____________________

Sylvr

    • I can help with proof reading
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: AGS 3.3.5
« Reply #17 on: 06 Jun 2016, 19:26 »
Hey guys, been a super long time! I've got another group of kids who want to make a game, but all we have, computer-wise, is a Windows Surface tablet. But AGS doesn't appear to run on it. Any thoughts/a workaround?

Thanks!
| Ben304: "Peeing is a beautiful thing, Sylvr" |

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.3.5
« Reply #18 on: 06 Jun 2016, 20:02 »
all we have, computer-wise, is a Windows Surface tablet. But AGS doesn't appear to run on it. Any thoughts/a workaround?
Hello.
How does "does not run" look like, do you get any error messages when launching the Editor, or something else?
Also, which operating system exactly is installed on the tablet?

Sylvr

    • I can help with proof reading
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: AGS 3.3.5
« Reply #19 on: 06 Jun 2016, 23:49 »
The screen simply says, give or take a few words, "This program cannot be run on this device. Please see the app store for a list of compatible programs." As for the OS, I'll have to get back to you on that as the tablet stays there.
| Ben304: "Peeing is a beautiful thing, Sylvr" |