NHL 2002 will run on one Ubuntu machine but not another

Questions about Wine on Linux
Locked
lastout
Level 1
Level 1
Posts: 6
Joined: Sun Feb 09, 2014 5:01 pm

NHL 2002 will run on one Ubuntu machine but not another

Post by lastout »

Hi,
I'm trying to install NHL 2002 on my kids' computer (Ubuntu 13.04 - plenty of power, memory, video etc) running Wine amd64 1.4.1-0ubuntu5. While the install process seemed fine, the game itself is not actually loading. When I run the command line from terminal:

Code: Select all

env WINEPREFIX="/home/username/.wine" wine C:\\windows\\command\\start.exe /Unix /home/username/.wine/dosdevices/c:/users/Public/Desktop/NHL\ 2002.lnk
I get these messages:

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
Running Q4Wine while trying to start NHL 2002 showed me that there were processes starting up and then quickly disappearing. Here's a screenshot:
wine_screenshot.png
Now the strange thing is, that I can successfully run the very same game on my own computer (Ubuntu 12.10) - whose installation process produced an identical run command line (besides the different user names). The only difference I noted was between the filesizes of .wine/dosdevices/c:/users/Public/Desktop/NHL\ 2002.lnk generated for the two computers.
Does anyone have any ideas?
Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by dimesio »

Q4Wine is not supported here, and your Wine version is old. Please reinstall in the latest development release of plain Wine.
lastout
Level 1
Level 1
Posts: 6
Joined: Sun Feb 09, 2014 5:01 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by lastout »

Hi,
I removed Q4Wine and upgraded to Wine 1.7. I then uninstalled the game and reinstalled it using the new Wine. However, I'm still getting the same

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
error when I run from terminal and no luck at all when launching from the GUI.
Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by dimesio »

Try running the executable directly instead of the .lnk file. http://wiki.winehq.org/FAQ#run_from_terminal
lastout
Level 1
Level 1
Posts: 6
Joined: Sun Feb 09, 2014 5:01 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by lastout »

Thanks again.
I tried running the exe file (nhl2002.exe) from both
~/.wine/drive_c/Program Files (x86)/EA SPORTS/NHL 2002/nhl2002.exe
and
~/.wine/dosdevices/c:/Program Files (x86)/EA SPORTS/NHL 2002/nhl2002.exe
but neither produced any output. When I ran it as wine start nhl2002.exe (rather than wine nhl2002.exe) I did get this single error message:
fixme:exec:SHELL_execute flags ignored: 0x00000100
I appreciate all your help.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by dimesio »

Try installing it to a 32 bit wineprefix. http://wiki.winehq.org/FAQ#32_bit_wineprefix
lastout
Level 1
Level 1
Posts: 6
Joined: Sun Feb 09, 2014 5:01 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by lastout »

Thanks.
Please allow me to ask a clarifying question: does this mean that I should run, say:

Code: Select all

WINEARCH=win32 WINEPREFIX=/home/username/.wine/newdrive winecfg 
then manually copy the contents of

Code: Select all

/home/username/.wine/dosdevices/c:/
into /.wine/newdrive, and, finally, create a launch command that points to the new lnk (or exe) file?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by dimesio »

lastout wrote: Please allow me to ask a clarifying question: does this mean that I should run, say:

Code: Select all

WINEARCH=win32 WINEPREFIX=/home/username/.wine/newdrive winecfg 
Close, but the new wineprefix should not be inside your existing wineprefix, which is what that path would do. It should be

Code: Select all

WINEARCH=win32 WINEPREFIX=/home/username/newdrive winecfg 
then manually copy the contents of

Code: Select all

/home/username/.wine/dosdevices/c:/
into /.wine/newdrive, and, finally, create a launch command that points to the new lnk (or exe) file?
Absolutely not. You have to install the game to the new wineprefix same as you did to the old one, but specify the new wineprefix in the command line when running the installer. For more info on how: http://wiki.winehq.org/FAQ#wineprefix.
lastout
Level 1
Level 1
Posts: 6
Joined: Sun Feb 09, 2014 5:01 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by lastout »

I manually copied the /.wine/dosdevices/Program Files (.86) and /.wine/dosdevices/users to the newdrive hierarchy, and I got a lot further. However now, for some reason, I get a

Code: Select all

Please insert the NHL 2002 CDROM into drive C:\ and try again
message. I'm not sure why the program would be looking for my DVD in drive C:\
I appreciate all your help!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by dimesio »

Try installing the game properly.
lastout
Level 1
Level 1
Posts: 6
Joined: Sun Feb 09, 2014 5:01 pm

Re: NHL 2002 will run on one Ubuntu machine but not another

Post by lastout »

Thanks. I deleted the complete .work hierarchy, created a 32-bit wineprefix, and reinstalled the game. It works perfectly now!
Besides, that is, that the game actually doesn't play nicely with Ubuntu Unity, so I've installed gnome-session-fallback to regain control of the complete screen.
I appreciate your help!
Locked