Nevon |
Dimanche 23 Mai 2010 à 14:09
|
Nevon
|
Hello,
I was sure this would be written down somewhere in the documentation or in the forums, but I can't seem to find it. I have Jedi Academy installed, and it used to work. However, after upgrading my graphics card to a newer Nvidia model, it crashes. I've tracked down the issue and the solution, which is to run the game as such:
__GL_ExtensionStringVersion=17700 playonlinux --run "Jedi Knight Academy"
That works, but it requires me to either create a separate launcher or run it from the terminal. Isn't there any way I can edit the launch command in PlayOnLinux? Edité par Nevon
|
Dr Phil |
Dimanche 23 Mai 2010 à 22:17
|
Dr Phil
|
I think the scripts that is being launched by PlayOnLinux is located in ~/.PlayOnLinux/configurations/installed. I think you'll understand how to add your setting. :)
|
argymeg |
Lundi 17 Décembre 2012 à 13:37
|
argymeg
|
Hello! I am resurrecting this old topic because, apparently, the method for this has changed, but I can't find a new solution anywhere. What I want to do is execute the wine launch command through a script (as in "$ scriptname POL_wine Safari.exe". "~/.PlayOnLinux/configurations/installed" doesn't exist anymore, so I assumed I had to edit the relevant file in "~/.PlayOnLinux/shortcuts/". However, just adding "scriptname" to the final command doesn't work. What is the current way to do this?
|
petch |
Lundi 17 Décembre 2012 à 16:01
|
petch
|
The equivalent of above command would be; POL_Shortcut_InsertBeforeWine "Jedi Knight Academy" 'export __GL_ExtensionStringVersion=17700'...in PlayOnLinux console.
|
argymeg |
Lundi 17 Décembre 2012 à 20:28
|
argymeg
|
Thanks for the answer, but what I'm trying to do is run them together, not first the script and then the app, so that wine is run through the script.
|
petch |
Lundi 17 Décembre 2012 à 20:39
|
petch
|
Why do you "resurrect" threads for a different problem then?
|
argymeg |
Lundi 17 Décembre 2012 à 21:29
|
argymeg
|
Unless I am much mistaken, the original poster does not make the distinction between the two, nor is it implied he actually runs the commands seperately.
|
petch |
Lundi 17 Décembre 2012 à 22:22
|
petch
|
In the original post there's only one command being run, [code=console] variable=value command [/code] is a special syntactic construct of the shell. Ok, I think I finally understand what you want; Since PlayOnLinux 4.1.2 there's some provision for this: - you can define an environment variable $BEFORE_WINE - you can also define a PlayOnLinux setting also called BEFORE_WINE The difference being the scope: the PlayOnLinux setting will affect all shortcuts So if, let's suppose, you want to run all programs with pasuspender, you could write [code=console] POL_Config_Write BEFORE_WINE 'pasuspender --' [/code] (as discussed in http://www.playonmac.com/en/issue-1314.html) Edité par petch
|