Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impossible issue #32

Open
DjSapsan opened this issue May 16, 2019 · 13 comments
Open

impossible issue #32

DjSapsan opened this issue May 16, 2019 · 13 comments

Comments

@DjSapsan
Copy link

DjSapsan commented May 16, 2019

Im tried to install WK from very beginning. It always was superbugged on all versions. Actually i had some problems with voobly too. Problem is that i have different paths. Lets me explain.

  1. I have 3 physical disks and 5 logical. Long time ago my AoE2HD and voobly was installed on first.
  2. After i reinstalled system few times and got 2 more disks. In that time installation of AoE2HD and voobly moved from one folder to another many times (i mean clean installation)
  3. About 1 year ago it was possible to play on voobly only with original version, but WK didnt work. HD version always worked fine.
  4. Now i trying to make fully clean installation but neither voobly nor WK installer cant work properly.

Problem with WK installer is following. Error
"There is no installation of Age2HD detected. It needs to be installed to run this converter." But i have installed AoE2HD. After proceeding to settings window there is "Install Directory" fields. This field is empty and i button with [...] doesnt work at all. Copy of path doesnt make button [Run] appear.
Before on "Install Directory" fields was written old path on my first disk. After i deleted old folder there is no more any path and i cant select any else.
Steam shows me correct installation folder. But neither voobly nor WK can find this path. Maybe something wrong with path itself - "X:\SteamLibrary\steamapps\common\Age2HD"?
Please, fix pathfinding in WK.
1
2

@DjSapsan
Copy link
Author

P.S. I fixed minor voobly issue. I can run game on voobly. But WK still cant find game

@DjSapsan
Copy link
Author

any answer?

@gregstein
Copy link
Collaborator

gregstein commented May 18, 2019

Compatibility Patch is the issue. Try to setup Voobly with AoE2Tools like this https://www.youtube.com/watch?v=Srhi14fjTkM

Only then the WK installer should work properly

@Jineapple
Copy link
Collaborator

The WK installer checks the registry for the steam installation directory. If it can't find the registry keys, it checks the folder the installer is placed in (so you should try placing it in the Age2HD directory). If it still doesn't find a game installation, it fails with the error you got.

If placing the converter in the Age2HD directory doesn't work, can you check a couple of things?

Can you check if HKEY_LOCAL_MACHINE\Software\WOW6432Node\Valve\Steam (64-bit)
or HKEY_LOCAL_MACHINE\Software\Valve\Steam (32-bit) exists in your registry and points to the right directory?

From the directory you've given, it sounds like your steam library is installed somewhere else than steam itself. The installer should be able to read this from steam files and identify the steam library directory, but it's possible that there's a bug here.

If this is the case, can you check that you have a /steamapps/libraryfolders.vdf file and that this file contains the "X:\SteamLibrary\steamapps" path and paste the contents here?

@DjSapsan
Copy link
Author

DjSapsan commented May 28, 2019 via email

@Jineapple
Copy link
Collaborator

I'm sorry to hear that. I've tried to make the installer as robust as possible, but it's hard to predict/test different installation configurations that people might have. Stuff like this mostly can only be fixed once there's reports of it that help isolate the problem.
I can understand the frustration of course. But if you find the time in the future to to try again and provide feedback on what does and doesn't work, maybe this can be fixed.

@gregstein
Copy link
Collaborator

gregstein commented May 29, 2019

@Jineapple Why don't you grab the installation path of steam through Steamworks just the way I have implemented through AoE2Tools?

I do not rely on registry to grab the game path because obviously the majority of users install their games on a different location.

In my WK Cloud Installer & Ao2Tools Cloud I grab the installation path natively using GetAppInstallDir I am not a c++ developer but here is a clue from my c# code:

https://github.com/gregstein/AoE2Tools/blob/9ae1a2c67659dd2a9ce622c6739a842bf7826978/Game%20Tweaker/bin/Debug/Steamworks.NET-StandaloneTest-master/Steamworks.NET-StandaloneTest/WK%20Cloud%20Installer.cs#L167-L184

@DjSapsan
Copy link
Author

@gregstein actually, after i describe my problem i have used your AoE2Tools to install WK properly and i could launch singleplayer game. But somehow it broke the voobly and i could not join/create any room because of different error. After i got this error i gave up because it doesnt worth efforts.

@gregstein
Copy link
Collaborator

Hello DjSapsan

Let me clarify a little something. I have had many users reporting issues related to AoE2Tools /Voobly/Game installation and not a single issue slipped away from me without providing a solid solution to it.

I noticed that you have been talking about errors but you have failed to be more specific.

Is it "Directdraw error", is it "Could not join" error, etc.?

AoE2Tools has never broken or changed the way voobly operates. AoE2Tools simply downloads Voobly client, silent install it and change gameroom settings. Technically that's not breaking functionality. You should probably be more specific how it broke Voobly so i can assist you further.

Also the manner you are addressing Jineapple and I, must be improved otherwise in the future we would just ignore your queries.

If you are struggling with something you could contact either one of us through Discord/Voobly/Reddit and we would resolve those issues for you.

Warm regards,

@DjSapsan
Copy link
Author

DjSapsan commented May 29, 2019 via email

@gregstein
Copy link
Collaborator

The fix for Directdraw error is integrated within AoE2Tools see resolved ticket gregstein/AoE2Tools#18

Go on feed me more issues and I will help you fix them one by one just provide me with the error exception.

@DjSapsan
Copy link
Author

DjSapsan commented May 29, 2019 via email

@gregstein
Copy link
Collaborator

You gave up way too early brother 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants