Healix / Gw2Launcher

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

GW1 autologin dont work #282

Open SirWild opened 1 year ago

SirWild commented 1 year ago

Hey! I wanted to use your Launcher with GW1. Set up everything and start the client - all fine, but there is no autologin..

grafik

I also checked the checkbox, but when I press OK and check the settings again, it's not marked anymore.

Healix commented 1 year ago

It was broken in the last release version. Use the beta version.

SirWild commented 1 year ago

I used the beta version, that you have linked, but still had the same error.

Healix commented 1 year ago

What error? The problem in the release version was the email, password and character name fields could not be changed. That was fixed in the beta version.

To enable the automatic login, you have to enter the email, password and character name, which appear below the "enable automatic login" option when it's checked. If one of those is left empty, the option won't stay checked, since these are required by GW1.

SirWild commented 1 year ago

Thanks its working now! Can I use uMod with your launcher?

Healix commented 1 year ago

Place d3d9.dll from uMod in the folder where Gw.exe is located, then have uMod running in the background prior to launching the account. Once the account is launched, it should appear in uMod.

SirWild commented 1 year ago

Everything works! Thanks a lot!

SirWild commented 1 year ago

I have a new question: I rename the gw.exe and got an error: grafik How can I fix it?

Healix commented 1 year ago

You can hover over the failed status to see a reason. "Gw.exe" is based on the path supplied under Settings > Guild Wars 1. The same name is used for all copies, so if you were to rename 1 copy, it'll fail to launch that account because "Gw.exe" doesn't exist.

What are you wanting to do? I recently found out someone else was doing this because they needed a unique name per executable, so I'll eventually be adding a proper solution for this. As a workaround, you could create a link. For example, if you had C:\GW1\Gw1.exe, start a command prompt as an administrator and enter:

mklink "C:\GW1\Gw.exe" "C:\GW1\Gw1.exe"

This will cause Gw2Launcher to think it's launching "Gw.exe" but it'll end up as "Gw1.exe".

SirWild commented 1 year ago

yhea, I also need a unique name per executable. However - it works with the mklink :)

I will write a batch for this and let it autostart. So it's fine for me. But of course a proper solution would be great.

SirWild commented 1 year ago

uhm i got another issue now - GWToolbox cant find the gw1 process anymore, when I start the account via GW2Launcher. When I start the account normaly (with its own process name) - GWToolbox can find it.

Healix commented 1 year ago

I tested it. Gw.exe renamed to Gw1.exe, then launched using a symlink Gw.exe. GWToolbox shows the error "couldn't find character name RVA". Is that what's happening?

It's caused by how the symlink interacts with Gw2Launcher. Right click any account > Settings > General > Windows. Enable one of the taskbar grouping options. This will change how accounts are launched, which will avoid the problem.

If it's not detecting the client at all, run GWToolbox as an admin.

SirWild commented 1 year ago

yes! Thanks! Now its working.

SirWild commented 1 year ago

I try to setup GWToolbox as a Mod to autoinject it into the started Guild Wars 1 client. Can I use the .dll from GWToolbox somehow with GW2 Launcher?

Healix commented 1 year ago

If you're asking if Gw2Launcher can inject the DLL instead of GWToolbox.exe, no.

SirWild commented 1 year ago

https://www.youtube.com/watch?t=335&v=rehKLa7VrjU&feature=youtu.be There is a possibility to load the dll from GWToolbox as a mod. I have attached the video to the post. He created a shortcut from the dll and let this load as a mod.

Can GW2Launcher load a dll as a mod?

Healix commented 1 year ago

No. That's what injecting is. The video is using "GW Launcher" to inject the DLLs in the plugins folder into GW1. Injecting modifies a running program to force it to load an outside DLL, which typically gets flagged as a virus. For comparison, there are DLLs that GW1 will load itself, notably d3d9.dll, which you can simply drop into the folder where Gw.exe is located to have it load.

GWToolbox requires injecting. Surprisingly, they don't have an automated option for it.