Since the PS3 ran on modified OpenBSD, would it be possible to run physical disc games trough a disc drive on a Linux laptop by downloading the needed libraries? In what way would I need to modify the games/system?

Would the architecture play a big role? My thinkpad barely runs RPCS3 but can handle AAA steam titles.

  • mlatu@moist.catsweat.com
    link
    fedilink
    arrow-up
    8
    ·
    15 hours ago

    even if you grabbed all the code available on a ps3, there is no way in hell to make a x86_64 machine run a program compiled for a powerpc cpu except by emulation or just-in-time-recompilation… good luck

    • H3rm7t@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 hours ago

      And I cannot recompile the games because they’re coded for this exact architecture and there’d be many losses, right?

      • diaphragmwp@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        2 hours ago

        Well, someone did exactly that with Sonic Unleashed (XBox 360) IIRC. And a few select N64 titles.

        The produced code is complete garbage, it’s basically the machine code disassembled, but instead of assembly it’s some technically valid C that can be forcefully shoved back up a compiler. Due to register sizes and calling conventions being different across architectures, there was zero chance of making the giant blob cooperate with native builds of the libraries it used, so some poor people had to pick out everything machine specific in the giant pile of shit that came out of the disassembler and fake it. That took forever.

      • Natanael@slrpnk.net
        link
        fedilink
        English
        arrow-up
        4
        ·
        14 hours ago

        In theory you can recompile by translating the instructions, the problem is the game engine assumes things about the hardware that is no longer true when running on your computer, such as memory model and more. Patching this up makes it slow.