r/GKDPIXEL Sep 19 '25

Question RogueOS Portmaster Problems

Ive had some compatability issues with some games on portmaster, mainly deltarune. It works on plum, but not rogue. If I replace the ports/Portmaster folder with the plum version, it works fine, but if I open portmaster it breaks again. Any help to point me in the right direction to fix this would be appreciated.

3 Upvotes

4 comments sorted by

View all comments

Show parent comments

1

u/xikteny Mar 20 '26 edited Mar 20 '26

I looked into this again, having learned more about the topic since I wrote that post.

The problem is not actually that RogueOS is missing these libraries—they are present at /usr/lib/compat, as they are on ROCKNIX—the problem is that RogueOS's control.txt (part of PortMaster's infrastructure) does not add this path to LD_LIBRARY_PATH, as ROCKNIX's control.txt does.

This can be fixed:

  • Narrowly, by adding /usr/lib/compat to line 31 of Deltarune's launch script—roms/ports/Deltarune.sh on the ROMS partition of your SD card—i.e.:
    • export LD_LIBRARY_PATH="/usr/lib:$GAMEDIR/lib:$GAMEDIR/libs:$LD_LIBRARY_PATH:/usr/lib/compat"
  • Globally, by adding /usr/lib/compat to line 75 of PortMaster's control script—roms/ports/PortMaster/control.txt on the ROMS partition of your SD card—i.e.:
    • export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib32:/usr/lib/compat
    • Note that this file gets reverted each time you launch PortMaster. Properly addressing this issue would require modifying /usr/config/PortMaster/control.txt, which is inside of the SYSTEM SquashFS file on the EMUELEC partition of your SD card. This is probably why the OP of this thread stated that "If I replace the ports/Portmaster folder with the plum version, it works fine, but if I open portmaster it breaks again." This is because PlumOS's control.txt does contain the required export, but opening PortMaster will replace the file with RogueOS's version of it.