Giter VIP home page Giter VIP logo

gw2launcher's Introduction

Last release: June 11, 2023
Download: Gw2Launcher.exe (build 7254)

See the wiki for more information and recent changes. Simply download (64-bit) and place the executable wherever you'd like it.

Notices

CefHost.exe remaining after closing GW2

GW2 will start a new renderer process whenever it's needed and close it when it's no longer used. If GW2 is closed while it's starting the renderer, it's possible for the renderer to remain active with high CPU usage.

Enabling the following option will automatically close any remaining CefHost processes linked to an account when it exits:

Settings > Guild Wars 2 > Browser priority

Note this option will be enabled by default with the priority set to normal (default).

CEF creating ~300 MB worth of files on launch

GW2 will try to write to CefHost.exe on launch and on play. Problem is, CefHost.exe is already being used by GW2 when clicking play, resulting in another copy of CEF being created for no reason (it's not even used).

Enabling the following option will prevent it and allow multiple accounts to share the same files:

Settings > Guild Wars 2 > Management > Rename CEF on launch

Indefinite black screen while loading character select

This is a bug GW2 introduced back when DX11 was implemented. The slower GW2 is to load, the more likely it is to occur. There are a few options to help with this:

Settings > Guild Wars 2 > Process priority while initializing the game: high.
Settings > General > Launching > Timeout: relaunch if character select hasn't loaded within 15~30 seconds.
Settings > General > Launching > Delay until the main window is loaded.

Gw2Launcher

GW2 uses a mutex to prevent multiple instances from being opened at the same time. In addition, GW2 also locks access to Gw2.dat, which prevents other processes from reading it. By killing the mutex and enabling -shareArchive, multiple clients can be launched simultaneously.

When -shareArchive is enabled, GW2 will not be able to modify any files. In order to update the game or modify your settings, the game must be launched normally, which will be handled for you.

Preview

Preview

gw2launcher's People

Contributors

healix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gw2launcher's Issues

Launcher always fails to launch account if %appdata%\Guild Wars 2\ is a symbolic link

on my computer i keep my important files in all of my appdata folders on my secondary hard drive and use symbolic links to simulate them still being there.
by a far margin, most apps work fine with this setup and this is the first time it's ever been an issue.
if you want to repeat my steps the command form is basically
mklink /J "%appdata%\Guild Wars 2\" "(full path of guild wars 2 appdata folder moved to another drive)"
and make sure that %appdata%\Guild Wars 2\ no longer exists and is moved before running it

Network Authentication doesn't work

For my account i've setup 2Factor Authentication with a OTP.
Showing the current otp in the security settings works fine, but it doesn't get automatically entered in the Launcher.

Regards

image

settings menu remains behind the main app

i cannot select the app settings menu when clicking the 3 horizontal bars in the top left corner of the app, when clicking them the settings popup menu pops behind the app as the app is set to always be on top.

i can of course still select each account and access their popup menu to "edit "each account setting and there i can access the app settings. so i am only missing out on the app "search" and "page <>" selections

this has occurred since the last update.

edit, now that i turned "show on top of other windows" off and on again, the search and page popup is now correctly on top

So i used gw2 laucher earlier on this PC.

But after i stopped playing gw2 and came back i found out that gw2 laucher is now updated and has new features.(god bless your sould for the hard work btw) But now when i try to lauch an account it says failed.

Interface

Hello, i tried changing my interface and save it permanently but it doesn't work in the "game settings"
I tried to find an option in the settings/folders but couldn't find a solution. As far as im aware, there's no coding for the interface setting.

JeppeX

Temp folder really huge

Haven't had any issues with this before, but I noticed my hard drive was filling up unusually fast. Ran windirstat and it showed that the temp folder was 135 gb.

Updated launcher deleted all my account profiles

After updating to the newest version of the launcher today it found none of my alt accounts and only one account I added almost a year ago. I looked in the appdata/roaming/gw2launcher/data folder and it seems like all my account settings are there, but the launcher can't find them.

Question About Potential Use

Could you produce a program that will capture keystrokes and send them to all running instances of Gw2? This would make multi-boxing much more effective.

Improper Window Scaling when Windows DPI Scaling is enabled

I have a 4K monitor on my left, 1080p in the middle, and 1080p on the right.

I put all my 4 accounts in the middle monitor, with one in each corner, identically sized to take up the full screen.

When I turn on 150% scaling for my 4K monitor, the option in GW2Launcher to "Launch with the -windowed option using the following size" does not function correctly for some windows. The windows with issues are the windows that are on the the middle 1080p monitor, but the left edge of the window is touching the edge of the 4K monitor.

These buggy windows are improperly sized compared to the window preview. While they are loading with a white screen they are sized properly, but when they reach the character select screen, these windows resize to take up the full 1080p monitor and have to be resized manually.

Turning off scaling on the 4K monitor solves the issue but is a workaround.

Thanks for your time.

Application Icon Change

Hello,
I want to change application icon but I don't see the change icon button in properties, I usually mistake it for the original gw2 shortcut.
Any ideas?
Thank you.

Feature Suggestion: Jumplists

Gw2Launcher already allows for creation of shortcuts to automatically launch each account without opening its UI. The shortcuts can be pinned to taskbar or to start menu, sure, but each takes up valuable space, and the more accounts there are - the most space they consume. A random idea came into my head that Gw2Launcher could also support jumplists for the same purpose of launching accounts while bypassing the UI, where each jumplist item will represent a saved account:
image
That way, users can just pin the launcher to taskbar/start menu, right click it and pick the desired account.

Jumplist "task" items aren't much different from shortcuts, so the exact same -l:silent -l:uid:... command-line arguments can be used. And seeing that Gw2Launcher is coded in C# - adding support for them should be a fairly trivial task.

alt accounts made with new local.dat files send settings to main account

i have a main account never used in gw2launcher that adopts the settings of alt accounts made with launcher. i created 3 other accounts, created new local.dat files for each of them through launcher, edited them (without -sharearchive active) to have low graphics and sound muted and all was well. i opened them and tested them and all had low gfx and muted.

then i opened my main account without the gw2launcher and it adopted the low settings and mute. i changed all this back to high settings the way i want to play my main account, then used gw2launcher to open my alts and they all had high settings, i re-edited the alts through launcher in normal mode without -sharearchive back to low. closed and opened each one and all was well.

then i booted my main without gw2launcher and it once again had all low settings.

i thought the local.dat file stored it's own settings for gfx and every account should have individual settings?

When trying to use Localized Account Execution w/o prevent taskbar grouping disabled, Launcher_LinkedProcess.Attach() fails as the intended process is not set to GW2 (or set at all)

First Issue: If you take a look at the process 'p' it is never set such that gw2-64 as the process, it is just the base process you get back from System when calling new, and since this process is not started, it's Process.Id and the like member variables are not valid:

Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in mscorlib.dll
The thread 0x5768 has exited with code 0 (0x0).
Exception thrown: 'System.InvalidOperationException' in System.dll
[4/27/2019 7:37:32 PM][LinkedProcess._Attach]: No process is associated with this object.
----------------------------->
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Id()
at Gw2Launcher.Client.Launcher.LinkedProcess._Attach(Process p) in E:\GitHub\Gw2Launcher\Gw2Launcher\Client\Launcher_LinkedProcess.cs:line 167

I noticed the if prevent taskbar grouping logic so I enabled that, which did correctly grab the GW2 process but then we fail when trying to call ensure state on a process we did not start or no longer own (not a windows person here, so I don't know if a fork is being done but either way we are not the parent):

Exception thrown: 'System.InvalidOperationException' in System.dll
[4/27/2019 7:33:38 PM][Launcher.OnScanComplete]: Process was not started by this object, so requested information cannot be determined.
----------------------------->
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_ExitTime()
at Gw2Launcher.Client.Launcher.OnScanComplete(DateTime startTime, ScanOptions options) in E:\GitHub\Gw2Launcher\Gw2Launcher\Client\Launcher.cs:line 2965

The reason I am going this route is that I cannot run three accounts at the same time w/o one of them, typically crashing/locking up due to what appears to be CoherentUI having shared resource/lock issues (not designed for it), it looks like the "normal" way of running Gw2Launcher still depends on one main CoherentUI as my first account uses the CoherentUI located next to the GW2 exe, not its own instanced version as do subsequent accounts. This behavior is required/intended, correct?

GW2Launcher crashing when selecting tomorrow's daily

Opening the side panel and selecting tomorrow's daily result in a crash. Launching the program in debug mode from Visual Studio gives the error:

System.IndexOutOfRangeException
  HResult=0x80131508
  Messaggio=Indice oltre i limiti della matrice.
  Origine=Gw2Launcher
  Analisi dello stack:
   at Gw2Launcher.UI.formDailies.SetupControls(Dailies dailies) in C:\Users\<user>\Documents\GitHub\Gw2Launcher\Gw2Launcher\UI\formDailies.cs:line 745
   at Gw2Launcher.UI.formDailies.<GetDailies>d__60.MoveNext() in C:\Users\<user>\Documents\GitHub\Gw2Launcher\Gw2Launcher\UI\formDailies.cs:line 1005

10/30/2018 Patch Broke Launcher

I am not sure if I am the only one but after the GW2 patch today, the launcher no longer works. It just loads up into a black or white screen and the game wont fully open.

Takes very long to set window size and position

Since the new version, Gw2Launcher needs a very long time to set the window size and position. About 30 seconds after the account/character is logged in.

Via "Right click -> Selected -> Apply Window Bounds" it works fine.

Strange thing is:
When I open the "Black Lion TRading company", the window size & position is assigned immediately.
... it seems to be somehow the fault of Guild Wars 2 itself?!?

Editing multiple accounts at the same time

Hey!
It would be really cool if we could select multiple accounts and edit their settings (only the relevant ones, settings that should be changed for each accound individually would be greyed out). Like assigning graphic settings profiles, sound options etc.

problem retaining sound settings

I am usually listening to streams or listening/talking in Discord while playing GW2. For this reason I would want GW2 to launch with master volume very low. I just started using your app to launch my 4 accounts and have turned down all the volumes to what I want them in the game options. However next time I launch them the volumes are back up to max. Is there any way I can retain those settings like they are naturally retained in GW2?

random shutdown

Assertion: Failed to start Coherent host
File: ......\Engine\ArenaWeb\CoherentUi\AwCohContext.cpp(332)

Dont let the GW2 launcher be on top of active windows.

I have set up 20 account windows in tiles to fill the whole screen. The accounts are launched one by one after the character selection is loaded. When I try to interact with the already active windows, the GW2 launcher window constantly pops up and interferes. Is it possible that the windows in which the character selection is loaded are always higher than the GW2 launcher? Maybe add the always-on-top property to windows only after loading the character selection?

not working

Hi Healix,
I tried to set up everything accordingly to what you have written in the README. Still, the launcher refuses to open more than one client. I want to run two clients. I have a main windows user account and another created by your tool. The launcher created the local.dat file in every respective roaming folder of each user account properly. When I try to start a client, it get prompted with the "new local.dat"-file notification for whatever reason. In the event that one client launched successfully, I cannot launch another client. I get a notification that the GW2 data file is already in use (or just nothing just "failed"). UAC is deactivated (lowest possible settings) on my system. Do I have to login with the windows account at least ones? Did I miss something crucial?

Regards ;>

[Request] add a top bar with a 'kill all processes' button

Hello,

This is an awesome piece of software. However, lately I've been using the 'kill all active processes' option which requires several clicks and gets a bit laggy when I have several clients open.

A single button to kill all processes would be appreciated and I think the best place could be at the top of the program.

This option should be a advanced selection so it doesn't show by default.

Thanks for your consideration!

Sullie

Launch additional apps

Hey there,

Just started using your app for my extra account I just bought and was wondering if it's possible to launch other apps (Taco/BlishHuD) when launching GW2?

Mutex killer doesn't work in linux (wine)

While running the launcher in linux, everything seems to work except for the mutex killer, preventing the launcher from running multiple clients. Although I presume you don't support the launcher for linux, it might be interesting for you given that everything else already seems to work very well.

Feature Request: Screen Grids

Hello I've been using Healix GW2 Launcher with my monitor's display software which comes preloaded with screen grid helper and I was wondering if developer can create similar feature for GW2 Launcher. It's very useful in arranging windows manually or automatically (Idk how I triggered that auto arrangement on grid template change, doesn't happen otherwise) I've recorded a short video. There are also some grid programs out there but making it part of GW2 Launcher would be great hence the reason I made this post.
https://www.youtube.com/watch?v=BTohGFEsqR8 (CTRL+Click to open in new tab)

New "hamburger" menu obscured when "always on top"

The new hamburger menu added in a recent (?) UI update ends up being obscured by the main window if "Show on top of other windows" is enabled. That option should be applied to the menu popup as well, "on top" windows have their own ordering, so once the popup is given focus - it will appear in front of the main window.
image

can no longer launch multiple accounts at the same time

I can only launch one account at a time now, I'm not sure what changed. I only added an additional account recently and the issues started then. I get the GW2 error "Install cannot be completed. Please contact Support"
There are no issues launching each account by itself.

Issue opening 6 clients at once. Suggestion: group launch

Hi,

When I launch 6 clients at the same time only 5 get to the character screen, the last always says "gw2 encountered an error" or such. Then I need to close the 6th client, wait a few seconds, and launch it again. Could you please add an internal cooldown for launching so many clients? I don't want to use the delay option because that will impact the time it takes to launch all clients (the first 5 works fine).

Also, it would be great if you could bundle several clients together so they launch as a set. For instance, I'd like to launch 6 clients with 1 click. Please consider adding this feature.

Thanks for the great app!

Unable to launch 2 accounts

When I use localized execution (full) and localized ui, I can not launch 2 accounts. The second just doesnt launch until the first one is closed.

Without localized execution they both launch fine, but then my addons do not work.

Program crashing randomly

So just going through the settings options and clicking on stuff, the program closes automatically.. no error or anything. Happening quite often. I'm on Windows 7 too.

All accounts disappeared after BSOD.

After having a BSOD on my laptop all of my accounts got disappeared from GW2Launcher. Is there anything i can do to get them back or i have to add them again?

Manually rearrange the account list / Pin Accounts

I have two suggestions I would like implemented or if they already are know where to locate the options. Both pertain the Launcher account list.

I see the 'Sort By' option when right clicking but none of those options do what I want and the custom section is quite limited.

First is manually rearrange accounts on the Launcher menu list:

If I add 3 accounts, but want to change the order later I would like a click & drag feature, if possible, to raise/lower the specific account.

For example:

Account 1

Account 2

Account 3

I click & drag Account 2 down so now it shows

Account 1

Account 3

Account 2


The other feature I would like to see is a pin account option, in other words a method to prevent each account(s) to be sorted if you so choose. The same feature you see on Twitter where a pinned Tweet is always at the top on that person's page.

So if I have:

Account 1 (Pinned)

Account 2

Account 3

Account 4

and I pin Account 1, if I do 'Sort by X' it will sort all non-pinned accounts.

I would like to keep my main account at the very top without ever having it be sorted or moved. Also an indication that it is pinned too if possible.

On top of that if for whatever reason I need to delete an account and add it back later, since the program places it at the bottom of the list, I would just like to click & drag it back to its original spot.

unable to add 4th account

i use 3 alt accounts successfully with your program and and enjoy it.

however i bought a 4th account and for some reason i just cant seem to add it successfully. i make a 4th account tab, give it a unique name, add a new local.dat and it fails. i get your error poup about shared file not writeable.

so i try again but copy from an existing and launch normal, i type in the new account details, click remember login off and on again, get your own error popup.

delete tab, create a new one, create new local.dat, select/update, select/launch normal, type in details, start game. turn off and launch again, details are blank and not remembered.

i followed your wiki but nothing in there tells me what the problem might be

Automatic Login doesn't work

Hey,
after a recent reinstall of my pc it seems that the autologin feature doesn't work anymore.
I store the credentials in the games launcher itself which is working fine (Got one Local.dat for each account) But whenever i start one i have to manually press "Login" for the game to start. That's a bit annoying. Is there any setting that i'm missing?

network authotization has stopped working

At login, suddenly guild wars asks me to enter the authentification code.
(this did work several days ago)

  • all accounts have the correct username & password
  • all of them have thier goolge auth code ... it even shows me the correct current & next code in the account security tab
  • in global options -> security, all 3 checkboxes are set (network autorization: enable, remove & cancel launchung)
  • (firewall is off ... just for testing :-))

When i open 2 accounts, 1 account becomes unresponsive and I have to force close

This has been happening for both my boyfriend and I since this week. I'm not sure if any of the patches messed anything up?

We both do leyline anomaly on 2 accounts at a time and we can login on both accounts. But every time the leyline is up and I try to swap to my 2nd account it just won't open anymore and i have to force close GW2.

We had no issues with this before.

GW2 crashing on opening second account

--> Crash <--
Assertion: Launcher: Browser crashed
File: ......\Game\Launcher\LauncherCoherent.cpp(2523)
App: Gw2-64.exe
Pid: 6612
BaseAddr: 00007FF76A4C0000
ProgramId: 101
Build: 94892
When: 2019-01-28T00:53:58Z 2019-01-27T19:53:58-05:00
Uptime: 0 days 0:00:04
Flags: 0

I had an account opened and sitting in Royal Terrace. Alt-tabbbed out and clicked on a second account in the launcher. Before the GW2 login window came up, a GW2 crash window came up with the above details. I copied the above details, closed the crash window, and then clicked on the same account in the launcher a second time and all worked as it should. This is not a big problem and does not happen every time, but thought you would like to know about it.

[Request] Mass update .dat files?

So I have a bunch of accounts stored in their own folder as files like 1.dat, 2.dat, etc. Is there a way to have GW2Launcher mass update them 1 after another, instead of manually going into a folder and selecting them 1 by 1? Like to have GW2Launcher select the folder and run an update on all the files keeping the same file names.

YoloMouse not active from launch

After setting up YoloMouse with each account created, relaunching does not activate YoloMouse. Not sure if this is a GW2Launcher issue, but YoloMouse functioned correctly in previous versions of GW2Launcher and YoloMouse has no updates since those releases.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.