• PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Any idea how proton handles this for windows only games running on linux? Where is My Documents mapped to?

      • Javi@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        @PieMePlenty@lemmy.world I should clarify that was me pulling the path from memory. So might not be 100% accurate but it explains how the path works with proton/wine when using steam.

        Essentially WINE creates a windows styled directory, with all the core folders, and then the emulator uses this as it’s root directory.

        Documents is a great example. On Linux the document path is

        /home/<USER>/Documents.

        On windows it’s

        C:\users\<USER>\documents

        If we use the default wine settings, the path for the wine documents folder on Linux is

        /home/<USER>/.wine/drive_c/users/<USER>/documents

        Any program running in wine will only see the files from drive_c and down, emulating how a windows environment would work.

        Happy to answer any questions if that isn’t clear. Feel free to DM.