[Bug 31113] Civilization V crashes after specific amount of game turns

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 20 11:02:33 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=31113

Michael Casadevall <mcasadevall at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcasadevall at ubuntu.com

--- Comment #82 from Michael Casadevall <mcasadevall at ubuntu.com> 2013-07-20 11:02:33 CDT ---
I've done some work on localizing the crash, and believe I know what the
underlying problem is (it is also the same issue that affects BNW from working
under WINE).

The crash is specifically caused when any civilization in the game enters the
Renaissance era, when the game attempts to recruit spies for the DLC
civilizations. As the DLC has to be compatible with both the base game (which
didn't have spies) and the expansions, the DLC by itself doesn't contain any
spies; as such when the game tries to recruit one, it reads invalid memory, and
boom, crash.

The Expansions for Civ (both GNK and BNW) have updated XML files living in
Assets/Expansion/DLC/*/Gameplay/XML, if one manually copies these XML files and
overrides the original files in Assets/DLC/*, you can continue a previously
crashing game, and continue on your path to world domination :-).

I believe the underlying cause is how WINE specifically is returning files in
one of the directory search options. Based on behavior I saw with the release
of BNW, Civ tries to load things on windows in the order of: DLC_*, Expansion,
Expansion2, Expansion DLC overlay, Expansion2 DLC overlay.

Under WINE, this order is screwed up, and tries to do things like Expansion2,
Expansion, DLC overlays, DLC_*

Once I localize which function causing the difference in behavior, making a
patch *should* be easy ...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list