gooddogmark |
Thursday 9 July 2009 at 5:55
|
gooddogmark
|
I find the warcraft III:frozen throne script from http://www.playonmac.com/repository/?script=19 , following is:
1 | POL_SetupWindow_make_shortcut "$NAME_S" "Program Files/$NAME/" "Frozen Throne.exe" "$NAME : The Frozen Throne" "$NAME : The Frozen Throne" "-opengl"
|
I found it didn`t work with -opengl using the above script .
But , it work while i run it by commanding wine Frozen Throne.exe -opengl
Because the main page don`t describe this syntax appending argument ,
:cry: anyone can tell me the complete syntax of POL_SetupWindow_make_shortcut ?
Edited by gooddogmark
|
NSLW |
Friday 10 July 2009 at 12:18
|
NSLW
|
Ok, already fixed. Thank you for pointing this out.
|
gooddogmark |
Friday 10 July 2009 at 16:36
|
gooddogmark
|
Excuse me!!
I had intalled warcraft III:frozen throne before you fixed the script.
I only run the script by [Run a non-official script] :
1 2 3 4 5 6 | #!/bin/bash
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%" `
PROGRAMFILES=${PROGRAMFILES:3}
NAME= "Warcraft III"
NAME_S= "WarcraftIII"
POL_SetupWindow_make_shortcut "$NAME_S" "Program Files/$NAME/" "Frozen Throne.exe" "$NAME : The Frozen Throne" "$NAME : The Frozen Throne" "-opengl"
|
The result is same . WHY ?
|
NSLW |
Friday 10 July 2009 at 16:59
|
NSLW
|
No, there is no
1 | POL_SetupWindow_make_shortcut "$NAME_S" "Program Files/$NAME/" "Frozen Throne.exe" "$NAME : The Frozen Throne" "$NAME : The Frozen Throne" "-opengl"
|
but
1 | POL_SetupWindow_make_shortcut "$NAME_S" "$PROGRAMFILES/$NAME/" "Frozen Throne.exe" "$NAME : The Frozen Throne" "$NAME : The Frozen Throne" "" "-opengl"
|
The result is same . WHY ?
Does that mean that shortcut isn't created with -opengl command line?
|
gooddogmark |
Saturday 11 July 2009 at 3:12
|
gooddogmark
|
OK ,now it work . thanks for your help.
Edited by gooddogmark
|