#Minetest (w/ Mineclone 2)

1 messages · Page 2 of 1

mild hare
#

Haha

#

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?

chrome gull
#

The only one unresolved issue with I have is invisible cursor

#

In gui

mild hare
chrome gull
#

Yea

mild hare
#

Don't think that works on any cfw

chrome gull
#

Maybe sdl_sim_cursor will helps,

tardy moon
#

On rocknix its even worse where it jumps the cursor to the side every 2 seconds😄

mild hare
chrome gull
mild hare
# chrome gull https://github.com/PortsMaster/PortMaster-New/pull/485

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

tardy moon
#

Figuring out the libs for this was a nightmare to begin with😄

mild hare
#

I'll test it on my rg35xxh now next 🙂

tardy moon
#

I can probably retest it now with muos to see if theres a package that works for all

mild hare
#

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

chrome gull
mild hare
languid belfry
#

Nuh

mild hare
#

😄

languid belfry
#

It's because we use busybox.

languid belfry
#

Find alternatives

mild hare
tardy moon
mild hare
chrome gull
#

it is .gz file if zcat in not available there is another option to use gzip -d -c data.tar.gz | tar -xf -

mild hare
#

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
mild hare
#

😄

#

all the libs you added were because of this single lib

#

same btw with amberelec

mild hare
mild hare
mild hare
# chrome gull oh, great

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 🙂

mild hare
#

Log?

#

From a clean install?

normal estuary
#

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

normal estuary
#

ill do it again

#

the lib just vanished

mild hare
normal estuary
#

I think it turns into a file called "libhcrypto.so.4"

mild hare
teal mason
#

Could be a ghost.

normal estuary
#

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

mild hare
normal estuary
#

wdym new libs

#

also log: ./bin/minetest: /usr/lib/libcurl.so.4: no version information available (required by ./bin/minetest)

mild hare
mild hare
normal estuary
#

Device: RG35XXSP, CFW: muOS, I added the patch that priolistman did and I installed it from PM

mild hare
#

and just delete the libcurl.so.4

#

that's it

normal estuary
#

so I deleted libcurl.so.4 and I added the changes you recommended, and the exact same log apears

mild hare
#

i think it comes up for me too but game starts

#

show me your sh?

normal estuary
mild hare
#

looks good

#

you on refried beans?

normal estuary
#

yes

mild hare
#

I'll test it later again 🙂

normal estuary
#

before you go, what time is it for you?

mild hare
#

😄

normal estuary
#

its 4:30 am for me!

#

Anyways, im off to bed, cya

normal estuary
#

@mild hare any success?

normal estuary
# mild hare I'll test it later again 🙂

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

mild hare
normal estuary
#

it ok!

normal estuary
#

@mild hare But please let me know when we could try again

mild hare
normal estuary
#

alr!

normal estuary
#

@mild hare Is now a good time?

mild hare
#

Oh yeah lol

#

I'll test it in an hour

normal estuary
#

👍

normal estuary
#

@mild hare how about now?

tardy moon
mild hare
#
  • 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

normal estuary
#

ok

mild hare
#

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

normal estuary
#

its taking a bit for filezilla to delete the folder

mild hare
normal estuary
#

I could not figure out how to get that working

normal estuary
#

it says: /mnt/mmc/roms/Ports/Minetest.sh: line 66: systemctl: command not found

mild hare
#

just informational

#

66 is just for killing

mild hare
#

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

normal estuary
#

oh I am using notepad

#

should I use notepad++?

chrome gull
#

vi is the best one

normal estuary
#

I tried editing the .sh file with notepad++ and did the exact commands and it still doesnt work

mild hare
#

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

normal estuary
#

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

mild hare
#

Do you see the mine test logo?

normal estuary
#

yea

mild hare
#

Well then it boots

#

You never said that

normal estuary
#

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

mild hare
#

Because I was troubleshooting getting it to start at all

#

So hitting select is escape kex

#

Do that quits it

mild hare
#

What you are experiencing is not having analogue sticks to control the menu

#

Which is done via mouse

normal estuary
#

oh

mild hare
#

Not sure if there is a way to control it via keys

chrome gull
#

Control works, but mouse cursor is invisible

#

But you can see when cursor hover on the buttons

normal estuary
#

@mild hare so this aint gonna work?

mild hare
normal estuary
#

dammit, well thanks for you help

mild hare
#

@chrome gull merged

languid ivy
#

sorry for my stupidity, im new to this in general

mild hare
languid ivy
#

ok

languid ivy
#

so as of right now there is no way to get mouse to be visible?

mild hare
chrome gull
mild hare
#

@languid belfry who was that guy who did a early port for muos and did a mouse sdl patch? I think corsixth or something

hard swan
#

can anyone help #🩺|port-help message

glass skiff
# normal estuary

Me on H also same like that. Only press select to quit.
How to fix it?

timber shuttle
#

My minetest on tsp got this issue

quiet jay
#

i test this too and same issue

quiet jay
#

run and crash

mild hare
cursive tinselBOT
# mild hare /log

Every port has a log.txt generated in ports/{portfolder}, please drag and drop it to discord for help.

quiet jay
#

after delate libcurl.so.4 games run but crash

#

@mild hare

mild hare
#

😄

#

log after crash

quiet jay
#

h with libcurl game not starting at all

mild hare
quiet jay
#

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.

mild hare
#

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

mild hare
#

for minetest it probably needs a bit of rework for tsp

quiet jay
mild hare
#

check out #1224325700295725188

glass skiff
#

How to add cursor?

mild hare
deft quiver
#

Minetest renaming to Luanti officially is wild to see

ruby vector
#

Do we have anyway to update the port to the latest version, cause there has been new version on Feb

astral dune
#

How can I navigate through the menu? (rgcubexx)

#

Oh, I already read it up there

molten monolith
#

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

lavish olive
#

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"

dusky remnant
#

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

dusky remnant
past iris
dusky remnant
#

I'm used to batocera.

dusky remnant