I hope this is the correct community for technical issues. If not, tell me where should I go the next time.

IDK if that’s an installation error on my end or Heroic can’t download them into AppData, but there’s no Portraits folder, meaning every character has a placeholder

I’ve already had to switch save directory from ~/Games/Heroic/Prefixes/default/Pathfinder…/pfx/drive_c/… to ~/Games/Heroic/Prefixes/default/Pathfinder…/drive_c./…

Using Wine GE 8-26 on Ubuntu 24.04

I’d be grateful for a fix or a zipped portraits folder

  • tal
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    16 hours ago

    Assuming that this is the game in question:

    https://steamdb.info/app/640820/

    It looks like it has a Linux-native build, which is probably what you are using. Anything under pfx/drive_c is used by Proton, Valve’s WINE build used for running Windows binaries. You can force use of a game’s Windows binary under Proton rather than the Linux-native binary, in which case all of the Windows file paths for game-modifiable stuff will be in a game-specific directory under:

    ~/.steam/steam/steamapps/compatdata/<Steam AppID>/pfx/drive_c/<Windows path>
    

    There can also be game data files in ~/.steam/steam/steamapps/common/<game name>. I believe that that’s just intended for stuff that Steam writes, not stuff that the game might modify.

    If the above-linked game is the one you’re talking about, then its AppID is “640820”.

    The path below that will be the same as for the Windows version of the game; just won’t have a “C:\\” prefix, but the “…/drive_c” prefix.

    But if you’re using the Linux-native build, which I’d guess is most-likely the case, then a game technically could be storing it wherever. It’ll most-likely be under ~/.local (or ~/.config, though that’s not really intended for binary game data) somewhere. Can do:

    $ find ~/.local | grep Portraits
    

    And it’ll list paths containing “Portraits”.

    kagis

    https://old.reddit.com/r/Pathfinder_Kingmaker/comments/mki0sa/portraits_on_linux/

    This guy has:

    ~/.config/unity3d/Owlcat Games/Pathfinder Kingmaker/Portraits/ 
    
    • Gutek8134@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 hours ago

      I don’t think EGS, where I have the game, supports Linux native builds, given they don’t even have Linux version of their launcher

      • tal
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        14 hours ago

        I mean, Steam has it flagged as having Linux-native support. Normally, on a Linux system, if there’s a Linux-native binary, Steam will use that, not the Windows version.

        …oh, wait. I did assume that you were running it via Steam, and you didn’t actually specify. Are you starting it from something else? Like, did you get it from GOG? Epic Games? Someone other than Steam?

        EDIT: Ah, EGS is Epic Games. Okay, I’ve never used their store, have no idea how they set this up. Let me try taking a look.

        EDIT2: Based on their store page for the game, they only provide Mac and Windows binaries, so, yeah, it’s probably running a Windows binary.

        EDIT3: Okay, I’m assuming that this:

        https://heroicgameslauncher.com/_next/static/images/heroic_install-eb9d446009e809a8d91cfa31213e27d4.webp

        Is showing the default install path for games that Heroic installs, which looks like it’s under ~/Games/Heroic. Sorry, you did mention that in your post, couldn’t figure out what you were talking about. So if this uses the same convention that Steam does, then it’s probably gonna be that the WINE prefix is the “pfx” directory in there.

        https://old.reddit.com/r/SteamDeck/comments/v58ju3/how_to_find_my_local_saves_made_through_heroic/

        Turned out with the default prefix heroic was saving my games in /home/deck/Games/Heroic/Prefixes/The Witcher 3 Wild Hunt/pfx/drive_c/users/steamuser/Documents/The Witcher 3/gamesaves/

        So the “pfx” will be the WINE prefix.

        On Windows:

        https://steamcommunity.com/app/640820/discussions/0/4029096934194613470/

        The default folder for Windows is C:\Users\[username]\AppData\LocalLow\Owlcat Games\Pathfinder\Kingmaker\Portraits.

        So it’ll be:

        ~/Games/Heroic/Prefixes/<gamename>/pfx/drive_c/Users/<username>/AppData/LocalLow/Owlcat Games/Pathfinder/Kingmaker/Portraits
        

        I don’t know for sure what the “gamename” is, but there should be a pre-existing directory there. I also don’t know what your <username> is in that path, and it depends upon how Epic configures WINE — at my above link, it’s “steamuser”, but that’s using the Epic Games launcher on a Deck, and I suspect that they may always use “steamuser” there. Again, should be a pre-existing directory there, probably be your username on the Linux system.

        Sorry for the confusion there, just hadn’t used Epic Games’ launcher myself, didn’t understand that you were specifying that you were using it.

        • Gutek8134@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours ago

          Good news: I’ve found the folder

          Bad news: it’s just those placeholders

          placeholder of character face with text "PNG 185px x 242px" on it placeholder of character face and torso with text "PNG 330px x 432px" on it placeholder of character body with text "PNG 692px x 1024px" on it

          I guess I’ll just copy the folder from my windows install I have on my PC once I get access to it

    • belathus@bookwormstory.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      16 hours ago

      I haven’t played this game in a while and no longer have it installed, but I only play in Linux and I’m pretty certain this is how I got portraits in my game.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    23 hours ago

    Unfamiliar with this specific game, but looking around, it seems you just create the folder where it should be: WINE_PREFIX/drive_c/users/$(whoami)/AppData/LocalLow/Owlcat Games/Pathfinder Wrath Of The Righteous/Portraits

    Then it will allow you to add portraits. As far as it not installing whatever is supposed to be there from the installer, try adding the folder and running the installer again, or verifying game files if that’s an option.