Games 'dissappear' after installing in wine...
Games 'dissappear' after installing in wine...
Heya,
I'm new to these forums and fairly new to linux and wine. I'm having some trouble with some computer games I'm trying to run under wine. The games are:
Call of Duty 5 World at War
Call of Duty 4 Modern Warfare
Alien Versus Predator
I managed to install Call of Duty 5 and AvP without errors, however I can't run them. They don't appear in the wine menu or the games menu. (I'm using OpenSuse 11.3 64 bit with kde) I've checked the wine c-drive, and they don't appear there either. That is, I've checked /home/jacob/.wine/drive_c and /home/jacob/.wine/dosdevices. The games are NOT in those folders. However, the game installers can see the directories. Meaning that when I installed AvP I could see the folder for Call of Duty 5, however neither wine nor nautilus seems to be able to find these folders. I haven't changed ANY settings in wine.
Call of Duty 4 Modern Warfare is a different story altogether, this installer can also see those magic invisible folders that the other games are in, however it keeps claiming that I don't have 8gb of available harddisk space. As far as I can make out I have about 95gb free harddisk space.
According to the appdb all games should be supported. The Call of Duty Games should be awarded silver medals and AvP got gold...
Best regards,
Daqar
I'm new to these forums and fairly new to linux and wine. I'm having some trouble with some computer games I'm trying to run under wine. The games are:
Call of Duty 5 World at War
Call of Duty 4 Modern Warfare
Alien Versus Predator
I managed to install Call of Duty 5 and AvP without errors, however I can't run them. They don't appear in the wine menu or the games menu. (I'm using OpenSuse 11.3 64 bit with kde) I've checked the wine c-drive, and they don't appear there either. That is, I've checked /home/jacob/.wine/drive_c and /home/jacob/.wine/dosdevices. The games are NOT in those folders. However, the game installers can see the directories. Meaning that when I installed AvP I could see the folder for Call of Duty 5, however neither wine nor nautilus seems to be able to find these folders. I haven't changed ANY settings in wine.
Call of Duty 4 Modern Warfare is a different story altogether, this installer can also see those magic invisible folders that the other games are in, however it keeps claiming that I don't have 8gb of available harddisk space. As far as I can make out I have about 95gb free harddisk space.
According to the appdb all games should be supported. The Call of Duty Games should be awarded silver medals and AvP got gold...
Best regards,
Daqar
-
- Level 4
- Posts: 194
- Joined: Thu Jun 12, 2008 12:40 pm
Look in /home/your_user_name/.wine/drive_c/Program Files/
Also, you should run your games with a command line. http://wiki.winehq.org/FAQ#run_from_terminal
Also, you should run your games with a command line. http://wiki.winehq.org/FAQ#run_from_terminal
Games 'dissappear' after installing in wine...
On Tuesday 10 August 2010 8:19:07 am Daqar wrote:
/home/.wine/drive_c/Program Files/<name of game>
Have you tried going one folder more? My games show up inI've checked /home/jacob/.wine/drive_c
/home/.wine/drive_c/Program Files/<name of game>
Sorry, my bad. I didn't make that clear enough. I have indeed checked that folder. Here is what it contains:
The games are really not there....I don't know what I did wrong. I ran the installers as root, using the OpenSuse su command, like in this example:
Is that the error? I couldn't make the installers work without root permissions.
Best regards,
Daqar
Code: Select all
jacob@linux-c18f:~/.wine/drive_c/Program Files> ls
Common Files Heretic Internet Explorer WordPerfect Office X3
Code: Select all
su
wine setup.exe
Best regards,
Daqar
Bugger....that does seem to be the cause...I found the folders here:Daqar wrote:Sorry, my bad. I didn't make that clear enough. I have indeed checked that folder. Here is what it contains:
The games are really not there....I don't know what I did wrong. I ran the installers as root, using the OpenSuse su command, like in this example:Code: Select all
jacob@linux-c18f:~/.wine/drive_c/Program Files> ls Common Files Heretic Internet Explorer WordPerfect Office X3
Is that the error? I couldn't make the installers work without root permissions.Code: Select all
su wine setup.exe
Best regards,
Daqar
/root/.wine/drive_c/Program Files/
I'm unsure how to proceed...what should I do?
Best regards,
Daqar
Games 'dissappear' after installing in wine...
On Tue, 2010-08-10 at 08:06 -0500, Daqar wrote:
as root with /root as its home directory, not /home/youruser.
The wine package itself must be installed as root because its a normal
Linux package, but all Wine applications and games MUST NOT be installed
as root because they are intended to be installed as user-level code
that must be installed in the user you intend to run them from. The fix
things:
(1) go into root using 'su' and delete the .wine directory you'll find
there:
rm -rf .wine
(2) Remember that you never run Wine applications or games as root just
as you never do anything else as root unless its a system maintenance
task.
(3) Reinstall the games in the user where you intend to run them,
without using 'su'
still run in your login, so try running the installer this way:
sudo wine setup.exe
...but I strongly suggest you read the manpages for su and sudo first so
you know what each does and how to decide which will best accomplish the
task you need done.
Martin
Thats what you did wrong. 'su' starts a privileged shell which it runsI ran the installers as root, using the OpenSuse su command,
as root with /root as its home directory, not /home/youruser.
The wine package itself must be installed as root because its a normal
Linux package, but all Wine applications and games MUST NOT be installed
as root because they are intended to be installed as user-level code
that must be installed in the user you intend to run them from. The fix
things:
(1) go into root using 'su' and delete the .wine directory you'll find
there:
rm -rf .wine
(2) Remember that you never run Wine applications or games as root just
as you never do anything else as root unless its a system maintenance
task.
(3) Reinstall the games in the user where you intend to run them,
without using 'su'
If you run a program with 'sudo' it gets elevated privileges but willIs that the error? I couldn't make the installers work without root permissions.
still run in your login, so try running the installer this way:
sudo wine setup.exe
...but I strongly suggest you read the manpages for su and sudo first so
you know what each does and how to decide which will best accomplish the
task you need done.
Martin
Re: Games 'dissappear' after installing in wine...
DO NOT DO THIS. It will break the permissions in your ~/.wine folder.Martin Gregorie wrote: If you run a program with 'sudo' it gets elevated privileges but will
still run in your login, so try running the installer this way:
sudo wine setup.exe
http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014
Games 'dissappear' after installing in wine...
On Tue, 2010-08-10 at 08:59 -0500, dimesio wrote:
effect on the .wine folder though 'sudo chown -R me.mygroup .wine' and
'chmod -R perms .wine' can do wonders when it comes to fixing file and
directory permissions.
Martin
Apologies. I was thinking of solving CD access problems, not of itsMartin Gregorie wrote:DO NOT DO THIS. It will break the permissions in your ~/.wine folder.If you run a program with 'sudo' it gets elevated privileges but will
still run in your login, so try running the installer this way:
sudo wine setup.exe
http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014
effect on the .wine folder though 'sudo chown -R me.mygroup .wine' and
'chmod -R perms .wine' can do wonders when it comes to fixing file and
directory permissions.
Martin
Thanks for the help guys. I managed to locate and delete the .wine folder under root. I managed to install AvP just fine and it runs. I just don't have full mouse movement. I can't turn 360 degrees. The mouse movement is limited like this both horizontally and vertical. I guess I should start a new thread with that...
Thanks again for the help !
Best regards,
Daqar
Thanks again for the help !
Best regards,
Daqar
-
- Level 4
- Posts: 194
- Joined: Thu Jun 12, 2008 12:40 pm
This is a known issueDaqar wrote:Thanks for the help guys. I managed to locate and delete the .wine folder under root. I managed to install AvP just fine and it runs. I just don't have full mouse movement. I can't turn 360 degrees. The mouse movement is limited like this both horizontally and vertical. I guess I should start a new thread with that...
Thanks again for the help !
Best regards,
Daqar
http://appdb.winehq.org/objectManager.p ... n&iId=1183
http://bugs.winehq.org/show_bug.cgi?id=6971
Look at the workarounds.