-
Notifications
You must be signed in to change notification settings - Fork 3
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
Patcher sometimes stuck in finding Steam Library #14
Comments
The log file seemed pretty sparse, so hopefully it helps. If there's anything else I can do to capture more data, please let me know. |
Hi @FitzTack Thanks for the update! Hm indeed. In my hubris to not retain as much user info as possible it seems I've removed most useful calls and put them likely on a debug. I'll get a new version out asap and we can go from there! :) In the meantime, a possible fix would be to do the following.
It is important to place the path to the .exe within the double quotes, and don't forget the comma after the closing quotation ark This should, for now, fix it, as once it's saved, it will use that stored path instead of trying to find it. |
It seems like my copy of C:\Users------\AppData\Local\r0fld4nc3\Apps\Stellaris\ChecksumPatcher\stellaris-checksum-patcher-settings.json only contains the following:
I deleted this and tried again, each time with 1.1.0-pre recreating the same settings file. I rolled back 1.0.6, and it contains the following:
When I fill the variable with my install location, including the comma after the closing quotation like you instructed, it looks like this:
When I try to run the executable now, either 1.0.6 or 1.1.0-pre, I get the following Java crash output: The character position referenced is the first backslash following my drive letter designation within "install-location". I have attached the log generated by the patcher during this attempt: EDIT: Strangely enough, even though I had deleted the application and its files and allowed them to regenerate multiple times, this time it worked. I had to escape all of the backslashes, but it ran without a hitch. I hope this intermittent behavior isn't the result of my installation environment, but hopefully some good comes from this data. |
Ahhh the backslash escape sequence, that's the one that broke it. And yes that was the best course to let it auto generate, so at least there's a starting base for it. I'll look at improving that as well, and not, the whole weirdness of the behaviour isn't something on your end, it isn't the first time someone has gotten stuck in the process of finding the steam library, which I find odd because I cannot replicate at all. Thanks for the effort and hopefully it is working now (semi)! |
Just to be clear to anyone reading this who may not know, escaping backslashes is done by adding an additional backslash in front of every backslash. So it would look like this: |
Heyo, Had this same issue, managed to get it to work eventually. Was trying to run it from Downloads folder but it just wouldn't work. Ended up deleting the log and settings.json files. I moved the patcher to the Stellaris install folder and ran it to generate the settings.json file, then opened the settings.json and added the "install-dir" and "save-games-dir" paths manually with escaping backslashes as explained above (thanks btw, I had no idea). Then I opened the exe and hit patch executable and it worked. Hope this helps. |
Hey @Aqu4tic2, Thanks for the update! I believe it could've been Windows being Windows not letting it run from the Downloads folder as I can run mine from there without issue, or the Desktop for that matter. Ideally you place it somewhere easily accessible so you don't have to manually go to the game folder every time. I hope once I fix it, it won't be so clunky! But I am glad it also now worked for you! |
I'm still having issues getting this to work. It just hangs. [2024-06-06 10:47:21] [INFO]: Checking for Stellaris Checksum Patcher update... I edited my JSON file to look like: { I have the patcher .exe in the Stellaris folder. Tried running it from there and from my downloads folder. Same deal where it hangs. Also tried it without editing the JSON file and it did the same thing. |
Can you share the contents of your |
Not much to go on... [2024-06-06 10:47:21] [INFO]: Debug: False [2024-06-06 10:49:36] [INFO]: Quitting Application. |
Heya @madagent sorry for the troubles.
Above is how you have it, simply remove the stellaris.exe from there so it looks like
If it still doesn't work properly, write the In the end it ought to look something like
You may copy paste it into your own json file. If it still doesn't work I really want to make this process better so this issue doesn't occur as frequently but haven't yet been able to tackle the way it finds the installation path and steam path so apologies for taking longer on that front. I'm working on reworking/refactoring it, it's a priority. |
That made it work. I had to remove the stellaris.exe to get it to work. My JSON file looked like below for anyone else needing help: { I went to look at the JSON after the patcher worked and the file was updated and looked like: { |
Perfect! Thank you for updating us on the matter! |
Anyway, I got the same problem, but I fix it with escaping backslashes. { |
我是这样做的 github的留言框里需要按照正则表达式的方式打出4个【\】才能显示为【\\】 C:\Users\【user name】\AppData\Local\r0fld4nc3\Apps\Stellaris\ChecksumPatcher\stellaris-checksum-patcher-settings.json { |
Patcher sometimes gets stuck in trying to find the Steam Library. Unsure what is causing it. Need more reports.
Please provide me with a screenshot of the text in the programme as well as your log file.
It can be located in:
%localappdata%\r0fld4nc3\Apps\Stellaris\ChecksumPatcher
and is calledStellarisChecksumPatcherLog.txt
If you prefer just erase/write over any more personal information such as usernames and such, but I would need to see what it's trying to do.
The text was updated successfully, but these errors were encountered: