#PortMaster - TrimUI Beta

1 messages Β· Page 2 of 1

hasty plaza
#

when i try to turn it on the sticks light up then it turns back off

zinc oriole
#

Damn. They released the firmware after I’d finished for the day. Can’t test until tomorrow. :/

hasty plaza
#

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?

zinc oriole
#

Uhhhh. Not sure.

hasty plaza
#

april 6th was 1.0.4.1 release

zinc oriole
#

Might’ve been a few minor updates.

#

The major change was only released a few hours ago and I pulled that.

hasty plaza
#

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

hasty plaza
#

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

hasty plaza
#

also the new firmware hotfix makes the mac static

#

so no need to do that anymore

zinc oriole
#

Oh nice.

zinc oriole
#

@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. πŸ™‚

hasty plaza
#

i just installed portmaster and it made my device better. what the heck?!

#

haha

#

i'll install it in a sec

hasty plaza
#

so far so good

zinc oriole
#

I wondered if anyone would notice. doggokek

zinc oriole
#

I wonder if anyone will notice it is a beta

#

and they should backup any files

rancid lark
#

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

zinc oriole
#

Atleast this time if people update, its their own damn fault

zinc oriole
#

That moment when you’re brushing your teeth and you realise there is a bug in your code. facepalm

drifting turret
#

πŸ˜„

zinc oriole
#

so now im uploading a new version πŸ˜„

drifting turret
#

What bug?

#

πŸ˜„

zinc oriole
#

it uh

#

never was doing the update code in the wrong directory

drifting turret
#

Whoops

zinc oriole
#

i was running it manually so i could observe it :/

#

wtf

#

Did you see this? TurtleThink

#

this is on TRIMUI_EX

rancid lark
#

lol

drifting turret
#

lol

zinc oriole
#

i didnt even respond

peak zealot
zinc oriole
#

narrator: he put the password in wrong more than once.

drifting turret
#

πŸ˜„

zinc oriole
#

It has a few words misspelled, sometimes I spell them correctly

zinc oriole
zinc oriole
#

and i am uploading a new new new new build

drifting turret
#

πŸ˜„

zinc oriole
#

@drifting turret did you have any luck with it?

drifting turret
#

Because no matter what I do I don't get controls in Angband for example

zinc oriole
#

Did the ports tab work?

drifting turret
zinc oriole
#

Nope

#

you can go into Options -> Port locations or something

drifting turret
#

K will test it

zinc oriole
#

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

drifting turret
#

Switching to the Ports tab works

#

Its just the normal apps view is nicer with it being a list

#

instead of tiles

zinc oriole
#

Wait. So you like the roms section or the ports tab?

drifting turret
#

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

drifting turret
#

With list, numbered and full name and screenshot

#

This is acceptable

#

Lol

#

This is not acceptable

zinc oriole
#

Yeah, its a bit of a mess

drifting turret
zinc oriole
#

no? πŸ˜„

#

I have zero control over it

drifting turret
#

fuck that πŸ˜„

zinc oriole
#

@drifting turret i dunno why Angband doesnt work TurtleThink

maiden wave
#

My trimui just arrived. Just waiting for my SD card

zinc oriole
#

Doesnt mattererererer

#

Knulli πŸ˜„

west cedar
#

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

drifting turret
zinc oriole
#

thats interesting

#

i fucking hate that device

west cedar
zinc oriole
#

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

west cedar
#

at least on stock os startup and sleep works really good

zinc oriole
#

Oh yeah and the standby time is insane

west cedar
#

i don't event want to touch my rgb10max3 and rgb30 now, because they start like 2min

west cedar
#

found out that after you open pm app install some games, other games (which were installed before) .sh will be moved to data folder

zinc oriole
#

hrmmm

#

weird

#

ah

#

worked it out

zinc oriole
#

trimui

west cedar
#

yes, trimui

#

knulli can be installed already?

drifting turret
zinc oriole
#

@fallen plinth can you make @west cedar a tester? ❀️

hasty plaza
#

yes

#

i was away a couple days sorry, the should i test now or are you fixing stuff atm @zinc oriole

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.

hasty plaza
#

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

zinc oriole
#

Sounds good. πŸ™‚

zinc oriole
#

@left parrot or this one?

left parrot
#

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

zinc oriole
#

Yeah it does feel premium

#

the os doesnt 😦

left parrot
#

Nope

#

Feels like a 2010 version of DaijishΕπŸ˜…

hasty plaza
#

id have prefered they used debian/ubuntu

#

but it is what it is

#

tag me when the portmaster is ready for testing btw, please

hard rose
#

After new update all ports not working πŸ˜•

drifting turret
#

It's just a port Downloader

rancid lark
#

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?

drifting turret
left parrot
hasty plaza
#

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

zinc oriole
analog jungle
analog jungle
#

I might be missing something obvious, but I do not see it:

drifting turret
#

Then it failed before it could create the log

peak zealot
#

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

hasty plaza
#

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

drifting turret
#

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

drifting turret
#

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

analog jungle
#

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

drifting turret
#

If not it won't launch

drifting turret
analog jungle
quasi granite
#

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)

zinc oriole
#

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.

hasty plaza
#

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

analog jungle
analog jungle
# drifting turret You and me both xD

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

drifting turret
analog jungle
#

Is there guidance for all runtimes in TrimUI Smart Pro?

drifting turret
#

runtimes always go into the portmaster/libs folder

analog jungle
#

If I side load the port from portmaster.games, does it include the runtimes?

zinc oriole
drifting turret
zinc oriole
#

Wonder if it’s running out of temporary file space.

drifting turret
#

Forgot to check pugwash

zinc oriole
#

Well widelands is 400+ mb, remember trimui only has a small root filesystem.

hasty plaza
#

zelda thats over 100mb

#

widelands

#

but once i enabled zram they install fine

#

portmaster hasn't crashed during an install since

analog jungle
#

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

drifting turret
#

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

analog jungle
drifting turret
#

no controls at all

#

I then tried Knulli and haven't looked back πŸ™‚

analog jungle
#

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?

drifting turret
analog jungle
drifting turret
#

Stock needs to fix stuff indeed

drifting turret
#

ubuntu 20.04 aarch64 libs πŸ™‚

analog jungle
analog jungle
#

Is there a way to enable swap memory on the stock or tomato os firmware?

drifting turret
#

Wears the SD down really quick

analog jungle
#

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

zinc oriole
#

I wonder why it’s running out of ram. I’ve never seen PortMaster use more than 500mb. :/

left parrot
rancid lark
#

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

left parrot
analog jungle
rancid lark
#

nop, just editing the script

#

on kloptops' trimui_ex there are 2, one on roms/ports, the other on data/portmaster or something

quasi granite
#

So do we have list of working games on TrimUI?

peak zealot
#

Not everything is confirmed

quasi granite
#

We have there games such as Fallout 1/2 which crash at start sooooo :/

#

vcmi which doest start etc

peak zealot
#

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

zinc oriole
#

The thing is trimui, Knulli, and muOS are relatively new platforms. Whereas ArkOS, AmberELEC and Rocknix have been supported for a long time.

peak zealot
#

On top of that every os has its own quirks and issues doggokek

jovial idol
peak zealot
#

This is the TrimUI Beta channelπŸ˜„

rancid lark
#

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

peak zealot
#

Is this different from the high performance mode?

rancid lark
#

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

left parrot
#

I'll need to try this when time permitsπŸ™‚

rancid lark
#

oh yeah, I can rarely do so, today was completely atypical 🀣

gritty flare
zinc oriole
rancid lark
#

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 πŸ™‚

rancid lark
#

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

zinc oriole
#

how would that work? πŸ™‚

rancid lark
#

how do I write code here on discord?
testing

#

oh great

zinc oriole
#

you can even style it

#

```<syntaxname>
CODE HERE
```

#
#!/bin/bash

# Blah blah blah
if [ 1 -eq 2 ]; then
  echo "WHOOPS"
fi
rancid lark
#

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

zinc oriole
#

and then what?

#

where does it go? how does it work?

#

KInda need to see the full picture here πŸ˜„

rancid lark
#

ah, sorry

#

this is in Emus/Ports

#

if config.json has this launchlist option you can open the game with X instead of A

zinc oriole
#

so that goes into config.json?

#

oh nice!

#

Did not know that

rancid lark
#

then a list like this opens

zinc oriole
#

ahhhhhhhh

rancid lark
#

this was me testing cores

zinc oriole
#

How does it know what to use by default?

#

I guess it calls this by default?

"launch":"launch.sh",
rancid lark
#

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 😜

zinc oriole
#

it wont work if they live in the ports tab TurtleThink

rancid lark
#

true, ports in the ports tab won't load using the Emu script

#

they would need their own cpufreq settings in their launchers

zinc oriole
#

yeah... thats not happening. lol πŸ˜„

rancid lark
#

lol yeah, I figured

#

but having them as games and Portmaster as an emulator is - subjectively - cleaner and more organized anyway

zinc oriole
#

yeah definitely

#

i only added it to fit in with the trimui frontend

hollow cypress
#

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

drifting turret
rancid lark
#

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

drifting turret
rancid lark
#

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 πŸ™‚

hollow cypress
#

now I only get a black screen

rancid lark
#

are you using latest trimui_ex with latest portmaster update?

hollow cypress
#

sh: setterm: not found
this is the erro message on the log

hollow cypress
rancid lark
#

if it still won't work maybe there's something wrong with the Data.rsdk you provided

zinc oriole
#

Shit

#

I knew I had to do something else

#

Forgot about the trimui ex pr.

drifting turret
#

πŸ˜„

zinc oriole
drifting turret
zinc oriole
#

I didn’t. Someone did a pr for fixes to ports.

#

You can choose a power profile when you run them.

hollow cypress
#

I reinstalled everything and now it works, thank you very much

rancid lark
#

❀️

hearty vessel
#

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?

maiden wave
#

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

hearty vessel
#

I see, thanks. That's a shame 😦

odd dock
#

how to update Portmaster in TrimUI Smart Pro 1.0.4 guys, im noob in tech

peak zealot
#

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.

odd dock
#

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"

zinc oriole
#

Thats weird

#

im gonna boot mine soon, i'll double check it

odd dock
#

tks sir

zinc oriole
#

You're welcome. TurtleThink

peak zealot
#

Btw celeste isnt on portmaster πŸ™‚

zinc oriole
#

That too

odd dock
#

i mean celeste classic

peak zealot
#

Oh

#

Thats even weirder then

odd dock
#

i want to play that banana duck more but i tried to reinstall it all over again

#

it didnt work

zinc oriole
#

hrmmmm

drifting turret
#

No runtimes installed πŸ™‚

peak zealot
#

Maybe, but that should auto install when downloading a godot game

drifting turret
#

libtheora

peak zealot
#

Ah

drifting turret
#

for bananaduck

odd dock
drifting turret
#

inside the port libs folder

odd dock
#

oh

#

letme try

drifting turret
#

and inside of there should be alog you can post the content of that log too πŸ™‚

odd dock
#

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?

#

Last updated: 31MAY2022 Finally! A port of Celeste is now available on retro handhelds, so you can natively play this little platforming gem. The installation process is a little trickier than othe…

peak zealot
#

I dont know if anyone has tried celeste on it yet. In theory it should workπŸ˜…

odd dock
peak zealot
#

I can try tomorrow? I know youre busy πŸ™‚

zinc oriole
#

my busy? πŸ˜„

#

hahaha

#

πŸ˜„

zinc oriole
#

nah im just pottering about

drifting turret
zinc oriole
#

added some stuff like knulli although knulli would be nicer....

#

and ROCKNIX πŸ˜„

odd dock
#

i tried

drifting turret
odd dock
#

log is like a .txt file?

peak zealot
#

Log.txt

#

Its also in the port folder

odd dock
#

btw my Fox Tower game black screen too

drifting turret
odd dock
#

i didnt see any

peak zealot
#

One folder back πŸ˜„

odd dock
#

oh i see

#

delete it?

peak zealot
#

No

#

Send it here haha

zinc oriole
odd dock
#

Fox Tower didnt have any log file

#

ony black screen

peak zealot
#

Yeah so its missing some libs

odd dock
#

libmpg123.so.0?

peak zealot
#

#πŸ”Ήο½œportmaster message

#

Did you add these @zinc oriole

zinc oriole
#

uhhhh

#

no

#

lol πŸ˜„

#

@drifting turret was doing something with it

drifting turret
#

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

zinc oriole
#

true

#

knulli is much better

#

like i got a pr for trimui_ex

#

i have been staring at it for like an hour now

odd dock
#

when the knulli is completed will it better than the tomato?

peak zealot
#

For portmaster? 100%

#

I quite like the stock os, but for non retroarch stuff its very limited

odd dock
#

it works!!!!!!!

#

tks guys

peak zealot
#

This will be the trimui experience for a little while :p

odd dock
#

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

peak zealot
#

Exit should be start+select or start+menu

odd dock
#

oh

zinc oriole
#

I forget how nice the trimui's screen is when playing games

peak zealot
#

Its a lot better than the x55

#

Crazy how cheap they got this thing

#

Someone already tried celeste (ofcourse they did :p)

#

@odd dock

left parrot
#

Cave crawler is cool on it too☺

#

Such a cool little platformer

neat pendant
zinc oriole
#

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

peak zealot
#

Read this: #β˜•ο½œlounge message

neat pendant
peak zealot
#

I agree, but Johnny is the one who decides πŸ™‚

rancid lark
#

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

peak zealot
#

Its very much worth it, ive played it twice atp.

zinc oriole
#

i got it from the ukraine bundle i think

#

its taking forever to upload this fucking zip

rancid lark
#

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

zinc oriole
#

oh i meant to github

#

my internets is slow as fuck

rancid lark
#

oh

#

lol

#

yeah

#

good luck? hehehe

zinc oriole
#

nearly done πŸ˜„

#

HUZZAH

#

Thanks @safe ivy πŸ˜„

safe ivy
odd dock
zinc oriole
#

Shovel knight won’t work

#

It’s 32bit

odd dock
peak zealot
#

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?

odd dock
#

what's that?

odd dock
#

Smooth criminals

odd dock
#

Guys how the picture of the game work, i have the game but no picture. How to add a picture for it?

zinc oriole
#

Sounds like you’re getting pirated archives. TurtleThink

odd dock
#

sus

safe ivy
#
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

left parrot
cerulean zenith
#

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

cerulean zenith
#

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

zinc oriole
rancid lark
cerulean zenith
#

made SoH work with compatibility mode, but it was extreeeeemely slow

peak zealot
cerulean zenith
#

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)

peak zealot
#

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 πŸ™‚

cerulean zenith
peak zealot
#

Compat versions is indeed very slow

#

Should still be slightly better then emulation though

#

And widescreen ofc

cerulean zenith
peak zealot
#

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

cerulean zenith
odd dock
#

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

odd dock
#

Sorry im using phone rn

#

Cant see pins

drifting turret
odd dock
#

What is the main cause bringing corrupted file?

zinc oriole
#

What?

odd dock
#

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

rancid lark
#

why are you asking about this here? πŸ‘€πŸ€¨πŸ„

odd dock
#

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

slim raven
#

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.

drifting turret
#

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

rancid lark
#

I love that you call it teaspoon lol

#

I've been calling it "colher de chÑ" in portuguese because oof you 🀣

slim raven
#

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.

safe ivy
drifting turret
drifting turret
safe ivy
drifting turret
odd dock
#

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?

next coyote
#

How to get out of the game? I tried every button

#

Select+start worked...weird

peak zealot
#

Thats not weird, thats how you exit every port

gaunt vine
#

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?

drifting turret
gaunt vine
# drifting turret That's because you have to change the data location in options if you want to us...

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.

odd dock
#

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?

drifting turret
odd dock
drifting turret
odd dock
#

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

odd dock
#

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

odd dock
#

wait gravity circuit run window version insteed of linux? Or am i misunderstanding

drifting turret
#

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

odd dock
drifting turret
zinc oriole
#

I'm glad the migration backup is working atleast πŸ˜„

odd dock
drifting turret
#

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

odd dock
#

where should i download to get those file?

drifting turret
#

and not that it won't work

odd dock
#

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?

odd dock
#

okay tks man

rain quail
#

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 πŸ˜…

rancid lark
#

actually remove one of the libs

rain quail
#

Really 🀣 Which one?

rancid lark
#

remove libtheoradec.so.1!

#

sorry, was looking for it hehe

#

also

#

#1224325700295725188 message

#

do this to your settings.ini

rain quail
#

Awesome, thanks!

#

Don't suppose anyone has tried SorR, log says bgdi: not found but its definitely there

rancid lark
#

sorr?

rain quail
#

Streets of rage remake

rancid lark
#

ah! not yet, let me try it

#

i don't see it on the list

#

is it a 32bit port?

rain quail
#

Think so, its not supported πŸ˜•

#

Plays well on my RGB30 was hoping to play on the bigger screen

rancid lark
#

rgb30 is multiarch, isn't it?

drifting turret
rancid lark
#

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

peak zealot
rancid lark
#

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?

peak zealot
#

Ive never used gentoo so cant say. Im running WSL and a arm ubuntu chroot.

#

Thats what cebion recommendedπŸ˜„

rancid lark
#

hmmmmmm

#

so you can emulate arm with WSL?

peak zealot
#

WSL is a linux subsystem in windows. Chroot is what "emulates?" an arm env.

rancid lark
#

integrated VM sounds easier

peak zealot
#

Its really not too bad imo.

#

Some others use docker

#

And then others compile on sbc's

#

Its all personal preference

rancid lark
#

yeah, the other alternative I was considering is grabbing a Pi

peak zealot
#

Thats not a bad option, chroot adds tons off overhead anyway.

rancid lark
#

...then running gentoo to compile everything, guess I'm a bit obsessed

rancid lark
#

hehehe it'll take some time

peak zealot
#

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

rancid lark
#

hehehe I'll be fine, did it decades ago with a lot less ram and processing power hehe

rancid lark
#

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

hearty vessel
#

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.

rancid lark
odd dock
#

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?

hearty vessel
rancid lark
rancid lark
#

will become | tee

odd dock
rancid lark
#

Idk, I don't have those so never tested :/

odd dock
#

my seller can run it but i can't, strange... cuz we had the same device TSP

hearty vessel
deep ridge
#

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.

deep ridge
#

@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.

deep ridge
#

Yes.

#

Stock + TRIMUI_EX.

#

Newest SD Base package from the chinese forum and Hotfix 9.

deep ridge
deep ridge
#

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.

drifting turret
#

@zinc oriole is that an issue with the control file?

zinc oriole
#

It could be.

odd dock
#

Steel Assault worked, tks man

deep ridge
#

Nice!

odd dock
#

DAMN TIMESPINNER WORKED TOO

odd dock
#

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

velvet chasm
plush cradle
#

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?

drifting turret
plush cradle
#

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

drifting turret
#

or on knulli

plush cradle
#

CrossMixOS if I recall didn't even open it but I forgot to check the log, still didn't test Knulli/Stock

crude patrol
#

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

odd dock
#

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

odd dock
#

also tried to reinstall mono runtime in Portmaster but didnt work

odd dock
odd dock
#

oh nevermind some how i fix it...

odd dock
#

i got this error when installing Gravity Circuits on TSP

ionic vortex
#

Hi , for information there is a common problem on TSP with mac files : #πŸ”Ήο½œaarch64 message

ionic vortex
#

@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 πŸ₯² )

ionic vortex
#

It looks nice !

#

I'm going to test "select option" during this time πŸ™‚

zinc oriole
#

Thats what im working on. πŸ˜„

ionic vortex
#

I use your binary a lot in CrossMix, I hope you don't mind πŸ˜„

zinc oriole
#

theres no input handling for that yet tho. Literally just added it 5 minutes ago.

#

Its opensource, thats why i write it. ❀️

ionic vortex
zinc oriole
#

nice

#

i have made it a bit more robust. It no longer crashes if it cant load a file. πŸ˜‚

zinc oriole
#

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.

ionic vortex
#

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 ?

zinc oriole
#
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

ionic vortex
#

(it would be very nice to have word wrap by the way πŸ˜› )

zinc oriole
#

will double check i guess. πŸ˜„

zinc oriole
ionic vortex
#

I think infopanel from Onion manage word wrap if you need some inspiration

ionic vortex
ionic vortex
ionic vortex
zinc oriole
#
    int scaleSize = (int)(float)((screenHeight / 480.0f) * (float)fontSize);
ionic vortex
zinc oriole
#

Which version are you using?

#

Looks like the old one with no ini parsing?

ionic vortex
#

in crossmix I'm using the version from the last TRIMUI_EX

zinc oriole
#

Yeah thats the OG version then.

zinc oriole
#

Or i can add a mode to make it not scale the font.

zinc oriole
#

@ionic vortex: added an -O option to disable font scaling.

ionic vortex
#

Thank you !

ionic vortex
# zinc oriole Working on it right now:

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 ?)

zinc oriole
#

Thats not how it works. πŸ˜„

ionic vortex
#

The ini syntaxe is not obvious indeed πŸ˜…

zinc oriole
#

Makes sense to me. πŸ˜„

ionic vortex
#

bg1=title_text=Baldur's Gate;;description_text=Baldur's Gate

zinc oriole
#

./sdl2imgshow -T gametemplate.ini -G gameselect.ini

ionic vortex
#

ahhhhhh

#

I was far !

zinc oriole
#

gameselect.ini has the options, gametemplate.ini has the code to make the images.

ionic vortex
#

that's great !

zinc oriole
#

@ionic vortex pushed a new version out. Still needs work.

ionic vortex
#

OK I follow with attention πŸ™‚ Do not hesitate to ping me if you need a test session πŸ˜‰

ionic vortex
#

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

drifting turret
ionic vortex
#

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

drifting turret
#

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

ionic vortex
#

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 πŸ˜…

drifting turret
#

But we can rule it out πŸ™‚

ionic vortex
#

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)

drifting turret
#

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 πŸ˜„

ionic vortex
#

This is just a race condition πŸ˜‰ Schmurt has mentioned it too πŸ˜‰

#

but you'll see with a little sleep it works all the time πŸ˜„

drifting turret
#

We'll make some tests, to prove our thesis then we can look into gptokeyb

ionic vortex
#

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)

drifting turret
#

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

ionic vortex
#

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

drifting turret
#

find the underlying problem πŸ˜›

#

We're not editing +550 ports

ionic vortex
#

except if gptokeyb can bind to an already running binary

drifting turret
#

I can tell you that πŸ˜„

ionic vortex
#

ahah I understand... but you should have this flexibility because one day you'll have to edit them πŸ˜‰

drifting turret
#

Yeah but not for that

ionic vortex
#

I agree

drifting turret
#

If you find out the underlying issue we can tell the trimui people to fix xy

ionic vortex
#

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.

drifting turret
ionic vortex
drifting turret
#
# Simple test script
#!/bin/bash
echo "Starting background process"
sleep 5 &
echo "Background process started"
ps -ef | grep sleep
wait
echo "Background process finished"```
ionic vortex
#

It's not the same because the ps will check the presence of a process file which is instantly created

drifting turret
# ionic vortex That's not an argument πŸ˜„

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

ionic vortex
#

while the initialisation if gptokeyb could take some ms

ionic vortex
#

@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 !)

drifting turret
#

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
zinc oriole
#

doesnt make sense to me

ionic vortex
#

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

drifting turret
#

Please continue πŸ˜›

ionic vortex
#

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)

ionic vortex
#

OK knulli's portmaster is not working with the current github version, I try the alpha version

ionic vortex
#

...and on the last version I have routing problems: no internet connection πŸ˜΅β€πŸ’«

drifting turret
#

lmao

#

πŸ˜„

ionic vortex
#

TSP is a device for courageous people !

zinc oriole
#

That’s one way to put it.

odd dock
ionic vortex
odd dock
ionic vortex
ionic vortex
#

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 πŸ€”

ionic vortex
#

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...

ionic vortex
#

(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)

drifting turret
ionic vortex
drifting turret
#

I'll get my teaspoon out later too

#

Did you test with cross mix Os?

ionic vortex
#

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 )

zinc oriole
#

Rarely see awk used like that these days.

odd dock
#

can i play iconoclasts and undertale on trimui smart pro?

ionic vortex
ionic vortex
#

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 πŸ˜‰

drifting turret
#

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

ionic vortex
#

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 πŸ˜‰

drifting turret
#

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

ionic vortex
#

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.

ionic vortex
#

(so at least it will be homogeneous between those who have the stock version, Tomato or CossMix)

drifting turret
#

I just wish we had 32 bit gpu driver

#

maybe trimui people can find some

ionic vortex
drifting turret
#

because a TON of ports needs 32 bit

#

like +150 ports as of now

ionic vortex
#

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

drifting turret
#

I think a133 plus uses IMG PowerVR GE8300 GPU

#

RIP

ionic vortex
# drifting turret Sounds like a plan

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/._*
drifting turret
#

copying the files manually?

ionic vortex
#

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 πŸ˜›

drifting turret
#

fuck mac

#

πŸ˜„

ionic vortex
#

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)

drifting turret
#

Yeah then we can do that

ionic vortex
#

A deeper version (a little longer to run, not sure if it is necessary) find /mnt/SDCARD/Apps/PortMaster/PortMaster -name '._*' -exec rm '{}' \;

ionic vortex
drifting turret
#

:/

ionic vortex
#

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

odd dock
#

Is it possible to play 32bit game on TSP?

#

in the future of course

peak zealot
#

Nope

#

Unless the drivers ever become available

ionic vortex
#

That what we are talking about just upside ‴️ πŸ˜‰

odd dock
#

are they gonna update like 1.0.4 update for PSP?

peak zealot
#

No if allwinner develops 32bit drivers and trimui includes them

odd dock
#

do they have website or official shop?

peak zealot
odd dock
#

anybody now Chinese TurtleThink i will send the mail to the United Nations

#

*know

vital valve
#

is there any sonic cd fix

odd dock
#

where can i get gmloader for port game?

peak zealot
#

Doesnt work on trimui

#

32bit

odd dock
#

bruh..

#

so it cant play Fez?

peak zealot
#

Fez isnt gamemaker

#

And not officially supportedd

odd dock
#

oh my mistake

zinc oriole
#

It’s box86?

odd dock
#

Forager

peak zealot
#

No fez is mono

#

Forager is gamemaker and wont work on tsp

odd dock
#

/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

zinc oriole
#

I could never get the mono version to run

odd dock
#

oh okay

odd dock
peak zealot
#

Like I said that game never came out of testing

#

Theres issues, clearly :p

odd dock
#

the libvorbisfile.dll, although it had it

peak zealot
#

Dll's are from mono

#

No clue how to fix it

#

Probably have to link it manually

odd dock
#

how about the half life 2?

peak zealot
#

Any games that are on portmaster?doggokek

odd dock
#

i thought somebody port it in the testing room

peak zealot
#

Yeah but you gotta understand that theyre still in testing for a reason rightπŸ˜„

#

I cant really help you with that one

odd dock
#

3 games today failed

#

sleep guys

peak zealot
#

None of them officially supported

drifting turret
#

Because if they're still in testing it has a reason

peak zealot
#

Good ideaπŸ˜„

#

Dont forget to select the trimui, or you'll end up with forager again.

odd dock
#

@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?

odd dock
#

bloatware is opinion? i thought it was harmful like spyware?

zinc oriole
#

Its not spyware.

#

Bloatware is extra stuff that slows a computer down, unneeded.

#

There is nothing to show that Crossmix is bloatware?

odd dock
#

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

zinc oriole
#

Then i would ignore them. πŸ™‚

odd dock
#

tks

ionic vortex
# odd dock <@1227362209458421866> in a Trimui Group they said Crossmix Os is bloatware. But...

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...

odd dock
#

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

ionic vortex
#

Where is it ?

ionic vortex
#

@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 πŸ˜΅β€πŸ’«

drifting turret
#

And sometimes we overlook jt

ionic vortex
#

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 ?

drifting turret
#

Needs to happen in the game scripts

#

I'll do a grep and do a big pr

ionic vortex
#

@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 πŸ˜‰

drifting turret
zinc oriole
ionic vortex
zinc oriole
#

Oh

#

My bad I meant to check it.

ionic vortex
#

I've also informed TrimUI about this problem of input device detection which is not hotplug

ionic vortex
#

Once the LD_LIBRARY_PATH will be updated in the launch scripts it should improve (a lot) the TSP compatibility with stock

zinc oriole
#

You’re doing good work. πŸ™‚

drifting turret
ionic vortex
#

Oh my... It's not a little one πŸ˜„

#

who is doing the PR review ? πŸ˜…

drifting turret
#

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

ionic vortex
drifting turret
#

Another time πŸ˜„

#

Lots of old ass ports

ionic vortex
#

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 πŸ˜›

ionic vortex
zinc oriole
#

because it only has like 200mb free?

ionic vortex
#

that's right

ionic vortex
#

However I can ask to TrimUI to extend rootfs_data partition in the next firmware, what would be the ideal size ?

zinc oriole
#

Most of the devices root is on the sdcard

ionic vortex
#

ah OK

zinc oriole
#

They cant

#

the emmc is not big enough

ionic vortex
#

the emmc is 8GB (Am I wrong ?)

zinc oriole
#

What is the rest used for?!

#

@drifting turret do you expect me to read this?

ionic vortex
#

I think it's not used...may be a little for UDISK

zinc oriole
#

or just blindly merge it.

#

πŸ˜„

ionic vortex
#

May be @drifting turret can at least modify these 2 launch script in his giant PR πŸ˜„

ionic vortex
#

I think they made a little rootfs just to avoid to have a big image for SD recovery

main osprey
#

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)

ionic vortex
#

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)

peak zealot
#

You can probably get it to work with the compatibility build for arkos

wise cape
#

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 ?

drifting turret
wise cape
#

even inside portmaster it still regonized as already installed game (copy paste)

drifting turret
wise cape
#

nope just backup, folder + .sh

drifting turret
#

Sounds like you're trying to get pirated versions of pm games onto the device πŸ™‚

drifting turret
#

@ionic vortex has been merged

ionic vortex
#

The release will take some time to be generated πŸ˜„

ionic vortex
#

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 πŸ˜„ )

drifting turret
#

@ionic vortex if you want i can also post it in retro handhelds discord the firmware post

odd dock
#

@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

ionic vortex
ionic vortex
ionic vortex
#

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)

drifting turret
ionic vortex
#

Oh that's great, you mean that it's already available ?

zinc oriole
#

PortMaster figures out what it can run and will only (in theory) show what is available.

ionic vortex
#

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)

zinc oriole
#

It already should?

#

What games show up that it cant play?

ionic vortex
#

A lot, I don't think that it is filtered

zinc oriole
#

How many ports show up?

#

Man this thing is huge

ionic vortex
#

wait...maybe I'm talking nonsense

zinc oriole
#

i havent touched my tsp in a few weeks

ionic vortex
#

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 πŸ˜„")

zinc oriole
#

Yeah 401 ports available on TSP

#

They always manually install it :/

ionic vortex
#

Yes yes indeed they copy their ports from previous devices...

zinc oriole
#

You can actually disable all the checking so that all ports show up