gw2-addon-loader / GW2-Addon-Manager

Installer and updater for Guild Wars 2 addons.
MIT License
440 stars 55 forks source link

Addon Manager "Unable to Locate Guild Wars 2..." #91

Open DeckStarg opened 3 years ago

DeckStarg commented 3 years ago

Describe the bug Keep getting error stating the addon manager is unable to locate Guild Wars 2 /bin/ or /bin64/ folder. Game path is definitely correct.

To Reproduce Open addon manager check d912pxy box click select directory select file/folder location for GW2 folder click update Instantly comes up with error.

https://imgur.com/esoxFbL

DeckStarg commented 3 years ago

Got it working but now the games keeps crashing and won't start.

--> Crash <-- Assertion: Failed to load Coherent DLL. Error code: 0x7e File: ......\Engine\ArenaWeb\CoherentUi\AwCoh.cpp(58) App: Gw2-64.exe Pid: 17784 BaseAddr: 00007FF7B7D90000 ProgramId: 101 Build: 110146 When: 2021-01-08T21:19:28Z 2021-01-08T23:19:28+02:00 Uptime: 0 days 0:00:02 Flags: 0 DumpFile: Crash.dmp

--> System <-- Processors: 12 [GenuineIntel:6:14:10] OSVersion: Windows 10.0 (64 bit)

--> System Memory <-- Physical: 24833MB/32687MB 75% Paged: 24553MB/37551MB 65% Virtual: 134213169MB/134217727MB 3% Load: 24% CommitTotal: 12998MB CommitLimit: 37551MB CommitPeak: 18723MB SystemCache: 21960MB HandleCount: 99954 ProcessCount: 207 ThreadCount: 3006

--> Process Memory <-- Private: 123MB WorkingSet: 110MB PeakWorkingSet: 233MB PageFaults: 299317

--> Memory Category Usage (Inclusive) <-- [Category] [Size(MB)] [Count]
Root 80.26 6129
Uncategorized 43.22 4533
Programmer Data 30.59 841
I/O 30.07 524
Archive 28.73 24
Collide Havok 6.45 755
Collide 6.45 755
File Service 1.24 12
Collections 0.25 80
Dictionary 0.24 41
Networking 0.11 14
Asset Service 0.09 483
Event 0.07 3
Game 0.05 56
Engine 0.02 12
Content 0.02 1
Threading 0.01 14
Model-Programmer 0.01 1
BTree 0.00 8
Install 0.00 30
Platform 0.00 65
CharClient 0.00 5
Services 0.00 8
File Core 0.00 2

--> Memory Category Usage (Exclusive) <-- [Category] [Size(MB)] [Count]
Uncategorized 43.22 4533
Archive 28.73 24
Collide Havok 6.45 755
File Service 1.24 12
Dictionary 0.24 41
Networking 0.11 9
Asset Service 0.09 483
Event 0.07 3
Game 0.03 46
Content 0.02 1
Threading 0.01 14
Model-Programmer 0.01 1
Collections 0.01 30
Engine 0.01 6
BTree 0.00 8
Install 0.00 30
Platform 0.00 65
CharClient 0.00 5
Services 0.00 8
File Core 0.00 2
Text 0.00 1
Download 0.00 3
UI 0.00 14
Programmer Data 0.00 2

--> DllList <-- 00007FF7B7D90000 - E:\Guild Wars 2\Gw2-64.exe 00007FFF70990000 - C:\Windows\SYSTEM32\ntdll.dll 00007FFF6EFC0000 - C:\Windows\System32\KERNEL32.DLL 00007FFF6E150000 - C:\Windows\System32\KERNELBASE.dll 00007FFF6B550000 - C:\Windows\SYSTEM32\apphelp.dll 00007FFF70500000 - C:\Windows\System32\USER32.dll 00007FFF6E470000 - C:\Windows\System32\win32u.dll 00007FFF6F8A0000 - C:\Windows\System32\GDI32.dll 00007FFF6E6A0000 - C:\Windows\System32\gdi32full.dll 00007FFF6E500000 - C:\Windows\System32\msvcp_win.dll 00007FFF6E5A0000 - C:\Windows\System32\ucrtbase.dll 00007FFF6F080000 - C:\Windows\System32\ADVAPI32.dll 00007FFF6E9F0000 - C:\Windows\System32\msvcrt.dll 00007FFF6F490000 - C:\Windows\System32\sechost.dll 00007FFF6F530000 - C:\Windows\System32\RPCRT4.dll 00007FFF6F820000 - C:\Windows\System32\WS2_32.dll 00007FFF6E4A0000 - C:\Windows\System32\WINTRUST.dll 00007FFF6F810000 - C:\Windows\System32\PSAPI.DLL 00007FFF706A0000 - C:\Windows\System32\ole32.dll 00007FFF6F130000 - C:\Windows\System32\combase.dll 00007FFF6FA00000 - C:\Windows\System32\OLEAUT32.dll 00007FFF6FDB0000 - C:\Windows\System32\SHELL32.dll 00007FFF63FF0000 - C:\Windows\SYSTEM32\VERSION.dll 00007FFF69A20000 - C:\Windows\SYSTEM32\WTSAPI32.dll 00007FFF6E890000 - C:\Windows\System32\CRYPT32.dll 00007FFF63BE0000 - C:\Windows\SYSTEM32\WINMM.dll 00007FFF57F20000 - C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.685_none_faeca4db76168538\gdiplus.dll 00007FFF20540000 - C:\Windows\SYSTEM32\MSACM32.dll 00007FFF69770000 - C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.488_none_4238de57f6b64d28\COMCTL32.dll 00007FFF56670000 - C:\Windows\SYSTEM32\USP10.dll 00007FFF60720000 - C:\Windows\SYSTEM32\MSIMG32.dll 00007FFF53400000 - C:\Windows\SYSTEM32\Secur32.dll 00007FFF55230000 - C:\Windows\SYSTEM32\winmmbase.dll 00007FFF6DAB0000 - C:\Windows\SYSTEM32\CRYPTBASE.DLL 00007FFF6DF80000 - C:\Windows\SYSTEM32\SSPICLI.DLL 00007FFF6EF90000 - C:\Windows\System32\IMM32.DLL 00007FFF6DCC0000 - C:\Windows\SYSTEM32\MSASN1.dll 00007FFF6E0D0000 - C:\Windows\System32\bcryptPrimitives.dll 00007FFF6C010000 - C:\Windows\SYSTEM32\dbghelp.dll 00007FFF6C220000 - C:\Windows\SYSTEM32\windows.storage.dll 00007FFF6DB40000 - C:\Windows\SYSTEM32\Wldp.dll 00007FFF6FD00000 - C:\Windows\System32\SHCORE.dll 00007FFF6EF30000 - C:\Windows\System32\shlwapi.dll 00007FFF6E000000 - C:\Windows\SYSTEM32\profapi.dll 00007FFF6C9D0000 - C:\Windows\SYSTEM32\kernel.appcore.dll 00007FFF6E7B0000 - C:\Windows\System32\bcrypt.dll 00007FFF6B640000 - C:\Windows\system32\uxtheme.dll 00007FFF63D70000 - C:\Windows\SYSTEM32\cryptnet.dll 00007FFF6EA90000 - C:\Windows\System32\imagehlp.dll 00007FFF6DA90000 - C:\Windows\SYSTEM32\CRYPTSP.dll 00007FFF6D1E0000 - C:\Windows\system32\rsaenh.dll 00007FFF64010000 - C:\Windows\SYSTEM32\dxcore.dll 00007FFF6E420000 - C:\Windows\System32\cfgmgr32.dll 00007FFF23690000 - C:\Windows\system32\nvspcap64.dll 00007FFF6CE10000 - C:\Windows\SYSTEM32\ntmarta.dll 00007FFF6C9F0000 - C:\Windows\SYSTEM32\gpapi.dll 00007FFF62A90000 - C:\Windows\SYSTEM32\DINPUT8.dll 00007FFF5EAE0000 - C:\Windows\SYSTEM32\inputhost.dll 00007FFF6A810000 - C:\Windows\SYSTEM32\wintypes.dll 00007FFF6AFC0000 - C:\Windows\SYSTEM32\CoreUIComponents.dll 00007FFF6B320000 - C:\Windows\SYSTEM32\CoreMessaging.dll 00007FFF69820000 - C:\Windows\SYSTEM32\PROPSYS.dll 00007FFF60FA0000 - C:\Windows\SYSTEM32\nvapi64.dll 00007FFF6EAB0000 - C:\Windows\System32\SETUPAPI.DLL 00007FFF6F8D0000 - C:\Windows\System32\clbcatq.dll 00007FFF43B50000 - C:\Windows\system32\napinsp.dll 00007FFF414B0000 - C:\Windows\system32\pnrpnsp.dll 00007FFF68840000 - C:\Windows\system32\wshbth.dll 00007FFF69230000 - C:\Windows\system32\NLAapi.dll 00007FFF6D560000 - C:\Windows\SYSTEM32\IPHLPAPI.DLL 00007FFF6D8C0000 - C:\Windows\System32\mswsock.dll 00007FFF6D5A0000 - C:\Windows\SYSTEM32\DNSAPI.dll 00007FFF6EF20000 - C:\Windows\System32\NSI.dll 00007FFF41490000 - C:\Windows\System32\winrnr.dll 00007FFF63DC0000 - C:\Windows\System32\fwpuclnt.dll 00007FFF64000000 - C:\Windows\System32\rasadhlp.dll 00007FFF70830000 - C:\Windows\System32\msctf.dll 00007FFF5E9E0000 - C:\Windows\SYSTEM32\textinputframework.dll 00007FFF674E0000 - C:\Windows\SYSTEM32\WindowsCodecs.dll 00007FFF5F4C0000 - C:\Windows\SYSTEM32\TextShaping.dll

--> Game Context <-- MapId: 0 Flags: 0x241 ElapsedTime: 00:00:01

--> World State <--

[DbgHelp.dll is C:\Windows\SYSTEM32\dbghelp.dll] [DbgHelp.dll version 10.0.19041.488 (64/32-bit compatible)]

--> ClientContextThreadProc Thread 0x2734 <--

--> Trace <-- Pc Rt : Args 00007ff7b7f23e2c 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b7f23eab 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b88d95cd 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b82332bd 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b8231807 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b818c50b 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b818b012 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b7f01177 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b80f4c6e 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b80f2eac 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b80f2b29 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b80f41bf 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b80f252c 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b7f1a9c1 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ff7b80ab5f9 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff6efd7034 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff709dd0d1 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000

--> Thread registers <-- rax=0000000000000001 rbx=00007ff7b95fcd38 rcx=00000063709febb0 rdx=00007ff7b95fcd38 rsi=000000000000003a rdi=00000063709ff0e0 rip=00007ff7b7f23dcd rsp=00000063709feb50 rbp=00000063709ff460 r8=000000000000003a r9=00007ff7b7d90000 r10=00000063709fedd6 r11=00000063709ff010 r12=0000000000000002 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000 cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202

rbx-32 00007FF7B95FCD18 626557616e657241 6e657265686f435c 744777415c744774 000000007070632e rbx +0 00007FF7B95FCD38 2e2e5c2e2e5c2e2e 5c656e69676e455c 626557616e657241 6e657265686f435c rbx+32 00007FF7B95FCD58 6f4377415c695574 0000007070632e68 73676e6974746573 6d616e656c69662e rcx-32 00000063709FEB90 00007ff7b7f23dcd 00000063709feb50 00000063709ff460 000000070000002d rcx +0 00000063709FEBB0 0000000000000020 00000000ffffffff 0000000000000000 00000063709fedd6 rcx+32 00000063709FEBD0 0000000000000002 00000063709fecf0 00009f800010000f 0053002b002b0033 rdx-32 00007FF7B95FCD18 626557616e657241 6e657265686f435c 744777415c744774 000000007070632e rdx +0 00007FF7B95FCD38 2e2e5c2e2e5c2e2e 5c656e69676e455c 626557616e657241 6e657265686f435c rdx+32 00007FF7B95FCD58 6f4377415c695574 0000007070632e68 73676e6974746573 6d616e656c69662e r9 +0 00007FF7B7D90000 0000000300905a4d 0000ffff00000004 00000000000000b8 0000000000000040 r9+32 00007FF7B7D90020 0000000000000000 0000000000000000 0000000000000000 0000017800000000

--> Code <-- 00007ff7b7f23dad 488bf941 8bf0488d 0da6e7d1 01488bda H..A..H......H.. 00007ff7b7f23dbd e88e70fe ff488d4c 2460ff15 6ba54001 ..p..H.L$..k.@. 00007ff7b7f23dcd 488b8424 58010000 4c8d0584 d5410148 H..$X...L....A.H 00007ff7b7f23ddd 89442440 4885db48 8b8424f8 00000044 .D$@H..H..$....D 00007ff7b7f23ded 8bce4889 4424484c 0f45c348 8b842400 ..H.D$HL.E.H..$. 00007ff7`b7f23dfd 01000048 8bd74889 44245033 c9488d44 ...H..H.D$P3.H.D

--> Stack <-- 00000063709feb50 00000063709ff10d 0000000000000200 000000000000002d 0000000000000000 ...pc...........-............... 00000063709feb70 00000063709feb90 00000063709febb0 0000000000000000 00000063709feb38 ...pc......pc...........8..pc... 00000063709feb90 00007ff7b7f23dcd 00000063709feb50 00000063709ff460 000000070000002d .=......P..pc.....pc...-....... 00000063709febb0 0000000000000020 00000000ffffffff 0000000000000000 00000063709fedd6 ..........................pc... 00000063709febd0 0000000000000002 00000063709fecf0 00009f800010000f 0053002b002b0033 ...........pc...........3.+.+.S. 00000063709febf0 00000202002b002b 0000006300000030 0000000000000000 00000063709fed10 +.+.....0...c..............pc... 00000063709fec10 0000006300000840 0000000000000000 0000000000000000 0000000000000001 @...c........................... 00000063709fec30 00000063709febb0 00007ff7b95fcd38 00007ff7b95fcd38 00000063709feb50 ...pc...8._.....8._.....P..pc... 00000063709fec50 00000063709ff460 000000000000003a 00000063709ff0e0 000000000000003a ..pc...:..........pc...:....... 00000063709fec70 00007ff7b7d90000 00000063709fedd6 00000063709ff010 0000000000000002 ...........pc......pc........... 00000063709fec90 0000000000000000 0000000000000000 0000000000000000 00007ff7b7f23dcd .........................=...... 00000063709fecb0 000000000000027f 0000000000000000 0000000000000000 0000ffff00009f80 ................................ 00000063709fecd0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fecf0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fed10 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fed30 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fed50 0000000000000000 0000000000000000 746e657265686f43 6c6c642e34364955 ................CoherentUI64.dll 00000063709fed70 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fed90 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fedb0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fedd0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fedf0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fee10 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fee30 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 00000063709fee50 00000237bd40a2a0 000000000000000a 0000000000000000 00000237c39aa0d0 ..@.7.......................7... 00000063709fee70 0000000000000004 000000005200db89 00000237bd40a2a0 00007fff02000002 ...........R......@.7........... 00000063709fee90 0000000000000004 00000237c39aa0d0 0000000000000100 00000237baf90150 ............7...........P...7... 00000063709feeb0 0000000000000000 0000000000000001 0000000000000047 00000237baf90000 ................G...........7... 00000063709feed0 0000000000000000 00007fff709a0df1 00000237baf902e8 00000063709ff1e0 ...........p........7......pc... 00000063709feef0 0000000000000001 0000000000000047 0000000000000100 00000237baf90150 ........G...............P...7... 00000063709fef10 00000237cd0a2010 00007fff709a48ea 00000237baf90000 0000000000000000 . ..7....H.p........7........... 00000063709fef30 00000237cd0a2000 0000000000000080 0000006300000047 0000000000000047 . ..7...........G...c...G.......

--> Error Logs <-- 21:19:28Z Coherent DLL load filepath: E:\Guild Wars 2\bin64\CoherentUI64.dll Crashed at 21:19:28Z

Cecire commented 3 years ago

I am also having the same error

Wrenched commented 3 years ago

Same here. I tried using various combinations of double quotes around the path, a trailing backslash, double-backslashes, and replacing backslashes with slashes to no avail. You have slashes in the error message rather than backslashes even though this is a Windows program, so I wasn't sure if you were using slashes in the filesystem code as well.

Ok, I found

if (Directory.Exists(_configurationManager.UserConfig.GamePath + "\\bin64"))

in line 86 of application/GW2 Addon Manager/Backend/Configuration/configuration.cs, so that isn't the issue. Farther down on line 114 you use Path.Combine instead of the + concatenation. Using a consistent method might help with tracking such issues down.

if(Directory.Exists(Path.Combine(_configurationManager.UserConfig.GamePath, "addons")))

Up on line 33 you have

Application.Current.Properties["game_path"] = path.Replace("\\", "\\\\");

but I think "game_path" is only used in the old config file. Anyway, I put

\<BinFolder>bin64\</BinFolder> \<ExeName>Gw2-64.exe\</ExeName>

into my config.xml file and it ran ok after that, so it does look like the problem is in assigning BinFolder on line 88 so that it makes it through the check on line 106 of application/GW2 Addon Manager/UI/OpeningPage/OpeningView.xaml.cs.

if (_configurationManager.UserConfig.BinFolder == null)

sho-87 commented 3 years ago

I'm having the same issue. These are the directories I use:

E:\Guild Wars 2
E:\GW2 Addon Manager
KaloyanST1 commented 3 years ago

I managed to figure it out. I did three things and it worked. a) Make the GW2 Folder not be Read Only b) Run the Mod Manager as an Admin c) Select the root folder of GW2 not the /bin/ just the Main one Hopefully this helps any lost souls like me

Klaffkalasch commented 3 years ago

Same problem here. I try the things from KaloyanST1. But it did not work. I reinstall the complete game. But it did not work.

daferalfalah commented 3 years ago

Same problem here as well.

JamaicanAmbasador commented 3 years ago

I was struggling about this for about 2 days to get fixed, deleted every addon and d3... files at gw2 main folder, At incoming complete rage i smashed keyboard so hard 20other tabs popped out. Tried last time to add them, opened as PC admin, everything worked after smashing my keyboard like a karate kid. LOL

Klaffkalasch commented 3 years ago

Ich kämpfte darüber für etwa 2 Tage, um behoben zu werden, löschte jedes Addon und d3... Dateien bei gw2 Hauptordner, Bei eingehender völliger Wut habe ich Tastatur so hart zerschlagen 20andere Tabs herausgesprungen. Versuchte das letzte Mal, sie hinzuzufügen, geöffnet als PC-Administrator, alles funktionierte, nachdem ich meine Tastatur wie ein Karate-Kind zertrümmert hatte. Lol

I'm happy about every kind off help or idea. But I realy cant do this to my brand new and very first mechanical keyboard... xD

so for now i only use Taco without a manager or something else. It works very well. I hope it's okay if I mention the competition here.