Author Topic: AGS 3.4.0  (Read 9054 times)  Share 

monkey0506

  • AGS Project Tracker Admins
  • Tasting the banhammer. Strangely, tastes like ham.
Re: AGS 3.4.0
« Reply #80 on: 03 Jan 2017, 21:41 »
Hardlinks don't break if one of the links is deleted. :-\ I also thought that the hardlink function was set to do a file copy as a last resort, though obviously not.
User was banned for this post.

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.4.0
« Reply #81 on: 03 Jan 2017, 21:46 »
Hardlinks don't break if one of the links is deleted.
Oh, they are like reference counted data... well, that explains why it cannot create hardlink for the file in C:/Program Files without admin permissions.
But does this mean that if I do something to Linux lib files inside one Compiled folder (e.g. corrupt them somehow), then it will have these changes applied for every other compiled game on disk, and even ones inside AGS Editor installation?

More importantly, this is not good that there are incosistent ways to deal with Windows and Linux files. Maybe use same operation for any file that has to be shared/copied from the Editor (acwin.exe, Linux libs, and so on)? Then at least we will have to deal with only one set of issues.
« Last Edit: 03 Jan 2017, 23:26 by Crimson Wizard »

Re: AGS 3.4.0
« Reply #82 on: 04 Jan 2017, 16:29 »
Did you try the installer version of 3.4, or did you use the 2 zip files? Maybe the installer helps? (though if your ags is in x86 that sounds like you used the installer)..
I used the installer.

MiteWiseacreLives!

  • Hold onto your Fossils!
Re: AGS 3.4.0
« Reply #83 on: 16 Jan 2017, 08:09 »
Is anyone else having issues with saving sprites? An error with back-up sprite file. It comes and goes for no apparent reason, perhaps related to Win 10 updates or Avast antivirus???

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.4.0
« Reply #84 on: 16 Jan 2017, 08:13 »
Is anyone else having issues with saving sprites? An error with back-up sprite file. It comes and goes for no apparent reason, perhaps related to Win 10 updates or Avast antivirus???
Did you try the version I sent you earlier?

MiteWiseacreLives!

  • Hold onto your Fossils!
Re: AGS 3.4.0
« Reply #85 on: 16 Jan 2017, 15:12 »
It throws an error msg and freezes on the splash screen. Are there some files missing from that package? I can get that msg as well once I'm at my computer.

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.4.0
« Reply #86 on: 16 Jan 2017, 16:22 »
It throws an error msg and freezes on the splash screen. Are there some files missing from that package? I can get that msg as well once I'm at my computer.
What is error text?
Make sure you have the latest version of the editor, found here: http://www.adventuregamestudio.co.uk/forums/index.php?topic=54118.0
Then copy the new exe over original installation.

MiteWiseacreLives!

  • Hold onto your Fossils!
Re: AGS 3.4.0
« Reply #87 on: 16 Jan 2017, 17:37 »
OK so replaced the files with the new ones, I did not clue in to this earlier, and AGS now fires up.
Got the same error message when trying to save after importing a sprite.
But now I seem to have broke my game:

Quote
---------------------------
Adventure Game Studio
---------------------------
An error occurred whilst trying to load your game. The error was:



Unable to load the sprite file ACSPRSET.SPR. The file may be missing, corrupt or it may require a newer version of AGS.



If you cannot resolve the error, please post on the AGS Technical Forum for assistance.
---------------------------
OK   
---------------------------

it looks like the acsprset.spr file has been emptied (File size is zero), I'm going to try using the sprite back up (which is now questionable) to replace it.
Edit:
Alright, so I was able to load the game after using the back up sprite file and replacing the original.
But even with the new build and running it as an administrator I get this error when I save after importing a new sprite:
Quote
Error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Version: AGS 3.4.0.13

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at SpriteCache.saveToFile(SpriteCache* , SByte* , Int32 , Boolean )
   at save_sprites(Boolean compressSprites, List`1 warnings)
   at AGS.Native.NativeMethods.SaveGame(Game game, List`1 warnings)
   at AGS.Editor.NativeProxy.SaveGame(Game game, List`1 warnings)
   at AGS.Editor.AGSEditor.SaveGameFilesProce ss(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.SaveGameFiles()
   at AGS.Editor.Components.FileCommandsCompo nent.CommandClick(String controlID)
   at AGS.Editor.ToolBarManager.ToolbarEventH andler(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.Rais eEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.On Click(EventArgs e)
   at System.Windows.Forms.ToolStripItem.Hand leClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.Hand leMouseUp(MouseEventArgs 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.ToolStrip.OnMouseU p(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl. WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at AGS.Editor.ToolStripExtended.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNat iveWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNat iveWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callb ack(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
« Last Edit: 16 Jan 2017, 17:50 by MiteWiseacreLives! »

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.4.0
« Reply #88 on: 16 Jan 2017, 23:07 »
Alright, better not to use that test build for now then, looks like it broke more than fixed.
I may try to fix it, but I need to know if you are okay testing it out, which may take several iterations, and ofcourse using it only with expendable copies of your game.

Also, why are you running it as administrator, are there problems running it as a regular user?

BTW, you mentioned Avast antivirus before, it is known for causing problems with AGS.
« Last Edit: 16 Jan 2017, 23:27 by Crimson Wizard »

MiteWiseacreLives!

  • Hold onto your Fossils!
Re: AGS 3.4.0
« Reply #89 on: 17 Jan 2017, 02:36 »
Yah I have no problem testing it while I work with this little game, lots of assets to work on while the editor is being cranky.
I run as administrator because it's one of the things I tried the last time and the problem disappeared for a week or two.
I'll also look into a different antivirus, any suggestions? Are there ones that don't hate AGS so much?

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.4.0
« Reply #90 on: 18 Jan 2017, 08:33 »
I would like to lock this thread, because there is a newer patched version of 3.4.0:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=54118.0

It should be absolutely safe to update from older 3.4.0, so please do if you are still using unpatched one.