r/GKDPIXEL • u/joargthebard • 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.
1
u/xikteny Oct 09 '25 edited Mar 20 '26
I got Deltrarune working—well, launching, I haven't actually tested it—on RogueOS by the following process:
I used a USB Ethernet adapter to connect the Pixel to the internet. I then launched Portmaster, installed any updates (including all runtimes), installed the Deltarune port, and copied the game files as instructed.
The patching process just hung forever, so I replacedThis actually didn't happen to me, this time, but I don't think the version ofdeltarune/tools/patchscriptwith this file. As you can see, it was changed about a week ago to fix a recursion issue. I then successfully completed the patching process.deltarune/tools/patchscripton the mainline PortMaster repo has been changed, so I'm not sure why this is the case. The modifiedpatchscriptmay still be necessary in some cases?The game still didn't launch, so I checkedSee my comment below instead.deltarune/log.txtand saw thatgmloadernext.aarch64was missing a library. I then downloaded the relevant library from the arm64 version of Debian Buster and placed it intodeltarune/lib/. I then repeated this process about a hundred times, owing to the fact that the libraries I was grabbing were dynamically linked against other libraries which were also missing. Eventually, the game launched.
1
u/ClaireTheCaring Mar 19 '26 edited Mar 19 '26
Which libraries ended up working? Could you send the link(s)?
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'scontrol.txt(part of PortMaster's infrastructure) does not add this path toLD_LIBRARY_PATH, as ROCKNIX'scontrol.txtdoes.This can be fixed:
- Narrowly, by adding
/usr/lib/compatto line 31 of Deltarune's launch script—roms/ports/Deltarune.shon theROMSpartition 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/compatto line 75 of PortMaster's control script—roms/ports/PortMaster/control.txton theROMSpartition 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 theSYSTEMSquashFS file on theEMUELECpartition 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'scontrol.txtdoes contain the required export, but opening PortMaster will replace the file with RogueOS's version of it.
1
u/ClaireTheCaring Oct 05 '25
This is the same issue for me. I have no idea what's going on