PORTING COMMUNITY

Games => Ports Discussions => Topic started by: HtotheK on June 01, 2015, 09:14:28 PM

Title: Anno 1404 crashing after 15 min or so (Solved)
Post by: HtotheK on June 01, 2015, 09:14:28 PM
Howdy all! This is absolutely great!

I installed and launched the game on my macbook pro retina (2008) latest OS. After 15 min or sometimes (not always) during autosave (tried turning autosave off and it still crashed) the game would crash back to the desktop.

I am wondering if I did something wrong during the install (from an iso file).

Anyone run into this issue?

Thanks tons in advance!  :)
H

Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on June 02, 2015, 11:02:01 AM
I'm not sure because that's a Paul's Port, but this port uses Steam?
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on June 02, 2015, 04:15:59 PM
For me, Anno 1404 also crashes after a certain amount of time.

When I was playing the campaign, it crashed after half an hour at first.

Then I lowered the graphics bit by bit and that seemed to increase the time before a crash to 1hr-2hrs depending on the mission. So this must be a memory issue. Lowering texture quality from high to medium seemed to have the biggest impact on this time increase. Funnily enough, the game still looks great and barely any different at all on medium textures. I also toned down particles to medium, and turned off aniso completely.

However, in the elector scenario that I'm currently playing it has not crashed a single time for me, even when playing 2 hours straight. (I find it hilarious that the game actually notifies you when you have been playing for two hours)

So it has to do with (graphic?) memory, map size, objects on the map and graphic settings have an impact on the time before it runs out of memory.

Some of my specs:
Mbp retina Early 2013

2.4ghz intel core i7
8gb ram
nvidia 650M 1gb vram
Title: Re: Anno 1404 crashing after 15 min or so
Post by: paulthetall on June 03, 2015, 07:15:27 AM
Yep Looks like it. The current wine engine may contain some memory leaks which causes it. You also might try newer wine engines and see if it improves the durability

you can do it doing the folowing steps:
1. Download Winery from wineskin website
2. Update it and download some newer Wine Engines
3. The rightclick game in the local game library > properties
4. Then in wineskin click advanced > tools > change engine
5. Change engine to one of the downloaded onces
6. Click play again in local library and see if it works better in higher settings
7. When not satiesfied change to another engine to test.

Let me know the results, if you find better engine I can change it on the server for benefit for all.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: HtotheK on June 05, 2015, 10:58:56 PM
Thanks for the suggestion!

I tried to download new engines with no luck :( I tried a couple of engines. Some crash more frequently.

Being so enthrawled in the game and forgetting to save is a time sink since you lose everything.

If anyone has a fix please let us know. It really is hard playing the game with so many crashes.

Thanks all!
H
Title: Re: Anno 1404 crashing after 15 min or so
Post by: HtotheK on June 11, 2015, 11:15:53 PM
Anyone?
 :'( :'( :'( :'( :'( :'( :'( :'( :'(
Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on June 12, 2015, 02:49:04 AM
Anyone?
 :'( :'( :'( :'( :'( :'( :'( :'( :'(

The only fix until now seems to be the one that you said: low the graphics until it works fine  :-\
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on July 01, 2015, 06:41:06 PM
This is becoming a problem for me now too. Especially in the late game, when there is tons of stuff on the map. Then it can already crash after 15 mins.

Tried only a couple engines, both made it worse. The current and default engine that I've been using is WS9WineCX13.2.0 . I tried 14.0.0, but as I said that didn't make it any better. If anyone finds one that performs better please let us know by posting in this thread.

So are there any other improvements that can be made? Like running in a different mode or forcing directx? Or winetricks or whatever those are called...

Also: where can I find the log file after it crashed?
Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on July 01, 2015, 11:57:49 PM
This is becoming a problem for me now too. Especially in the late game, when there is tons of stuff on the map. Then it can already crash after 15 mins.

Tried only a couple engines, both made it worse. The current and default engine that I've been using is WS9WineCX13.2.0 . I tried 14.0.0, but as I said that didn't make it any better. If anyone finds one that performs better please let us know by posting in this thread.

So are there any other improvements that can be made? Like running in a different mode or forcing directx? Or winetricks or whatever those are called...

Also: where can I find the log file after it crashed?

I'm not sure about which engine is the best, but if we find out that another one is better than the actual one, then we are also going to update the WSI file ;)

About the log file: if you show the package contents of your wrapper (you can right click its file or right click it on Porting Kit Local list), you will find the Wineskin app. In the advanced tab, enable it to always make logs. Now, after a crash, you will be able to find it at Contents/Resources/Logs (inside the wrapper).
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on July 04, 2015, 09:33:33 PM
I might have found a fix!

It turns out this is likely the game's fault, not wine. I've researched this a bit and found many more users with this problem (or similar with crashing during saves) on windows machines. The game is known to have these issues, it doesn't seem that Ubi is going to anything about it (typical of them).

So I watched a little video and read some forum posts and found with a possible fix, basically force DirectX9 or 10:

1. Find Anno 1404 app (most likely in your applications folder). Right click it, select show package contents.
2. open  drive_c  folder
3. navigate users/Wineskin/ApplicationData/Ubisoft/Anno1404/Config and open the engine.ini file with textedit. (you might want to backup that file)
4. change the following line:  <DirectXVersion>0</DirectXVersion>   set the 0 in the middle to 9 or 10. This will force DirectX9 or 10. It is possible that only one works, try 9 first. I'm not sure if wine installed 9 or 10, hopefully both (@Vitormm do you know?) However the game is optimized for 10.

5. Additionally, the video I watched (not the forum posts) instructed me to change these lines as well (but it might not be necessary )


<EnableTextureMemoryManagement>1</EnableTextureMemoryManagement>
<EnableModelMemoryManagement>1</EnableModelMemoryManagement>

set both of the 1 in the middle to 0

Though the video says that it will give error messages in-game, but they aren't real (they don't affect anything). The only way to fix that is to download a patch and change more stuff and yada yada... That might be a bit complicated. But that only happens of you change those two lines.

Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on July 05, 2015, 12:05:47 PM
Well, on my first test I changed only the DirectX line to 9. That didn't fix it for me, but it helped, I was able to play a bit longer before a CTD. But I might just be lucky. 

On my second test I changed the other two lines as well, that caused the game to freeze during the second autosave after 30 mins. I did not get any in-game error messages.   

The log file of that second test ended with this being repeated:

2015-07-05 13:26:18.366 Anno 1404848062562Wine[6160:27453] NSImage: Insufficient memory to allocate pixel data buffer of 4096 bytes
2015-07-05 13:26:18.392 Anno 1404848062562Wine[6160:27453] (
   0   CoreFoundation                      0x91676373 __raiseError + 195
   1   libobjc.A.dylib                     0x9c134a2a objc_exception_throw + 276
   2   CoreFoundation                      0x9167628d +[NWooHooception raise:format:] + 141
   3   AppKit                              0x97f06a01 NSNewBitmapBackingStore + 373
   4   AppKit                              0x97f0676b __79-[NSBitmapImageRep _withoutChangingBackingPerformBlockUsingBackingMutableData:]_block_invoke + 343
   5   AppKit                              0x97f05c51 -[NSBitmapImageRep _performBlockUsingBacking:] + 47
   6   AppKit                              0x97f0660d -[NSBitmapImageRep _withoutChangingBackingPerformBlockUsingBackingMutableData:] + 116
   7   AppKit                              0x97f0657f __57-[NSBitmapImageRep _performBlockUsingBackingMutableData:]_block_invoke + 140
   8   AppKit                              0x97f05c51 -[NSBitmapImageRep _performBlockUsingBacking:] + 47
   9   AppKit                              0x97f064eb -[NSBitmapImageRep _performBlockUsingBackingMutableData:] + 117
   10  AppKit                              0x97f06462 -[NSBitmapImageRep getBitmapDataPlanes:] + 105
   11  AppKit                              0x97f063d5 -[NSBitmapImageRep bitmapData] + 52
   12  AppKit                              0x980a1951 -[NSBitmapGraphicsContext _initWithBitmapImageRep:] + 292
   13  AppKit                              0x980a1813 +[NSGraphicsContext graphicsContextWithBitmapImageRep:] + 86
   14  AppKit                              0x982d090c -[NSCursor _premultipliedARGBBitmaps] + 1470
   15  AppKit                              0x97fbd41e -[NSCursor _reallySet] + 168
   16  AppKit                              0x97fbd345 -[NSCursor set] + 235
   17  winemac.drv.so                      0x45003b28 -[WineApplicationController updateCursor:] + 184
   18  winemac.drv.so                      0x4500a9ef -[WineApplicationController setCursor] + 335
   19  winemac.drv.so                      0x45002ef6 __macdrv_set_cursor_block_invoke_2 + 70
   20  winemac.drv.so                      0x45004e46 PerformRequest + 102
   21  CoreFoundation                      0x91582d4f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
   22  CoreFoundation                      0x915747dd __CFRunLoopDoSources0 + 253
   23  CoreFoundation                      0x91573d12 __CFRunLoopRun + 994
   24  CoreFoundation                      0x915736c6 CFRunLoopRunSpecific + 390
   25  CoreFoundation                      0x9157352b CFRunLoopRunInMode + 123
   26  HIToolbox                           0x944c42d8 RunCurrentEventLoopInMode + 262
   27  HIToolbox                           0x944c4011 ReceiveNextEventCommon + 494
   28  HIToolbox                           0x944c3e0c _BlockUntilNextEventMatchingListInModeWithFilter + 99
   29  AppKit                              0x97e91229 _DPSNextEvent + 734
   30  AppKit                              0x97e90a71 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 186
   31  AppKit                              0x97e8302c -[NSApplication run] + 907
   32  winemac.drv.so                      0x4501002a run_cocoa_app + 282
   33  CoreFoundation                      0x91582d4f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
   34  CoreFoundation                      0x915747dd __CFRunLoopDoSources0 + 253
   35  CoreFoundation                      0x91573d12 __CFRunLoopRun + 994
   36  CoreFoundation                      0x915736c6 CFRunLoopRunSpecific + 390
   37  CoreFoundation                      0x916360a1 CFRunLoopRun + 129
   38  libwine.1.0.dylib                   0x400061d9 wine_init + 2745
   39  Anno 1404848062562Wine              0x7bf009bd main + 285
   40  Anno 1404848062562Wine              0x7bf00895 start + 53
)

So that might be wine causing that.

I will try again, and see if it freezes again with those settings.


One thing that I might do and that hopefully helps is lower the resolution of the game.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on July 07, 2015, 05:51:10 PM
Considering the oldest reports reducing the resolution will probably help :)

I'm not sure if that wrapper installs DirectX, but surely it have more chances of working with DirectX 9 than with DirectX 10 (Wine has more support to 9). Has you said, it may don't solve the problem, but it surely helps  ;D
Title: Re: Anno 1404 crashing after 15 min or so
Post by: 112madgamer on November 13, 2015, 03:41:31 AM
Has this been solved?
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Dorian74 on February 14, 2016, 11:39:24 AM
It still crashes, but reducing the graphic settings to lower levels helps. It would be great indeed, if that issue could be fixed.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on April 19, 2016, 01:52:44 PM
I see there's a GOG version now. A bit sad the expansion only works with that (I have the GG version). I wonder why it only works with that version, is it possible for one of you porters to explain that?

To add to this topic, does the GOG version also have the same crashing issues?
Title: Re: Anno 1404 crashing after 15 min or so
Post by: megaboost on April 25, 2016, 05:18:47 PM
I'm also having this problem. I might try to use this solution to see if it works: https://www.youtube.com/watch?v=K9zrY__OMr4

If anyone tried, please tell me if it fixed.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on April 25, 2016, 08:13:53 PM
I'm also having this problem. I might try to use this solution to see if it works: https://www.youtube.com/watch?v=K9zrY__OMr4

If anyone tried, please tell me if it fixed.

Ok, I'll try that soon.

I'll report with the results.


Uh, by the way, I just tested something else... the Venice expansion totally works for me (Gamer's Gate version) All you need to do is change the exe in wineskin to addon.exe instead of anno4.exe or whatever that one is called.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on April 28, 2016, 04:31:08 PM
I tested it. It helped, I was able to play longer. But the game froze (including audio) instead of crashing. Now that might be a wine thing.

So I have yet to test it more than once and see if it freezes again or if that was random. But the memory patch definitely helped. So I'd say try it if you have this problem.


The wine log ended with this:

err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0009, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0034, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0032, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x13e7ecc "?" wait timed out in thread 002d, blocked by 0009, retrying (60 sec)


Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on April 28, 2016, 06:11:27 PM
I tested it. It helped, I was able to play longer. But the game froze (including audio) instead of crashing. Now that might be a wine thing.

So I have yet to test it more than once and see if it freezes again or if that was random. But the memory patch definitely helped. So I'd say try it if you have this problem.


The wine log ended with this:

err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0009, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0034, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0032, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x13e7ecc "?" wait timed out in thread 002d, blocked by 0009, retrying (60 sec)

That part of the log isn't giving useful informations. Could you provide us the complete log?
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on April 29, 2016, 04:17:27 PM
I tested it. It helped, I was able to play longer. But the game froze (including audio) instead of crashing. Now that might be a wine thing.

So I have yet to test it more than once and see if it freezes again or if that was random. But the memory patch definitely helped. So I'd say try it if you have this problem.


The wine log ended with this:

err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0009, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0034, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0032, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x13e7ecc "?" wait timed out in thread 002d, blocked by 0009, retrying (60 sec)

That part of the log isn't giving useful informations. Could you provide us the complete log?

Sure. This is the base game, not the expansion btw. I continued a save that I normally wasn't able to play more than 40 mins or so and it froze after around 1 hour and 15 mins.

I compressed the log because it is otherwise too large to post. It's like a million lines long.

Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on April 29, 2016, 08:48:46 PM
After removing the repeated lines and useless information that was what was left:

Code: [Select]
fixme:imagehlp:ImageLoad (Anno4.exe, C:/Program Files/Ubisoft/Related Designs/ANNO 1404 - Gold Edition/C:/Program Files/Ubisoft/Related Designs/ANNO 1404 - Gold Edition): stub
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:system:SetProcessDPIAware stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:wined3d_device_reset Waiting for cs.
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0009, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0034, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0032, blocked by 002d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x13e7ecc "?" wait timed out in thread 002d, blocked by 0009, retrying (60 sec)

I think that might be the key to solve the problem:

Code: [Select]
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.

I'm not sure about how to do that, but that should solve.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on April 30, 2016, 11:04:03 AM

I think that might be the key to solve the problem:

Code: [Select]
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.

I'm not sure about how to do that, but that should solve.

This requires you to patch wine with this:

Code: [Select]
diff --git a/dlls/wined3d/buffer.c b/dlls/wined3d/buffer.c
index 8bb1f63..8f388ab 100644
--- a/dlls/wined3d/buffer.c
+++ b/dlls/wined3d/buffer.c
@@ -1499,6 +1499,8 @@ HRESULT buffer_init(struct wined3d_buffer *buffer, IWineD3DDeviceImpl *device,
         buffer->flags |= WINED3D_BUFFER_CREATEBO;
     }
 
+    buffer->flags |= WINED3D_BUFFER_DOUBLEBUFFER;
+
     if (data)
     {
         BYTE *ptr;

To patch wine, you have to apply the patch file to the source code and rebuild wine. That is quite some work. And compiling can take a very long while.  Do you have patching experience, vitormm?

Edit: I suppose you can use Git, as hinted on the WineHQ wiki. https://wiki.winehq.org/Patching
I'm not going to try before your reply though.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on April 30, 2016, 01:45:59 PM
I've already applied patches to the Wine source before, but since my actual OS X is El Capitan I can't compile Wineskin engines. Paul could do it, but we would need to be sure that this would solve the problem because, like you said, it takes a long time.

EDIT: I found the same problem in LinuxGaming.de. They same to have solved it doing that:

Quote
In order to get the game working you must enable DirectX 9 instead of DirectX 10:

Locate the Engine.ini file (drive_c/Program Files/Ubisoft/Related Designs/ANNO 1404/ or drive_c/users/%username%/Application\ Data/Ubisoft/Anno1404/Config/ )
Edit or add a key named DirectXVersion and set the value to 9
The file should look similar to this: http://pastebin.com/7E5jSXnA

Here is where I found in case you want to take a deeper look:
https://www.linuxgaming.de/spiele-unter-wine-cedega-crossover-games-f9/-geloest-anno-1404-und-wine-t6040.html

And here is the translation to English in case you (like me) need:
https://translate.google.com.br/translate?sl=de&tl=en&u=https%3A%2F%2Fwww.linuxgaming.de%2Fspiele-unter-wine-cedega-crossover-games-f9%2F-geloest-anno-1404-und-wine-t6040.html
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on April 30, 2016, 04:56:11 PM

EDIT: I found the same problem in LinuxGaming.de. They same to have solved it doing that:

Quote
In order to get the game working you must enable DirectX 9 instead of DirectX 10:

Locate the Engine.ini file (drive_c/Program Files/Ubisoft/Related Designs/ANNO 1404/ or drive_c/users/%username%/Application\ Data/Ubisoft/Anno1404/Config/ )
Edit or add a key named DirectXVersion and set the value to 9
The file should look similar to this: http://pastebin.com/7E5jSXnA


The engine files in the application data folder already had it set to 9. The engine file in the game's files did not have that key yet, so I added it, but I don't think that will do anything seeming that the full engine files already had it set to 9. I'll go ahead and test it.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on April 30, 2016, 05:10:19 PM
Welp it already froze after 5 minutes! So that didn't fix it. I guess the freezing is pretty random.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on April 30, 2016, 05:30:02 PM
Welp it already froze after 5 minutes! So that didn't fix it. I guess the freezing is pretty random.

Maybe, or something may be triggering this.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: paulthetall on May 20, 2016, 05:24:24 PM
There will be portingkit update today which adresses intel HD GFX memory. If you guys have an Intel HD gfx card, then this update will most likely solve your problem (crashing after about 15 min. So check the news blog when it gets released and update your porting Kit straight away that time. And let us know the results.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: paulthetall on May 23, 2016, 08:48:18 AM
What also might be an issue and what I see more coming up is the ratina display. Macdriver may force the resolution to that native Retina view what extremely increases the videomemory usage. So also try to lowe resolution to for Macbooks 1280x800 and IMacs 1600x900. and see how that works out.

Reason is of this theory is that I played the game for more then an hour and finished the first level and started the second one without issues.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: hexeric on June 05, 2016, 04:58:04 PM
this problem still exists for. ANNO gives me the error message and after the 2nd or 3rd time it does it crashes. i'm on the AMD Radeon HD 6970M but i read that is might have to do with the 32bit app not playing nicely with 64bit wine and not being able to allocate RAM?
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on June 05, 2016, 05:03:34 PM
What also might be an issue and what I see more coming up is the ratina display. Macdriver may force the resolution to that native Retina view what extremely increases the videomemory usage. So also try to lowe resolution to for Macbooks 1280x800 and IMacs 1600x900. and see how that works out.

Reason is of this theory is that I played the game for more then an hour and finished the first level and started the second one without issues.
There will be portingkit update today which adresses intel HD GFX memory. If you guys have an Intel HD gfx card, then this update will most likely solve your problem (crashing after about 15 min. So check the news blog when it gets released and update your porting Kit straight away that time. And let us know the results.

Thanks for letting us know Paul. On my end, I have a Nvidea card. I'm wondering how does the PK update help this problem exactly? Does it apply a patch the wrapper?

Lowering the resolution did help for me last time I tried that. I ended up reverting because it was a bit ugly, but I guess I'll put it back to a lower setting.

The thing is, Paul, I remember that the first level and the second one did not give any problems for me too (heck, I was able to play for more than 2 hours), but I have a 9 hour save in continuous mode on a medium map with no AI players that crashes after 20-30 mins.

I won't be able to test anything for a few weeks, as I'm in the middle of exams.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: Stonelord Woodsman on June 05, 2016, 05:07:04 PM
this problem still exists for. ANNO gives me the error message and after the 2nd or 3rd time it does it crashes. i'm on the AMD Radeon HD 6970M but i read that is might have to do with the 32bit app not playing nicely with 64bit wine and not being able to allocate RAM?

Hmm, I never get any error messages of any kind. Not even when the app crashes.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: vitormm on June 05, 2016, 06:05:41 PM
this problem still exists for. ANNO gives me the error message and after the 2nd or 3rd time it does it crashes. i'm on the AMD Radeon HD 6970M but i read that is might have to do with the 32bit app not playing nicely with 64bit wine and not being able to allocate RAM?

Well, all Wineskin engines available in the Porting Kit only create 32 bit prefix wrappers, so I guess that's not the case :P
Title: Re: Anno 1404 crashing after 15 min or so
Post by: paulthetall on June 06, 2016, 10:15:00 AM
Anyone having an Intel Iris or Intel HD gfx card with the problem? I have a theory about this this one..but to confirm that I need to know if there is someone with an Intel HD/Intel Iris gfx card with the same problem.

For the ones with Nvidia/AMD Radeon: Try this:
in porting Kit go to local tab --> select game --> more --> start wineskin --> advanced --> tools --> winetricks --> select under the settinsg --> set videomemorysize to 1024mb --> run the trick and
try again. Also make sure that in screensettings (in the "start wineskin" menu), that detect videocard is "not" selected.

Let me know.
Title: Re: Anno 1404 crashing after 15 min or so
Post by: paulthetall on June 10, 2016, 09:15:05 AM
Ok guys, update to latest portingkit, and let me know the results :) hopefully this was the problem and should be fixed now :)
Title: Re: Anno 1404 crashing after 15 min or so (Solved)
Post by: Steef on September 13, 2016, 03:26:17 PM
Unfortunately no, this didn't fix it for me.

Running a MBP early 2011 with Intel HD 3000. Downloaded the GOG version.
Totally random, yesterday I played for an hour, today it immediately crashes after loading the save games (tried different save games).

Video quality set to medium.
Title: Re: Anno 1404 crashing after 15 min or so (Solved)
Post by: paulthetall on September 13, 2016, 03:33:34 PM
Hey Steef!

Latest Portingkit version? I played about 2 hours without issues on my intel HD 5000.
Intel HD has much less videomemory, so it might be related to that. How does it play with minimum settings but 1280x800 resolution?
Title: Re: Anno 1404 crashing after 15 min or so (Solved)
Post by: Steef Sinkeler on September 15, 2016, 03:31:19 PM
Hey Paul,

thanks for the quick reply. I have updated to the latest Porting Kit version, without succes.
However, lowering the graphic settings further indeed solved the problem.
Now playing at 1024x768 with graphic settings at Low, but at least I can play.
Thanks for the wonderful work on the port and the quick help!
Title: Re: Anno 1404 crashing after 15 min or so (Solved)
Post by: habdankm on September 21, 2016, 07:05:45 PM
Hi

I have MacBook Pro (Retina, Mid 2015) with Intel Iris Pro 1536MB and PortingKit 2.4 installed.
I've set DirectXVersion to 9 but still have exactly same issue as described above. Only lowering details to LOW and resolution to 1/2 of retina resolution (1280x800 for Mac 13" and 1440x900 for Mac 15") solve the problem. Can I help somehow to find an issue to create a patch which will solve the problem? Game is playable, but I love hires graphic in this game and if it possible I would like to try apply some changes which might help.
Any ideas where to start?

Best

Mikolaj
Title: Re: Anno 1404 crashing after 15 min or so (Solved)
Post by: paulthetall on October 02, 2016, 09:47:40 AM
This has todo with Copy protection/DRM which wine in quite some cases can't handle correctly like for example with TAGES and some Securom versions. GOG.com version doesn't contain DRM/Copy protection, which eliminates that problem.
Title: Re: Anno 1404 crashing after 15 min or so (Solved)
Post by: habdankm on October 02, 2016, 01:56:36 PM
I'm using GOG and it should at least be DRM Free:
https://www.gog.com/game/anno_1404_gold_edition