#PortMaster - TrimUI Beta
1 messages Β· Page 2 of 1
Damn. They released the firmware after Iβd finished for the day. Canβt test until tomorrow. :/
the bootloop hasn't happened yet with the portmaster included in tomato 1.0.4.1 and the new firmware
it only happened when i used the one on the git
if that's the same copy, the only difference was using the zip at the root that has apps in it instead of manually placing that folder
has the portmaster stuff on the git changed since the 1.0.4.1 tomato release a few days ago?
Uhhhh. Not sure.
april 6th was 1.0.4.1 release
Mightβve been a few minor updates.
The major change was only released a few hours ago and I pulled that.
something isn't right
i can't tell if its this new firmware or what
it's almost mimicing screen burn in
when i go to the recent tab which is empty, i can faintly see the arcade vertical shooter icon from best
gonna retry portmaster without any zips just to see if that little bit is the snag
gonna take a moment, the bootloop issue corrupted my 256gb card and i gotta rebuild
so far the issue only seems to happen if you install portmaster following the git instructions to put the zip on the root of the micro sd, if i manually just drag n drop the folders to the sd card it works ok
@zinc oriole
can you try to recreate it?
i think something went wonky when it was supposed to unzip the file maybe
Oh nice.
@hasty plaza @ionic vortex @drifting turret here is a beta version of PortMaster with a more robust migration script.
I have made a bunch of test cases that in theory are the issues that could potentially cause data loss and it has passed them all.
Included is my super scientific testing script. π
i just installed portmaster and it made my device better. what the heck?!
haha
i'll install it in a sec
so far so good
lmao dat filename
I wondered if anyone would notice. 
@hasty plaza @ionic vortex @drifting turret
I have released a new version, it is a test, please backup your files before you try, PortMaster wont automatically update, you have to get it from here: https://github.com/kloptops/TRIMUI_EX/releases/tag/v0.0.2c β€οΈ
I wonder if anyone will notice it is a beta
and they should backup any files
lol if the THIS IS A BETA in caps won't do the trick I don't know what would π€£
"backup anything you love" should be a t-shirt
Atleast this time if people update, its their own damn fault
That moment when youβre brushing your teeth and you realise there is a bug in your code. 
π
so now im uploading a new version π
Whoops
i was running it manually so i could observe it :/
wtf
Did you see this? 
this is on TRIMUI_EX

lol
lol
i didnt even respond

narrator: he put the password in wrong more than once.
π
It has a few words misspelled, sometimes I spell them correctly
@ionic vortex @hasty plaza theres a new update for PortMaster-GUI that actually has the changes i meant to release: https://github.com/kloptops/TRIMUI_EX/releases/tag/v0.0.2c
and i am uploading a new new new new build
π
@drifting turret did you have any luck with it?
Tried it, I might have to redo the whole thing
Because no matter what I do I don't get controls in Angband for example
Did the ports tab work?
Uhm is that set by default? Because I did not see a ports tab
K will test it
If you have a few ports, the ports tab is nice
if you have a shitload, probably better to have them in the roms section
Switching to the Ports tab works
Its just the normal apps view is nicer with it being a list
instead of tiles
Wait. So you like the roms section or the ports tab?
I don't have any roms in there
only PM
so it shows me PM symbol, i click on it and have a list with games and screenshots
in Ports tab the Screenshot is the icon and all text is overlapped
The section is called Game -> and in there the Ports Menu
With list, numbered and full name and screenshot
This is acceptable
Lol
This is not acceptable
Yeah, its a bit of a mess
Can you change to list?
fuck that π
@drifting turret i dunno why Angband doesnt work 
My trimui just arrived. Just waiting for my SD card
RIP
I have encountered that sometimes .sh files are moved from Roms/PORTS to Data/ports folder. Don't figured out conditions for that but I think it happens on start-up and it happens pretty often (happened around 10 times for a few hours)
When this happens the games list is still visible but none can start. So it needs to refresh roms to see that the list is empty
Soon we'll have Batofork and all oru sorrows will go away

thats interesting
i fucking hate that device
oh noo, the device is really cool π
Every time im getting somewhere, it does something else
Device is cool, but it definitely needs some tlc on the os
@fallen plinth is our saviour
at least on stock os startup and sleep works really good
Oh yeah and the standby time is insane
i don't event want to touch my rgb10max3 and rgb30 now, because they start like 2min
found out that after you open pm app install some games, other games (which were installed before) .sh will be moved to data folder
on Knulli?
trimui
alpha
@fallen plinth can you make @west cedar a tester? β€οΈ
yes
i was away a couple days sorry, the should i test now or are you fixing stuff atm @zinc oriole
I was going to do a big bunch of testing tonight, but work was hectic, tomorrow is a public holiday so hopefully i can iron out a few issues and get a public beta out for all devices.
alright, i'll hold off a day or two on testing then
need to update tomato with new icon packs n such
may as well update PM at the same time
Sounds good. π
@left parrot or this one?
Both are goodππ
Just wanna say, I super appreciate you guys striving to make this device better! This device, for me, it has the potential to be my most favorite retro emulation handheld. Not power wise, obviously, no. It's the fact that it's screen is gorgeous, it's comfortable as can be, I actually like the thumbstix, it's built great.. And for me, most of all is the fact that it absolutely refuses fingerprints π€©
.. Premium feel, no doubt
id have prefered they used debian/ubuntu
but it is what it is
tag me when the portmaster is ready for testing btw, please
After new update all ports not working π
Portmaster is not responsible for running ports
It's just a port Downloader
he's not the first I've seen saying this on the Smart Pro
maybe there's something to do with the version of kloptops' TRIMUI_EX they're running?
stock os is horrible π
i agree but also disagree lol
it's horrible for ports for sure because we have no package manager
but once it's done it should be great for actual retro gaming
but... we don't have to have no package manager... we could make one
it does support repos, just not many exist.. in theory we could make our own repo for it and put any libs/deps portmaster and whatnot need there to make them available on all devices
PortMaster is a package manager
Hello @zinc oriole
Thanks for putting this together. I am trying out the beta packages now for TriumUI Stock OS. I got it to install and tried a few games from portmaster.games, but they would not load.
Alien Blaster: https://portmaster.games/detail.html?name=alienblaster
Bananaguy Classic: https://portmaster.games/detail.html?name=bananaguyclassic
Can I get some advice on where to look for logs so I can see if there was an error or missing lib?
inside each port folder
I might be missing something obvious, but I do not see it:
Then it failed before it could create the log
Could be that i hadnt enabled logging? That was one of the first games i put on portmaster.
I need to go through some of my older ports anyway, bananaguy2 needs an update aswell.
You can add this to the .sh under cd gamedir: ```> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
testing PM on knulli too now
still have every intention to keep tomato and stock os a thing too, but i wanna showcase both builds
A thing yeah, but if it's hardly supported by us at all it's a bit difficult
Either we fully commit to it or we don't at all
And on stock and even tomato it's just a pita to work with
As long as I can't get any controls at all in Angband for example which is a app as simple as can be it I will drop it like a hot stone
Like don't even have controls with a keyboard connected
Is there a lkg (last known good) configuration for PortMaster on Stock?
I retested with 1.4 (instead of 1.4.0.1) and the previous release of PortMaster. It got farther, I saw the portmaster loading screen, but still could not launch bananaman or alien ready to launch games
Adding the logging line from above to just below 'cd $GAMEDIR' did not result in logs.
I am also not convinced the $directory variable in the script is resolving to the local directory
Are you connected to the internet?
If not it won't launch
if you followed the instructions $directory will resolve π
excellent point, I was not connected to the internet. I have been having trouble getting it to connect to my wifi
You and me both xD
I have simmilar problem to bennys but with Fallouts, Jazz 2, Heroes 3. F1 doesnt boot, F2 boots but cant move coursor. Jazz 2 boots, i can play it but game lacks menu (empty textfields, no textures) and H3 doesnt boot. (all games from my original GOG versions installed just like guide said)
Sorry this time of year I am slammed with work. Hopefully in a few weeks things will settle down to only ~50 hours a week.
running into portmaster issues on smart pro
not tomato/stock specific
on bato it still has the behavior of exiting portmaster back to main ui halfway through install of some ports
suspect its running out of memory
maybe we can set up a swap or something to help?
zram or equivalent
I'll try to tinker and gather logs as appropriate. My goal is to help, not to add further burden
someone on RH chat told me this:
"it doesn't like 2.4/5GHz smart switch network signal"
Do I need Wifi to launch games with PortMaster if I sideloaded the port from portmaster.games?
I am guessing I still need the package manager for libraries. I had an issue with Axion Verge where the sideload would not work, I needed the UI to give me Mono
You can install portmaster with all runtimes preinstalled
Is there guidance for all runtimes in TrimUI Smart Pro?
Wdym?
runtimes always go into the portmaster/libs folder
If I side load the port from portmaster.games, does it include the runtimes?
no
Any ports that can trigger that reliably?
Widelands
Wonder if itβs running out of temporary file space.
Forgot to check pugwash
Well widelands is 400+ mb, remember trimui only has a small root filesystem.
big ones
zelda thats over 100mb
widelands
but once i enabled zram they install fine
portmaster hasn't crashed during an install since
Is there a running list of known missing libs on stock?
Someone noticed that libcairo.so.2 was missing for sonic mania.
Also, thanks to @hasty plaza , I could not get portmaster working with the package directly on stock, but it works with tomato
I started collecting libs i added like 40
But i had serious problem where i could not control some games
like i start a game works
then i quit it
start again controls gone
or in angband for example
I found a hacky solution. I connect to my home WiFi with Android device on 5ghz, then set up hotspot to broadcast the 2.4 ghz signal
I am very interested in knulli, but stock is pretty quick, I have not heard yet about the performance of PSP with Vulken
Also, is the WiFi connection situation better with knulli?
No complains from me so far
Do you have that list shared somewhere? I am not set up to cross-compile aarch64 right now, but I am curious if I can pull those libs from another Linux handheld
Stock needs to fix stuff indeed
Best to stick to our standard
ubuntu 20.04 aarch64 libs π
https://cdimage.ubuntu.com/releases/focal/release/
This site, and rasberry pi preinstall image?
CD images for Ubuntu 20.04.5 LTS (Focal Fossa)
Is there a way to enable swap memory on the stock or tomato os firmware?
Maybe? but not sure if that is a good ifea
Wears the SD down really quick
I am managed to get gravity circuit (a love2d game) to launch by unpacking the exe manually. But Balatro is freezing on launch. I suspect itβs running out of memory. I thought swap space might help, at least for install
I wonder why itβs running out of ram. Iβve never seen PortMaster use more than 500mb. :/
hello π
just a heads up if anyone's trying to install TMNT, I'm setting up a new smart pro (sold the old) and had to remember how to make it work hehe
You have to remove '&' from two "|& tee" in the file, lines 62 and 88
future me will look for this message in the search bar and have an easier time lol
this is on the wonderful TRIMUI OS though, future me will probably be using only Knulli so this will be irrelevant
Did you have to add any missing libraries to get shredders revenge to load?
nop, just editing the script
on kloptops' trimui_ex there are 2, one on roms/ports, the other on data/portmaster or something
So do we have list of working games on TrimUI?
You can select trimui here: https://portmaster.games/games.html
Not everything is confirmed
Exept officiaj site ofc π
We have there games such as Fallout 1/2 which crash at start sooooo :/
vcmi which doest start etc
Doesnt make sense to make a list of working games, its still in beta.
Most issues will be libraries, check the logs if you want to tinker with it yourself π
Godot games work ootb and love2d games need some lib changes.
I can keep going.. :p
The thing is trimui, Knulli, and muOS are relatively new platforms. Whereas ArkOS, AmberELEC and Rocknix have been supported for a long time.
On top of that every os has its own quirks and issues 
VCMI starts for me but can not load any scenario. Fheroes2 crashes after 5 minutes in game. Rg35xx H + muos 11
This is the TrimUI Beta channelπ
I said it in rh discord, might as well suggest here as well π
On Stock + TRIMUI_EX, adding these lines to Emu/PORTS/launch.sh make many ports run better:
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1416000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Rad, thnx!
Is this different from the high performance mode?
I thought at least echo performance should be the same
but linking it to the fn switch and testing didn't seem to improve anything
now between this and editing settings.cfg to make it open Fullscreen, TMNT runs perfectly
I didn't like stock before, but the more I tinker with it the more fun it is lol
it's such a simple setup
I'll need to try this when time permitsπ
oh yeah, I can rarely do so, today was completely atypical π€£
Like, at the bottom of the file?
doesnt this thing get hot enough as it is?
well this is what stock does when launching emulators, there's either a cpufreq.sh being called or these on the launch.sh..
I just took what they did for PPSSPP π€·π»ββοΈ
and, granted I rarely get to play for longer sessions, I didn't feel it hot after a few stages on TMNT and it ran super smooth π
no, at least before the last command, it should run before it calls for the "rom", which in this case are the scripts for each Portmaster game
I do feel like performance governor for all ports is an... exaggeration lol
maybe I'll add like 3 different launchers to config.json, light, medium and heavy games
how would that work? π
you can even style it
```<syntaxname>
CODE HERE
```
#!/bin/bash
# Blah blah blah
if [ 1 -eq 2 ]; then
echo "WHOOPS"
fi
so, adding this to config.json:
"launchlist": [
{
"name": "Power Save",
"launch": "launch_save.sh"
},
{
"name": "Default",
"launch": "launch.sh"
},
{
"name": "Performance",
"launch": "launch_power.sh"
}
]
would do the trick, albeit not a very pretty solution hehe

and then what?
where does it go? how does it work?
KInda need to see the full picture here π
ah, sorry
this is in Emus/Ports
if config.json has this launchlist option you can open the game with X instead of A
ahhhhhhhh
this was me testing cores
How does it know what to use by default?
I guess it calls this by default?
"launch":"launch.sh",
yes, I was just copying it heheh
It'd be more elegant to have different cpufreq.sh instead, but if launch scripts work, it works π
it wont work if they live in the ports tab 
true, ports in the ports tab won't load using the Emu script
they would need their own cpufreq settings in their launchers
yeah... thats not happening. lol π
lol yeah, I figured
but having them as games and Portmaster as an emulator is - subjectively - cleaner and more organized anyway
I'm trying to make Sonic Mania work on my Trimui Smart Pro, but even though I followed the instructions it turns on and crashes without starting the game
PM on tsp is very early. You will have much more sucess in Knulli on tsp π
isn't sonic mania a 32 bit port?
tsp is 64bit only, with either stock+ex or knulli
it'd be cool to play it with the widescreen though
Aarch64
yeah, forget what I said
but I did make it work
@hollow cypress remove libtheoradec.so.1
from the libs folder
also, edit Settings.ini
these values worked well for me:
windowed=n
border=n
exclusiveFS=y
vsync=y
tripleBuffering=n
pixWidth=426
winWidth=720
winHeight=405
fsWidth=720
fsHeight=405
now it should display perfectly on the smart pro π
now I only get a black screen
are you using latest trimui_ex with latest portmaster update?
sh: setterm: not found
this is the erro message on the log
yes, just a moment, I will reinstall all
if it still won't work maybe there's something wrong with the Data.rsdk you provided
π

Didn't know you made something for teaspoons
I didnβt. Someone did a pr for fixes to ports.
You can choose a power profile when you run them.
I reinstalled everything and now it works, thank you very much
β€οΈ
I'd love to play games like Nuclear Throne and Dungeon Souls via portmaster on my TSP, but I see that they're unavailable for install and marked for the Powkiddy X55 only. Can anyone explain what the limitation is? Is it CPU /GPU related, or libraries or something else?
...or just untested?
I may be wrong but I believe it is because there isnβt the 32 bit libraries hence all GameMaker ports running via gmloader is a no go so far
I see, thanks. That's a shame π¦
how to update Portmaster in TrimUI Smart Pro 1.0.4 guys, im noob in tech
If you already have portmaster installed, just open it in the apps. It will prompt you with an update if theres one available abd your connected to wifi.
i cant find celeste and download some game like Banana Duck, Dome Romantik but when i enter the game, it just appear loading and nothing happen
The only games i cant install is Stardew Valley with data from Steam and freegems
*can
i dont know why i cant run game i download from "ready to run port"
tks sir
You're welcome. 
Btw celeste isnt on portmaster π
That too
i mean celeste classic
i want to play that banana duck more but i tried to reinstall it all over again
it didnt work
hrmmmm
No runtimes installed π
Maybe, but that should auto install when downloading a godot game
Ah
for bananaduck
where can i get this?
you have to delete the libtheora file maybe
inside the port libs folder
and inside of there should be alog you can post the content of that log too π
I have another question that can i install Celeste on Steam to Trimui Smart Pro, i saw i post teach about it. Or it is on another OS so i cant?
I dont know if anyone has tried celeste on it yet. In theory it should workπ
where is it exactly location sir? I cant find it._.
i can test it
I can try tomorrow? I know youre busy π
nah im just pottering about
The folder where the ports are
any log?
log is like a .txt file?
btw my Fox Tower game black screen too
logs
One folder back π

Yeah so its missing some libs
libmpg123.so.0?
until i got frustrated and tossed it in the trash
π
like Angband no controls
and with that in mind I just turned it off
and installed knulli
true
knulli is much better
like i got a pr for trimui_ex
i have been staring at it for like an hour now
when the knulli is completed will it better than the tomato?
For portmaster? 100%
I quite like the stock os, but for non retroarch stuff its very limited
i have same issue with The chasm and Cave... something
oh and another question, when im holding the power button is it mean "exit the game". I download Half Life and it only had pause and didnt have anyway to out
Exit should be start+select or start+menu
oh
I forget how nice the trimui's screen is when playing games
Its a lot better than the x55
Crazy how cheap they got this thing
Someone already tried celeste (ofcourse they did :p)
@odd dock
I'm a bit curious why this game isn't available on Portmaster
Because the porter hasnt put it on portmaster
π
I have asked numerous times, but he is a busy man and its not yet up to his standards
Read this: #βο½lounge message
Oh, it requires commercial files. I think this game should be added to Portmaster with instructions similar to how to add game data. Honestly, I didn't even know this port existed
I agree, but Johnny is the one who decides π
I only have this game with steam's drm and it won't load π¦
even tried it with a steam emulator like goldberg
Will have to eventually buy it again on itch.io
Its very much worth it, ive played it twice atp.
i got it from the ukraine bundle i think
its taking forever to upload this fucking zip
idk why but sometimes the ssh connection gets wonky, it helps to disconnect and connect again
idk if it's a process priority thing on the trimui side of things
nearly done π
HUZZAH
Thanks @safe ivy π
All good
im back... with a lot of bugs, guys help
deleted
Cybarian is also 32bit
Make sure to install via portmaster, not downloading on the site.
Also i think you don't have the mono runtime installed?
what's that?
Guys how the picture of the game work, i have the game but no picture. How to add a picture for it?
Sounds like youβre getting pirated archives. 
sus
sh: setterm: not found
sh: setterm: not found
current_mode 1280x720
MALI_CreateWindow:0x55c7925140 done.
Traceback (most recent call last):
File "/mnt/SDCARD/Apps/PortMaster/PortMaster/./pugwash", line 96, in <module>
import sdl2
File "/mnt/SDCARD/Apps/PortMaster/PortMaster/exlibs/sdl2/__init__.py", line 2, in <module>
from .dll import get_dll_file, _bind
ImportError: cannot import name 'get_dll_file' from 'sdl2.dll' (/mnt/SDCARD/Apps/PortMaster/PortMaster/exlibs/sdl2/dll.py)
Downgrading to the trimui.portmaster.zip version of PM on the TRIMUI_EX repo fixes it
I've sent it on port-help but will send it here, for retroarch ports like 2048 and quake the script must be changed like I did, I don't know if the: "elif [ -d "/mnt/SDCARD/Apps/PortMaster/PortMaster/" ]; then controlfolder="/mnt/SDCARD/Apps/PortMaster/PortMaster/"" is necessary, since I've got another ports working fine without it
seems that get_controls from control.txt is making menu button not working as I made another script before in other way (without this part) and worked fine
Ship of Harkinian is not working, but it's not generating log files, at least not at the port folder, is anywhere I can get the log? On screen it just the splash screen
Thatβs just the latest release of PortMaster. 
try launching it from an ssh terminal
yeah, it worked to know why it's not working π
made SoH work with compatibility mode, but it was extreeeeemely slow
What was the reason?
first one:
./Ship of Harkinian.sh: line 53: syntax error: unexpected "(" (expecting "}")
line 53 is: keys=("internalresolution" "interpolationfps" "authenticlogo" "disablelod" "disabledrawdistance" "disablekokiridrawdistance" "usecustomtextures" "remembersavelocation" "fileselectmoreinfo")
changing ( to {:
Illegal instruction
Illegal instruction
./Ship of Harkinian.sh: line 53: interpolationfps: not found
./Ship of Harkinian.sh: line 76: syntax error: bad substitution
commented lines from 53 to 72:
./soh.elf: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
putting libpng16.so.16 on the soh/libs folder:
./soh.elf: /lib64/libc.so.6: version GLIBC_2.34' not found (required by ./soh.elf) ./soh.elf: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by ./soh.elf)
./soh.elf: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by ./soh.elf) ./soh.elf: /usr/lib/libstdc++.so.6: version CXXABI_1.3.13' not found (required by ./soh.elf)
./soh.elf: /usr/lib/libz.so.1: no version information available (required by /mnt/SDCARD/Data/ports/soh/libs/libpng16.so.16)
./soh.elf: /usr/lib/libz.so.1: no version information available (required by /mnt/SDCARD/Data/ports/soh/libs/libpng16.so.16)
./soh.elf: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /mnt/SDCARD/Data/ports/soh/libs/libcrypto.so.3)
Yeah okay, looks like tina linux also has an old glibc version
Like arkos
Actually wanted to play soh on this thing, guess ill go with my x55 π
yes! so after all these changes, if I change perfomance to compatibility it works, but extremely slow
Compat versions is indeed very slow
Should still be slightly better then emulation though
And widescreen ofc
I have one newbie question, since tina linux has dpkg, could I take the libc6 package from debian and install it?
While you probably can, its very likely to break a lot of programs
Theres a reason arkos is still on that old glibc, because thats where it startedπ
Glibc is very versioned
in fact no, emulation is pretty decent
Where to find the os contain all file of Trimui Smart Pro, i had a new sd card and want to use it like second one
PINs π
Pins on mobile also work
What is the main cause bringing corrupted file?
What?
my new sd card after installing had corrupted file notification, then i can delete or do anything with the file so i have to format it and do it again
why are you asking about this here? ππ€¨π
i think you guys meet it before... or just me?
i had this after install Steal Assault and Timespinner on Portmaster, after i plug out the sd card to copy the gamedata file
I really wanted to get Marathon (Alephone) working on my TSP, so I just kept launching it, looking at the log, and copying libs from an Arkos install into the port's local libs folder. And it works now! Only took 197 files, weighing in at about 105mb. If I did this in a dumb way that's fine, but if this list is somehow useful let me know.
Yeah probably 196 too many libs
Problem is if you add one lib too much it'll want more and more
so the way is always to remove all libs and only add what it wants
One wrong lib and it'll ask for all its dependencies and so on
Thing is teaspoon stock has very limited supply of libs and yep probably a ton need to be added
I love that you call it teaspoon lol
I've been calling it "colher de chΓ‘" in portuguese because oof you π€£
At first I was trying to pull libs from rpm repos, and somehow worked my way into a glibc version conflict, which, even in my ignorance of this stuff, I knew I'd taken a wrong turn somewhere. A lot of it is stuff that seems reasonable-ish, like cairo or mp3 libraries, but probably because of the versions of those I ended up with stuff like "libbluray" along for the ride. Anyway, I've never done linux development, so it was kind of fun in a π way to see firsthand what frustrates people trying to do development/porting work on the stock OS.
Doesn't trimui_ex have some of the libraries required by most ports as well?
Never supply sdl2 or Libc libraries π
Some but not many, I begun going trough all my ports but abandoned it because some ports I didn't have controls at all no matter what I did so I stopped
Yeah the stock firmware has an outdated version of glibc
Should be newer on 1.0.4
After newest update, my ports game location (Stardew valley and Celeste) change to Data/ports and the .sh in that folder too (Before it's ports folder and the .sh file in the ROM folder). Is this normal?
Yep
Thats not weird, thats how you exit every port
Every time I open PortMaster, it moves the ports to a folder called portmaster_migration_backup, and they stop working. If I move them back to Data/ports, they start working again, but the same thing happens when I open PortMaster again. Anyone else experiencing the same issue?
That's because you have to change the data location in options if you want to use the other location
My configuration was set as 'Ports Location: Roms Section'. To try to determine the problem, I did the following:
I deleted all the games
Changed the location to tabs
Went back to roms
Installed 'Banana Guy'
Exited PortMaster and ran Banana Guy successfully.
Opened PortMaster and exited again, tried to open Banana Guy and got an error.
But you helped me anyway, I realize now that if I keep the location on tabs, the game works. It must be a bug, because I did change it to tabs some time ago, didn't like it, and tried to switch back to roms. But I'll keep it on tabs then, at least I can play and open PortMaster to update or test new games. Thank you very much.
After found data of Chasm, i tried to follow step by step and it didnt work. I tried to find log.txt in folder but it didnt exist. What should i do?
Check if you have the mono runtime installed?
How to check it?
Portmaster > runtimes manager
mono runtime is the thing install with the game in portmaster right? I think yes, cuz i just installing Crossmix OS and delete all data
Yes i had it
I have had mono runtimes since i download Stardew Valley first
Recommend for Trimui Smart Pro user the Crossmix OS, i think its better than TomatoOS
Load faster and no more freeze moment in stardew valley
It doesn't run neither
it does run the .love file whihc is not platform specific
So they write has been tested with version xy
And in this case the windows version
oh i see, so trimui cant install gravity circuit? How about FEZ, Forager?
From what sentence did you read that?
Weird... 
I'm glad the migration backup is working atleast π
"It doesn't run neither"?
Gravity run doesn't care if its windows or linux. I didn't say Teaspoon can't run gravity circuit π
You said it needs windows instead of linux and i said the port doesn run neither of them
But the .love file inside of it
where should i download to get those file?
You already visited the site where it says with what game files the game was tested with
When I said neither of them I meant it does not matter
and not that it won't work
so, i just need to buy it then take the file from that? No need to use depot to take linux file like other games?
yes
okay tks man
the log says libpulse-simple.so.0 is missing for Sonic, should I just add it or am I opening a can of worms here π
actually remove one of the libs
Really π€£ Which one?
remove libtheoradec.so.1!
sorry, was looking for it hehe
also
#1224325700295725188 message
do this to your settings.ini
Awesome, thanks!
Don't suppose anyone has tried SorR, log says bgdi: not found but its definitely there
sorr?
Streets of rage remake
Think so, its not supported π
Plays well on my RGB30 was hoping to play on the bigger screen
rgb30 is multiarch, isn't it?
yeah
I'll try to learn how to compile stuff for this, it'd help a lot to get many missing libs and making a few ports available
Highly recommended, its funπ
for the more experienced, does it make sense to create a VM emulating an ARM arch like these and run something like gentoo to compile everything from source?
Ive never used gentoo so cant say. Im running WSL and a arm ubuntu chroot.
Thats what cebion recommendedπ
yeah, I've been wanting to be a bit more helpful than sharing workarounds hehe
Time has been an issue though :/
hmmmmmm
so you can emulate arm with WSL?
WSL is a linux subsystem in windows. Chroot is what "emulates?" an arm env.
integrated VM sounds easier
Its really not too bad imo.
Some others use docker
And then others compile on sbc's
Its all personal preference
yeah, the other alternative I was considering is grabbing a Pi
Thats not a bad option, chroot adds tons off overhead anyway.
...then running gentoo to compile everything, guess I'm a bit obsessed
right and I'm using a Chromebook
hehehe it'll take some time
Eh, for most things here its really not a big deal
Stuff like love2d, or simple games take a couple minutes to compile
As long as you have 8gb of ram you should be fine
Even if you dont, lowering to like j2 will help :p
hehehe I'll be fine, did it decades ago with a lot less ram and processing power hehe
anyone tried running gzdoom ?
I tried my hand at it here since it has an arm64 build
but I'm getting a "Could not create graphics pipeline: out of host memory" :/
this is video memory right? no point in trying to swap my way out of it?
.... yeah, couldn't swap my way out of it hehehe
Has anyone had any luck running Sonic Mania on the TSP? I was able to install ok but kept getting missing library errors. I attempted to get around this by using libraries i found in the soniccd/libs section of the portmaster github until it stopped complaining about missing libraries and eventually I got stuck on an "undefined symbol: FT_Get_Var_Design_Coordinates" error for libcairo.
look up a few messages:
#1224325700295725188 message
My TMNTR port cant run, although i patch the data game from steam and it had mono runtime... no log too, what should i do now?
Thanks! It's running now. I can't get the screen resolution changes to persist after closing the application, but I'll keep tinkering with that.
did you edit the file the way I said?
edit the launch .sh and remove '&' from 2 places, they're "|& tee"
will become | tee
oh tks, it worked. But i had same issue with Steel Assault and Timespinner, did it .sh have problem too?
Idk, I don't have those so never tested :/
my seller can run it but i can't, strange... cuz we had the same device TSP
The ini file? Yes, but after I close the game the file is empty/zero bytes. Im going to reinstall and see if it makes a difference.
Has anyone got Owlboy to run yet?
log.txt says /mnt/SDCARD/Emus/PORTS/../../Roms/PORTS/Owlboy.sh: line 68: mono: not found
Line 68 is: $TASKSET mono Owlboy.exe 2>&1 | tee $GAMEDIR/log.txt
I would assume that I have mono installed since TMNT and Stardew Valley are working.
@zinc oriole Is there anything special I need to do to get ssh access to the device?
Portmaster installed successfully and I can run many ports, but each time I try to access either the web server on 8080, sftp on 2022 or ssh into the device, I get a refused connection. And I would love to tinker with the shell scripts without having to take the SD card out every time. I have FTP access through https://github.com/djware/TrimUITools/tree/main/Tools/ftp_enable but when I edit anything this way, I can't launch the ports any more.
Are you using TRIMUI_EX?
Yes.
Stock + TRIMUI_EX.
Newest SD Base package from the chinese forum and Hotfix 9.
I got it to run!
I have to compare what the actual change to the script was which did it and I'll write it down here, but the script has a wrong reference to the mono binary (at least for Trimui Smart Pro).
awesome
Ah, much easier than I thought.
The monofile variable is being assigned a wrong value with a / at the start.
So, on line 31, instead of
monofile="/$controlfolder/libs/mono-6.12.0.122-aarch64.squashfs"
it should be
monofile="$controlfolder/libs/mono-6.12.0.122-aarch64.squashfs"
Compare it to TMNT (https://github.com/PortsMaster/PortMaster-New/blob/main/ports/tmntsr/TMNTShreddersRevenge.sh#L32) and Stardew Valley (https://github.com/PortsMaster/PortMaster-New/blob/main/ports/stardewvalley/StardewValley.sh#L31), both don't have / at the beginning of the path.
I see that others have had the same problem with other games (#π©Ίο½port-help message). If I take a look at Steel Assault (https://github.com/PortsMaster/PortMaster-New/blob/main/ports/steelassault/SteelAssault.sh#L30), it seems to have the same problem and this would probably solve it. I sadly do not have Steel Assault to test it.
omg
@zinc oriole is that an issue with the control file?
It could be.
Steel Assault worked, tks man
legit
Nice!
DAMN TIMESPINNER WORKED TOO
is it any chance that when i exit the game (by in-game menu) but the game still run in the background? Yesterday i played timespinner, i exit the game and turn off the device. About 30 minutes after that, my device black screen and super hot. I have waited for 20 minutes then the device run normal again
What exactly in settings.cfg do I need to change? I changed "DisplayMode" to Fullscreen but didn't work.
Can't seem to search exclusively in this thread so.... Has anyone beem able to make Apotris work? Or it isn't possible due to 32bit libraries?
Apotris is not 32 bit, should work fine
Weird - it crashes as soon as I select something from the menu.
sh: setterm: not found
Segmentation fault
./Apotris.sh: line 33: systemctl: not found
Using latest TomatoOS + PortMaster
Trying to learn how to debug these ports so I can contribute haha started messing with this today
does it work with crossmixos or the normal trimui_ex package?
or on knulli
CrossMixOS if I recall didn't even open it but I forgot to check the log, still didn't test Knulli/Stock
I tried apotris and same problem here
It crashes after I select a level
Segmentation fault
/mnt/SDCARD/Emus/PORTS/../../Roms/PORTS/Apotris.sh: line 33: systemctl: not found
Using crossmix 1.1
i got this log.txt when updated to Crossmix 1.1.0 of Crossmix... 1.0.0 i can run fine
Stardew valley sir
My anxiom verge and celeste can run normally
i see (required by mono) line but i installed mono
also tried to reinstall mono runtime in Portmaster but didnt work

oh nevermind some how i fix it...
i got this error when installing Gravity Circuits on TSP
Hi , for information there is a common problem on TSP with mac files : #πΉο½aarch64 message
@zinc oriole I tried a freshly compiled sdl2imgshow, a good occasion to test your new features.
I observe that for the same font size specified the fonts are bigger than before π€
And can we make cariage return ? (just tried \n without success π₯² )
Working on it right now:
Thats what im working on. π
I use your binary a lot in CrossMix, I hope you don't mind π
theres no input handling for that yet tho. Literally just added it 5 minutes ago.
Its opensource, thats why i write it. β€οΈ
I made this to manage it in an easier way : https://github.com/cizia64/CrossMix-OS/blob/main/System/usr/trimui/scripts/infoscreen.sh
nice
i have made it a bit more robust. It no longer crashes if it cant load a file. π
ahah indeed π
also added fallbacks too:
image="{{GAMEDIR}}/resources/background_{{WIDTH}}x{{HEIGHT}}.png"
image_fallback="{{GAMEDIR}}/resources/background_default.png"
So if it cant find the first file it will fallback to the second one.
you can chain the fallbacks as many times as you need.
Yes I have a similar fallback in the script (because I manage skins for CrossMix messages in that way)
Do you have an idea why the fonts are not in the same size on the new version ?
image="bad_image1.png"
image_fallback="bad_image2.png"
image_fallback="good_image3.png" # this one will load, not the one below it.
image_fallback="good_image4.png"
Not sure
(it would be very nice to have word wrap by the way π )
will double check i guess. π
Yeah i wanna rewrite that part. π
The cariage return is already working on the current dev build ?
(they have also prompt which is interesting as selector)
May be you should just load a black screen background by default if the image is not here.
that doesnt fit what i wanted
i changed the way fonts are scaled at some point.
int scaleSize = (int)(float)((screenHeight / 480.0f) * (float)fontSize);
Do you think that that we can try to get closer to the old size to make it easier to update to the new binary?
in crossmix I'm using the version from the last TRIMUI_EX
Yeah thats the OG version then.
You can just scale the font size by: 1.5
Or i can add a mode to make it not scale the font.
@ionic vortex: added an -O option to disable font scaling.
Thank you !
Can you share your command line to have this result ?
I tried sdl2imgshow -z /mnt/SDCARD/gameselect.ini but I have a black screen (the images are specified in the ini ?)
Thats not how it works. π
The ini syntaxe is not obvious indeed π
Makes sense to me. π
bg1=title_text=Baldur's Gate;;description_text=Baldur's Gate
./sdl2imgshow -T gametemplate.ini -G gameselect.ini
gameselect.ini has the options, gametemplate.ini has the code to make the images.
that's great !
@ionic vortex pushed a new version out. Still needs work.
OK I follow with attention π Do not hesitate to ping me if you need a test session π
What I think: gptokeyb will work only with the next binary launched after gptokeyb initialization
I didn't look to the code so it's a supposition
The thing is gptokeyb is loaded almost instantly π
yes but it's a clasical race condition : it can have different behavior depending the number of core you have, the speed of your SD card...
Theoretically gptokeyb should alert that he has finished its initialization
before running the game
Yeah but as i said we're using this approach for 3 years now
not once we had a problem like this
You can simply rule this out by starting an app and then via ssh start gptokeyb manually with the correct parameters ona device which is known to work
to see if it matters at all
I'm sorry but old habits or the fact that it work on other devices is not an argument to justify that it should work π
over a span of 3 years with so many devices and cfw kinda does π
But we can rule it out π
I don't mean to be rude by saying this, but you know what I mean: in a sens it's logical that it doesn't work
(except if it stills working on knulli and other devices when you restart the gptokeyb binary during game session)
Another thing that doesn't add up is some games work the first time Then you close the app and start it again, controls no longer work until you reboot
And no process running or anything
I tried to roubleshoot it for like 6 hours π
almost threw that thing against the wall π
Yes: if your game is slower to start for any reason (governor on "on demand" with low speed, slow SD card, script unning in background...) then it work... and the next time it doesn't work
This is just a race condition π Schmurt has mentioned it too π
but you'll see with a little sleep it works all the time π
We'll make some tests, to prove our thesis then we can look into gptokeyb
But it's not elegant as the value of sleep should be different for each device...
May be gptokeyb should create a flag in /tmp when it's ready (I'm not fan neither)
it doesn't work that way in shell
the second app is not dependent on the first app's initialization; it starts right after the first app is launched in the background.
Don't have a device with me atm to test it without gptokeyb and start gptokeyb manually
yes I was imagining something in the script to check the flag presence :p
I don't see how to solve this problem without modifying the script
except if gptokeyb can bind to an already running binary
I can tell you that π
ahah I understand... but you should have this flexibility because one day you'll have to edit them π
Yeah but not for that
I agree
If you find out the underlying issue we can tell the trimui people to fix xy
I don't see any issue here: if gptokeyb has to finish its initialization before launching the game, it's normal that it doesn't work.
I agree, but it works on ALL cfws and all devices except trimui
That's not an argument π
# Simple test script
#!/bin/bash
echo "Starting background process"
sleep 5 &
echo "Background process started"
ps -ef | grep sleep
wait
echo "Background process finished"```
It's not the same because the ps will check the presence of a process file which is instantly created
I know that doesn't mean gptokeyb doesn't have its own problems maybe. But if something performs out of norm or by being misconfigured or having a different behaviour and in that way it shows that problem, does not mean its not at fault
while the initialisation if gptokeyb could take some ms
I agree, I don't juge, for now we just know that the sleep solve the problem, we'll find a solution
@zinc oriole you have worked on gptokeyb , do you know why it doesn't work when gptokeyb is starting after the game ?
(it's a fork of fork of fork this utility !)
So we want to test on a working and non working:
- Starting app without gptokeyb and then via ssh start gptokeyb manually after the game has launched to notice behaviour.
- echo $SHELL
$SHELL --version
- dmesg & journalctl -xe```
Also maybe once the .sh was killed it looses all its env variables? Really depends how trimui is executing the scripts
No idea
doesnt make sense to me
I have to install knulli and make some tests...
when running gptokeyb after the game controls are not working but exit with Menu + Select is still working (it probably just send a pkill so it's easier)
running gptokeyb from SSH just before the game doesn't seems to work (gptokeyb could use some variable from the script ?) it works
first tests :
- I disable the launch and the kill gptokeyb in the launch script
- I run gptokeyb from SSH
- I run the port, kill the port, run the port again: it's always working
- I restart gptokeyb from SSH when the game is running : it doesn't work anymore
Now ideally I should do the same on knulli
Please continue π
I have to find the last version first (I'm a monthly donator I don't know if it changes something for the version to use)
OK knulli's portmaster is not working with the current github version, I try the alpha version
...and on the last version I have routing problems: no internet connection π΅βπ«
TSP is a device for courageous people !
Thatβs one way to put it.
the screen recorder kinda unstable for Port master, smooth for Retroach
it crash for portmaster ? We could re-compile FFmpeg, I think that hardware acceleration are missing too.
no it didnt crash. It worked but the screen it like glitching and horror movie
Whatever I do (flashing firmware again, trying different knulli versions... I have no internet connection... : DNS resolution problem) I can't make my tests on knulli... I can't figure out PortMaster can work without network π
One last test :
- I run gptokeyb
- I run a port from SSH (without gptokeyb command lines) -> it works
- kill and run gptokeyb again: doesn't work
Test 2 : running the port from SSH, then gptokeyb -> doesn't work
I'm pretty sure that you can reproduce with any device/OS. Can you make the test with another device ?
Imo gptokeyb is emulating a driver which is not detected by the running app if it's not present at the app starting.
You can observe the same behavior when you plug a keyboard on the TSP : it works only if the keyboard is plugged before running the app.
May be something related to their SDL version π€
A workaround for the TSP to put in TRIMUI_EX launcher:
#!/bin/sh
source /mnt/SDCARD/System/etc/ex_config
PORTS_DIR=/mnt/SDCARD/Roms/PORTS
cd $PORTS_DIR/
################ Fix for TSP ################
FILE="$@"
LINE_TO_ADD="sleep 0.3 # For TSP only, do not move/modify this line."
# Check if the line already exists
if ! grep -q "$LINE_TO_ADD" "$FILE"; then
# Use awk to insert the line after the target line only if it doesn't already exist
awk -v line="$LINE_TO_ADD" '
BEGIN { line_inserted = 0 }
/^[[:space:]]*\$GPTOKEYB[[:space:]]*.*&[[:space:]]*$/ {
print $0
if (!line_inserted) {
print line
line_inserted = 1
}
next
}
{ print $0 }
' "$FILE" > /tmp/port_tmp.sh && mv /tmp/port_tmp.sh "$FILE"
fi
#############################################
/bin/sh "$@"
At least like this no modification required on all scripts...
(it adds a sleep line just after a line which starts with "$GPTOKEYB" and finish with "&")
(you could modify the sleep to 0.2 in control.txt to compensate)
That is something we can do
@zinc oriole , what do you think about this workaround ?
teaspoon = tsp ? π
Yes I made my tests on CrossMix, mostly with mReader, if the gptokeyb command line always starts with "$GPTOKEYB" and finish with "&" it should be OK π
( it should also manage the eventual spaces , carriage return and tabulations )
Quite elegant. π
Rarely see awk used like that these days.
can i play iconoclasts and undertale on trimui smart pro?
No for Iconoclasts (box86 required):
https://docs.google.com/spreadsheets/d/1oCGa4lMDsZD4V7A559urMNcVzCZluptY8lyFmE45w5o/edit?gid=389157348#gid=389157348
Hi, I plan to add a bunch of libs in CrossMix to maximize the compatibility with ports from PortMaster. I was initially expecting fixes on missing libraries from the PortMaster side but now I that I know better the project I suppose that I don't have to expect fixes in this way π
It could be a good idea to apply the mentioned workaround in TRIMUI_EX launch scripts if you think that it will fit well, I hope to improve the compatibility a little with these first little steps π
It really depends, many things come from the os side indeed. But if a thing can be fixed from the port side we also do it there. Just need to test the other cfws as well
But often it's just the os lacks some libs all others have
If we found the bug for gptokeyb for example I will test more ports too or look into broken ones to figure out what the problem is
I come back on the gptokeyb problem: I have tested a port on knulli (I still have no internet connection on knulli but local SCP is working) and indeed the behavior is not the same.
This is really a strange behavior from the stock firmware: Input devices are not "hotplug": I have remarked that if you plug any input device when an app is already running, the input device will not be detected.
For example on MainUI (or any other app like a port), plug an USB keyboard: it doesn't work until you restart MainUI. The problem is not here on Knulli. gptokeyb creates virtual input devices often after the launch of the port so it's the same problem.
I don't know what is managing the input devices in the firmware/linux, it seems similar on knulli ( for example with an usb keyboard you'll see something like /devices/platform/soc/5200000.ohci1-controller/usb2/2-1/2-1:1.1/xxxx added in dmesg) but the result is not the same, on knulli the input devices are really hotplug.
I've asked to TrimUI if they have an idea about that, at least for now (with the modified launch script) we have a workaround π
I think you got it
I often plug in my keyboard after my game has started to figure out controls
this would then also not work
And this explains it a lot
@ionic vortex we can implement the workaround anyway the way you did into the control files
I want to flash crossmix os soon and will do some tests
did you update the control files for crosmix yet so i can test some ports?
with what libs are needed etc
I'll release the v1.2.0 in the next days you should wait for this release. Il will include new libs in this version to try to improve the compatiblity with portmaster (I didn't made the commit for now).
Until now I try to not modify at all TRIMUI_EX/ PortMaster in CrossMix to allow to the user to update/reinstall it without observing any change in behavior. I will not modify your scripts without a discussion with you first because I don't want to create support for you on a modified version of your work.
Which means that if we want to modify the control files it should be done in TRIMUI_EX first and then I'll report this modification to CrossMix.
Sounds like a plan
(so at least it will be homogeneous between those who have the stock version, Tomato or CossMix)
I think that the problem with this is that the GPU manufacturer don't give any gpu libs, so they did not add lib32
Maybe they can ask
because a TON of ports needs 32 bit
like +150 ports as of now
They said about RA
The ra32 may works if we use sunxi-G2D, but 2D games and RGUI only.
I'm not expert on gpu driver, I don't really know what is sunxi-G2D
I think a133 plus uses IMG PowerVR GE8300 GPU
RIP
While I'm thinking about it, we should add this in the launch script for mac users (it seems to crash the portmaster UI if there are dot files) :
rm /mnt/SDCARD/Apps/PortMaster/PortMaster/._*
rm /mnt/SDCARD/Apps/PortMaster/PortMaster/config/._*
How are they installing pm?
copying the files manually?
I think that when they browse the folder the famous dot files are created
why they are browsing it I don't know but I can't prevent them π
ahah I will not enter in this debate, but yes creating dot files on a removable media is really a bad idea
(It was also breaking some of my CrossMix tools)
Yeah then we can do that
A deeper version (a little longer to run, not sure if it is necessary) find /mnt/SDCARD/Apps/PortMaster/PortMaster -name '._*' -exec rm '{}' \;
TrimUI answer about my questions:
we sent the requirement for PVR 32bit and Vulkan 6 months ago, but Allwinner finally only provided Vulkan and did not complete the 32bit.
:/
me:
OK, do you think that there's still a hope ?
I think there is still a chance because Allwinner has also started to value this type of product.
So we can just cross our fingers and wait :p
That what we are talking about just upside β€΄οΈ π
sooo only if Trimui update?
are they gonna update like 1.0.4 update for PSP?
No if allwinner develops 32bit drivers and trimui includes them
do they have website or official shop?
is there any sonic cd fix
where can i get gmloader for port game?
oh my mistake
Itβs box86?
Forager
/mnt/SDCARD/Emus/PORTS/../../Roms/PORTS/Forager.sh: line 42: ./gmloader: not found
/mnt/SDCARD/Emus/PORTS/../../Roms/PORTS/Forager.sh: line 45: systemctl: not found
I could never get the mono version to run
oh okay
how about Fez? I can run it to the intro, but when loading the menu it crash
Any games that are on portmaster?
i thought somebody port it in the testing room
Yeah but you gotta understand that theyre still in testing for a reason rightπ
I cant really help you with that one
None of them officially supported
Try some games our website that went out testing ^^
Because if they're still in testing it has a reason
Good ideaπ
Dont forget to select the trimui, or you'll end up with forager again.
@ionic vortex in a Trimui Group they said Crossmix Os is bloatware. But why i cant find any information about this, or they misunderstood the Crossmix Refresh something?
Well thats their opinion?
bloatware is opinion? i thought it was harmful like spyware?
Its not spyware.
Bloatware is extra stuff that slows a computer down, unneeded.
There is nothing to show that Crossmix is bloatware?
hmm I have used it since 1.0.0, i feel it smoother than Stock one
but someone in group say that im just curious
Then i would ignore them. π
tks
Yes I use it essentially for crypto mining, ads, and spy π
Well everything in CrossMix is free and open source: on the official Github they can see how CrossMix is built line per line.
The exceptions are the elements which are already include in the firmware (when I say firmware here I talk about TrimUI part, internal storage). So the biggest exception is the UI (MainUI) that I use which is the stock one from TrimUI and which is good but closed source. You could have some doubts about the default elements from the firmware like MainUI or the daemons from TrimUI which comes from stock too (keymon, trimui_inputd, trimui_scened..) but I'm paranoid (and I'm not the only one in this community) so I have spied since a long time with what is communicating the TSP thanks to WireShark, and the answere is that: there is absolutely nothing suspect in the TrimUI software, on the contrary, it's very clean in terms of network communications.
So where is this TrimUI group ? I'm gonna invite them to point me where is the bloatware π
One last thing: Honestly I spent days and nights on CrossMix since months, it's a substantial personal investment, I think the PortMaster authors understand what I'm talking about π but I sometimes observe aggressive behavior, that's the way it is on the internet, but on the whole CrossMix is starting to make a name for itself, because I've put a lot of effort into making it a good out-of-box experience with new feature, wizards, optimization, configuration...
most of them are boomers and didnt speak english i think
cuz im in the same country with them
tried to introduce the Crossmix to them cuz im also the Crossmix User from 1.0.0 and feel it better than others, some listen some dont
Where is it ?
@drifting turret @zinc oriole Many ports launch scripts totally override the LD_LIBRARY_PATH instead of just add the local lib path in the beginning of LD_LIBRARY_PATH.
For example, now in /mnt/SDCARD/System/lib I have all the required libs for Hocoslamfy, but the launch script contains LD_LIBRARY_PATH="$PWD/libs" instead of LD_LIBRARY_PATH="$PWD/libs:$LD_LIBRARY_PATH" (like in mReader for example) so Hocoslamfy wont run π΅βπ«
Yeah need to fix that. We require it now but many old ports ignore it
And sometimes we overlook jt
OK so I consider that it will be fixed on your side ? (Just to know if I have to look for a workaround)
May be I can help for a global modification on PortsMaster/PortMaster-New repo ?
Yes.pm side.
Needs to happen in the game scripts
I'll do a grep and do a big pr
@zinc oriole I have modified TRIMUI_EX the launch script like this in CrossMix : https://github.com/cizia64/CrossMix-OS/blob/main/Emus/PORTS/launch.sh
There is a little trick that I use in many launcher to detect the selected option in the emu selector menu and avoid to have to multiply the scripts.
Ideally we should have the same launch script so let me know if it suits you π
I'll add it to my todo list π
Yeah looks good. If you want to PR my repo Iβll do an update for it.
I've made a little PR: https://github.com/kloptops/TRIMUI_EX/pull/12
I've also informed TrimUI about this problem of input device detection which is not hotplug
No problem π
Once the LD_LIBRARY_PATH will be updated in the launch scripts it should improve (a lot) the TSP compatibility with stock
Youβre doing good work. π
@ionic vortex https://github.com/PortsMaster/PortMaster-New/pull/540
β¦" to ld_library_path exports for tsp & rocknix compatiblity
Important that in the future we make sure to add :$LD_LIBRARY_PATH" in the ld_library_path
Hahahahaha
Yeah
I reworked some scripts too
I hope I got most of it
I mean most would probably run but it's better to include it
Yes I saw that, impressive commit
In the end i just did the ld_library changes because lost concentration after 2 hours or so
Another time π
Lots of old ass ports
Yes... one day you could create a kind of standard script with only some variables to fill and a little place for specialties when it's necessary, then it call a central script. It would help to standardize all the new scripts.
The kind of task which takes days to make but after that it's a pleasure to add a new port π
Hi, this is a firmware destroyer for the TSP: https://github.com/PortsMaster/PortMaster-New/blob/7221014a2e9a44bb4099b6c1aba63d69f86a15b8/ports/rott/ROTT.sh#L30
Hahaha
because it only has like 200mb free?
Imo the best would be to never write in rootfs. These swap files should be created on the SD card.
However I can ask to TrimUI to extend rootfs_data partition in the next firmware, what would be the ideal size ?
Most of the devices root is on the sdcard
ah OK
the emmc is 8GB (Am I wrong ?)
I think it's not used...may be a little for UDISK
May be @drifting turret can at least modify these 2 launch script in his giant PR π
I think they made a little rootfs just to avoid to have a big image for SD recovery
(https://github.com/PortsMaster/PortMaster-New/blob/main/ports/duke3dawo/Duke3D - Alien World Order.sh#L65 there is no swapoff at the end of the script and no swap file remove neither)
Yeah i complained in https://discord.com/channels/1122861252088172575/1260853201461055539 too about swap
BAD BAD BAD
Did anyone managed to make Ship Of Harkinian to work on Trimui. I get missing libpng16 error and when I fix that I get bunch of other fun stuff
./soh.elf: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by ./soh.elf) ./soh.elf: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by ./soh.elf)
./soh.elf: /usr/lib/libstdc++.so.6: version CXXABI_1.3.13' not found (required by ./soh.elf) ./soh.elf: /lib64/libc.so.6: version GLIBC_2.34' not found (required by /mnt/SDCARD/Data/ports/soh/libs/libspdlog.so.1.10)
./soh.elf: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /mnt/SDCARD/Data/ports/soh/libs/libspdlog.so.1.10) ./soh.elf: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /mnt/SDCARD/Data/ports/soh/libs/libspdlog.so.1.10)
./soh.elf: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /mnt/SDCARD/Data/ports/soh/libs/libfmt.so.9)
./soh.elf: /usr/lib/libz.so.1: no version information available (required by /mnt/SDCARD/Data/ports/soh/libs/libpng16.so.16)
./soh.elf: /usr/lib/libz.so.1: no version information available (required by /mnt/SDCARD/Data/ports/soh/libs/libpng16.so.16)
Everybody want to play to Ship Of Harkinian these last days π
It doesn't work due to old libc (we have 2.33 on crossmix for example and it seems that you need 2.34)
You can probably get it to work with the compatibility build for arkos
hmm where is the folder i need to copy game/game.sh into ?
cuz i just refresh game, no list game update
/Roms/PORTS
or
/Data/ports ?
You install the games via Portmaster it automatically puts the files into the correct location
it create sh at roms/ports and data at /data/ports i think ? but what if i'm not download port directly from portmaster, just copy paste, game not even show up
even inside portmaster it still regonized as already installed game (copy paste)
From where else? If you download them from portmaster.games zip file you can put them into the auto install folder and it will put them into the correct location also
nope just backup, folder + .sh
Then download them from the officials source.
Sounds like you're trying to get pirated versions of pm games onto the device π
Great news, congrats for the work on this !
The release will take some time to be generated π
Tested successfully on the TSP with Hocoslamfy π
(I don't know if we can consider that as an in-depth audit but at least there is one improvement π )
@ionic vortex if you want i can also post it in retro handhelds discord the firmware post
@ionic vortex after i upgraded to Crossmix 1.2.1 everything works fine except the PS1 game. I can only play the game that i used to play before and had a saved game. The game i have never played or reload it, only black screen and cant play
You mean CrossMix post ? Why not π On my side I've made the [promotion of your PR](#1177336131457646722 message) and I plan to test at least all the "ready to run" games on the TSP to have some visibility on which libs are still missing.
Try to refresh your roms first but it's not the right place here for CrossMix support, Come talk about CrossMix on RGH or Retro handhelds discord servers π
Just thinking: it could be nice to have a new field in database about the "engine" that will run the game : native, libretro, box86, box64.... Like that it would offer the possibility to filter on this criteria (and yes...exclude box86 ports on the TSP for now)
We have the architecture filter in place rn, so it filtrs 32 bit and thus also all box86 games
Oh that's great, you mean that it's already available ?
We already filter by arch?
PortMaster figures out what it can run and will only (in theory) show what is available.
And can we imagine to start PortMaster app with a filter already applied ? (you know where I'm going with this)
(My idea is to hide / show unavailable box86 games on the TSP)
A lot, I don't think that it is filtered
wait...maybe I'm talking nonsense
i havent touched my tsp in a few weeks
sorry for the scare, everything's fine π
(I was reacting to a comment from a user : "now i know why shovel knight, rorr,etc. wont work π")
Yes yes indeed they copy their ports from previous devices...
You can actually disable all the checking so that all ports show up
although
would be nicer....
π
