Unix Technical Forum

script

This is a discussion on script within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> How do I make a script or what it's called I'll need to run export WINEPRELOADER_SETVALEGACY="no" before I'll start ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 01:57 PM
Thor-Inge
 
Posts: n/a
Default script

How do I make a script or what it's called
I'll need to run
export WINEPRELOADER_SETVALEGACY="no"

before I'll start Worlod of Warcraft
/home/thorro/WorldofWarcraft/cedega WoW.exe


Thor-Inge
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 01:58 PM
Eric Hameleers
 
Posts: n/a
Default Re: script

Thor-Inge wrote:
> How do I make a script or what it's called
> I'll need to run
> export WINEPRELOADER_SETVALEGACY="no"
>
> before I'll start Worlod of Warcraft
> /home/thorro/WorldofWarcraft/cedega WoW.exe
>
>
> Thor-Inge


You can type all of that on one line even:

WINEPRELOADER_SETVALEGACY="no" /home/thorro/WorldofWarcraft/cedega WoW.exe

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 01:58 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: script

Thor-Inge <thorro@broadpark.no> wrote:

> How do I make a script or what it's called
> I'll need to run
> export WINEPRELOADER_SETVALEGACY="no"
>
> before I'll start Worlod of Warcraft
> /home/thorro/WorldofWarcraft/cedega WoW.exe


Open your favorite editor and type in the following:

-8<--------------but not this line-----------------------
#!/bin/sh

export WINEPRELOADER_SETVALEGACY="no"
/home/thorro/WorldofWarcraft/cedega WoW.exe
-8<--------------and this line is after end of file------

As you can see the file contains exactly what you wrote and only one more
line "#!/bin/sh". Save the file with a name of your choice, it could be
wow.sh. Then you should make that file executable: "chmod a+x wow.sh".

When saving the file you might want to place it in a directory which is
included in your path. /usr/local/bin is probably one such directory.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 01:58 PM
Thor-Inge
 
Posts: n/a
Default Re: script

Henrik Carlqvist wrote:
> Thor-Inge <thorro@broadpark.no> wrote:
>
>
>>How do I make a script or what it's called
>>I'll need to run
>>export WINEPRELOADER_SETVALEGACY="no"
>>
>>before I'll start Worlod of Warcraft
>> /home/thorro/WorldofWarcraft/cedega WoW.exe

>
>
> Open your favorite editor and type in the following:
>
> -8<--------------but not this line-----------------------
> #!/bin/sh
>
> export WINEPRELOADER_SETVALEGACY="no"
> /home/thorro/WorldofWarcraft/cedega WoW.exe
> -8<--------------and this line is after end of file------
>
> As you can see the file contains exactly what you wrote and only one more
> line "#!/bin/sh". Save the file with a name of your choice, it could be
> wow.sh. Then you should make that file executable: "chmod a+x wow.sh".
>
> When saving the file you might want to place it in a directory which is
> included in your path. /usr/local/bin is probably one such directory.
>
> regards Henrik


Hi

This thing worked.
I only had to change:
/home/thorro/WorldofWarcraft/cedega WoW.exe
to
cedega /home/thorro/WorldofWarcraft/WoW.exe

Great now I have made my first script.

World Of Warcraft works fine in Linux with some work....
I'll run steam, HalfLife Halflife2 Day of Defeat CS ,Call of Duty. Medal
of honor. UT2004 Doom ,Quake Heroes3 are games i run on my Slackware
box. I don't buy games that don't work in linux with or without wine/cedega


Thor-Inge
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:42 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com