solacelost / update-arcdps

MIT License
8 stars 1 forks source link

Update-ArcDPS

Update ArcDPS and start Guild Wars 2 afterwards (so you can use a shortcut to this script instead of the traditional launcher)


SEEKING PROJECT OWNERS

I haven't used Windows in... years. Please fork and maintain this if you care about it, otherwise use one of these excellent alternatives:

Why

ArcDPS is a DPS meter addon provided by some cool dudes over at deltaconnected. It helps you to improve your own ability to play the game by giving you a better idea of how you're doing. It also shows you how everyone else is doing, and provides you the ability to be a total jerk to people who aren't as invested in the game as you. Don't do that. Help them understand more, and let them play the game on their own terms - if they really don't want to perform better on the meters, that's their own perogative. Let everyone have fun playing the game the way they want!

GW2TacO is a Tactical Overlay for Guild Wars 2 that lets you see tons of extra content overlayed on top of the Guild Wars 2 window, when it's in Full Screen Windowed (Borderless) mode. This extra overlay can show you the paths to follow to farm a map efficiently, how to complete a jumping puzzle, where traps are in a piece of content, and more.

Tekkit's Workshop is where one of the most subscribed Guild Wars 2 YouTubers keeps his advanced content packs for GW2TacO. He has some of the best routes, always updates with the newest content, and generally ensures his markers are aesthetically pleasing and easy to see and use in-game.

Some of my guild mates had a hard time downloading ArcDPS or remembering how to keep it updated. Adding GW2TacO and a separate marker pack to the mix just made it worse. There are solutions out there for keeping them updated, but none of them were really "easy." Some of the solutions work well, but don't do everything transparently. I wanted a truly turnkey solution for them that would keep it updated, stay out of their way, and let those with weird situations tinker with the code themselves. This was my answer.

Installation

There are two options, depending on how much you trust me.

The easy way

  1. Right click on your Start button and click "Run", or press the Windows Key + R on your keyboard. Right Clicking Run
  2. Copy the following and paste it into the "Open:" text box:
    powershell -c "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; ; iex(New-Object Net.WebClient).DownloadString('https://github.com/solacelost/update-arcdps/raw/0.5.5/Bootstrap-ArcDPS.ps1')"

    Run Dialog

  3. Press OK on the Run dialog. Pick an install location from the window that pops up, and press Enter when prompted to close the window.
  4. Double-click the Update-ArcDPS Setup shortcut on your desktop to pick up below after the "Auditable Way" guys catch up at the -CreateShortcut point. Setup Shortcut

The auditable way

  1. Download the latest Release from the releases page.
  2. Unzip it to the directory of your choice - the location doesn't matter, but you need to ensure you set -InstallLocation to match where you've unzipped it.
  3. Review the script on your computer to ensure you're okay with what it does - you only need the Update-ArcDPS.ps1 script, not the Bootstrap. You can reach it via the raw URL and copy/paste, if you like.
  4. Open a PowerShell window with the -executionpolicy Bypass option set and run the script with -CreateShortcut:
    1. Suppose you unzipped Update-ArcDPS.ps1 to your Desktop on the user named James.
    2. Right click on your Start button and click "Run", or press Ctrl+R on your keyboard.
    3. Type powershell -executionpolicy bypass into the "Open" text box and press "OK".
    4. You get a prompt that looks like this: PS C:\Users\James> and a blinking cursor.
    5. Run the script with the -CreateShortcut option switch set for initial setup and shortcut creation: Note: You may also choose to use the -SearchPath "<PATH>" parameter to change the default starting location that is searched to <PATH>.
      Desktop\Update-ArcDPS.ps1 -CreateShortcut -InstallLocation ($env:UserProfile + "\Desktop")

Both methods of installation are now at this point

  1. The script may hang while you see output like this during the first run:
    Looking for Guild Wars 2 in C:\Progra*
    GW2 path identified as C:\Program Files\Guild Wars 2.
  2. This means it has already found Guild Wars 2 on your computer (It starts by looking in Program Files, but will expand to looking at every drive it can find)
    • If you have multiple GW2 installations (multiboxing), it try to figure out which one you want, and maybe prompt you. If you're multiboxing, you can try using the -SearchPath option to adjust the path you would like it to search. This is also helpful if it's unable to find your installation for some reason (usually due to strangely named foleders or complex pathing)
  3. As part of setup, it will ask you some prompts regarding whether or how you want features enabled (Auto Update, Update-TacO, etc.). Answer with the letter "Y" or the letter "N" to the prompts as appropriate.
  4. The script will go to the offical ArcDPS installation sources and download everything, then create your shortcut and save the answers to the above questions in a file.
  5. If you have chosen to enable Update-TacO alongside Update-ArcDPS there will be a longer delay as it reaches out and downloads the latest version of GW2TacO and Tekkit's Workshop marker pack, creating a dedicated shortcut for GW2TacO as well.

Update-ArcDPS is now installed and configured

You can double-click on the "Guild Wars 2 - ArcDPS" shortcut to automatically update ArcDPS to the newest version then launch Guild Wars 2 every time.

If you have chosen to enable Update-ArcDPS to manage TacO and Tekkit's, then it will also update those at every launch and automatically launch GW2TacO when it notices that you have started your game client and gotten past the launcher. Please note that in order for GW2TacO to work, Guild Wars 2 must be in Windowed Fullscreen (Borderless) mode!

Uninstallation

You need to run the script with the -Remove switch

The easiest way to do that is to manipulate the existing shortcut

  1. Right click on the "Guild Wars 2 - ArcDPS" shortcut and select properties Shortcut Properties
  2. At the end of the "Target:" textbox, you should see -StartGW. Replace that with -Remove and click "OK" to save the shortcut.
  3. Double-click the modified shortcut. Update-ArcDPS will remove the shortcut as part of the uninstallation, too, so it's all gone!
  4. If you have enabled Update-TacO functionality, this will also remove GW2TacO, all saved data, and all of the Update-TacO artifacts.

Special Thanks

Special thanks to those who gave me feedback, logs, access to their screens, and absolutely invaluable testing time getting this all working!