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

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 4 09:43:41 CDT 2014


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

--- Comment #120 from Yuri Shishenko <yurishish at gmail.com> ---
(In reply to kokoko3k at gmail.com from comment #119)
> None of the workarounds worked for me; if the problem is really the
> findfirstfile function, then it is just a matter of luck.
> 
> So I ended up in using an hardfile formatted in ntfs.
> Now i'm at turn 185 and all is still working.
> 
> 
> * The hardfile is 10GB, i think it is enough for CivV plus addons.
> * $CIVILIZATION_WINEPREFIX is the wine prefix where civilization is actually
> installed
> 
> # dd if=/dev/zero of=./civ5.loopfile bs=1G count=10
> # mkfs.ntfs -f -I -s 4096 -F ./civ5.loopfile 
> # mkdir /mnt/civ5.loopdir
> + # mount ./civ5.loopfile /mnt/civ5.loopdir -o loop -t ntfs-3g
> # cp -a $CIVILIZATION_WINEPREFIX/ /mnt/civ5.loopdir/
> + # export WINEPREFIX=/mnt/civ5.loopdir/
> 
> And play as usual from the new location.
> Actions marked as "+" need to be executed every time of course.
> 
> (...now try to do that on a fat32 windows system eheheh...)


You can create NTFS image file, mount it and copy Civ file from Civ folder in
Steamapps folder.
Then you can add the entry to the /etc/fstab file like this

<disk image file> /home/user/$steamfolder/drive_c/blablabla/Civilization\ V
ntfs loop 0 0

So it will mount automagically from start-up. No need to use separate
wineprefix.

-- 
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