• Valso@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 hours ago

      Oh, I understand now. I checked PKGBUILD and it seems the path is… let’s call it “hardcoded” because executables are probably looking for libraries in that specific path - /usr/lib, /usr/bin, /usr/share and so on and that’s why it’s failing to start, if it’s not on the root partition. I’m not an expert in software developing but this smells like a bad linux port to me, bc properly made programs have quite different paths, like this: $HOME, $PATH and so on, nothing definitive like with this game.

      By “properly made programs” I mean programs that will run just fine, even if I unpack their /usr in my secondary storage - /B/123/package-name/usr.

      • Jerkface (any/all)@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        6 hours ago

        Do I understand that you have extracted the flatpak?

        I mean… yeah, that’s not going to work. It’s hard coded to use those paths because it’s meant to run in a sandboxed environment.

        • Valso@lemmy.ml
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          6 hours ago

          I wrote AUR earlier. Considering your answer, you don’t know what AUR is, I take it. “Arch User Repository”. I downloaded the packages from there and extracted their contents. One is binaries, the other package is game data (files, textures, etc).