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

fresh install #25

Open
KraftAffix opened this issue Jul 29, 2023 · 9 comments
Open

fresh install #25

KraftAffix opened this issue Jul 29, 2023 · 9 comments

Comments

@KraftAffix
Copy link

image

@LemmusLemmus
Copy link
Owner

Does the folder %appdata%\GlosSI (i.e. C:\Users\<your-username>\AppData\Roaming\GlosSI) exist? And does it contain a Targets folder?

@KraftAffix
Copy link
Author

Does the folder %appdata%\GlosSI (i.e. C:\Users\<your-username>\AppData\Roaming\GlosSI) exist? And does it contain a Targets folder?

theres no folder named GlosSI in my %appdata%\GlosSI

@LemmusLemmus
Copy link
Owner

Does %appdata%\GlosSI not exist? Try launching GlosSIConfig.exe once (no need to do anything there, you can simply close it afterwards) and the folders should be created. Does this solve the problem?

@KraftAffix
Copy link
Author

KraftAffix commented Aug 2, 2023

Does %appdata%\GlosSI not exist? Try launching GlosSIConfig.exe once (no need to do anything there, you can simply close it afterwards) and the folders should be created. Does this solve the problem?

Where is this located? I can only find config.json and DefaultTarget.json in the extensions data folder
(C:\Users\<username>\AppData\Roaming\Playnite\ExtensionsData\6b0297da-75e5-4330-bb2d-b64bff22c315)

@LemmusLemmus
Copy link
Owner

It should be located where you installed/downloaded GlosSI.

@LucasBrunton
Copy link

I just wanted to put out there my experience as I had the same issue come up. Where the %AppData%\GlosSi Folder was not created and hence no Targets folder in it and was getting this error.

I Installed both Playnite and GlosSi through Chocolatey

When Installed this way GlosSi did not get shortcuts anywhere so I had to go digging. At the time of writing this post Chocolatey installs GlosSi to %ProgramData%\chocolatey\lib\glossi\tools and puts shims in %ProgramData%\chocolatey\bin, and I needed to manually add the GlosSiTarget.exe to Steam as an Non-Steam Game/App and run the GLosSiConfig.exe once to get the %AppData%\GlosSi folder created.

None of this is really an issue or even something that this integration should really need to address. Though maybe we could add the Run GlosSiConfig.exe and make sure %AppData%\GlosSi and %AppData%\GlosSi\Targets exist on a windows machine.

TLDR;
Running the %ProgramData%\chocolatey\bin\GlosSiConfig.exe created the %AppData%\GlosSi and resolved the error for me.

Installed Playnite and GlosSi through Chocolatey.
GlosSi shims are located at %ProgramData%\chocolatey\bin (more info on shims)
GlosSi actual binaries are located at %ProgramData%\chocolatey\lib\glossi\tools (shims should be all that's necessary)

@LemmusLemmus
Copy link
Owner

If the %appdata%\GlosSI folder is missing, the extension should probably be able to simply create the folder and everything should hopefully work. To make the startup process less painful, I should also fix #20. This should be easy enough.

More problematic is the fact that the extension does not know where GlosSI is located. Currently the extension just checks, IIRC, the directories Program Files\GlosSI and Program Files (x86)\GlosSI. I should definitely improve this.

Thanks for providing useful info about GlosSI with Chocolatey! I'll be sure to update the extension to automatically find that path as well.

@LemmusLemmus
Copy link
Owner

@LucasBrunton BTW, is the Chocolatey version of GlosSI not outdated, or has it been updated?

@LucasBrunton
Copy link

You know, I didn't even think about the version of GlosSi in chocolatey. That's one of the things I hate about chocolatey everything is always out of date... Just checked looks like it's currently at version 0.0.8.1. So guess I'll be switching.

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