    Copyright 2014,2015 by Thomas Schmidt (PsyBlade)
    Licensed under GPL-3.0-or-later

    This file is part of sfs-select.

    sfs-select is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    sfs-select is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with sfs-select.  If not, see <https://www.gnu.org/licenses/>.


How to edit the files manually instead of having sfs-select do it for you:


1 close steam (!)
2 find the file Steam/config/config.vdf
3 make a backup of it
4 edit it in you favorite texteditor
5 start steam up again



to edit config.vdf find a section in it looking like this:
        "AuthorizedDevice"
        {
                "12345678"
                {
                        "timeused"              "1399063892"
                        "description"           "my-pc"
                        "tokenid"               "-1234567890123456789"
                }
                "87654321"
                {
                        "timeused"              "1400276039"
                        "description"           "my-pc"
                        "tokenid"               "-9876543210987654321"
                }
        }
it's probably near the bottom

each of the sections starting with e.g. "12345678" represent one friend who has authorized your PC
the number is the steam account number of that friend

in the example above two friends have autorized that PC, 12345678 and 87654321
in adition friend 12345678 has priority over friend 87654321
i.e. games that both of them own in EXACTLY the same "edition" (steam "sub" more exactly) get listed under 12345678
(for different editions of the same game see readme.txt)



you can make steam temporarily forget about an authorization by completely removing the respective section:
        "AuthorizedDevice"
        {
                "87654321"
                {
                        "timeused"              "1400276039"
                        "description"           "my-pc"
                        "tokenid"               "-9876543210987654321"
                }
        }
for example would only list games from friend 87654321

to show 12345678's games again copy his section from the backup



you can change the priority by changing the sections order
        "AuthorizedDevice"
        {
                "87654321"
                {
                        "timeused"              "1400276039"
                        "description"           "my-pc"
                        "tokenid"               "-9876543210987654321"
                }
                "12345678"
                {
                        "timeused"              "1399063892"
                        "description"           "my-pc"
                        "tokenid"               "-1234567890123456789"
                }
        }
would show editions they both own under 87654321 instead
