Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - PanzerDwarf

Pages: [1]
1
I tried to post a stack trace which contained some Swedish letters.
When posting and then viewing it I could see that the post abruptly ended just before the first Swedish character.
Editing the post showed it was just cut and everything from that point was gone, so I had to click "back" in the browser a few times to get to where I was actually posting it the first time and I could find my entire post there and copy it. I then had to click to get to the forum, click on my post, paste my original post and edit it to remove all the Swedish characters (missed a couple a few times so had to do it like 3-4 times...) and save it.
Rather annoying.

2
Bugs / Transition and save failed. Save screenshot problem?
« on: August 24, 2014, 01:02:15 am »
Hi. Just bought the game on Steam today.
My first session was about 3 hours long and suddenly when making an area transition I got transition error and it kicked me out to main menu.
I was able to click continue using last save. Next transition caused the exact same problem.
After a bit I pressed F5 for quicksave and it said that saving failed. So I assume both autosave and quicksave was broken.

Looking in the save folder, I see the info.dat and global.dat files have the same timestamp, but the screenshot.png has an older timestamp and doesn't match the position I'm starting at when loading the game. The transition error logs (Swedish locale hehe) look like this:

Quote
System.Exception: Failed to save game 'autosave'. Exception: System.OutOfMemoryException: Det finns inte tillrackligt med ledigt minne for att fortsatta programkorningen.
   vid Microsoft.Xna.Framework.Helpers.GetExceptionFromResult(UInt32 result)
   vid Microsoft.Xna.Framework.Media.ImageStream.EncodeBuffer(Byte[] data, XnaImageFormat format, Int32 sourceWidth, Int32 sourceHeight, Int32 targetWidth, Int32 targetHeight)
   vid Microsoft.Xna.Framework.Media.ImageStream..ctor(Color[] colors, Int32 sourceWidth, Int32 sourceHeight, XnaImageFormat format, Int32 targetWidth, Int32 targetHeight)
   vid Microsoft.Xna.Framework.Graphics.Texture2D.SaveAsImage(Stream stream, XnaImageFormat __unnamed001, Int32 width, Int32 height)
   vid xm.a(Texture2D A_0, String A_1)
   vid a0d.b(String A_0)
   vid a0d.aar(String A_0, Boolean A_1, Boolean A_2) ---> System.OutOfMemoryException: Det finns inte tillrackligt med ledigt minne for att fortsatta programkorningen.
   vid Microsoft.Xna.Framework.Helpers.GetExceptionFromResult(UInt32 result)
   vid Microsoft.Xna.Framework.Media.ImageStream.EncodeBuffer(Byte[] data, XnaImageFormat format, Int32 sourceWidth, Int32 sourceHeight, Int32 targetWidth, Int32 targetHeight)
   vid Microsoft.Xna.Framework.Media.ImageStream..ctor(Color[] colors, Int32 sourceWidth, Int32 sourceHeight, XnaImageFormat format, Int32 targetWidth, Int32 targetHeight)
   vid Microsoft.Xna.Framework.Graphics.Texture2D.SaveAsImage(Stream stream, XnaImageFormat __unnamed001, Int32 width, Int32 height)
   vid xm.a(Texture2D A_0, String A_1)
   vid a0d.b(String A_0)
   vid a0d.aar(String A_0, Boolean A_1, Boolean A_2)
   --- Slut pa stacksparning for interna undantag ---
   vid btf.LogAndThrow[T](Exception innerException, LogSeverity severity, String message, Object[] messageArgs)
   vid a0d.aar(String A_0, Boolean A_1, Boolean A_2)
   vid gi.b5(ace A_0)
   vid t0.e(ace A_0)
   vid ax0.b5(ace A_0)
   vid t0.e(ace A_0)

You see the OutOfMemoryException, though there's some Swedish blabla after, but it just says there wasn't enough memory to continue program execution.
So the combination of Texture2D.SaveAsImage and OutOfMemoryException leads me to believe there's some bug (mem leak?) causing savegame screenshots to fail, thus saving transition autosaves and quicksaves fails.

Edit:
Also, I just started the game again and I am now able to quicksave, so I guess there's a memory leak in the screenshot function for the saves.

Pages: [1]