PDA

View Full Version : Can't run a windows CD in ubuntu, even with Wine?



Ozzy Powers
29-06-11, 12:49
Hiya! :D

I'm trying to run rollercoaster tycoon 2 (among other windows games) on ubuntu.

The problem is, I have no idea what I am doing, lol.

The cd is recognised, and I can access it thorugh 'Computer'; but when I try to run the exe. it says it's not marked as executable. This happens even when I select it to open through Wine. I am also unable to change the files executable status as they are on a cd.

Am I missing something? :(

Thanks

andyn
29-06-11, 12:58
Try this:


cd /media/cdrom
wine setup.exe

(Obv. substitute whatever the executable is called for setup.exe if it's different).

Ozzy Powers
29-06-11, 13:08
thanks for the speedy reply. I think I typed it in right? EDIT : I take it i was supposed to type it in terminal?


austin@austin-GENIE-D875PBZ:~$ cd /media/cdrom
bash: cd: /media/cdrom: No such file or directory
austin@austin-GENIE-D875PBZ:~$ ^C
austin@austin-GENIE-D875PBZ:~$
This is what it returns with...

andyn
29-06-11, 13:10
Hmm, well you need to work out where the CDRom is 'mounted'.

An ugly solution is to copy all the files on the CDRom to some directory on your hard drive, then CD to that directory and 'chmod +x setup.exe' (again, or whatever) to make the setup program executable, as that is essentially what the issue is here.

Ice Tea
29-06-11, 13:14
HOWTO: Rollercoaster Tycoon 2 + Wine in Ubuntu

http://ubuntuforums.org/showthread.php?t=656257

Ozzy Powers
29-06-11, 13:25
yep, I have tried copying the files onto the hard drive, and then executing the file through the GUI. would tht produce the same effect?

However, I was hoping there was a simpler solution, like forcing the cd drive to always run executablyly?

And thanks Ice tea, I have that tabbed as we speak...unfortunately, it doesn't sort out this problem. It could prove useful at a later stage however. :thumb:

Ice Tea
29-06-11, 13:32
Would be an idea to ask in that thread as it's dedicated to getting it running on ubuntu. :D

andyn
29-06-11, 13:35
Yup, not much more advice I can offer without access to the relevent software here, as Ice Tea said I think you best bet would be trying a community dedicated to Wine or ubuntu.

Ozzy Powers
29-06-11, 13:40
okey dokey. Thanks for all your help :D

Mr Banana
29-06-11, 15:46
An idea type "wine " into console (don't press enter yet), then drag the exe file from the cd directory onto the terminal window, it will give the full path to it, then press enter.

Ozzy Powers
01-07-11, 09:44
just tried it, unfortunately it still says the exe is not marked as executable :(

Thanks for trying though :thumb:

andyn
01-07-11, 09:49
There is an option in a Wine config file somewhere which will allow exes to be run even if the execute linux permissions bit to be set, unfortunately I can't remember where/what it was though, and a quick google hasn't turned it up. I know becuase I ran into this problem myself a couple of years ago.

Ice Tea
01-07-11, 09:51
Sigh! :D

http://ubuntuforums.org/showthread.php?t=656257


*Grab your Rollercoaster Tycoon 2 CD and put it in the drive.

*Ubuntu will see the disk as a data disk, so just wait for the disk folder to appear in a nautilus window.

*Find "Autorun.exe", right-click on it and choose "Open with other application".

*Scroll down the list of your applications and choose "Wine Windows Emulator".

andyn
01-07-11, 09:57
Yeah but I think the problem is that Wine is refusing to run it because it's requiring that the unix executable permission bit be said. As I said, I know there's a setting somewhere to change this behaviour, I just can't recall where it is.

Mr Banana
01-07-11, 17:47
Sigh! :D

http://ubuntuforums.org/showthread.php?t=656257


*Grab your Rollercoaster Tycoon 2 CD and put it in the drive.

*Ubuntu will see the disk as a data disk, so just wait for the disk folder to appear in a nautilus window.

*Find "Autorun.exe", right-click on it and choose "Open with other application".

*Scroll down the list of your applications and choose "Wine Windows Emulator".

As Andy said the issue is that Ubuntu by default (possibly other distros too) won't let you run an exe off a cd/dvd or downloaded without making them executable - which you can't do on a cd/dvd, i know you can do it somehow but i just can't remember.

Here an idea see this topic, post #6 may help
http://ubuntuforums.org/showthread.php?t=1514122

Ice Tea
02-07-11, 00:43
My point was that somebody on Ubuntu forum has solved all the problems and dedicated a thread to installing RCT 2 with Ubuntu and wine.

If he can get Autorun.exe to work then surely for the sake of a signup of a username and password he would be the person to ask ?

:D :thumb:

Ozzy Powers
04-07-11, 09:50
Thanks for all your help everyone! :D
and thanks for this link Mr banana
http://ubuntuforums.org/showthread.php?t=1514122

Originally Posted by mc4man

revert the Exec= in wine.desktop to orig.

Code:
gksu gedit /usr/share/applications/wine.desktop change the Exec= to this

Code:
Exec=wine start /unix %f Just tried this and it now allows a cdrom exe to run through wine without worrying about the executable status! Whoop! :thumb:

I still have a few probs with rct2, but this is down to the latest version of Wine not supporting it apparently :scratch

(i might try an older version of wine at some point)

it's a bit of a learning curve for me as I have zilch linux experience, but I am really liking Ubuntu. Whether I could fully convert is another matter, but I have found myself using it for all web surfing etc... :)

Mr Banana
04-07-11, 19:22
Newer versions of wine tend to have regressions which is why if a game works on a particular version, stick to it :)

Glad i could help ^_^

spleenharvester
10-07-11, 01:29
RCT2 FTW! ;)