Healix / Gw2Launcher

Manages and allows for multiple Guild Wars 2 clients to be launched
MIT License
177 stars 24 forks source link

Cant get my addons to load with gw2 launcher #165

Open Kronnos96 opened 2 years ago

Kronnos96 commented 2 years ago

So I tried everything I found here regarding launching addons with gw2 launcher but nothing worked for me. Basicly I want two of my accounts to have access to all my addons from the main folder. They are installed with the addon manager and everything works just fine when starting the game the normal way.

Every help appreciated cuz I am clueless :D

Healix commented 2 years ago

First ensure the version of DX each account is using, as it will vary per Local.dat file if you're not forcing it with the -dx11 or -dx9 launch options.

Assuming DX11 (which loads addons from the main folder rather than bin64), you'll need to enable localized execution set to full under Settings > Guild Wars 2 > Management. The release version of Gw2Launcher won't automatically set up DLLs from the main GW2 folder, so use the beta version and simply delete the Gw2Launcher folder found in the main GW2 folder.

Kronnos96 commented 2 years ago

Hey, thank you for the fast reply. I already have seen this steps to fix my problem in older similar posts, but sadly nothing worked for me. I have dx11 enabled on all my accounts, also tried forcing it with the option in the launcher.

Healix commented 2 years ago

Look in the Gw2Launcher/# folder. Inside the # folders should be a mirror of the main GW2 folder. Ensure it has the addons you're expecting, which should be d3d11.dll (or dxgi.dll), addonLoader.dll and an addons folder.

If they're there, configure localized execution to exclude addons, then delete the Gw2Launcher folder and launch an account to recreate its folder. Manually copy the addons from the main GW2 folder to the Gw2Launcher/# folder, then launch that account to confirm.

If that still doesn't work, use the addon manager to install addons directly to the # folder. Note you have to "reset to clean install" after changing where to install addons.

Kronnos96 commented 2 years ago

The last solution with the addon manager worked ! Thank you very much :D

Master-Liu-TBF commented 2 years ago

First ensure the version of DX each account is using, as it will vary per Local.dat file if you're not forcing it with the -dx11 or -dx9 launch options.

Assuming DX11 (which loads addons from the main folder rather than bin64), you'll need to enable localized execution set to full under Settings > Guild Wars 2 > Management. The release version of Gw2Launcher won't automatically set up DLLs from the main GW2 folder, so use the beta version and simply delete the Gw2Launcher folder found in the main GW2 folder.

I wanted to take a moment just to say that I was looking for a solution the issue I was having with gw2launcher and dx11 anbd arcdps... but overall what helped when I switched from dx9 to dx11 was the beta version of gw2launcher. So in short, thank you for posting this solution. It's been working like butter. Also, just to note the addon's I have are arcdps and blishhud with tekkit/reactif/guild missions. But I dont always run blishhud. I wonder if I should test it out before I got any further.

But again thank you.

UmBottesWillen commented 2 years ago

I'm stumped. I've downloaded the beta version (which lists itself as build 6705 however), I've ticked the boxes in GW2>Management>Localized Execution for 'Enable Localized Execution', 'Exclude addons when generating folders', 'Desired Level>Binaries' and 'Synchronizing>Core'. I've manually copied the dll files of the addons I use to the GW2>Gw2Launcher># folder for the account I'm using, but the addons won't load.

Edit: I'm using DX11, as is default by now. I'm using neither the -dx11, nor the -dx9 flag.

Healix commented 2 years ago

'Desired Level>Binaries'

Full is required for DX11.

UmBottesWillen commented 2 years ago

Is there then a way to not have, in my case, 6 copies of the 70Gb file in the subfolders? That'd be an awful lot of space wasted.

Healix commented 2 years ago

It looks like it's wasting space, but it actually isn't - it's 1 file that has multiple paths. Windows won't make you aware that these files aren't real, so if you check the folder, it'll claim it's however many GB, but if you check your actual disk usage, it doesn't change.

UmBottesWillen commented 2 years ago

Ok thanks so far. The only issue remaining now is that the client is crashing whenever I try to change settings in ArcDPS. It seems like the options file is read-only, which then crashes the game. Problem is, I already tried to remove the write-protection and have deleted the addons folder for ArcDPS to create anew, but both did not fix the issue.

Launching Gw2Launcher as admin did also not help, neither did giving write rights to all users for the entire folder. My GW2 instance, including the launcher, is installed in "F:/Guild Wars 2", so it shouldn't be Windows blocking the writes for some reason.

Edit: To be more precise, the game starts just fine with arcdps loaded. But after a few seconds after I changed a setting or moved a window, which would require the settings file to be updated, the game just locks up and gets suspended for an access violation. Neither ArcDPS, nor GW2 produce an error log. This issue did not occur when the client is started without Gw2Loader, nor when the addons were located in the original games' folder, with 'Desired Level>Binaries' ticked.

Healix commented 2 years ago

Arc doesn't save its settings until exit, and if it can't write, it simply doesn't save - it wouldn't cause a crash. If it's causing an "access violation" I'm guessing that's a 0xc0000005 access violation, meaning the program tried to access memory it wasn't allowed to.

Note that localized execution set to full is like running GW2 for the first time since it uses an alternative path for GW2. Ensure any anti-virus/security software isn't blocking it, as that's likely to freeze the game and cause an access violation, though I would have expected this to occur on load, not when you moved arc.

You could also try launching GW2 directly from the Gw2Launcher/# folder while Gw2Launcher is closed. If it still happens, there's either a problem with the files or another program is interfering. Simplify by deleting all addons, confirm the game runs as expected, then add only d3d11.dll.

UmBottesWillen commented 2 years ago

I've tried as you suggested. The error was still occuring when starting the GW2 client from the Gw2Launcher folder without Gw2Launcher active. Interestingly, after removing all addons and adding them back one-by-one, the issue had been reduced to the game halting when quitting, which, albeit annoying, would be fine; dragging ArcDPS windows did no longer halt the game. It turns out that a healing stats addon for arcDPS was causing the issue.