"Patch notes":
Removed the instructions to extract the profilechanger config and removed the line that copied it in the batch script. Brodie now uses his own profileswapper and the configs are saved in the Settings folder which the script already copies. To update the settings folder just run the script and repeat step 8 and 9 below.
If this isn't the right place to do this please just point me in the right direction. I figured I'd post this here since it's very specifically towards this repo.
TL;DR This is a batch script for setting up Honorbuddy for the daily run
I'm a lazy man so when I saw someone posting a batch script in this thread asking brodie what was wrong with it I stole it, so I cannot take full credit for this. I have however made several modifications to it which makes my life easier and I feel is worth sharing. I also make no guarantees that this will work for you. If you're still interested: Good luck!
The pros:
You will feel like a badass.
You'll get a "fresh" install of honorbuddy with the most recent version of HB and the files from this repo with one click.
The cons:
If you don't get along with computers this might cause hair loss.
On hb patch days, if the profiles don't get along with the new HB version you won't have the old files to fall back on.
The scripts downloads the latest Honorbuddy version every time even if there's not a new version. (Can be changed in the optional part below)
Requirements:
You own a HB license (that's a given)
You've got 7-zip installed.
You've installed tortoise SVN
with the command line tool
You have a brave heart and at least half a brain!
Windows Vista or a more recent version of windows
How to set up:
The very first thing you do, make a folder, give it a good name like "HBDailystuff", directly under this folder put the repo folder. Such that the location for the patch notes would be for example ...\HBDailystuff\Daily quests\Patch Notes.txt . We will be putting more things into this "HBDailystuff" folder later.
The next step assumes you've already been using honorbuddy with the daylies for a while. If not you can read up on the initial post in this thread and go to the "Here is my method for easily making a new honorbuddy folder each day." follow through the instructions up to and including step 7, then ignore the rest of the guide and do this instead
(experienced people start from here):
8. Go into the plugins menu, select brodie's profileswapper and click settings, select the right profile location (if you followed my instructions exactly above the profile location would be ...\HBDailystuff\Daily quests\Profiles\Reputation\TMoPDE\[Rep] Daily Grind [Brodie].xml). You can select the reps you run most often. Press save and close down Honorbuddy.
9. Locate the settings folder inside your Honorbuddy directory, copy the Settings folder into the "HBDailystuff" folder.
Congratulations! You're now ready to set up the actual batch script! Copy it from the quote below and paste it into your favorite basic text editor, save it as DailyBatch.bat and make sure you do not select a filetype for it. The filetype should be .bat. Don't close the editor just yet though.
Now you need to set the correct folders in the batch script. The script is commented but I'll double up and write a short description of what you need to edit.
1. Set your complete world of warcraft path after "set WoW_Dir=" I've left mine in as an example "C:\Games\World of Warcraft".
2. Set your WoW locale, most common ones are enGB and enUS I believe, if in doubt go into your World of Warcraft\Data folder, it should have 2 subfolders, Data and your locale.
3. Set the path to your "HBDailystuff" folder the folder name doesn't matter but it needs to be the folder you made at the start of the setup.
4. Select a path of where the batch script should generate your honorbuddy daylies folder, this is the folder you'll enter to run honorbuddy for your daylies.
5. Set the repo folder name, this is not a full path, just the folder name of the repo folder inside your "HBDailystuff" folder.
6. If your 7zip or tortoisesvn was not installed at the default location change the values to reference the correct files, I can't help you much here.
7. Save the batch script again and take it for a test run by double clicking it. It should pop up a command window with texts explaining what it's doing, if you get a bunch of errors in the window then... oops?
If things didn't go wrong you should now be able to update hb, the repo and make a "fresh" hb install for daylies by simply running the script.
Optional
I also make the batch script run honorbuddy by placing "%HBDAILY%\Honorbuddy.exe" at the end of the script,
with the quotation marks!
If you do not want the script to download the latest version of HB every run you can run it once, it will make the latest.zip in your HBDailystuff folder which it requires for generating a fresh honorbuddy install. Then edit the batch script, locate the line that starts with powershell and put "REM " in front of it, without the quotes. This will comment out the download line.
If you wish to make multiple hb folders in case you've got multiple accounts, run multiple instances you can do it by this example (I've not tested it):
locate: rmdir /S /Q "%HBDAILY%" in the script add this line just below it:
rmdir /S /Q "%HBDAILY%2"
Then go to the bottom of the script and write this line:
robocopy /s /NFL /NDL /NJH /np "%HBFOLDER%" "%HBDAILY%2" > nul
Hopefully this should be enough for you to understand how to make additional copies if you need more than 2.
FINALLY THE SCRIPT!
Code:
REM Configuration part!
REM Your world of warcraft location and locale
set WoW_Dir=C:\Games\World of Warcraft
set WoW_Local=enGB
REM The full path of where your settings, config and repo folder is located
set HBFOLDER=C:\HBDailystuff
REM Where you want your completed version of Honorbuddy for dailes to be located
set HBDAILY=C:\Honorbuddy Daily
REM The repo folder, only the folder name. It should reside inside the HBFOLDER you set above.
set DAILY=Daily quests
REM --------------------------------------------------------------
REM Change these only if your install location is not standard
set ZIPLOC=C:\Program Files\7-Zip\7z.exe
set SVN=C:\Program Files\TortoiseSVN\bin\svn.exe
cls
@echo off
REM Don't touch these things below unless you know for sure that you want to!
set error1=The SVN command line tool doesn't seem to be installed...
echo Deleting WoW Cache and Errors
If exist "%WoW_Dir%\Errors" del /q "%WoW_Dir%\Errors\*.*" >nul
If exist "%WoW_Dir%\Cache\WDB\%WoW_Local%\creaturecache*.wdb" del /q "%WoW_Dir%\Cache\WDB\%WoW_Local%\creaturecache*.wdb"
echo Updating SVN
If exist "%SVN%" (svn update "%HBFOLDER%\%DAILY%" > nul) else echo %error1%
rmdir /S /Q "%HBDAILY%"
mkdir "%HBDAILY%"
echo Downloading latest Honorbuddy version
powershell (new-object System.Net.WebClient).DownloadFile('http://updates.buddyauth.com/GetNewest?filter=Honorbuddy','%HBFOLDER%\latest.zip')
echo Extracting Honorbuddy
"%ZIPLOC%" x "%HBFOLDER%\latest.zip" -o"%HBDAILY%" -y > nul
echo Copying settings, QB and plugins
mkdir "%HBDAILY%\Settings"
robocopy /s /NFL /NDL /NJH /np "%HBFOLDER%\Settings" "%HBDAILY%\Settings" > nul
robocopy /s /NFL /NDL /NJH /np "%HBFOLDER%\%DAILY%\Plugins" "%HBDAILY%\Plugins" > nul
robocopy /s /NFL /NDL /NJH /np "%HBFOLDER%\%DAILY%\Quest Behaviors" "%HBDAILY%\Quest Behaviors" > nul