20070225
Medieval 2 Total War and CTD crash to desktop when entering Battle Screen with Unspecified Error
A Workaround
I have been reading the posts on several boards for the last couple of weeks. Specifically for the CTD or crash to desktop issue when entering battles as opposed to the campaign portion. The one you get when choosing to enter a battle and when the loading bar at the bottom should start to move and you crash out to the desktop with the Unspecified error. My son is the primary player of the game but in trying to troubleshoot this problem I started playing the game and now I am hooked as well.
Like many other posters, everything was running fine and many hours of successful game time in campaign or battle mode were logged. Quite suddenly Ian was crashed out of an intense battle with a CTD. Very unhappy. Really and especially very unhappy when it was discovered that ALL attempts to enter the battle screen also crashed the game. All saved games and any new ones were affected. Dad got asked for help.
I went at with the usual tools. Updated video drivers, no help. Updated sound drivers, no help. Changed from an Nvidia card to an ATI card and completely changed drivers, no help. Ran the latest February 2007 Microsoft Directx Redistribution package for DirectX 9.0c, no help. Very bummed out.
Started reading the forums. Discovered threads about elephants. Found out from Ian that, yes, elephants were for the first time entering into the battle and that is when we had this crash. (VERY important to note this a bit later in this document because you may need to do the workaround over again). This all led me to understand how the crash came about but left me wondering how to fix it. Continued working on the video front and changing settings in the video options: shader level, shadows, detail levels, AA, in short all the likely suspects. Still crashing. Rebooting often to be sure that we were getting fresh starts. Then I made a mistake.
We use XP Professional. Service Pack 2, all chosen updates. My son has his own user account so that he can set things up as he wants. I log in as him when trying fixes on Medieval 2. I messed up and logged in as myself out of reflex. Suddenly Medieval 2 battles worked! It took us a while to realize what had happened because the last change I made had not worked and after the usual CTD I had rebooted. The magical fix seemed to have no reason to take effect other than yet another reboot. Only after quitting the game and dropping back to the normal desktop on purpose for once did we realize that we were on my desktop not his. So we logged out of my account and logged in on his. Bang. Medieval was still crashing. Log out of Ian’s account and into mine: works just fine. Wow.
A few days have now gone by. In the meantime, we have discovered a few things. It is absolutely still possible to crash the game. It often happens with elephants and with elephants and walls and units on those walls. Sometimes the crash will break Medieval completely – this means that from then on ANY attempt to load the battle screen will crash – and sometimes not. When you do have the full bad news mess up MTW2 completely CTD problem you are hosed. For that user. And therein lies the workaround. We now have a Medieval user account. When playing MTW2 we only log in as that user. Do NOT bother to make that user pretty or waste any time customizing it. Because when you get the full on nasty crash that user is worthless and will be abandoned. We make a new user, MTW2_2 or _3 or whatever, and play it from there. This has worked this way perfectly. Not very elegant, but VERY VERY effective.
I am not going to try to analyze what is happening here. The Total War programmers are probably on this. It likely has to do with temp files that DX9 establishes for each user account and I can’t pinpoint. Someone with more knowledge may reveal to us all the mysterious file or registry entry in question. It is going to have something that is based on a user account level. But, the solution does give us a workaround and makes sense of the different ways we hear of this particular problem.
In short, this did not have to do with a reinstall or driver updates. This has to do with values being used by MTW2 and since I do not see anything that the programmers are using on a by user account level for MTW2 it likely has to do with DX9 which does carry that info by user and how it is being used by MTW2. We’ll let the programmers solve this one but for now, we can keep playing the great game without fear because we have a workaround by creating a new user and loading the game right back up.
Hope this helps,
John
Bookmarks