shkhln / linuxulator-steam-utils

Steam launcher for FreeBSD
MIT License
125 stars 12 forks source link

Registration proton 6.3 error #47

Closed steambsd closed 3 years ago

steambsd commented 3 years ago

Hi, Alex. I do your new instruction for proton 6.3, but then i try to register proton, i have error (I can't see emulators/wine-proton in Properties -> Compatibility (per game) or Settings -> Steam Play): $ /opt/steam-utils/bin/lsu-register-proton Traceback (most recent call last): 1: from /opt/steam-utils/bin/lsu-register-proton:47:in <main>' /opt/steam-utils/bin/lsu-register-proton:40:infind_steamapp_dir': undefined method `each' for nil:NilClass (NoMethodError)

shkhln commented 3 years ago

What are the contents of your ~/.steam/steam/steamapps/libraryfolders.vdf?

steambsd commented 3 years ago

$ cat ~/.steam/steam/steamapps/libraryfolders.vdf "libraryfolders" { "contentstatsid" "6675026380332854877" }

shkhln commented 3 years ago

Well, those keys are usually in CamelCase: LibraryFolders, ContentStatsID, etc.

shkhln commented 3 years ago

Should be fixed by b269e8bf9dc879b43c0701df03a854939533954f.

steambsd commented 3 years ago

Hmm, i found in file /opt/steam-utils/bin/lsu-register-proton (spin head)

 40   for key, value in JSON.parse("{#{vdf}}")['LibraryFolders']
 41     library_folders << value if key =~ /^\d+$/
 42   end

Thank you! I belive proton 6.3 better then 5.13 (i think about rockstar launcher)