Author Topic: AGS 3.3.4  (Read 14132 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.4
« on: 12 Jul 2015, 17:50 »
AGS 3.3.4 released


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

Released: 14th July 2015

Previous version: AGS 3.3.3 forum thread


Changes since version 3.3.3:

Features:
- Removed 10,000 symbols limit in scripts.
- Added Character.Thinking and Character.ThinkingFrame script properties.
- Added Papagayo voice lip sync support.
- Find/Replace dialog now remembers the state of "Case sensitive" checkbox.
- Engine now scans all available files in search of game data, only giving standard names
  a priority.

Bug Fixes:
- Fixed Editor crash in case of lip sync data parsing error.
- Fixed Find/Replace dialog skipped the first word in the script being searched through.
- Fixed an order of cycling through fields on Find/Replace dialog.
- Restored letterboxed game's viewport behavior for larger (and scrolling) rooms.
- Fixed Hq2x and Hq3x filter rendering when the display resolution requires side borders.
- Fixed Hq2X and Hq3x filters leaving graphic artifacts on letterbox borders.
- Fixed wrong screen settings could be applied in particular cases when requested gfx filter
  could not be found or failed to initialize.
- Gfx filter name supplied in command line is case-insensitive now.
- Do not disable both digital sound and MIDI music if only one of these failed to initialize.
- Fixed MIDI music refuses to start if digital sound is disabled.
- Fixed division by zero in AlMP3 library code, that could cause crash when seeking in MP3
  audio clip.
- Removed an advise to contact Chris Jones displayed in case of error.

Compatibility:
- Permissive emulation of pre-AGS 3.1.1 "option-on/off" commands in dialog script, that do
not stop game execution if a wrong option number is supplied.

NOTE: has the MI 9-verb template updated to 1.5 RC2.
« Last Edit: 26 Mar 2016, 01:39 by Crimson Wizard »

Dualnames

  • AGS Baker
  • Rottwheelers
  • Pretty Badass
  • Dualnames worked on a game that was nominated for an AGS Award!Dualnames worked on a game that won an AGS Award!
Re: AGS 3.3.4
« Reply #1 on: 13 Jul 2015, 03:36 »
Hooray, happily upgraded to this <3

I've been told that agsblend has been integrated into this, and thus camera/viewport movement will be smooth, is that correct, or is that on 3.4.x ?
No more military army stuff. I'm alive and back.

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.4
« Reply #2 on: 13 Jul 2015, 09:06 »
I've been told that agsblend has been integrated into this, and thus camera/viewport movement will be smooth, is that correct, or is that on 3.4.x ?
Huh?
AGSBlend is a plugin that implements additional 32-bit drawing operations (like Add, Subtract, etc), it has nothing to do with camera smoothness. There was some talk about copying these to 3.4.0, but it did not happen yet (except for true alpha blending).

Re: AGS 3.3.4
« Reply #3 on: 13 Jul 2015, 09:33 »
Hmm... I just received this editor crash when the Al Emmo iOS source code in 3.3.4 and attempting to press F7 to save the game files:

Add spoiler tag for Hidden:
Error: Input string was not in a correct format.
Version: AGS 3.3.4.1

System.FormatException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at AGS.Editor.Components.SpeechComponent.C ompilePapagayoFile(String fileName, CompileMessages errors)
   at AGS.Editor.Components.SpeechComponent.C ompileLipSyncFiles(CompileMessages errors)
   at AGS.Editor.Components.SpeechComponent._ agsEditor_ExtraCompilationStep(CompileMessages errors)
   at AGS.Editor.AGSEditor.CompileScripts(Object parameter)
   at AGS.Editor.BusyDialog.RunHandlerOnThrea d()
   --- End of inner exception stack trace ---
   at AGS.Editor.BusyDialog.Show(String message, ProcessingHandler handler, Object parameter)
   at AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
   at AGS.Editor.Components.BuildCommandsComp onent.CompileGame(Boolean forceRebuild)
   at AGS.Editor.Components.BuildCommandsComp onent.CommandClick(String controlID)
   at AGS.Editor.GUIController._mainForm_OnMe nuClick(String menuItemID)
   at AGS.Editor.MainMenuManager.MenuEventHan dler(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.Rais eEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem. OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.Hand leClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.Fire EventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.Fire Event(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripMenuItem. ProcessCmdKey(Message& m, Keys keyData)
   at System.Windows.Forms.ToolStripManager.P rocessShortcut(Message& m, Keys shortcut)
   at System.Windows.Forms.ToolStripManager.P rocessCmdKey(Message& m, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcess Message(Message& msg)
   at System.Windows.Forms.Control.PreProcess ControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.Thread Context.PreTranslateMessage(MSG& msg)

And:

Add spoiler tag for Hidden:
---------------------------
Adventure Game Studio
---------------------------
A serious error occurred and the AGS Editor may now be in an unstable state. You are STRONGLY ADVISED to shut down the editor and restart it. Before saving your work, make a backup copy of your game folder in case any data has been corrupted.

Error: System.FormatException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at AGS.Editor.Components.SpeechComponent.C ompilePapagayoFile(String fileName, CompileMessages errors)
   at AGS.Editor.Components.SpeechComponent.C ompileLipSyncFiles(CompileMessages errors)
   at AGS.Editor.Components.SpeechComponent._ agsEditor_ExtraCompilationStep(CompileMessages errors)
   at AGS.Editor.AGSEditor.CompileScripts(Object parameter)
   at AGS.Editor.BusyDialog.RunHandlerOnThrea d()
   --- End of inner exception stack trace ---
   at AGS.Editor.BusyDialog.Show(String message, ProcessingHandler handler, Object parameter)
   at AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
   at AGS.Editor.Components.BuildCommandsComp onent.CompileGame(Boolean forceRebuild)
   at AGS.Editor.Components.BuildCommandsComp onent.CommandClick(String controlID)
   at AGS.Editor.GUIController._mainForm_OnMe nuClick(String menuItemID)
   at AGS.Editor.MainMenuManager.MenuEventHan dler(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.Rais eEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem. OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.Hand leClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.Fire EventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.Fire Event(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripMenuItem. ProcessCmdKey(Message& m, Keys keyData)
   at System.Windows.Forms.ToolStripManager.P rocessShortcut(Message& m, Keys shortcut)
   at System.Windows.Forms.ToolStripManager.P rocessCmdKey(Message& m, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.P rocessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmd Key(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcess Message(Message& msg)
   at System.Windows.Forms.Control.PreProcess ControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.Thread Context.PreTranslateMessage(MSG& msg)
---------------------------
OK   
---------------------------


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.4
« Reply #4 on: 13 Jul 2015, 10:19 »
Hmm... I just received this editor crash when the Al Emmo iOS source code in 3.3.4 and attempting to press F7 to save the game files:
Did it work before, or this happened after you added something new to the project?
Would it be possible for you to send us the papagayo dat files you are using (or the latest ones, if it happened after you added them)?
« Last Edit: 13 Jul 2015, 10:38 by Crimson Wizard »

Re: AGS 3.3.4
« Reply #5 on: 13 Jul 2015, 11:26 »
It makes sense to move ProcessClick() to Room.ProcessClick() and GUI.ProcessClick()   ...

But removing the function from "global" in 3.4 as it is a global function in 3.3: http://www.adventuregamestudio.co.uk/wiki/Game_/_Global_functions#ProcessClick#
 sure is not too user friendly, especially if it is still used in the famous "Two Click Handler" script, and otherwise an integral part of most applications.
and its not like the global ProcessClick() would be obsolete in 3.4, actually, now i may just have to rewrite this (as more or less equivalent container) function, not just for nostalgia but for functionality and backwards compatibility:


import void ProcessClick(int x, int y, CursorMode m);

void ProcessClick(x,y,m){
  Room.ProcessClick(x,y,m);
  GUI.ProcessClick(x,y,m);
}

It sure confused me that a function no longer exists, being moved to 2 other structs, and should at least be explained in the help file that come with the editor when you search for the (now decapitated) function, throwing a compile-error at you for no longer existing without telling you where it moved to.
« Last Edit: 13 Jul 2015, 11:31 by ollj »

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.4
« Reply #6 on: 13 Jul 2015, 11:36 »
Ollj, this is 3.3.4 thread, not 3.4.0 thread. ProcessClick() still exists in the 3.3.4. Please, pay attention to where you post!

its not like the global ProcessClick() would be obsolete in 3.4, actually, now i may just have to rewrite this (as more or less equivalent container) function, not just for nostalgia but for functionality and backwards compatibility:


import void ProcessClick(int x, int y, CursorMode m);

void ProcessClick(x,y,m){
  Room.ProcessClick(x,y,m);
  GUI.ProcessClick(x,y,m);
}

It sure confused me that a function no longer exists, being moved to 2 other structs

You seem to miss the point, but ProcessClick was not moved to 2 structs, it was moved to 1 struct (Room). This fact is noted in the 3.4.0 description post, where it is said that ProcessClick was renamed to Room.ProcessClick, while GUI.ProcessClick is a completely new feature.

Your script is NOT backwards compatible implementation of ProcessClick. The original ProcessClick did not emulate click on GUI, only in room.
BTW, this is explained in the wiki you linked in your post:
This function ignores all interfaces and acts as though the point is directly visible. In other words, if the co-ordinates you pass happen to lie on a button on an interface, what actually happens will be as if the user clicked behind the interface onto the actual screen.
This was the reason it was moved to Room struct. Therefore global ProcessClick is obsoleted.

Again:
new Room.ProcessClick === old ProcessClick.
GUI.ProcessClick - is completely new functionality that has no alternative in old versions of AGS.

and should at least be explained in the help file that come with the editor when you search for the (now decapitated) function, throwing a compile-error at you for no longer existing without telling you where it moved to.
Surely, I will add this explanation to help file when we have a stable release. The manual will be updated then. At the moment you may refer to explanations in the first post of the 3.4.0 forum thread.
Also, it is explained that you may set backwards compatibility mode in your project to enable old functions, including global ProcessClick(), if you like.
« Last Edit: 13 Jul 2015, 17:45 by Crimson Wizard »

Re: AGS 3.3.4
« Reply #7 on: 13 Jul 2015, 12:19 »
Hmm... I just received this editor crash when the Al Emmo iOS source code in 3.3.4 and attempting to press F7 to save the game files:
Did it work before, or this happened after you added something new to the project?
Would it be possible for you to send us the papagayo dat files you are using (or the latest ones, if it happened after you added them)?

I hadn't opened the source code for a few months in 3.3.X, but last time I did, it worked fine. I haven't added anything to the source code since then, either.

Also, the game uses Pamela .pam files, not Papagayo .dat files.

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.4
« Reply #8 on: 13 Jul 2015, 12:20 »
Also, the game uses Pamela .pam files, not Papagayo .dat files.
Oh. That explains something. It looks like it starts Papagayo parsing for a Pamela file for some reason.

Say, do you have any extra *.dat files in Speech folder?
« Last Edit: 13 Jul 2015, 12:28 by Crimson Wizard »

Gurok

  • Rottwheelers
  • When life hands you lemons, combine them with the mop
    • I can help with AGS tutoring
    •  
    • Best Innovation Award Winner 2016, for improving and extending the AGS scripting language
    •  
    • I can help with proof reading
    •  
    • I can help with scripting
    •  
  • Gurok worked on a game that was nominated for an AGS Award!Gurok worked on a game that won an AGS Award!
Re: AGS 3.3.4
« Reply #9 on: 13 Jul 2015, 13:00 »
If it's not too sensitive, can I get a directory listing of your game's Speech directory?

EDIT: Sorry, didn't see CW's reply.

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.4
« Reply #10 on: 13 Jul 2015, 13:24 »
Great Job CW . Big release . Thanks so much ;-D

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.4
« Reply #11 on: 13 Jul 2015, 13:54 »
Great Job CW . Big release . Thanks so much ;-D
Half of the new features are made by Gurok :).

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.4
« Reply #12 on: 13 Jul 2015, 14:45 »
Great Job CW . Big release . Thanks so much ;-D
Half of the new features are made by Gurok :).

Sorry I didn't know that. Thanks a lot Gurok and you for new AGS fast updates . I think all of people and I are waiting for release stable version of 3.4
Is it possible native Mac port like Linux for AGS soon? Did you have any plan for add it?
 

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.4
« Reply #13 on: 13 Jul 2015, 15:17 »
Congrats on pushing AGS to 3.3.4! Great success!

Re: AGS 3.3.4
« Reply #14 on: 13 Jul 2015, 15:58 »
Also, the game uses Pamela .pam files, not Papagayo .dat files.
Oh. That explains something. It looks like it starts Papagayo parsing for a Pamela file for some reason.

Say, do you have any extra *.dat files in Speech folder?

The only .dat file that's located in the speech folder is the one created by AGS "syndata.dat", which isn't a Papagayo file. Maybe the engine is confusing it for one, though?

If you need me to upload anything, just let me know.

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.4
« Reply #15 on: 13 Jul 2015, 16:01 »
The only .dat file that's located in the speech folder is the one created by AGS "syndata.dat", which isn't a Papagayo file. Maybe the engine is confusing it for one, though?
Yes, that might be the case.
I will replace with a hotfixed version as soon as its done.

EDIT: AGD2, that file actually should not be in Speech folder, it is supposed to be in root project folder (this is where AGS creates it). Also, the file is recreated every time game is recompiled. I think you may just delete it.
We will provide a fixed version which would not crash on "wrong" files.
« Last Edit: 13 Jul 2015, 16:49 by Crimson Wizard »

Re: AGS 3.3.4
« Reply #16 on: 13 Jul 2015, 18:49 »
Ah, yes, I've confirmed that deleting the syncdata.dat file from the Speech sub-folder does indeed prevent the crash. ;-D

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.4
« Reply #17 on: 14 Jul 2015, 19:15 »
ATTENTION PLEASE

I had to reupload the 3.3.4 distributive with updated version which fixes one bad bug. It also contains a small improvement as a bonus.
Please download and re-install this again. Sorry for inconvenience.

- Fixed Editor crash in case of lip sync data parsing error.
- Find/Replace dialog now remembers the state of "Case sensitive" checkbox.
- Fixed Find/Replace dialog skipped the first word in the script being searched through.
- Fixed an order of cycling through fields on Find/Replace dialog.

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.4
« Reply #18 on: 21 Jul 2015, 01:17 »
I had to reupload the package again, because 9-verb template needed small fixing. The Editor itself did not change.
Hopefully this is last time I do this for 3.3.4.

Re: AGS 3.3.4
« Reply #19 on: 27 Jul 2015, 17:33 »
EPIC! ;-D
_______________________________________ ____________________