LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
Search this Thread
Old 12-09-2004, 05:23 PM   #1
uphu
Member
 
Registered: Dec 2004
Posts: 44

Rep: Reputation: 15
Executing a file in wine


Ok, first of all, I installed Tribes 1. I dunno why but I can get it to work. When I type wine C:\\Program Files\Starsiege Tribes\Tribes.exe it will tell me it cannot find C:\\Program. It's not detecting the space for some reason and I couldn't find any documentation on this.

Secondly, I would like to be able to play wavs outside of a media player seeing as this game uses them. How do I do that?
 
Old 12-09-2004, 08:25 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
You need to include a backslash before any spaces in the path/filename, or put the path in quotes:

Code:
wine C:\\Program\ Files\Starsiege\ Tribes\Tribes.exe
or
wine "C:\\Program Files\Starsiege Tribes\Tribes.exe"
The most reliable way, though, may be to change directory ('cd') to that location first, and then just run 'wine Tribes.exe'.

I'm not sure what you mean by playing wavs outside of a media player (if it can play wavs, it's sort of by definition a media player), but perhaps what you want is a command-line tool to do it. If you have SoX installed, you can do this:

Code:
play file.wav
 
Old 12-10-2004, 02:29 PM   #3
uphu
Member
 
Registered: Dec 2004
Posts: 44

Original Poster
Rep: Reputation: 15
I used quotes but the prompt just goes blank. I dunno how to change to the directory to it because its in C:\\ which doesn't exist in linux.

Eh, I'm new to wine. Do I don't have a clue about it.
 
Old 12-10-2004, 04:18 PM   #4
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Quote:
Originally posted by uphu
I used quotes but the prompt just goes blank. I dunno how to change to the directory to it because its in C:\\ which doesn't exist in linux.
Well, it has to exist somewhere on your path if you hope to run programs that are installed there. If you have a separate Windows installation that you're trying to run it from, then what you know as C:\ is probably located at /mnt/windows or some such. To change directory there, do:

Code:
cd /mnt/windows/Program\ Files/Starsiege\ Tribes
If giving wine a path such as "C:\\..." doesn't work, you could try using the full Linux pathname, like so:

Code:
wine /mnt/windows/Program\ Files/Starsiege\ Tribes/Tribes.exe
 
  


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
Executing a .deb file Wolvenmoon Debian 1 08-18-2005 10:50 PM
executing a downloaded file? GiaCo Linux - Newbie 6 10-25-2004 09:35 AM
executing file dontknowshit Mandriva 2 06-10-2004 08:28 PM
executing a file pantera Programming 1 05-25-2004 01:06 AM
Difficulty executing a binary file Judland Linux - Software 2 10-03-2003 11:03 PM


All times are GMT -5. The time now is 10:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration