alpharmi / wuthering.app

In-development site for Wuthering Waves.
https://wuthering.app
GNU General Public License v3.0
38 stars 6 forks source link

Incorrectly finds path if the folder "Wuthering Waves" is on a different drive to "Wuthering Waves Game" #1

Closed EllaElla1 closed 4 months ago

EllaElla1 commented 4 months ago

Found that when it tried to find my folder, it correctly found the location that the launcher was installed to at D:\Wuthering Waves (and so did not ask me for the game install path), but then failed to find the file, as my "Wuthering Waves Game" folder was in a different drive and buried in other folders.

image

alpharmi commented 4 months ago

It should prompt you to ask for a directory now. Let me know how it goes.

Miguelcmps commented 4 months ago

It should prompt you to ask for a directory now. Let me know how it goes.

Well, on my end (also have 2 disk set up), the Gach Url is never found even thought the path was.

image

alpharmi commented 4 months ago

@Miguelcmps Do you mind taking a screenshot of within "Wuthering Waves Game" folder if possible?

Miguelcmps commented 4 months ago

@Miguelcmps Do you mind taking a screenshot of within "Wuthering Waves Game" folder if possible?

image

I tested several ways to type the location on banners which I had history and same error

edit: @alpharmi

alpharmi commented 4 months ago

I don't see why it wouldn't be finding the log file. Can you check that you can reach this directory and that debug.log exists? Install Folder\Wuthering Waves Game\Client\Binaries\Win64\ThirdParty\KrPcSdk_Global\KRSDKRes\KRSDKWebView I also assume you've double checked and actually open the log in game.

If all else doesn't work I've recently added a second method to the site that lets u just upload the file if you'd like to try that instead.

If possible, let me know what you find, thanks for helping.

@Miguelcmps

Miguelcmps commented 4 months ago

I don't see why it wouldn't be finding the log file. Can you check that you can reach this directory and that debug.log exists? Install Folder\Wuthering Waves Game\Client\Binaries\Win64\ThirdParty\KrPcSdk_Global\KRSDKRes\KRSDKWebView I also assume you've double checked and actually open the log in game.

If all else doesn't work I've recently added a second method to the site that lets u just upload the file if you'd like to try that instead.

If possible, let me know what you find, thanks for helping.

@Miguelcmps

The only thing I didnt do was restart the game. I'll try that as well.

EllaElla1 commented 4 months ago

It should prompt you to ask for a directory now. Let me know how it goes.

image

It now prompts me correctly, but then cant find the folder as my "Wuthering Waves Game" folder isn't in a folder called "Wuthering Waves", just a generic seperate folder, so then it doesnt detect that the folder is correct, and so it doesn't update $gamePath, but then carries on anyway

alpharmi commented 4 months ago

@EllaElla1 It's quite difficult for me to find the game installation cause unfortunately Wuthering Waves doesn't output somewhere where the game is located so I have to find it manually. There's not much more I can do it automatically find your installation sorry unless I add a complete direct path option or you can just use method 2 which I've recently added to the website that lets you upload the debug.log directly.

Miguelcmps commented 4 months ago

@alpharmi Hey.

In a fresh restart, I looked for a generic path and the literal directory of debug.log (which exists and is updated, as you can see the history open in the back of the screenshot). None were able to find the document.

The second method is working perfectly, thank you!

image

Let me know if I can help with.

edit: Since the data is stored on the browser, maybe the user could paste the location to debug.log, and you generate a PowerShell command that grabs it? I am bellow junior so sorry if it was a bad suggestion.

alpharmi commented 4 months ago

@Miguelcmps

I should probably work on it to avoid as much human error as possible like searching the entire directory you provide. Currently I'm just adding the log directory on top of the directory you provide. image So it's reading your directory like F:\Games\Wuthering Waves Game\Wuthering Waves Game\Client\... So I'm assuming you have an additional "Wuthering Waves Game" folder within the other?

Cause mine looks something like so: image

edit: Since the data is stored on the browser, maybe the user could paste the location to debug.log, and you generate a PowerShell command that grabs it? I am bellow junior so sorry if it was a bad suggestion.

The debug.log includes queries I need to call a different API, the actual site it brings up or the endpoint in the debug.log is quite useless.

Also I appreciate your support alot, thank you.

Miguelcmps commented 4 months ago

@alpharmi Well, whatever you do/choose to do, I am happy with method 2. I am aware that I am not the average user though. This is my full path: F:\Games\Wuthering Waves Game

image

alpharmi commented 4 months ago

@Miguelcmps

I've some changes, it should fix your problem with method 1. Let me know how it goes.

Miguelcmps commented 4 months ago

@alpharmi

It's working. image

(Please don't remove method 2, it's more pratical for me)

If you need anything else let me know.

alpharmi commented 4 months ago

@Miguelcmps

I wont be removing method 2 don't worry. Thanks for your help once again.

EllaElla1 commented 4 months ago

I've some changes, it should fix your problem with method 1. Let me know how it goes.

This has actually fixed my problem too! Now if i set the path as \Wuthering Waves Game it realises that I did give it the correct path and then goes on to correctly find the file

Thanks for your help!

alpharmi commented 4 months ago

@Miguelcmps @EllaElla1 Thank you both once again

BestClaws commented 3 months ago

I have a suggestion to reliably find the path image This could be an alternative method. but the only down side is, this requires script to run in elevated powershell as the game runs with elevated priviliges aswell to report the path or it's going to be empty.