World of Warcraft - Linux (wowace) autoupdater: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
You can grab it from here: |
You can grab it from here: |
||
[http://svn.skarta.net/svn/wow/ Subversion page] |
|||
[Test Test2 Test3] |
|||
= Setup file = |
|||
Just edit the file and make sure the settings fits you. |
|||
In particular you should make sure the path to your addon directory is correctly set, and you have to specify a place where it downloads and temporarily puts the addons before it extracts them to the addon directory. |
|||
These settings are located in the top of the script and the defaults are: |
|||
<pre> |
|||
[ ... ] |
|||
my $sPathToAddons = '/home/<USERNAME>/.wine/drive_c/Program Files/World of Warcraft/Interface/AddOns'; |
|||
my $sPathToSaveNewAddons = '/tmp'; |
|||
my $iDebug = 0; # Set to 1 if you want to see some outpu |
|||
[ ... ] |
|||
</pre> |
|||
<USERNAME> is _not_ a variable - it might be in a later version, but for now substitute it with your real username (or wherever your wow installation is) |
|||
= Perl modules needed = |
|||
You will need <code> LWP::Simple </code>. On most systems this should come with the libwww-perl module (or equivalent) |
Latest revision as of 22:46, 11 March 2008
Download
First off, download the perl script (~3k source code). You can grab it from here:
Setup file
Just edit the file and make sure the settings fits you.
In particular you should make sure the path to your addon directory is correctly set, and you have to specify a place where it downloads and temporarily puts the addons before it extracts them to the addon directory.
These settings are located in the top of the script and the defaults are:
[ ... ] my $sPathToAddons = '/home/<USERNAME>/.wine/drive_c/Program Files/World of Warcraft/Interface/AddOns'; my $sPathToSaveNewAddons = '/tmp'; my $iDebug = 0; # Set to 1 if you want to see some outpu [ ... ]
<USERNAME> is _not_ a variable - it might be in a later version, but for now substitute it with your real username (or wherever your wow installation is)
Perl modules needed
You will need LWP::Simple
. On most systems this should come with the libwww-perl module (or equivalent)