LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2009, 02:08 AM   #1
kloydeb
LQ Newbie
 
Registered: Oct 2008
Posts: 18

Rep: Reputation: 0
wine help in Ubuntu


I am trying to run Call Of Duty in wine, but it requires 2 cd's to install, and when i insert the second cd, it doesn't recognize it. so i just grabbed the game from my friends computer and pasted it into the wine c directory. however, wine doesn't recognize it as an installed program. this is difficult if i am running a program (such as map editors) that need to see that CoD is installed. is there a way to tell wine that a program is installed without installing it through wine?

one more thing. how do i manually find the wine c directory? it says it is in home/.wine/dosdevices but there is no .wine folder in the home directory. is it somewhere else, or just hidden?
 
Old 03-17-2009, 05:36 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
1) When in doubt, check the faq first.

Quote:
If program is on multiple CD-ROM disks you don't want to change into cd-rom's directory or you won't be able to remove disk without stopping the installer. First verify that CD-ROM is mapped to a disk drive in winecfg "Drives" tab (ex D: -> /media/cdrom). Then run installer this way:

wine start /unix /media/cdrom/setup.exe
So it can't change disks if you are sitting in the drive's directory. You need to run it from outside using the full disk path.

2) Just copying a previous installation over won't work for most programs because wine has it's own, separate registry. You need to run the installer so that the proper registry entries get written to it.

3) (Edit: I think I may have misunderstood the question at first.) All filenames that start with periods are hidden files in linux. To list them in a console you can use "ls -a". All gui file browsers should have an option to show hidden files as well.

~/.wine/dosdevices just holds the configuration links for the "drives" wine sees. They're just symlinks to the actual locations you configure in winecfg. The symlink "c:" should direct you to the location of the wine-windows directory, by default also located in .wine.

And as always, read the documentation.

Last edited by David the H.; 03-17-2009 at 05:52 AM.
 
Old 03-17-2009, 09:37 AM   #3
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Rep: Reputation: 29
one other hint, if you can make an iso of the disk, then you can redirect the install to it, instead of switching disks, as well, that works in some isstances as well.
 
Old 03-17-2009, 10:39 AM   #4
Juvecu
LQ Newbie
 
Registered: Sep 2005
Distribution: Fedora, CentOS
Posts: 13

Rep: Reputation: 1
I've previously had similar issues with multi disk games, World of Warcraft comes to mind. I put the different disks in folders like this:

/disks/wowdisk1
/disks/wowdisk2
/disks/wowdisk3
/disks/wowdisk4

then mounted the first disk at /mnt/cdrom (or wherever you prefer) and start the installer, when it ask for the 2nd disk, unmount the first one and mount the second one at /mnt/cdrom again.

akuthia suggested ISO images, if you have ISO images you can also mount them all at the same place, I've had success with that.

This works for me most of the time, hope it helps you too.
 
Old 03-23-2009, 02:12 AM   #5
kloydeb
LQ Newbie
 
Registered: Oct 2008
Posts: 18

Original Poster
Rep: Reputation: 0
ive tried to mount each indivual iso and then unmount them when it calls for the next disk, but the installer doesn't recognize the change. also, it doesn't work in the command line either. what i really need is how to add the program to the wine directory. since the program worked just fine (along with most programs i copy from other computers) i just need to have it recognized with wine so other programs can see i have it installed.
 
Old 03-23-2009, 03:11 PM   #6
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
What command are you using to eject.

Are you typing 'wine eject' at the prompt before changing disks. Had to do it this way with baldur's gate on mine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
itunes 7.3 through wine 1.01 on ubuntu gazearn Linux - Newbie 23 03-23-2009 04:02 PM
Wine on Ubuntu Phaoroh Ubuntu 3 01-04-2007 12:31 PM
Wine under Ubuntu Razorblade Linux - Software 3 11-19-2005 06:37 PM
Wine in Ubuntu Kingrames Ubuntu 1 10-02-2005 09:56 PM
Ubuntu & Wine Aeoruuk Linux - Newbie 6 12-05-2004 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration