49
edits
m (upgrade fix) |
No edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{tocright}} | |||
== AddOn Studio == | |||
In [[AddOn Studio]], [[WoWBench]] comes already installed and ready to run using the built in [[Lua Console]]. | |||
Starting WoWBench in AddOn Studio: | |||
* Start AddOn Studio | |||
* Click on 'View > Lua Console' in the main menu | |||
* Find the 'Lua Console' tool window drop down that says 'Choose Shell...' and open | |||
* Click either 'WoW Bench' or 'WoW Bench with AddOn' | |||
* WoWBench will start in the console | |||
* Clicking the button again will restart WoWBench with a fresh WoWBench session | |||
Launch options: | |||
* WoW Bench - starts a plain WoWBench session | |||
* WoW Bench with AddOn - starts a WoWBench session that also loads the AddOn of the currently selected project | |||
Other options: | |||
* Lua prompt - loads a plain Lua command console, also modified to work like the Lua version in WoW, but with no code or bench environment | |||
* Cmd prompt - opens a Windows 'cmd.exe' console in the AddOn Studio WoWBench directory. This allows running other WoWBench scripts, managaing files, or using other WoWBench options to start. This would be a very advanced option, and in the context of AddOn Studio, not normally necessary. But may allow to follow trying old options elsewhere in this documentation. | |||
Only one console may be open at a time in the 'Lua Console'. Starting a new console session effectively ends the last one. | |||
== Windows / Linux installation == | |||
* Unzip the contents of the zip into a directory. Probably ''nowhere near'' your World of Warcraft directory. It is ''not'' an AddOn! Remember to conserve the directory structure in the zip. | |||
: Below, we will assume you put it in: | |||
C:/wowbench | |||
* If you are not running under Win32: Download Lua binaries from [//luabinaries.luaforge.net luabinaries.luaforge.net] | |||
: Make sure you get version 5.1.x, as this similar to what WoW uses | |||
* Copy 'config-dist.lua' to 'config.lua'. | |||
At this point, you have a working WoWBench, without access to your already-installed addons nor to your configuration files. | At this point, you have a working WoWBench, without access to your already-installed addons nor to your configuration files. | ||
You can either: | You can either: | ||
:1. Keep the default configuration files and copy your AddOn over to | |||
C:/wowbench/wow/Interface/AddOns. | |||
:- or - | |||
:2. Edit 'config-dist.lua' to point to your existing WoW directory, player name, etc. It is fairly self-documenting. | |||
== MacOS X Installation == | == MacOS X Installation == | ||
Note, I am still working on this, so there may be errors or issues, but I will attempt to update this as I get further. If you have any questions, please feel free to email me at: inch on @ana praxis .com (remove the spaces). | Note, I am still working on this, so there may be errors or issues, but I will attempt to update this as I get further. If you have any questions, please feel free to email me at: inch on @ana praxis .com (remove the spaces). | ||
| Line 42: | Line 52: | ||
Following this you'll need to create the config.lua file, and you'll also need to modify the wowbench.lua file. | Following this you'll need to create the config.lua file, and you'll also need to modify the wowbench.lua file. | ||
===config.lua=== | === config.lua === | ||
Here are the pieces of config.lua that I changed, and what I changed them to. | Here are the pieces of config.lua that I changed, and what I changed them to. | ||
This is the setting for | This is the setting for WoWBench to find all of the necessary WoW files (Interface/AddOns and WTF, etc.) Change this one to your WoW folder, what I have provided below should be the correct location for 99% of the users. | ||
-- The directory where WoW lives (needed for WTF and AddOns folders) | -- The directory where WoW lives (needed for WTF and AddOns folders) | ||
_WOWDIR = "/Applications/World of Warcraft" | _WOWDIR = "/Applications/World of Warcraft" | ||
| Line 63: | Line 73: | ||
_LUAC = "luac50" | _LUAC = "luac50" | ||
===wowbench.lua=== | === wowbench.lua === | ||
Just one change here, you need to change wowbench to recognize the Mac style of application bundles. So I changed line 173 to: | Just one change here, you need to change wowbench to recognize the Mac style of application bundles. So I changed line 173 to: | ||
| Line 70: | Line 80: | ||
As a final sidenote, I had to actually disable an AddOn to get the AddOns.txt file to be generated, ymmv. | As a final sidenote, I had to actually disable an AddOn to get the AddOns.txt file to be generated, ymmv. | ||
== Getting started == | |||
== Getting started == | |||
* Continue to [[WoWBench/Getting started]] | * Continue to [[WoWBench/Getting started]] | ||
* Back to [[WoWBench]] | * Back to [[WoWBench]] | ||
[[Category:WoWBench|Installing]] | [[Category:WoWBench|Installing]] | ||