This is a folder showing my games installed via proton. There has to be a better naming convention than this, surely? Why did Valve make it a random string of numbers instead of something like taking the game/application title with a number on the end like “NameOfGame_01”? If a folder is already detected with the same name when installing something then it can just be “NameOfGame_02”

I understand the reason for having a unique named folder to avoid any conflicts but damn, random numbered folders makes it so much harder to find the install paths for non steam games. Valves method seems simple but annoying for the end user IMO.

https://preview.redd.it/g4m4c6jqvo2c1.png?width=1449&format=png&auto=webp&s=aea9795ccac5152f69862d943b6779ae30ac4241

  • forbiddenlake@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    Naming things is hard, and text on computers is fraught with peril. Numbers are safe.

    What if you have a game named Русская локализация? Would that help you? Or \ or COM1, would that even work on Windows (nope)? Or two games named Farming Simulator? How do you disambiguate?

    The number is the store ID, which is not unique to Proton and has been used by Steam forever.

    • sad-goldfish@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      While I get what you’re saying, steamapps/common already has a similar directory structure (a folder for each game) with names like Robocop Rogue City, Red Dead Redemption 2 and Proton BattlEye Runtime so it seems like they probably already have unique names.

  • whosdr@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    If I knew where to make suggestions for Steam, I’d request a by-name directory containing the canonical name (as it appears on the Steam Interface) as a symlink.

    e.g.

    compatdata/by-name/Starfield -> compatdata/1716740

    • alterNERDtive@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Hell, I’m wondering if I can write a script to generate it. I need to figure out how to resolve id->name but after that it should be easy.

      You could go through protontricks -l or through the appmanifest files in $library/steamapps; you can get all configured libraries from ~/.steam/root/steamapps/libraryfolders.vdf.

  • abotelho-cbn@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    IDs like this always work. They’re universal, and any other property of a game can change and the directory remains the same.

  • bongbrownies@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Somebody already gave you the why, but for finding these folders, protontricks can work great. Open protontricks after having installed and opened the game, click on the default prefix, then browse folder (or something like that) I use it all the time to save me time. You could also put a description on the folder to identify it in future.