WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 3 posts ] 



 
Author Message
 Post Posted: Wed Jun 06, 2012 3:23 pm 
Offline
Newbie
Newbie

Joined: Wed Jun 06, 2012 3:16 pm
Posts: 1
Due to some unknown problem I can only run Portal 2 by going to Winetricks --> Select 'steam' prefix --> Run a command line shell --> # wine PATH_TO_PORTAL2.EXE

This works perfectly fine, but it is kind of tedious. I know of the WINEDEBUG command but I do not understand the syntax. I would like to know a way to do all of the steps at once with a single command. I can either make a .desktop file with a command that opens portal2.exe from within the debug shell, or create a .sh file with multiple commands.

I am running Ubuntu Linux 12.04 64 bit and my Steam prefix is a 32 bit prefix.

Thank you in advance.


Top 
 Post subject:
 Post Posted: Sat Jun 09, 2012 2:08 am 
Offline
Level 5
Level 5
User avatar

Joined: Sun Feb 06, 2011 5:57 am
Posts: 271
I don't think I can help much in that department, but I see that you ran Wine as root ("#" means root). That's a no-no and breaks stuff. There is a way to fix what it breaks, however. I wonder if that could be part of the issue (guessing not, I just couldn't let you go running Wine as root - or else the Wine police might get you :P)

The one "trick" with .sh files I know of is to mark them as executable, or else it prompts you whether you want to view the file itself or execute it when you click it. Just right-click it, go into the properties and check off "allow to be executed as a program" or whatever. I think it's under "Permissions".

Jake


Top 
 Post subject:
 Post Posted: Sat Jun 09, 2012 6:27 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 6341
As SpawnHappyJake says, first fix the problems you've created by running as root. http://wiki.winehq.org/FAQ#run_as_root

The command to start your game would be:

Code:
WINEPREFIX=/path/to/prefix wine start /Unix /path/to/program.exe

(substitute the actual paths)


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 3 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: