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

How to download shader repos? Shader download stays at 0% #430

Closed
humanplayer2 opened this issue Mar 23, 2022 · 5 comments
Closed

How to download shader repos? Shader download stays at 0% #430

humanplayer2 opened this issue Mar 23, 2022 · 5 comments

Comments

@humanplayer2
Copy link

humanplayer2 commented Mar 23, 2022

I'm sorry if this issue is just me fundamentally misunderstanding the GUI. I'm on steamtinkerlaunch-v9.3.20220306.

The issue:
In the main menu, when I click Shader repos, two popups open: One where I can select repos, and a download progress bar. If I do nothing, the progress bar doesn't move. If I deselect all but one repo (I tried SweetFX and OtisFX) and press Select, both windows close, and I'm back at the main menu. When I then click Game shaders, the repo I just selected does not show (it continues to show four options: dh-reshade-shaders, astrayfx, brimson and depth3d).

How do I make more shaders available for selection?

@zany130
Copy link
Collaborator

zany130 commented Mar 24, 2022

may be related to the issue I opened #429 I was also having issues with the shader download option though for me the issue is selecting any repo causes the reshade repo to be ignored. Workaround is don't use the shader repo option that way it will just download everything and then on the shader installer select the shaders you want to use

@frostworx
Copy link
Collaborator

@humanplayer2
the "download progress bar" window can be ignored/closed when opening the Shader repos window.
It is some leftover of a function rewrite which I didn't fix.

Selecting repos here does nothing else than creating the download/block lists (see ~/.config/steamtinkerlaunch/downloads/shaders/) and you get back to the main menu as you've correctly written (might be worth to check if I also added a download here as it would make sense, but I currently consider freezing the whole project. either way selected repos are downloaded anyway when they are not available, so this is not urgently required here)

Selecting "Game Shaders" option in the main menu only has an effect, when you have a "current game", so usually when you started a game through steamtinkerlaunch through steam. If you start the settings using steamtinkerlaunch settings the last game started is used as "current game" (but if there is no last game the "Game Shaders" menu doesn't work)

Assuming you have a game here, all selected repos (plus the reshade-shaders repo, which is required by most repos) are downloaded to ~/.config/steamtinkerlaunch/downloads/shaders and then all their shaders and textures are symlinked into the current game directory within subdirectories in an autocreated reshade-shaders directory.
All symlinks of deselected repos in the "Game Shaders" are removed from that directory.
btw the "Game Shaders" menu can be opened any time while a game is running using the steamtinkerlaunch trayicon menu.

Just tested it again, and it still works the same as I left it after the major rewrite.

@zany130
Copy link
Collaborator

zany130 commented Mar 25, 2022

one way to fix this and prevent user confusion might be to just get rid of the shader download option all together and just have all shader repos downloaded by default then the user can specify what shaders they want installed to the game with the game shader option. all the different descriptions for the shaders can then be moved from the shader download menu into the game shaders menu.

As of right now, I'm still able to reproduce my issue by using the shader download option and specifying what shaders I want. Plus it could be confusing to users having both options and redundant. I wouldn't mind looking into doing a pull request (if this is something everyone agrees would be benifital) for this when I have time won't be this weekend though most likely

@frostworx
Copy link
Collaborator

#431

@frostworx
Copy link
Collaborator

just checked for the useless "Shader download" window appearing when opening the repos window,
and the reason is simply that this line

StatusWindow "$GUI_DLSHADER" "dlShaders $3" "DownloadShadersStatus"

here

is also used when opening the repos window.

A proper fix just landed

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