Author Topic: AGS 3.0.2 SP1 now available!  (Read 32101 times)

Pumaman

  • Creator of AGS
  • Administrator
  • Mittens King
  • I sense danger.
    • Lifetime Achievement Award Winner
    • Pumaman worked on one or more games that won an AGS Award!
    •  
    • Pumaman worked on one or more games that was nominated for an AGS Award!
AGS 3.0.2 SP1 now available!
« on: 21 Jun 2008, 17:39 »
The first day of summer brings you an all-new release of AGS!

Changes in 3.0.2 Service Pack 1:

* Editor now gives friendlier error message if a hotspot description is too long
* Fix to workaround .NET error importing a portion of a sprite
* Fixed editor allowing you to name a gui or character such that its legacy macro name led to a compile error (eg. "gGui" or "cGui")
* Fixed No Transparency sprite import not working properly if the sprite colour depth had to be converted

Changes since 3.0.1 are as follows:

* Added Global Variables pane to editor, to allow you to easily declare global variables for the script instead of having to do all the import/export rubbish
* Added script functions Dialog.GetOptionText, Dialog.DisplayOptions, Dialog.OptionCount, Game.DialogCount, DynamicSprite.CreateFromDrawingSurface
* Added plugin API functions IsRunningUnderDebugger, BreakIntoDebugger and GetPathToFileInCompiledFolder
* Added editor plugin API methods ShowSpriteSelector, SetStatusBarText, Game.Sprites, CreateNewSprite, ChangeSpriteImage, GetSpriteUsageReport, DeleteSprite
* Improved responsiveness of room Edges editor under Windows Vista
* Improved look of various dialogs when run at 120 DPI
* Improved parsing of function list in script editor when the script contains comments and strings
* Editor now makes sure that you don't name a View the same as a character
* When importing alpha channel images, alpha-transparent pixels are now recognised as transparent pixels
* New GUI alpha channel method (in General Settings) to allow more intuitive rendering of alpha channels on GUI controls
* Alpha-transparent background and borders are now supported for textwindow GUIs
* Added option to put sprite and sound files under source control
* Modified source control integration not to check in the username, which was happening in some cases
* Updated to v1.6.0 of Verb Coin template (thanks Electroshokker!)
* Room editor now shows "?" for mouse position when the cursor is outside the room area
* Improved editor behaviour on startup if registry entries have been corrupted
* Fixed demo game not compiling
* Fixed editor error loading games if your regional settings had a space in the short date format
* Fixed excluded room files still being compiled into the game EXE
* Fixed potential managed object pool corruption if you used SayBackground a lot
* Fixed some TTF fonts being incorrectly positioned in the editor GUI previewer
* Fixed hotspot sometimes getting corrupted when importing a new background
* Fixed exported GUIs not having the sprite resolutions exported correctly
* Fixed line and rectangle tools sometimes being slightly out from where the area actually appeared
* Fixed alpha channel not working on graphical Overlays
* Fixed 8-bit rooms from 2.72 not being displayed correctly in the editor if they used gamewide colours
* Fixed DrawingSurface.GetPixel sometimes returning invalid values in 32-bit games
* Fixed translation file generation failing if a script included a speech mark inside quotes ('"')
* Fixed Game.TranslationFilename property returning a path when the game is run under the debugger
* Fixed crash if you tried to crop edges on a completely transparent sprite
* Fixed Mouse.ChangeModeView crashing if you passed a View of -1
* Fixed Voice Actor Script generation giving error if you used "Narrator" (with a capital N) in a dialog script
* Fixed speech.vox being generated even if you had no speech
* Fixed transparency being lost when importing an 8-bit character into a hi-colour game
* Fixed the last imported image file being locked by the editor
* Fixed template generation failing if the template had speech or translations
* Fixed template generation saying it was successful even when it failed
* Fixed Create New Game not putting music/sound files in the sub-folders
* Fixed dynamic arrays not working if you had Left-to-right Precedence turned off
* Fixed view preview not flipping frames if they were being scaled down
* Fixed view preview not being updated if you changed the currently displayed sprite's Flipped setting
* Fixed script editor function list not including extender functions
* Fixed editor crash if you deleted a GUI control whilst in the middle of dragging it around
* Fixed editor crash if you deleted the Compiled folder while it was running
* Fixed editor crash if you selected a whole line of script and then pressed F1
* Fixed error generating voice acting script if there was a player.Say line in the script with no indentation
* Fixed crash in sprite import window when zooming out and in of the bottom right corner
* Fixed intermittent error after closing game when using debugger

Get it from the download page on the website:
http://www.adventuregamestudio.co.uk/acdload.htm
« Last Edit: 04 Jul 2008, 18:52 by Pumaman »

Ishmael

  • I put AGS on my CV.
    • I can help with translating
    • Ishmael worked on one or more games that won an AGS Award!
    •  
    • Ishmael worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #1 on: 21 Jun 2008, 17:49 »
* Room editor now shows "?" for mouse position when the cursor is outside the room area

I'm a bit unsure how I'll cope with this Nevermind, it works differently than I imagined. Silly me.

Looks great :)
« Last Edit: 24 Jun 2008, 02:29 by Ishmael »
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Ponch

  • AGS Baker
  • Sweatin' to the Oldies
    • Lifetime Achievement Award Winner
    • Ponch worked on one or more games that won an AGS Award!
    •  
    • Ponch worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #2 on: 22 Jun 2008, 02:00 »
* Added Global Variables pane to editor, to allow you to easily declare global variables for the script instead of having to do all the import/export rubbish

Oh, thank God! My prayers have been answered at long last! Seriously, I could organize a (most likely rather disappointing)religion around you right now for that little feature! Thanks CJ.

- Ponch
*

Re: AGS 3.0.2 now available!
« Reply #3 on: 22 Jun 2008, 09:41 »
* Fixed the last imported image file being locked by the editor

Because of how I work, this has been a constant nuisance. Thanks for fixing it!

Dualnames

  • AGS Baker
  • Rottwheelers
  • Pretty Badass
    • Dualnames worked on one or more games that won an AGS Award!
    •  
    • Dualnames worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #4 on: 22 Jun 2008, 10:22 »
I would love to post this. I don't know if it's a bug of AGS or the audio editor plugin. But anyway, when AGS is open and i add or remove sounds on the sounds dir of the currently open game the editor crashes.
No more military army stuff. I'm alive and back.

Inkoddi

  • LET ME OUT
    • Inkoddi worked on one or more games that won an AGS Award!
    •  
    • Inkoddi worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #5 on: 22 Jun 2008, 15:05 »
This is more of an issue with the installer than the editor itself, but the demo game does not install inside the specified AGS directory, but rather in C:\ProgramData\ which is a system folder and hidden by default in Vista.

Maybe this only happens for me, but it did cause a few WTFs.

Dualnames

  • AGS Baker
  • Rottwheelers
  • Pretty Badass
    • Dualnames worked on one or more games that won an AGS Award!
    •  
    • Dualnames worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #6 on: 23 Jun 2008, 10:55 »
I just thought you might wanna know about it. I imported fully transparent image. And i used it as an object. Well, AGS considered certain object as not clickable, and only by changing its image to sth non fully ftransparent could make it clickable. This used to not exist in previous versions, I think. Or probably I didn't notice. Why not make it clickable and if the scripter wishes he could make it non-clickable.
No more military army stuff. I'm alive and back.

Re: AGS 3.0.2 now available!
« Reply #7 on: 23 Jun 2008, 12:08 »
Quote
* Alpha-transparent background and borders are now supported for textwindow GUIs

I just discovered last night that 3.0.0 do not include it and i were looking for references to see if anyone else has already posted the sugerence  :D

Ready to upgrade...(it minds, ready to check possible troubles upgrading from 3.0.0)

Jp

Ishmael

  • I put AGS on my CV.
    • I can help with translating
    • Ishmael worked on one or more games that won an AGS Award!
    •  
    • Ishmael worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #8 on: 23 Jun 2008, 12:49 »
I just thought you might wanna know about it. I imported fully transparent image. And i used it as an object. Well, AGS considered certain object as not clickable, and only by changing its image to sth non fully ftransparent could make it clickable. This used to not exist in previous versions, I think. Or probably I didn't notice. Why not make it clickable and if the scripter wishes he could make it non-clickable.

Pixel-perfect click detection at work?
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Pumaman

  • Creator of AGS
  • Administrator
  • Mittens King
  • I sense danger.
    • Lifetime Achievement Award Winner
    • Pumaman worked on one or more games that won an AGS Award!
    •  
    • Pumaman worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #9 on: 23 Jun 2008, 21:08 »

A fairly serious bug was found in 3.0.2 with compiling EXE files, which is now fixed. A new version of the 3.0.2 files has been uploaded. If you downloaded it before now, please download it again (the Check For Updates menu option will tell you if you need the patch).

Quote
I would love to post this. I don't know if it's a bug of AGS or the audio editor plugin. But anyway, when AGS is open and i add or remove sounds on the sounds dir of the currently open game the editor crashes.

Come on man, you know you need to be more specific than that. Any error messages?
It probably is the plugin because the AGS Editor doesn't normally attempt to access the sound files until you compile the game.

Quote
This is more of an issue with the installer than the editor itself, but the demo game does not install inside the specified AGS directory, but rather in C:\ProgramData\ which is a system folder and hidden by default in Vista.

This was deliberate, because the C:\ProgramData was apparently the right place for installing application data for multiple users. Anyway, I've reverted that in the new 3.0.2 installer so it puts it in the main AGS folder and sets the permissions to allow all users to access it.

Quote
I just thought you might wanna know about it. I imported fully transparent image. And i used it as an object. Well, AGS considered certain object as not clickable, and only by changing its image to sth non fully ftransparent could make it clickable. This used to not exist in previous versions, I think. Or probably I didn't notice. Why not make it clickable and if the scripter wishes he could make it non-clickable.
 

Ash Ishmael says, are you using pixel-perfect click detection? If so, and the image is fully transparent, you won't be able to click on it.

Ishmael

  • I put AGS on my CV.
    • I can help with translating
    • Ishmael worked on one or more games that won an AGS Award!
    •  
    • Ishmael worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #10 on: 24 Jun 2008, 01:47 »
Ookay... I imported a 2-colour (black and white) standard .bmp file, or tried, zoomed in a bit, set the grab size and clicked to grab... and boom:

Quote
Error: Muisti ei riitä.
Version: AGS 3.0.2.42

System.OutOfMemoryException: Muisti ei riitä.
   kohteessa System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format)
   kohteessa AGS.Editor.SpriteImportWindow.previewPa nel_MouseDown(Object sender, MouseEventArgs e)
   kohteessa System.Windows.Forms.Control.OnMouseDow n(MouseEventArgs e)
   kohteessa System.Windows.Forms.Control.WmMouseDow n(Message& m, MouseButtons button, Int32 clicks)
   kohteessa System.Windows.Forms.Control.WndProc(Message& m)
   kohteessa System.Windows.Forms.ScrollableControl. WndProc(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNat iveWindow.OnMessage(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNat iveWindow.WndProc(Message& m)
   kohteessa System.Windows.Forms.NativeWindow.Callb ack(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Saying "Out of memory". Followed by:

Quote
Error: Yleinen virhe GDI+:ssa.
Version: AGS 3.0.2.42

System.Runtime.InteropServices.External Exception: Yleinen virhe GDI+:ssa.
   kohteessa System.Drawing.Graphics.CheckErrorStatu s(Int32 status)
   kohteessa System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   kohteessa AGS.Editor.SpriteImportWindow.previewPa nel_Paint(Object sender, PaintEventArgs e)
   kohteessa System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
   kohteessa System.Windows.Forms.Control.PaintWithE rrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   kohteessa System.Windows.Forms.Control.WmPaint(Message& m)
   kohteessa System.Windows.Forms.Control.WndProc(Message& m)
   kohteessa System.Windows.Forms.ScrollableControl. WndProc(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNat iveWindow.OnMessage(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNat iveWindow.WndProc(Message& m)
   kohteessa System.Windows.Forms.NativeWindow.Callb ack(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Saying "General error in GDI+" and a huge cross on a white background in the sprite grab area.

I doubt AGS and Photoshop have eaten up all my 2GB of RAM already.

I downloaded the small patch you set up earlier, but haven't gotten the all-new 3.0.2 release. Could this be because of that?
« Last Edit: 24 Jun 2008, 01:51 by Ishmael »
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Gilbert

  • Local Moderator
  • * KILL* * KILL * * KILL *
    • Lifetime Achievement Award Winner
Re: AGS 3.0.2 now available!
« Reply #11 on: 24 Jun 2008, 01:52 »
Hmmm, by 2-colour standard .bmp did you mean it's a 1bpp image, or a 8/24/32bpp one which contains only 2 distinct colours? I'm not sure but I think 1bpp images were never supported. Rewarding with a crash is definitely something that should be fixed though.

Ishmael

  • I put AGS on my CV.
    • I can help with translating
    • Ishmael worked on one or more games that won an AGS Award!
    •  
    • Ishmael worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #12 on: 24 Jun 2008, 01:57 »
Oh, sorry, I was a bit unclear. It's whatever MSPaint saves in, 24bpp I think, but with only 2 distinct colours in it.

And the funny thing is, AGS didn't close down or anything, it just gave the errors repeatedly when trying to import the sprite. Also, downloading .43 didn't change a thing. Using the "grab whole image" button works OK, but selecting an area and trying to grab that doesn't.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Pumaman

  • Creator of AGS
  • Administrator
  • Mittens King
  • I sense danger.
    • Lifetime Achievement Award Winner
    • Pumaman worked on one or more games that won an AGS Award!
    •  
    • Pumaman worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #13 on: 24 Jun 2008, 18:50 »
Ookay... I imported a 2-colour (black and white) standard .bmp file, or tried, zoomed in a bit, set the grab size and clicked to grab... and boom:

Error: Muisti ei riitä.
Version: AGS 3.0.2.42

System.OutOfMemoryException: Muisti ei riitä.
   kohteessa System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format)

I've had this happen occasionally since 3.0 when importing a portion of a sprite image, it seems to be a bug in the .NET Framework. I don't think it's specific to 3.0.2 -- however, it is something that I should try and work around because it is very annoying when it happens.

Ishmael

  • I put AGS on my CV.
    • I can help with translating
    • Ishmael worked on one or more games that won an AGS Award!
    •  
    • Ishmael worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #14 on: 25 Jun 2008, 03:01 »
Ah, ok. Good to know. Thanks.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Re: AGS 3.0.2 now available!
« Reply #15 on: 25 Jun 2008, 10:36 »
Looks like i cant modify global variables created in the global variables panel though my modules. Its a bug? maybe its how it is suppossed to work? (global variables only works with global script and rooms?) or im doing something wrong?

Jp

Re: AGS 3.0.2 now available!
« Reply #16 on: 25 Jun 2008, 11:15 »
(I'm using the latest version of AGS)

When I type the NAME the variable has in the Global Variables Panel in a module, it is shown in the dropdown menu.

You're not using SetGlobalInt?
« Last Edit: 25 Jun 2008, 11:19 by TwinMoon »

Re: AGS 3.0.2 now available!
« Reply #17 on: 25 Jun 2008, 21:08 »
Itty bitty scaling bug with the new Global Variables editor. When I resize the editor horizontally, the Global Variables pane doesn't resize with it. Here's a screenshot showing what I mean. Notice the blank space to the right of the editing pane.

Pumaman

  • Creator of AGS
  • Administrator
  • Mittens King
  • I sense danger.
    • Lifetime Achievement Award Winner
    • Pumaman worked on one or more games that won an AGS Award!
    •  
    • Pumaman worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.0.2 now available!
« Reply #18 on: 25 Jun 2008, 21:42 »
Looks like i cant modify global variables created in the global variables panel though my modules. Its a bug? maybe its how it is suppossed to work? (global variables only works with global script and rooms?) or I'm doing something wrong?

It should work, what error are you getting? What are you trying to do? Can you post the script code you're trying to use?

Quote
Itty bitty scaling bug with the new Global Variables editor. When I resize the editor horizontally, the Global Variables pane doesn't resize with it. Here's a screenshot showing what I mean. Notice the blank space to the right of the editing pane.

That's not really a bug, the same happens with the Text Parser editor. It doesn't stretch to the window size because it would look a bit silly if you maximized the editor at 1280x1024 and the list box stretched across the whole screen.

Re: AGS 3.0.2 now available!
« Reply #19 on: 26 Jun 2008, 13:08 »
BUG:  Possibly...I tried using the Voice acting line generator again, and my VoiceSpeech.TXT file was completely empty except for:

*** All text lines, in order of appearance in the scripts ***

Am I misunderstanding this?  Is it not supposed to export all dialogues, Say and Display commands?