Author Topic: AGS 3.4.0 - RC2 (Release candidate)  (Read 16587 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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #40 on: 01 Aug 2016, 20:07 »
Uploaded Release Candidate 1. This was really just a bug fixing update. If no serious issues are found in a short while (a week?) it will be promoted to final release.
Download links updated in the first post.

Notable fixes since 3.4.0 - Beta 2:

- Fixed character and inventory custom properties were not reset to game defaults when loading save made by older version of the game which had less custom properties.
- A user found out that dynamic arrays in struct do not work when you make an array of those struct, for example:
Code: Adventure Game Studio
  1. struct MyStruct
  2. {
  3.     int dynamic_array[];
  4. };
  5.  
  6. MyStruct single_object; // <--- this will work
  7. MyStruct arr_of_structs[10]; // <--- this won't work
  8.  
Such array caused troubles which are too complicated for a quick fix, and require more time to investigate. A decision was made to block creation of arrays of structs, containing dynamic arrays. If you try to declare one in your script you will get an error. Hopefully this restriction will be raised in the next update.

- Fixed number of mistakes in newest manual version.


Also updated 9-verb template to 1.5.2 as suggested by abstauber. He will take full responsibility if it won't work. Bahaha.
« Last Edit: 01 Aug 2016, 22:14 by Crimson Wizard »

Kumpel

  • On the way to break new ground...
    • I can help with AGS tutoring
    •  
    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • 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.4.0 - RC1 (Release candidate)
« Reply #41 on: 05 Aug 2016, 20:30 »
Hi there,

sweet new version!

I have no idea if it is a bug, but I think the voice acting script wizard isn't finding all the lines. It doesn't seem to cover any of the separated dialog scripts? Is that intended or a known problem?

Cheers
Kumpel

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #42 on: 05 Aug 2016, 21:23 »
I have no idea if it is a bug, but I think the voice acting script wizard isn't finding all the lines. It doesn't seem to cover any of the separated dialog scripts? Is that intended or a known problem?
By "separated dialog script" you mean common dialog scripts, or something different?
I honestly do not know anything about voice acting wizard, and I cannot even think of anything we changed that would be relevant.
Would you be able to test how that worked in older versions?
Also, if this is an actual bug, I would need some kind of test case, like a small dummy project, that lets you observe the issue.
« Last Edit: 05 Aug 2016, 21:51 by Crimson Wizard »

Kumpel

  • On the way to break new ground...
    • I can help with AGS tutoring
    •  
    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • 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.4.0 - RC1 (Release candidate)
« Reply #43 on: 05 Aug 2016, 23:04 »
Yeah, I mean the common dialog scripts. My game is created with this newest version and using it's cool features pretty heavily. I can only tell you, that the 3.4.0.7 I used before couldn't even do a proper voice acting script. it just did an, besides the title and header, empty text file. So considering that, I do believe you guys did something from 3.4.0.7. to 3.4.0.10 that improved the wizard. ;)
Older version won't work with my game so I don't think, I can test it on them. But I could do a new project with one dialog script that is backwards compatible and check it out, if you want.

Another game I am doing with the older version 3.3.5. is having a different problem when trying to use the voice acting script wizard (). I have to figure that one out first (maybe I will open a thread for that in the next time, but actually I don't need a script there)

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #44 on: 06 Aug 2016, 00:15 »
Older version won't work with my game so I don't think, I can test it on them. But I could do a new project with one dialog script that is backwards compatible and check it out, if you want.
Yes, please.

Regarding "improvements", only thing that comes to mind is that the game building process changed (with multi-platform deployment support). If I just learn how to create voice scripts, I will compare how AGS 3.3 and AGS 3.4 do that (and possibly 3.2.1 too to be sure).

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #45 on: 06 Aug 2016, 00:21 »
Uhm... I created voice script with no problem for my game (3.4.0.6). At least, I think it had no problem. All the lines seemed to be there.
There are those who believe that life here began out there...

Kumpel

  • On the way to break new ground...
    • I can help with AGS tutoring
    •  
    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • 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.4.0 - RC1 (Release candidate)
« Reply #46 on: 06 Aug 2016, 01:24 »
Okay. I found the problem. First thing is, I didn't understand the important connection of auto-numbering speech lines and creating the voice acting script. But after testing the feature in an older version and getting another empty script, I got behind the order of things to do.

Now I remembered: The auto-numbering crashed AGS yesterday so I shut down the computer and went to bed. Today I didn't remember that happening and tried to do the script nevertheless. That's why it wasn't complete. While doing the auto-numbering once more it crashed again. After an AGS restart it finally did a full renumbering and after that I could create a complete voice acting script.

So the only problem still exisiting is the auto numbering occasionally crashing in both version 3.4.0.7. and 3.4.0.10. I guess it's always happening while trying to number the dialogs (right after the window telling me something like it's updating the last room of the game).

Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #47 on: 07 Aug 2016, 20:43 »
Quote from: AGD2
We just came across another bug in AGS 3.4.

The Lightlevel on tints is automatically setting wrong values in the editor Room Settings field for TintLuminence. It auto-sets values >100 and both positive and negative, values that I have not set up myself.

It also returns different values to the ones I've actually set in the editor, in-game.


Quote from: Crimson Wizard
Regarding your question, that is documented that Region.LightLevel has different value range in the Editor, than in Engine, because of some compatibility reasons. This was like that since very old versions of AGS.
If that matches your issue, then it is not a bug, but enforced behavior (although I believe may be annoying), that should be kept in mind. Otherwise, I need some practical example of what you do and what you get - with exact numbers.

Speaking further about this, we may probably find a way to change this in future version.

I try and get the value of a region and get erratic values, even if, in the editor, they are set properly.

I set one to 100 in the editor, but in the game it was portrayed as 175 or 437 and I need to know the values to be able to custom tint my characters adequately.

We have the project history committed on GIT (well, Bitbucket), and I was able to track down the commit where the TintLuminence got changed. Nobody manually edited the values. AGS just seemed to adjust them by itself, after some changes were committed and pushed. After the game was recompiled, the values had adjusted to negative values (-8372) by themselves.

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #48 on: 07 Aug 2016, 21:39 »
I set one to 100 in the editor, but in the game it was portrayed as 175 or 437 and I need to know the values to be able to custom tint my characters adequately.

We have the project history committed on GIT (well, Bitbucket), and I was able to track down the commit where the TintLuminence got changed. Nobody manually edited the values. AGS just seemed to adjust them by itself, after some changes were committed and pushed. After the game was recompiled, the values had adjusted to negative values (-8372) by themselves.
Alright, I see this is something different.
I need to clarify: you set region's TintLuminance, and do not touch LightLevel? Because I was confused by your first phrase in the message.
So basically, you set TintLuminance to certain value, and after game is recompiled that value gets changed - in the region properties?
Also, you read region's LightLevel in the script (at runtime) and get some random value too.

Actually, since rooms are not saved in XML, but compiled to binary file all time, and then loaded back when you open them in the editor, I believe this narrows down to how room binary data is saved or loaded.

E: By the way, how do you get the TintLuminance during the game? I noticed there is no property exposed for that in script. Which looks like an oversight. Did you use Region.LightLevel by a chance? I think it does not return proper value in that case.
« Last Edit: 08 Aug 2016, 17:40 by Crimson Wizard »

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #49 on: 08 Aug 2016, 17:45 »
I found few issues related to setting Region's TintLuminance.
Most simple way to observe the problem is this:
1. Select Region in the editor and set UseColorTint = true with some TintLuminance value.
2. Save room, then reopen room. UseColorTint will be = false, and LightLevel is set to some seemingly arbitrary value instead.
EDIT: Hmm... I just realized this happens if you don't set TintSaturation, when it is 0, tint becomes cancelled. I am not sure this is how it worked before.

Actual issues:
1. LightLevel/TintLuminance value breaks when you reopen room. This occurs when you open room in the editor, because if you just set it once and save, in game they seem to work properly in general.
2. Glitched detection of whether light level or tint is set for the region (so far in Editor, I think engine works well in this aspect, but this needs more testing).
3. There is no Region.TintLuminance property in the script, to complement other readonly Tint* properties.
4. Region.LightLevel property returns meaningless values if colored tint is set (it should probably return default light level - 0).
5. Region.TintSaturation property returns light level instead of actual saturation, both in Light and Tint modes (this is remains of older implementation that I did not change when adding TintLuminance in this version).

EDIT:
6. In previous versions when you set ColourTint on, Saturation is 50 by default, but now it is 0 by default... which makes it easy to forget set it to something.

EDIT2:
Supposedly fixed version for test:
http://teamcity.bigbluecup.org/repository/download/AdventureGameStudio_Release/13066:id/AGS-3.4.0-RC1.zip
« Last Edit: 09 Aug 2016, 00:42 by Crimson Wizard »

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #50 on: 09 Aug 2016, 15:27 »
Now I remembered: The auto-numbering crashed AGS yesterday so I shut down the computer and went to bed. Today I didn't remember that happening and tried to do the script nevertheless. That's why it wasn't complete. While doing the auto-numbering once more it crashed again. After an AGS restart it finally did a full renumbering and after that I could create a complete voice acting script.

So the only problem still exisiting is the auto numbering occasionally crashing in both version 3.4.0.7. and 3.4.0.10. I guess it's always happening while trying to number the dialogs (right after the window telling me something like it's updating the last room of the game).

I ran autonumbering on couple of projects I had without a crash. Could you give more details of how this happening to you? You said this always happens when it numbers lines in dialogs; are those specific dialogs (if you can tell)? Could you try to make a copy of your project and delete dialogs one by one, testing if crash still occurs, to find which dialogs causing this?

As a last resort, if you could PM me your project I would test run it under debugger.

Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #51 on: 09 Aug 2016, 15:33 »
I found few issues related to setting Region's TintLuminance.
Most simple way to observe the problem is this:
1. Select Region in the editor and set UseColorTint = true with some TintLuminance value.
2. Save room, then reopen room. UseColorTint will be = false, and LightLevel is set to some seemingly arbitrary value instead.
EDIT: Hmm... I just realized this happens if you don't set TintSaturation, when it is 0, tint becomes cancelled. I am not sure this is how it worked before.

Actual issues:
1. LightLevel/TintLuminance value breaks when you reopen room. This occurs when you open room in the editor, because if you just set it once and save, in game they seem to work properly in general.
2. Glitched detection of whether light level or tint is set for the region (so far in Editor, I think engine works well in this aspect, but this needs more testing).
3. There is no Region.TintLuminance property in the script, to complement other readonly Tint* properties.
4. Region.LightLevel property returns meaningless values if colored tint is set (it should probably return default light level - 0).
5. Region.TintSaturation property returns light level instead of actual saturation, both in Light and Tint modes (this is remains of older implementation that I did not change when adding TintLuminance in this version).

EDIT:
6. In previous versions when you set ColourTint on, Saturation is 50 by default, but now it is 0 by default... which makes it easy to forget set it to something.

EDIT2:
Supposedly fixed version for test:
http://teamcity.bigbluecup.org/repository/download/AdventureGameStudio_Release/13066:id/AGS-3.4.0-RC1.zip

Spent some time with this, trying to see if I could get the same tinting glitches to surface, and have not been able to. Seems to be fixed now, thanks CW!  I'll keep an eye on it and let you know if I notice anything amiss.

monkey0506

  • AGS Project Tracker Admins
  • SEND PIZZA.
    • Best Innovation Award Winner 2017, for his work to help AGS games reach the widest possible audience - through popular distribution platforms (Steam, Galaxy) as well as other operating systems (Android, Linux)
    •  
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #52 on: 14 Aug 2016, 08:26 »
Did a cursory glance over the posts here and didn't see this reported, sorry if I overlooked it.

Sprite 2008 in the "Default" template seems to have been changed or improperly imported as its magenta background is not being removed. To reproduce:  create a new game with "Default" template, run game and walk down. The other player sprites seem fine.

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #53 on: 14 Aug 2016, 13:09 »
Did a cursory glance over the posts here and didn't see this reported, sorry if I overlooked it.

Sprite 2008 in the "Default" template seems to have been changed or improperly imported as its magenta background is not being removed. To reproduce:  create a new game with "Default" template, run game and walk down. The other player sprites seem fine.
No, I never heard about it before. I recall I am using 32-bit version of Default template since 3.3.5 (and in 3.4.0) now, so some things could be changed wrongly. It is just strange that no one reported yet. I am going to check this out.

BTW, for information, you may do pull requests to default template source as well now:
https://github.com/adventuregamestudio/ags-template-source
« Last Edit: 14 Aug 2016, 13:19 by Crimson Wizard »

KyriakosCH

  • Alien spiral maker
    • I can help with backgrounds
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #54 on: 17 Aug 2016, 20:41 »
Thanks for your work :)

By the way, would it be a good idea (or not) to use this version already so as to build the engine for my game? Or should i wait until it is the official one (ie is it stable enough to safely create a game for both win and linux?)

Join the Neo-Byzantine Society; partake in high culture; click this hotspot!

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #55 on: 17 Aug 2016, 21:26 »
By the way, would it be a good idea (or not) to use this version already so as to build the engine for my game? Or should i wait until it is the official one (ie is it stable enough to safely create a game for both win and linux?)

Numerous developers used even earlier Alpha and Beta versions of 3.4.0 to release their games. Current one is much more stable than that.
There are couple of known issues (they are already fixed and new release is under preparation), but they are not game-breaking and related to only specific conditions.
I could say that 3.4.0 is not more un-safe than any of the previous official versions. :)
« Last Edit: 17 Aug 2016, 21:28 by Crimson Wizard »

KyriakosCH

  • Alien spiral maker
    • I can help with backgrounds
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
Re: AGS 3.4.0 - RC1 (Release candidate)
« Reply #56 on: 18 Aug 2016, 11:41 »
Thanks :D
Join the Neo-Byzantine Society; partake in high culture; click this hotspot!

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC2 (Release candidate)
« Reply #57 on: 22 Aug 2016, 00:16 »
Uploaded Release Candidate 2. All the new links are in the first post.

Changes since 3.4.0 - RC1:

- Fixed a number of mistakes around Region.Tint and Region.LightLevel introduced during 3.4.0 development.
- Added all fixes from recent AGS 3.3.5 Patches (5 & 6).
- Linux build component is now included into installer (as an optional item)! This means that it can be installed with AGS Editor, and will be uninstalled when you remove program using standart Windows means.

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.4.0 - RC2 (Release candidate)
« Reply #58 on: 22 Aug 2016, 05:59 »
Thanks CW for new release candidate . It works PERFECT and I haven't that error anymore . Thanks so much for your hard works ;)

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
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: AGS 3.4.0 - RC2 (Release candidate)
« Reply #59 on: 22 Aug 2016, 19:00 »
Same as with most recent 3.3.5 patch, 3.4.0 RC2 has got just reuploaded with another old bug fixed.