[HowTo] ArcDPS automatic installer/updater — Guild Wars 2 Forums
Home Players Helping Players

[HowTo] ArcDPS automatic installer/updater

Deepcuts.9740Deepcuts.9740 Member ✭✭✭
edited December 28, 2019 in Players Helping Players

This is a simple HowTo for automatic installation and updating of ArcDPS from https://www.deltaconnected.com/arcdps
If you do not know what ArcDPS is, read about it first on the above mentioned URL.
This is not a discussion about "Is a DPS meter toxic or not". It is your choice if you want to use it or not. Just keep it to yourself and improve your own skills.
If you want to know more about Anet's stance on ArcDPS, search this forum, but in short: "in the feb 2017 ama, arenanet has granted 3rd party tools permission to collect and display combat stats via means previously not allowed. these are runtime modifications only, no changes are made to files on disk."

** WARNING: MODIFYING GUILD WARS 2 THROUGH ANY 3RD PARTY TOOLS IS NOT SUPPORTED BY ARENANET OR NCSOFT.
THERE IS NO HELP OR WARRANTY. THIS IS ENTIRELY AT YOUR OWN RISK AND YOU ASSUME ALL RESPONSIBILITY
FOR USING THIS TOOL. IF YOU FEEL THIS PROVIDES GAMEPLAY ADVANTAGE OR AUTOMATION OR BREAKS ANY OTHER
RULES DO NOT USE THIS.
IMPORTANT: DO NOT CONTACT ARENANET SUPPORT WHILE USING THIS MODIFICATION BY ANY MEANS OR UNDER
ANY CIRCUMSTANCES EVER.**

With so many updates to the Guild Wars 2 client requiring ArcDPS to be updated also, I decided to write a small auto updater/installer for a small personal QoL improvement.
The script is a plain batch file, everyone can see whats inside it, so please, no questions about it's safety or if it is a virus.
Prior to running anything listed here, please scan the files with your antivirus software or use https://www.virustotal.com to check them online against multiple antivirus engines.
Also take a good look inside run.bat, the file that actually does the install/update. The batch file will only try to download 1 file required for ArcDPS, d3d9.dll

What you need

  1. wget for windows from https://eternallybored.org/misc/wget/
    Copy the file wget.exe in your Guild Wars 2 root folder, where Gw2-64.exe file is.
    Required by the update batch file.
  2. DirectX runtimes from https://www.microsoft.com/en-ca/download/details.aspx?id=8109
    Install it.
    Required by ArcDPS
  3. Visual ++ 2013 redist from https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package
    Install it.
    Required by ArcDPS
  4. The actual batch file that will install and update ArcDPS from https://drive.google.com/file/d/1YdP3x5ZKA6IoT4emS1sxhYA69Jufb7ZV
    Copy the file run.bat in your Guild Wars 2 root folder, where Gw2-64.exe file is.

How to run it and some info

Always start Guild Wars 2 via run.bat batch file if you want ArcDPS to be automatically updated.
If you do not have ArcDPS, the script will download it automatically on the 1st run.
If you have it installed, the script will only check if a new version exists online and only download if needed.
Sometimes, after a Guild Wars 2 client update, ArcDPS might cause the client to crash. Usually, ArcDPS dev will update fast, but in case the update is delayed , just delete d3d9.dll file from bin64 subfolder in your Guild Wars 2 install directory. On the next run, the file will be downloaded again by run.bat batch file.

I hope this will help someone and also that posting this here will not break any of Anet's terms of service.

Comments

  • Biff.5312Biff.5312 Member ✭✭✭✭

    It's worth a shot. Thanks.

  • crepuscular.9047crepuscular.9047 Member ✭✭✭✭
    edited October 26, 2018

    pretty sure you can do that through powershell without installing wget using Invoke-WebRequest -Uri

    or if you have Windows 10's Anniversary update applied already, Development mode will give access to subsystem ubuntu which you can run wget command

    [RIP Fashion Wars 2005-2018]     [TTS] [KA] [SI]     [RIP Fashion Wars 2005-2018]
    Praise the Inevitable Eternal Transcendent King Palawa Ignacious Joko, the Beloved and Feared Undying Eternal Monarch of All !!!
    ... til Aurene ate him for dessert 😭
  • Deepcuts.9740Deepcuts.9740 Member ✭✭✭
    edited October 26, 2018

    @crepuscular.9047 said:
    pretty sure you can do that through powershell without installing wget using Invoke-WebRequest -Uri

    or if you have Windows 10's Anniversary update applied already, Development mode will give access to subsystem ubuntu which you can run wget command

    wget.exe is just an executable. There is no install.
    If you know a better way of doing the same thing, modify to your hearts content and maybe share with us :)
    Keep in mind that many still use Windows 7 that does not have PS by default.

  • @crepuscular.9047 said:
    pretty sure you can do that through powershell without installing wget using Invoke-WebRequest -Uri

    I use this script.

    Hype is the path to the dark side. Hype leads to unfulfilled expectations. Disappointment leads to anger. Anger leads to disgust. Disgust leads to "oh, new shinies! I'm back!"

  • That is very very cool. Thanks so much!

  • crepuscular.9047crepuscular.9047 Member ✭✭✭✭

    @Deepcuts.9740 said:

    @crepuscular.9047 said:
    pretty sure you can do that through powershell without installing wget using Invoke-WebRequest -Uri

    or if you have Windows 10's Anniversary update applied already, Development mode will give access to subsystem ubuntu which you can run wget command

    wget.exe is just an executable. There is no install.
    If you know a better way of doing the same thing, modify to your hearts content and maybe share with us :)
    Keep in mind that many still use Windows 7 that does not have PS by default.

    pretty sure it's it comes standard with Win7
    https://en.wikipedia.org/wiki/PowerShell

    maybe use (new-object System.Net.WebClient).DownloadFile( '$url, $path) if the automatic windows updater does it upgrade to 3.0 ? ;)

    it's darh powerful scripting language on par with linux shell, the only drawback i found was it's a b**** to learn, 99.999% Windows users will not use it except windows administrators

    where as shell is much simpler to remember, and you are forced to remember if you are linux user, so 99.999% of linux users would have a good grasp the of fundamentals of it

    [RIP Fashion Wars 2005-2018]     [TTS] [KA] [SI]     [RIP Fashion Wars 2005-2018]
    Praise the Inevitable Eternal Transcendent King Palawa Ignacious Joko, the Beloved and Feared Undying Eternal Monarch of All !!!
    ... til Aurene ate him for dessert 😭
  • Deepcuts.9740Deepcuts.9740 Member ✭✭✭

    Indeed you are correct. For some reason I was thinking about the old days of Windows XP that did not have PS till SP3. My bad.

  • Is this autoupdater going to be updated? would love that.
    I mean as far as I understand it doesn't download buildtemplates anymore and just gives an error message so it shouldn't do anything to the game and it's still fine to use, right?

  • Deepcuts.9740Deepcuts.9740 Member ✭✭✭

    @Jokel.5164 said:
    Is this autoupdater going to be updated? would love that.
    I mean as far as I understand it doesn't download buildtemplates anymore and just gives an error message so it shouldn't do anything to the game and it's still fine to use, right?

    Updated the script to not check for build templates anymore.

  • Awesome, thanks a lot man!!!

  • It's doesn't work at this time.

    There was a problem downloading file d3d9.dll
    The URL might have changed or the server might be down for maintenance.
    Check https://www.deltaconnected.com/arcdps/x64/ for more information.
    Will continue in 5 seconds…
    Any idees ?

    `@ECHO OFF
    setlocal enableextensions enabledelayedexpansion

    set gw2client=Gw2-64.exe
    set arcdpsloc=bin64
    set file1=d3d9.dll
    set url1=https://www.deltaconnected.com/arcdps/x64/d3d9.dll
    set homeURL=https://www.deltaconnected.com/arcdps/x64/

    tasklist /FI "IMAGENAME eq %gw2client%" | findstr "%gw2client%" >nul
    if %ERRORLEVEL% == 0 goto Running
    GOTO NotRunning

    :Running
    COLOR 0C
    ECHO.
    ECHO Guild Wars 2 client is already running. This window will close in 5 seconds...
    ECHO.
    timeout /t 5 >nul
    GOTO END

    :NotRunning
    ECHO Checking for latest version of ArcDPS from %homeURL%...

    CD %arcdpsloc%
    ECHO.
    if exist %file1% (
    ECHO ArcDPS found. Will search for update
    ) else (
    ECHO ArcDPS not found. Will install
    )
    CD ..

    wget -q -N "%url1%" -P %arcdpsloc% --no-check-certificate
    IF %ERRORLEVEL% NEQ 0 (
    ECHO.
    ECHO There was a problem downloading file %file1%
    ECHO The URL might have changed or the server might be down for maintenance.
    ECHO Check %homeURL% for more information.
    ECHO Will continue in 5 seconds...
    timeout /t 5 > NUL
    )

    CD %arcdpsloc%
    if exist %file1% (
    ECHO. && ECHO ArcDPS && FOR %%? IN (%file1%) DO (ECHO Date : %%~t?)
    ) else (
    ECHO ERROR: ArcDPS not installed
    )

    CD ..

    ECHO.
    ECHO Starting Guild Wars 2 in 5 seconds...

    timeout /t 5 > NUL

    start %gw2client%
    goto END

    :END
    exit`

  • is this legal? how come no ArenaNet employee made a statement about ArcDPS?

  • @LittleBigAsura.6071 said:
    is this legal? how come no ArenaNet employee made a statement about ArcDPS?

    They did :

    By Chris Cleary (GM Shazbot) :

    1) https://www.reddit.com/r/Guildwars2/comments/66m13h/anet_this_really_should_be_part_of_the_game/dgjwapj/ (his reddit account was deleted since)
    2)

    There is no issue with arcdps (except if someday in future they would break the tos).

    Carcharoth Lucian/Mini Chibii
    Ruin of Surmia world
    PvE : [CdL] Les Chasseurs De Légendes
    WvW : [MIMs] Mobile Ingénieuse Et Marteau

  • @Carcharoth Lucian.1378 said:

    @LittleBigAsura.6071 said:
    is this legal? how come no ArenaNet employee made a statement about ArcDPS?

    They did :

    By Chris Cleary (GM Shazbot) :

    1) https://www.reddit.com/r/Guildwars2/comments/66m13h/anet_this_really_should_be_part_of_the_game/dgjwapj/ (his reddit account was deleted since)
    2)

    There is no issue with arcdps (except if someday in future they would break the tos).

    Thanks for your response

  • If the above solution does not work for you or you just like a simpler installation then you can try my powershell script:
    https://github.com/PTigris/AutoUpdateArcDPS

    It is save, you can look inside of the scripts to see how it works.

  • kanemi.4903kanemi.4903 Member ✭✭

    @Tigris.2571 said:
    If the above solution does not work for you or you just like a simpler installation then you can try my powershell script:
    https://github.com/PTigris/AutoUpdateArcDPS

    It is save, you can look inside of the scripts to see how it works.

    thank you!

  • You're welcome :)

  • Deepcuts.9740Deepcuts.9740 Member ✭✭✭

    @Kaalcifer.8249 said:
    It's doesn't work at this time.

    There was a problem downloading file d3d9.dll
    The URL might have changed or the server might be down for maintenance.
    Check https://www.deltaconnected.com/arcdps/x64/ for more information.
    Will continue in 5 seconds…
    Any idees ?

    Yes. Your internet was down or deltaconnected.com was down at that time.