The forum

PlayOnLinux Script Creation Tutorial?

Author Replies
clintcan Sunday 20 January 2008 at 23:44
clintcanAnonymous

Hello,

I'm just curious on how to make those bash scripts. I saw the simple tutorial for the basic structure for this on the french forums, but I realize that there are more commands that you can use on POL, than what was written.

Is there anyone who can help out in write at least a more thorough documentation for it? I don't speak french, so I have a hard time deciphering the writeups (yes, using google translate helps a lot, but it is still difficult).

Thanks
Quentin PÂRIS Monday 21 January 2008 at 9:06
Quentin PÂRIS
Admin

Yes, we have to do it.

It is one of the most important priority of POL.

Edited by Tinou

sugi Friday 22 February 2008 at 20:14
sugiAnonymous

How do you create those scritps for PlayOnLinux. I tired to make script.sh file but that didn't work. PlayOnLinux said it was the right format for the applications. I have to say though, I don't know anything about scripts. :-/

Sugi
icaro581 Friday 22 February 2008 at 23:49
icaro581Anonymous

see tis it may be usefull to you http://www.playonmac.com/en/topic-1059-POL_script_reference.html

-- Henry Antonio --
sugi Wednesday 27 February 2008 at 1:07
sugiAnonymous

for example, I have the Oblivion script provided from this site, how would I make a script out of it for PlayOnLinux? I have tired making just a file called oblivion & oblivion.sh with gedit (text editor) *with everything from this link inside of it*
http://www.playonmac.com/en/script-47.html

and then I try to load it with PlayOnLinux, run an unoffical script, but it says it's the wrong format. Which format do I make for PlayOnLinux?


Sorry for my english,
Sugi
chain2k Wednesday 27 February 2008 at 5:00
chain2kAnonymous

check the begining of your script, it must begin from lines

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check

Edited by chain2k

guyx666 Thursday 6 March 2008 at 0:18
guyx666

i have copy a Script for Prey Patch 1.03
i modify it to install a patch CoD2 v1.3
and it work for me.
hope it will be online after verification.




http://www.quebec666.com/ub666.jpg
m5it Tuesday 31 March 2009 at 18:33
m5itAnonymous

Hello all.

I have tested playonlinux and install call of duty 2 and it installs without any errors otherwise with wine only it give some errors! like 1627.. something..

but now i have a question for you guyx666 can you give me that patch so i can patch cod2 to v1.3 ? :)
please?
m5it Tuesday 31 March 2009 at 19:14
m5itAnonymous

hello one more time..

i have installed patch 1.3 now with that command:

env WINEPREFIX="/home/m5it/.PlayOnLinux/wineprefix/CallOfDuty2" wine CallofDutyPatchv1_3.exe

now i need to try if punkbuster work?

have anyone here allready?
m5it Tuesday 31 March 2009 at 19:33
m5itAnonymous

well pb dont work! MP work but if punkbuster dont then is not useful.. the same is if you try without playonlinux and pb dont work..

i have tryed to update pb with windows and linux pbsetup and without succesful play.. :( only with differend pb errors :-|

please help to fix pb :(
NSLW Wednesday 1 April 2009 at 9:31
NSLW

please help to fix pb :(

Quote from m5it


AFAIK PlayOnLinux is only a GUI for Wine and it doesn't commit to better working Wine. You can search if there is bug for punkbuster on Bugzilla if there is, vote for it and if not, create it and then link it to AppDB Then you may have got chance that someone interested will help you to fix pb.
m5it Wednesday 1 April 2009 at 12:23
m5itAnonymous

ok

tnx for your advise, i will do that and will search for luck :)