#Minetest (w/ Mineclone 2)
1 messages · Page 2 of 1
Yeah so it does not work, it sounded like it works. Out of box that is
@languid belfry
Is this something one of you can look into?
Yea, there are missing libs also and broken startup script
The only one unresolved issue with I have is invisible cursor
In gui
I think that's universal
Yea
Don't think that works on any cfw
Maybe sdl_sim_cursor will helps,
On rocknix its even worse where it jumps the cursor to the side every 2 seconds😄
Feel free to list your changes so we can fix it upstream
Add missing libs
Fix extraction archive file
Enable loopback interface (for self-hosting)
Thanks!
I'm afraid we still have to work some things out before we can merge that 😛
Because if we merge it like that it will break the port on all other 25 devices ^^
Adding libs is very delicate and if you add one wrong lib or one too many libs it'll pull another 25 libs in.
I saw that you added libSDL1.2 aswell but the port is a SDL2 binary.
The zcat chat we need to test on the other cfws as well.
Does muos not have tar?
I wonder why we have to setup ifconfig lo up and why the os doess not do this by default
Figuring out the libs for this was a nightmare to begin with😄
I'll test it on my rg35xxh now next 🙂
I can probably retest it now with muos to see if theres a package that works for all
but
when i do
readelf -d minetest | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libzstd.so.1]
0x0000000000000001 (NEEDED) Shared library: [libopenal.so.1]
0x0000000000000001 (NEEDED) Shared library: [libvorbisfile.so.3]
0x0000000000000001 (NEEDED) Shared library: [libsqlite3.so.0]
0x0000000000000001 (NEEDED) Shared library: [libfreetype.so.6]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libcurl.so.4]
0x0000000000000001 (NEEDED) Shared library: [libncursesw.so.6]
0x0000000000000001 (NEEDED) Shared library: [libtinfo.so.6]
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libjpeg.so.62]
0x0000000000000001 (NEEDED) Shared library: [libpng16.so.16]
0x0000000000000001 (NEEDED) Shared library: [libSDL2-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
root@Cebion-Boss:~#```
not so much anymore
and the bad wolf in here is libcurl.so.4
let me also test then we can see what we truly need and maybe only need to add 1-2 libs
muos has tar but there is no -z option compiled in
@languid belfry explain yourself 😄
Nuh
😄
It's because we use busybox.
Find alternatives
thanks

Then we'll test if the other options work on the other cfws else we'll ship 7z or something with it
it is .gz file if zcat in not available there is another option to use gzip -d -c data.tar.gz | tar -xf -
my game is doing something really weird
./Minetest.sh: line 23: ////ports/minetest/log.txt: No such file or directory
./Minetest.sh: line 25: cd: ////ports/minetest: No such file or directory
chmod: ./bin/minetest: No such file or directory
./Minetest.sh: line 62: ./bin/minetest: No such file or directory
so yeah to make minetest run on muos all you need to do is rename libcurl.so.4 to libcurl.so.4_old
😄
all the libs you added were because of this single lib
same btw with amberelec
oh, great
so we'll just fix it dirty by doing if muos or amberelec delete that file
😄
alright then add something like [ "$CFW_NAME" = "AmberELEC" -o "$CFW_NAME" = "muOS" ] && rm -f "$GAMEDIR/libs.$DEVICE_ARCH/libcurl.so.4" to the PR and delete the libs and we should be good. Will only need to test the zcat on arkos then we'll merge it 🙂
didnt work
I got it working.
I just replaced the file from the changes git that priol did onto the game and it works
oh nvm literaly none of the controls work
@mild hare ironically when I looked at the log it said the change in the name was the problem
depends how you renamed it lol
With my line?
I think it turns into a file called "libhcrypto.so.4"
That's not how this works 😛
Could be a ghost.
yea its not that, I dont know what happened so I redownloaded the lib file and renamed it again, and the log says: no version information available
Full log 😛 And make sure none of the other libs are intere. Just stock libs no any other new libs
wdym new libs
also log: ./bin/minetest: /usr/lib/libcurl.so.4: no version information available (required by ./bin/minetest)
Okay we may be talking about different things 😄
Let's start from start.
Device? cfw? Did you modyify any files or strart scripts after installing it from PM?
Device: RG35XXSP, CFW: muOS, I added the patch that priolistman did and I installed it from PM
yeah undo that patch
and just delete the libcurl.so.4
that's it
these changes we need https://github.com/PortsMaster/PortMaster-New/pull/485/files
that was the patch I did
so I deleted libcurl.so.4 and I added the changes you recommended, and the exact same log apears
yes
I'll test it later again 🙂
before you go, what time is it for you?
@mild hare any success?
I also did a lot tinkering and the only discovery I found was that if you uninstall via portmaster, reinstall again, add the changes to the .sh file and leave the libcurl.so.4 completely untoutched, you get this weird log file
at the very bottom of the log you can see the message we are all fimiliar with
Aw crap, I forgot
it ok!
@mild hare But please let me know when we could try again
Remind me this evening 😛
alr!
@mild hare Is now a good time?
For what?
Oh yeah lol
I'll test it in an hour
👍
@mild hare how about now?

- Turn on RG35xx (H)
- Delete minetest folder and .sh file
- Start Portmaster
- Install Minetest via PM
- Exit PM
- Connect via WinSCP
- line 48 replace
if zcat "$ARCHIVE_FILE" | tar -xv; then - line 57 add
[ "$CFW_NAME" = "AmberELEC" -o "$CFW_NAME" = "muOS" ] && [ -f "$GAMEDIR/libs.$DEVICE_ARCH/libcurl.so.4" ] && rm -f "$GAMEDIR/libs.$DEVICE_ARCH/libcurl.so.4" - line 58 add
ifconfig lo up - save .sh
- Start Minetest
@normal estuary
ok
Log output from working game
Last line
./bin/minetest: /usr/lib/libcurl.so.4: no version information available (required by ./bin/minetest)```
before that is the whole extraction thing
its taking a bit for filezilla to delete the folder
via ssh its instant rm -rf minetest/
I could not figure out how to get that working
it says: /mnt/mmc/roms/Ports/Minetest.sh: line 66: systemctl: command not found
Yeah no significance
just informational
66 is just for killing
Check against all the steps i did and compare to what you're doing every detail matters
even the editor matters for the .sh
if you're editing it with notepad for example on windows you will insert windows line endinfs for example and break the script
vi is the best one
I tried editing the .sh file with notepad++ and did the exact commands and it still doesnt work
@mild hare here is the .sh file if you need to reveiw it:
Then maybe not newest muos? Not newest portmaster
Because the device I freshly flashed couple of days ago
Maybe something went wrong with unpacking the game
Post the log
You always just copied lines out of it
also I havent mentioned it yet but when I boot it up and the game freezes, I can press select to go back to the main menu. Is this info of any significance
@mild hare I updated portmaster and still no luck
What exactly do you mean when you say It freezes
Do you see the mine test logo?
yea
ill end vid
sorry
@mild hare no inputs beside select work
and im pretty sure its frozen because there is no scrolling in the background
So that is a huge difference between it runs and does not run
Because I was troubleshooting getting it to start at all
So hitting select is escape kex
Do that quits it
Nope not frozen
What you are experiencing is not having analogue sticks to control the menu
Which is done via mouse
oh
Not sure if there is a way to control it via keys
Control works, but mouse cursor is invisible
But you can see when cursor hover on the buttons
@mild hare so this aint gonna work?
Not until you can switch dpad with analogue or you connect a mouse
dammit, well thanks for you help
@chrome gull merged
do I put the code before or after whats all ready there
sorry for my stupidity, im new to this in general
Fix is already online
ok
so as of right now there is no way to get mouse to be visible?
Idk, it's open source. Feel free to hack at it
As I understand there is no implementation of cursor in sdl Mali-fbdev driver https://github.com/mihailescu2m/libsdl2-2.0.2-dfsg1/blob/mali/src/video/mali-fbdev/SDL_malivideo.c
Contribute to mihailescu2m/libsdl2-2.0.2-dfsg1 development by creating an account on GitHub.
@languid belfry who was that guy who did a early port for muos and did a mouse sdl patch? I think corsixth or something
can anyone help #🩺|port-help message
Me on H also same like that. Only press select to quit.
How to fix it?
[?25l[?1ccurrent_mode 1280x720
MALI_CreateWindow:0x556cc6e6e0 done.
2024-08-23 11:48:06: ERROR[CurlFetch]: HTTPFetch for https://content.minetest.net/api/updates/?type=mod&type=game&type=txp&protocol_version=44&engine_version=5.9.0-dev failed: Couldn't resolve host name
My minetest on tsp got this issue
i test this too and same issue
run and crash
/log
Every port has a log.txt generated in ports/{portfolder}, please drag and drop it to discord for help.
because you deleted libcurl?
😄
log after crash
h with libcurl game not starting at all
What os are you using?
log with libcurl first launch
crossmix
1.2.1
@mild hare The game Apotris doesn’t work on TSP either. It starts up to the menu, but when trying to start any mode, it crashes. I’m not sure why; it says it supports Trumui. I have a lot of ports and I’m probably doing everything right.
Mind that trimui is not an offically supported OS
the ports are only in theory compatible
but tina linux has problems from time to time with ports
Don't generalize ports and always look at each port individually
The list on the website just shows what games are within the requirements of the handheld
not that they are tested
we test all supported cfws but not tsp or knulli
in apotris thread is a new binary in testing you can test that one
for minetest it probably needs a bit of rework for tsp
Okay, I understand, thanks for the explanation. It’s probably better to check first if anyone has actually managed to run it. Thanks for the help
If you have hte patience you can also try to fix problems if you find them
check out #1224325700295725188
How to add cursor?
Million dollar question 😛
Minetest renaming to Luanti officially is wild to see
Do we have anyway to update the port to the latest version, cause there has been new version on Feb
guys minetest not launching on my r36s, here is the log:
SIOCSIFFLAGS: Operation not permitted
[GPTK]: Running in UINPUT output mode.
./bin/minetest: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
textures/base/pack/search.png
textures/base/pack/player_marker.png
worlds/
worlds/worlds_here.txt
SIOCSIFFLAGS: Operation not permitted
./bin/minetest: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
/roms/ports/Minetest.sh: line 72: 9520 Killed $GPTOKEYB "minetest" -c "$GAMEDIR/minetest.gptk.$ANALOG_STICKS"
same error
Here is a little thing I've worked up to put a soft cursor in luanti. The patch is against Debian trixie's luanti 5.10 source. If it needs fixing up against ~whatever version~ of luanti you're using, I'll do it (I would search for that, but Discord sucks so hard).
https://github.com/rotopenguin/Luanti-port/releases/download/0.2/Luanti.5.10b.port.tgz here's my build of it, fwiw. Only tried it on knulli/34xxsp. I have minetest2 in there, mineclonia is angy for some reason. (Edit: new build, now the cursor shouldn't disappear when returning to main menu, etc.)
I'm always surprised people still would rather use Knulli on the RG34XX-SP when MuOS is available now. The buttons swapping on Knulli is the most annoying shit ever with these CFWs
I'm used to batocera.
https://github.com/rotopenguin/Luanti-port/releases/download/0.4/Luanti.5.14.port.tgz here's a build of 5.14. Since I have pretty much everything switched off in the cmake, it was easy peasy. As a bonus, mineclonia's error message is now much more useful - it hates luajit's prng.