[Bug 6297] Half life 2 based games occasionally do not start due to registry in use

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 22 21:57:50 CDT 2008


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


Brad Martin <wine at fatlxception.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wine at fatlxception.no-ip.org




--- Comment #39 from Brad Martin <wine at fatlxception.no-ip.org>  2008-07-22 21:57:49 ---
This has been happening to me for the past few months practically every time I
start the game unless I invoke the workaround I found.

Basically, before I start tf2, I start the following script running in a
separate terminal window: "while ! killall -STOP hl2.exe; do sleep .1; done;
sleep 5; killall -CONT hl2.exe"  Works every time that way.  The problem seems
to be that steam launches the game first, and *then* releases the resources
that the game expects to be able to use.  Some kind of difference in processor
or disk scheduling means that the game starts quicker than steam is expecting,
leading to the resource conflict.  Anything you can do to delay the game from
actually running after steam launches it makes it more likely that the whole
process will succeed.  I suspect that is why some of you are having luck with
'sync' commands.  Deleting some cache files and forcing the game to regenerate
them before starting probably has a similar effect.

Not sure of a good way to fix this in wine though.  Obviously you could
hardcode some kind of a sleep any time a process named "hl2.exe" is launched,
but that's not very satisfying.  When the bug is ultimately in steam though,
not sure what more can be done.


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