http://bugs.winehq.org/show_bug.cgi?id=13033
Summary: Homeworld2 fails to launch Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: cabose1213@gmail.com
Created an attachment (id=12791) --> (http://bugs.winehq.org/attachment.cgi?id=12791) debug output from konsole
When Homeworld 2 is launched it comes up with this in the terminal:
wine: Call from 0x7b841e00 to unimplemented function ntoskrnl.exe.IoGetDeviceProperty, aborting
Then a whole lot more, but I'll put that in an attachment
my disc drive is mapped in wine i'm on: opensuse10.2 with a KDE desktop kernel 2.6.18.2-34-default wine 0.9.61
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #1 from Lei Zhang thestig@google.com 2008-05-08 14:42:34 --- Same problem with the demo?
http://www.gamershell.com/news_9046.html
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #2 from Slythought cabose1213@gmail.com 2008-05-08 21:13:09 --- Yes I just tried running the demo and it fails then too. although the debug output is different
it doesn't have the
wine: Call from 0x7b841e00 to unimplemented function ntoskrnl.exe.IoGetDeviceProperty, aborting
in it but there are still a ton of fixmes and dxdiag things
i did use a fresh C:\ drive
the new out put will be attached too.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #3 from Slythought cabose1213@gmail.com 2008-05-08 21:18:04 --- Created an attachment (id=12834) --> (http://bugs.winehq.org/attachment.cgi?id=12834) demo debug output
demo debug output
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #4 from Slythought cabose1213@gmail.com 2008-05-08 21:21:23 --- so i found out that the
wine: Call from 0x7b841e00 to unimplemented function ntoskrnl.exe.IoGetDeviceProperty, aborting
is the game's anti piracy checker but there is a nocd patch, with the patch the game still doesn't work, the debug is the same just without the
wine: Call from 0x7b841e00 to unimplemented function ntoskrnl.exe.IoGetDeviceProperty, aborting
i'll attach the patch too
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #5 from Slythought cabose1213@gmail.com 2008-05-08 22:57:57 --- never mind the patch is too big so here is the link
http://www.gameburnworld.com/gp/gamefixes/homeworld2.shtml
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #6 from Austin English austinenglish@gmail.com 2008-05-11 17:39:43 --- (In reply to comment #5)
never mind the patch is too big so here is the link
Please don't link to/attach no-cd patches here.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #7 from Slythought cabose1213@gmail.com 2008-05-11 22:06:32 --- oh sorry, i wont.
is there a way to remove my post?
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #8 from Austin English austinenglish@gmail.com 2008-05-12 00:11:27 --- (In reply to comment #7)
oh sorry, i wont.
is there a way to remove my post?
No. Just remember for next time.
http://bugs.winehq.org/show_bug.cgi?id=13033
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |0.9.61.
http://bugs.winehq.org/show_bug.cgi?id=13033
lacton@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lacton@users.sourceforge.net
--- Comment #9 from lacton@users.sourceforge.net 2008-07-30 08:56:54 --- I have the same issue with wine version 1.1.2 on Linux Mandriva 2008.1.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #10 from lacton@users.sourceforge.net 2008-07-30 08:57:51 --- Created an attachment (id=15178) --> (http://bugs.winehq.org/attachment.cgi?id=15178) Console output when running 'wine Homeworld2.exe'
http://bugs.winehq.org/show_bug.cgi?id=13033
lacton@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from lacton@users.sourceforge.net 2008-07-30 08:58:17 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #12 from Jim Cameron jim_24601@btinternet.com 2008-08-25 08:13:24 --- Created an attachment (id=15630) --> (http://bugs.winehq.org/attachment.cgi?id=15630) Added a bunch of ntoskrnl.exe stubs for Homeworld 2
I went on a bit of a stubbing frenzy and got rid of the unimplemented stub crashes for the full version. It still doesn't run, but it seems to pass the copy protection. Patch submitted to wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=13033
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=13033
Jim Cameron jim_24601@btinternet.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jim_24601@btinternet.com
--- Comment #13 from Jim Cameron jim_24601@btinternet.com 2008-08-25 12:00:41 --- Homeworld 2 (demo or full with the above patch) crashes with the dreaded "err:wgl:wglShareLists Could not share display lists, context already created !" message. Apparently you can share an already-created context under WGL but not Linux OpenGL. I added a hack to make wglShareLists() destroy the destination context if it already exists. I'm not completely sure that's safe, but it stops the crash...
Instead, the game just bombs to the desktop. I traced this down to a failure to load a custom cursor from a .cur file. In fact there's a bug in Wine's implementation of .cur files ... fudged it for now, I'm working on a proper patch.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #14 from Jim Cameron jim_24601@btinternet.com 2008-08-25 12:55:05 --- Created an attachment (id=15635) --> (http://bugs.winehq.org/attachment.cgi?id=15635) Hack to delete already-created destination context in wglShareLists()
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #15 from Jim Cameron jim_24601@btinternet.com 2008-08-25 12:56:38 --- Created an attachment (id=15636) --> (http://bugs.winehq.org/attachment.cgi?id=15636) Fixed bug in loading .cur files.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #16 from Jim Cameron jim_24601@btinternet.com 2008-08-25 12:58:07 --- With the above patches applied, Homeworld 2 (full version) runs. I played through the first tutorial without any problems.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #17 from Austin English austinenglish@gmail.com 2008-08-25 13:49:47 --- (In reply to comment #15)
Created an attachment (id=15636)
--> (http://bugs.winehq.org/attachment.cgi?id=15636) [details]
Fixed bug in loading .cur files.
A testcase would be useful.
http://bugs.winehq.org/show_bug.cgi?id=13033
Daniel pastund@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pastund@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #18 from Daniel pastund@gmx.de 2008-08-26 04:10:49 --- (In reply to comment #17)
(In reply to comment #15)
Created an attachment (id=15636)
--> (http://bugs.winehq.org/attachment.cgi?id=15636) [details] [details]
Fixed bug in loading .cur files.
A testcase would be useful.
What do you need? I do not understand "testcase".
I started/played Homeworld2 successfully with that patch in comment #14, but I had to add "-nopbuffer" to the command line. I tested it with wine-1.1.3-53-g9ce31cf and a "Homeworld 2 version 1.0 no-CD".
Thank you Jim Cameron!
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #19 from Daniel pastund@gmx.de 2008-08-26 04:12:04 --- (In reply to comment #18)
What do you need? I do not understand "testcase".
I started/played Homeworld2 successfully with that patch in comment #14, but I had to add "-nopbuffer" to the command line. I tested it with wine-1.1.3-53-g9ce31cf and a "Homeworld 2 version 1.0 no-CD".
Thank you Jim Cameron!
Sorry, I meant comment #15
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #20 from Daniel pastund@gmx.de 2008-08-26 04:23:50 --- Created an attachment (id=15657) --> (http://bugs.winehq.org/attachment.cgi?id=15657) HW2 working! wine-1.1.3-53-g9ce31cf & CurPatch from JimCameron & -nopbuffer
I made a screenshot with patch from comment #15, wine-1.1.3-53-g9ce31cf and "-nopbuffer".
http://bugs.winehq.org/show_bug.cgi?id=13033
Daniel pastund@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15657|HW2 working! wine-1.1.3-53- |HW2 v1.0 working! wine- description|g9ce31cf & CurPatch from |1.1.3-53-g9ce31cf & |JimCameron & -nopbuffer |CurPatch from JimCameron & | |-nopbuffer
--- Comment #21 from Daniel pastund@gmx.de 2008-08-26 04:26:00 --- (From update of attachment 15657) I made a screenshot from "HW2 v1.0 no-CD" with patch from comment #15, wine-1.1.3-53-g9ce31cf and "-nopbuffer" in command line.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #22 from Austin English austinenglish@gmail.com 2008-08-26 11:54:37 --- (In reply to comment #18)
(In reply to comment #17)
(In reply to comment #15)
Created an attachment (id=15636)
--> (http://bugs.winehq.org/attachment.cgi?id=15636) [details] [details] [details]
Fixed bug in loading .cur files.
A testcase would be useful.
What do you need? I do not understand "testcase".
I started/played Homeworld2 successfully with that patch in comment #14, but I had to add "-nopbuffer" to the command line. I tested it with wine-1.1.3-53-g9ce31cf and a "Homeworld 2 version 1.0 no-CD".
Thank you Jim Cameron!
http://wiki.winehq.org/ConformanceTests
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #23 from Jim Cameron jim_24601@btinternet.com 2008-08-26 12:28:57 --- (In reply to comment #18)
What do you need? I do not understand "testcase".
Don't worry, that was directed at me. And he was right; I should have included a test case. Thanks Austin; I'll try to put one together tonight and submit it along with the patch.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #24 from Jim Cameron jim_24601@btinternet.com 2008-08-27 07:08:20 --- Created an attachment (id=15679) --> (http://bugs.winehq.org/attachment.cgi?id=15679) Tests for fix to bug in loading cursor from file
Turns out my patch above causes some tests to succeed within todo blocks. I've removed those todo, and added a regression test for CreateIconFromResource() to make sure I didn't break it.
http://bugs.winehq.org/show_bug.cgi?id=13033
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=13033
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #25 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-28 09:24:33 --- @Jim Cameron: it's best to send the stubs for ntoskrnl from comment #12 one at a time (so one stub per patch). Thaw way they'll have more chance to get in git.
BTW thanks very much for the cursorpatch, as it also seems to fix the crash in F.E.A.R. game. Great job!
http://bugs.winehq.org/show_bug.cgi?id=13033
Matej Spindler matej.spindler@email.si changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matej.spindler@email.si
http://bugs.winehq.org/show_bug.cgi?id=13033
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #26 from joaopa jeremielapuree@yahoo.fr 2008-09-03 11:17:16 --- The stubbed ntoskernel are now in git. Can anyone give a try ?
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #27 from Matej Spindler matej.spindler@email.si 2008-09-03 11:21:50 --- (In reply to comment #14)
Created an attachment (id=15635)
--> (http://bugs.winehq.org/attachment.cgi?id=15635) [details]
Hack to delete already-created destination context in wglShareLists()
Is there any news on this patch? Will it be committed ? With that patch and NoCd exe game runs very well.
And since this bug is turning in to a "all" Homeworld2 bugs is there a way to get multyplayer working? I believe it needs directplay 8. Naive dlls from wine wiki don't work.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #28 from Jim Cameron jim_24601@btinternet.com 2008-09-03 12:03:17 --- @Louis Lenders: Well recommended, thanks. I split my über-patch into a patch per stub, and they were accepted into git. I haven't played F.E.A.R., but it looks quite cool--I might check it out.
@joaopa: Rob Verduijn is listed as maintainer for Homeworld 2; I was going to drop him a note when Wine 1.1.4 came out asking him to re-test it.
@Matej Spindler: The wglShareLists() patch has not yet been accepted: I'm planning to revise it and submit it again, but I probably won't have time to do that this week. Try the -nopbuffer option in the meantime. Current git should support the full retail version so there is no need for a no-CD. I don't know about multiplayer; you should submit a new bug for that. This is just about the game failing to launch altogether.
http://bugs.winehq.org/show_bug.cgi?id=13033
fahri fahri.uzun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fahri.uzun@gmail.com
--- Comment #29 from fahri fahri.uzun@gmail.com 2008-09-04 06:58:09 --- sorry i am new on linux but i installed 1.1 patch and wine 1.1.3 but i cant find how to paste -nopbuffer code?where and how? please help guys
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #30 from Daniel pastund@gmx.de 2008-09-04 08:14:14 --- (In reply to comment #29)
sorry i am new on linux but i installed 1.1 patch and wine 1.1.3 but i cant find how to paste -nopbuffer code?where and how? please help guys
If you are totally new on Linux, I suggest that you wait for Wine 1.1.4 or later. Homeworld 2 does not work with Wine 1.1.3. This bug description is talking about that.
I think you need more common help if you want to use Homeworld 2 now. I am sorry, but this is not a forum for that. Please use Wine Forum.
You will find help here if you want to use Homeworld 2 now: - http://wiki.winehq.org/ - http://wiki.winehq.org/HackingTips - http://wiki.winehq.org/GitWine
You need help from: - Wine Wiki with "FAQ - Frequently Asked Questions" and "Wine documentation" - Tips & Tricks / Hacking Tips
You have to follow: Visit site "HackingTips" and read the short line about "Source Code Management". Follow the Link to "GitWine" and jump to "6.1. Regression testing". Read the other important chapters later.
You have to do: - Use graphical version of Terminal (from Gnome/KDE) - Download Wine source code - Ignore "git bisect" commands this time, you only need the step by step instructions - Use patch to source code from Comment #15 of this bug description - Compile Wine source code - Add parameter "-nopbuffer" in Wine command line. Put it after application name which wine have to start: wine <application name> <application parameter>
Important notes: Verify that you start your compiled version of Wine. You need additional documentation about Linux Console. In short two examples: ./wine /home/yourloginname/.wine/drive_c/Program\ Files/Homeworld2/Bin/Release/Homeworld2.exe -nopbuffer
/home/yourloginname/.wine-git/wine Homeworld2.exe -nopbuffer
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #31 from Austin English austinenglish@gmail.com 2008-09-04 14:57:57 --- (In reply to comment #29)
sorry i am new on linux but i installed 1.1 patch and wine 1.1.3 but i cant find how to paste -nopbuffer code?where and how? please help guys
http://wiki.winehq.org/Patching
http://bugs.winehq.org/show_bug.cgi?id=13033
PUNX69 punx69@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |punx69@gmx.net
--- Comment #32 from PUNX69 punx69@gmx.net 2008-12-22 07:30:35 --- works for me on Homeworld 2 1.1 german with wine 1.1.10 & 1.1.11
system: Debian Sid amd64, 2x nvidia 8600GT(SLI/AFR) with driver version 180.06
i don't need the -nopbuffer switch
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #33 from Austin English austinenglish@gmail.com 2008-12-22 13:16:35 --- Reporter, please retest.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #34 from lacton@users.sourceforge.net 2009-01-02 06:56:19 --- Using wine-1.1.11 on Mandriva Linux 2009.0 and Homeworld 2 (full version with original CD)
- running "wine Homeworld2.exe" fails with "err:wgl:X11DRV_wglShareLists Could not share display lists, context already created !" (as described in Comment #13)
- running "wine Homeworld2.exe -nopbuffer" succeeds.
It looks like Jim Cameron's patch to ntoskrnl.exe fixes the original issue. (Thank you Jim!)
Although I can play HW2 with the nopbuffer argument, the wglShareLists issue is still pending.
http://bugs.winehq.org/show_bug.cgi?id=13033
lacton@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15178|0 |1 is obsolete| |
--- Comment #35 from lacton@users.sourceforge.net 2009-01-02 07:03:38 --- Created an attachment (id=18391) --> (http://bugs.winehq.org/attachment.cgi?id=18391) Console output when running 'wine Homeworld2.exe' with wine 1.1.11
http://bugs.winehq.org/show_bug.cgi?id=13033
Brian Rogers brian@xyzw.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |brian@xyzw.org
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #36 from Austin English austinenglish@gmail.com 2009-10-01 15:09:40 --- Is this still an issue in current (1.1.30 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #37 from lacton@users.sourceforge.net 2009-10-04 10:52:24 --- (In reply to comment #36)
Is this still an issue in current (1.1.30 or newer) wine?
Using wine-1.1.27 on Mandriva Linux 2009.1 and Homeworld 2 (full version with original CD)
- running "wine Homeworld2.exe" fails with "err:wgl:X11DRV_wglShareLists Could not share display lists, context already created !" (as described in Comment #13)
- running "wine Homeworld2.exe -nopbuffer" succeeds.
Although I can play HW2 with the nopbuffer argument, the wglShareLists issue is still pending.
http://bugs.winehq.org/show_bug.cgi?id=13033
William J May may.11b@runbox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |may.11b@runbox.com
--- Comment #38 from William J May may.11b@runbox.com 2010-04-13 04:02:14 --- (In reply to comment #13)
"err:wgl:wglShareLists ...
With 'wine Homeworld2.exe' in Wine 1.1.42 and Mandriva 2010, but '-nopbuffer' switch gets around it.
...Strange, I didn't have this problem with 1.1.27/29 and Mandriva 2008... My hardware has stayed exactly the same from then to now.
I'm also using 'fglrx' if that means anything.
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #39 from William J May may.11b@runbox.com 2010-04-13 04:07:18 --- Created an attachment (id=27351) --> (http://bugs.winehq.org/attachment.cgi?id=27351) Output from 'wine Homeworld2.exe' on 1.1.42
http://bugs.winehq.org/show_bug.cgi?id=13033
--- Comment #40 from PUNX69 punx69@gmx.net 2010-06-12 15:42:54 --- it seems that only 1.0 is affected by this bug maybe someone should change the title to "Homeworld2 1.0 and 0.99(demo) fails to launch"
http://bugs.winehq.org/show_bug.cgi?id=13033
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz Summary|Homeworld2 fails to launch |Homeworld2 v1.0 and demo | |v0.99 fails to launch
http://bugs.winehq.org/show_bug.cgi?id=13033
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13033
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6aeffb53eeed0573a4c971097ff | |e39c6c1b537c0 Status|NEW |RESOLVED Keywords| |download URL| |http://www.gamershell.com/d | |ownload_3274.shtml Component|-unknown |ntoskrnl CC| |focht@gmx.net Resolution| |FIXED Summary|Homeworld2 v1.0 and demo |Homeworld2 v1.0 and demo |v0.99 fails to launch |v0.99 fails to launch | |(crash due to unimplemented | |function | |ntoskrnl.exe.IoGetDevicePro | |perty)
--- Comment #41 from Anastasius Focht focht@gmx.net 2011-12-21 15:44:36 CST --- Hello,
initial problem was fixed with this commit:
http://source.winehq.org/git/wine.git/commitdiff/6aeffb53eeed0573a4c971097ff...
Regards
http://bugs.winehq.org/show_bug.cgi?id=13033
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #42 from Alexandre Julliard julliard@winehq.org 2011-12-30 12:55:58 CST --- Closing bugs fixed in 1.3.36.