-
Notifications
You must be signed in to change notification settings - Fork 72
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
Unable to locate STL collection config in default path #644
Comments
Skimming through the logs on the 2nd file, lines 166-168 indicate that the collection can't be found in both paths, so I guess STL is searching in both? But my collection is called Vortex, so I'm not sure why it's not "finding" it. |
sharedconfig.vdf: |
Hey there! I'm sorry, I'm not really sure what the issue is. Configuration data won't be stored in the SteamTinkerLaunch installation directory, it gets stored in I'm not sure what data is meant to get stored in the The only other thing I can think of is that the category is not named with the correct case maybe, but I'm not sure if that actually matters too much from skimming the code. Make sure it's named As for the issue you're having with your mod, that is likely a problem with the mod running on Linux. As far as I know, STL should not affect mod compatibility on Linux. Sorry but I can't give you much support on it. If you get any feedback on your open issue on the other repo, and it is something Linux specific that you think we have to fix, please leave a comment here and we can get it sorted. For your Collections issue, please give me a little more background as I'm just not sure what the problem is exactly 😅 Thank you! |
Ah! This was a very useful hint. I'm not sure exactly what's going wrong but it can't find the category config for Vortex for some reason (I guess it's looking for (Unrelated specifically to this issue, but I could see this causing problems with non-root installs in general (such as on desktop via ProtonUp-Qt), where STL might always point to the root folder on desktop even if there's nothing there. A failsafe to check elsewhere might be a good idea here. Small note to self on that one!) Hmm, I'll have to look into this, but I have a feeling that these lines you pointed out:
Are the problem. |
Also, with your first log, it looks like you're running SteamTinkerLaunch from the command line. The log looks fine there, I'm not sure what you are expecting to happen in that log. |
I don't use the Steam Collections feature (I have ~100 of my own collections, no need for extra clutter) but I think the Category isn't being fetched correctly from the Relevant code is here, the end is where the I believe parsed collection names are passed to the I'll do some testing and see if the parsing of the |
Hmm, I just did a quick test locally with this code, creating/copying the relevant files: SC="sharedconfig.vdf"
STLCOLLECTIONDIR="collections"
AID="489830"
if [ ! -f "$SC" ]; then
echo "sharedconfig not found"
else
echo "found sharedconfig"
while read -r SCAT; do
echo "scat is $SCAT"
SCATCONF="$STLCOLLECTIONDIR/$SCAT.conf"
if [ -f "$SCATCONF" ]; then
echo "found scatconf"
else
echo "no scatconf found"
fi
done <<< "$(sed -n "/\"$AID\"/,/}/p;" "$SC" | sed -n "/\"tags\"/,/}/p" | sed -n "/{/,/}/p" | grep -v '{\|}' | awk '{print $2}' | sed "s:\"::g")"
fi And this seems to correctly return Vortex found for the AppID. I'm not totally sure what the problem could be. Even in the log line before it searches for the files, STL correctly has the I'll keep digging. |
Might be a silly question but, does |
@Shadark I took a look at the issue you mentioned and though it should work with Vortex, you can probably emulate the steps the first reply outlined with SteamTinkerLaunch by doing the following:
These steps might work, I haven't used that mod and you might need to do other tinkering steps, but that might work. Although I would say it would be more straightforward to use Vortex. Also, as for loading that mod as a Non-Steam Game, modding Non-Steam Games is not supported by SteamTinkerLaunch. |
@Shadark Another idea I just had, maybe you need to restart Steam before the |
Yeah, it does. I'll add that in some of my previous tries trying to get STR to work, I followed the advice of a person that I found online that did manage to get STR working on the SD using STL. They told me that because of (apparent) capitalization, they made a symbolic link from Vortex.conf to VORTEX.conf, but I'm guessing with the current code that it wouldn't be needed.
I've also restarted the SD multiple times and it didn't seem to work. As we established from the logs, it seems that vanilla Skyrim isn't being loaded through the Vortex collection. I'll add that, yesterday, I ran "steamtinkerlaunch vortex games" and neither Skyrim nor STR (I think it didn't appear there, in fact) had the "Vortex Steam Collection" column set to "Yes" (not sure if relevant, but Skyrim with id 489830 also didn't had a Game Title in there). Is there anything else that I could try to check to see if, at least, collections could be working properly so I can try to narrow down the issue a bit? In any case, again, thanks for your help and feel free to comment on whatever else you could need! |
STR is not going to show up because it is not a Steam game. STL cannot and does not offer support for Non-Steam Games, you're very much on your own with getting mods to work. But the broad issue of the collection not working is a problem. Just so you know too, you do not need to use Steam Collections to use Vortex with your game. But this is a problem and I'd like to look into fixing it, so thanks for bringing it to my attention either way :-) No leads yet on what's causing it. So in short you should be able to use Vortex with STL just not using the collections feature if you need your mod to work right now. Since the capitalisation symlink thing worked for another user, you could try creating that symlink and seeing if it works for you. That would be strange but I guess in that case. It really seems like STL just isn't reading the folder with the categories correctly and I'll need to look into why. Maybe it's a thing specific to Steam Deck that I'll need to test on Deck to try and debug (I don't use mods on my Deck as a rule so I can't test Vortex specifically but I'll try some of the other collections options). Interestingly, the So no leads yet, but hopefully I'll figure it out soon :-) |
So I added a couple of games to a new Steam Collection, and that collection isn't showing up in my My |
Okay that was really strange. I removed my game from the Steam Collection, added it again, and now it shows up in the Can you try removing your game and adding it to the Collection again? This seems like a weird Steam bug, but I successfully got this after removing and re-adding my game to the Vortex collection:
There is some extra detail in the logs that I'll push up in a bit. Initially this didn't show up, it was as if my game was not in any collections. Your |
Hello again! I'll try to respond in order to some of the questions/follow ups you mentioned:
I know, honestly I'm finding more help that I imagined considering the scope of my own issues, so I'm grateful for that. For this part, I was referring more to the fact that vanilla Skyrim didn't have the "Collection" column set to yes, in case it was relevant.
If I recall correctly, they mentioned that they did the symlink just to get the collection working (I'm guessing initially?) but that afterwards the symlink wasn't there anymore but everything seemed to be working fine, so I can't know if originally the symlink did, indeed, work.
Correct, changing the user ID of course, but that's where I found the sharedconfig.vdf file.
I've removed and readded Skyrim Special Edition to the Vortex collection twice, once adding it via drag&drop and another adding it via menu. Both times it appears on the sharedconfig.vdf file as being in the Vortex collection, but steamtinkerlaunch.log still doesn't find any collection when I try to launch the game:
|
A bit unrelated but I guess I could maybe solve my original STR issue with this, or at least dive a bit deeper: Currently I only have vanilla Skyrim + some mods installed with Vortex. I'm able to launch Skyrim Script Extender (SKSE) from the executable already configured in Vortex. So what I'm doing is:
However, I'm not sure about the procedure to launch SKSE from "outside" Vortex but preserving the modlist. I've tried by activating Skyrim STL Vortex options, but as far as I see that only opens a GUI asking me if I want to load Vortex. If I don't do anything, SKSE -> Skyrim load, but without mods loaded. Also, vanilla Skryim being or not in the "Vortex" collection doesn't seem to do anything, either. Edit: Just to confirm (in case this is a bigger issue than the collection not working: are we supposed to get a Vortex modlist working from outside Vortex? As in, opening Skyrim (without opening Vortex UI) and loading the preconfigured Vortex modpack. I thought yes, but I can't seem to get it working no matter what I configure in the Skyrim STL config. Any insights about this? Thanks again! |
@Shadark sorry, I'm not sure why your comment was marked as off-topic and I personally don't see it as off-topic per-se.
I don't have a definite answer to this regarding Vortex, but with MO2 you aren't intended to be able to launch a game modded outside of MO2. It uses a virtual filesystem to store and load mods when you run your game from MO2. However
From my understanding, this is not intended, on Windows or Linux. I believe mods should only be enabled when you launch a game from the Vortex UI just like on Windows. I am fairly certain you cannot load a modded game outside of your mod manager, but this may not be the case with Vortex. If this is the case on Windows, but doesn't work with STL, I would say this means it doesn't work on Linux and isn't an STL-specific issue. Either way, I think it's a good idea to raise it in #555. I don't use Vortex but to my understanding you aren't expected to be able to load mods if you don't run your game from Vortex mod manager. |
This is really strange, this behaviour suggests to me that STL isn't seeing your categories for your game. Though it is finding the sharedconfig, it's like it doesn't see any categories under that AppID. Could you please attach a full log again? The blank It's really strange because I can't reproduce this on my PC or my Steam Deck (I added a random game to a brand new Vortex collection and it was able to see all my collections that the game was in, including the Vortex one which it was able to load the settings for). You could try renaming your Sorry this is taking so long for what might seem like a very straightforward issue to fix - I'm trying my best to try and reproduce it but failing - Though in testing I did notice an issue with tags that have spaces, it seems to not detect those properly so I'll try fix that at some point too :-) Something has come out of this issue so far at least heh |
Hey @Shadark I really don't expect this to make any difference, but I did just push an update to slightly change how STL matches collection names. Just pinging because there's a chance it could help. Thanks again for the patience on troubleshooting this 👍 Even if we didn't get much of a resolution for your modding problem just yet, hopefully we can figure out what's causing this and maybe save other users that are having the same problem. Another question that actually just occured to me as well, is that your full I'm doing some other tests to try and reproduce the problem on Desktop and Steam Deck, so I'm just trying to get a better sense of how best to try and replicate the problem. Something else you could try is deleting So to summarize all of my previous suggestions:
If we still don't have any luck we'll take it from there. I also just tried launching a brand new game that wasn't in any collection, and STL as expected returned I triple checked the formatting of your attached There's no rush for a reply, take your time debugging (or playing if you got it working in the end 😄) but in the meantime I will keep thinking and testing where I can to try and get to the bottom of this. |
I did that myself because I thought it could derail this precise issue since it was more a side-product of my own issues with STR+Vortex and not a Collections issue 😅
My GF and I are "sharing" the Deck, so all the other games are being installed in my profile, and my own sharedconfig.vdf is the one with 99% of the games installed in the Deck. Since I'm testing Skyrim issues on her account, that's the only game that I really installed from her profile. Not sure if relevant, but at least seems to be a possible source of differences between your setup and mine.
Did that in order (deleted all logs, created fresh log, renamed .vdf config, launched Skyrim inside newly created Vortex collection), same issue: |
Ah okay phew! I thought maybe there had been some kind of mistake. No worries then and sorry for unhiding it heh
Ahhhhh, as far as I know SteamTinkerLaunch hasn't been tested at all with multiple accounts on one device (I believe there's a comment about this in the code, too). It's possible that this is causing confusion, SteamTinkerLaunch might not be selecting the right User ID and so possibly reading the wrong sharedconfig. As a test, you could add Skyrim to a "Vortex" collection (or any other collection tbh) and then see if STL is finding any collections in the logs. This isn't to say you're doing anything wrong, but as far as I've seen in the last almost 1 year, no users have tested SteamTinkerLaunch with shared accounts, so there could be issues with how SteamTinkerLaunch gets the user ID for the userdata folder. That's just a guess though, and users with a usecase like yours are what will help us find (and, with some luck, fix) bugs like this. Haven't checked your log yet but I'll read through it soon (just got off work), thanks for testing again! Much appreciated 👍 |
Just looked through your logs, nothing out of the ordinary there. Could you go to If this is the case, SteamTinkerLaunch is checking in This is just speculation based on my limited understanding of how multiple Steam accounts on one install behave, sorry if this is wrong or if you already did check the correct folder 😅 Though it would still be interesting to see if you added Skyrim (or any game used with STL) to a "Vortex" collection on the other profile, would STL see the collections. There's something else I'd like you to try but it might be easier with a keyboard attached. Basically, I would like you, from Dolphin (the default Steam Deck file explorer), to go to
This command is what STL uses to parse each category name under the relevant AppID section in the Since it's bad form to just give commands and ask users to run them, I'll try to explain from my own (admittedly limited) understanding what this command actually does. At a high level, This should basically return all matches categories for the AppID. On my Steam Deck, PC and laptop, it returns my Skyrim SE collections each on a new line, like:
Since STL's output seems to not be seeing any categories for Skyrim, the output here should probably be blank for you. But if it does actually return "Vortex" (or any other categories that the game is in), that would be interesting. Basically the idea here is to emulate STL's fetching of the categories. There's no pressure to do this, I totally get not wanting to just run commands willy-nilly, but it would be interesting to see! If you do indeed have two of those User ID folders, it would be very interesting for you to run that command on both. You can run the exact same command on any sharedconfig as long as the folder you're running the command from has the sharedconfig, and you can replace Skyrim's AppID with any AppID in the sharedconfig to see if it fetches the correct collections for other games. A side note: If you and your GF are both using STL to play games, STL doesn't store game configs on a per-user basis. So if you've configured a game with SteamTinkerLaunch, and your GF tries to play that same game with SteamTinkerLaunch, it will load your configuration. Or at least that would be the expected behaviour. This scenario is pretty much entirely untested to my knowledge so there's not any known caveats really. Thanks! Hopefully we can yield something from this issue yet 🤞 |
@Shadark Has there been any more updates with this issue? 🙂 |
Sorry, been out of town for a while! I'll try to check this week and post the results. Thanks for checking! |
No worries, thanks for the ping back :-) Take your time! |
Hey @Shadark, just a courtesy warning that I'll probably be taking a short break soon. There is still no rush but feel free to submit any logs or other things you come across in testing. Thanks :-) |
Closing due to lack of response -- Please feel free to re-open if you have issues with this again :-) |
System Information
Issue Description
Honestly I'm not sure if this is an issue on my side at all or just some misinformation, or something wrong with the wiki, in any case:
As the project wiki indicates, "Collection Configuration Files are searched in the User Configurations STLCOLLECTIONDIR (STLCFGDIR/collections) or in the system-wide dir GLOBALCOLLECTIONDIR (SYSTEMSTLCFGDIR/collections)".
And, also as the documentation says, STLCFGDIR should be, by default, $HOME/.config/steamtinkerlaunch (or XDG_CONFIG_HOME/steamtinkerlaunch if XDG_CONFIG_HOME is set).
However, when launching STL installation, both manually or from ProtonUp-Qt, STL gets installed to $HOME/stl. And, inside $HOME/stl/prefix/collections there are multiple .conf files for all the Collections. But, in $HOME/.config/steamtinkerlaunch/collections, the folder is empty.
I'm able to launch Skyrim from the collection. When launching with no compat mode, only the Skyrim launcher opens. When using STL compat mode, STL GUI opens before launching the game, but I can't see no mention of Vortex being launched even with vanilla Skyrim is in the "Vortex" collection.
I guess this could be a non-issue but I am having some other problems (that I'm not sure if they're entirely STL-related, so that's why I'm not posting an issue for that) with installing Skyrim Together Reborn (STR) + mods on the Steam Deck and I got to the point where I'm able to launch Skyrim + mods from Vortex or MO2 without any issue, but I can't launch STR executable with mods (on Vortex, MO2 crashes with this error). As I said, I'm not sure if these issues are STL-related, but at least I would like to make sure if my collections are working (since I've added STR as a non-Steam game in my Vortex collection, but it's not loading Vortex config apparently).
In any case, any help is more than welcome, and feel free to close this issue if this is outside the scope of the project. Thanks in advance!
Logs
steamtinkerlaunch.log "vanilla", without opening Skyrim
steamtinkerlaunch.log after opening Skyrim
The text was updated successfully, but these errors were encountered: