Time |
Nick |
Message |
02:42 |
|
samarthr1 joined #minetest-dev |
03:05 |
|
rcd joined #minetest-dev |
03:37 |
|
I_am_6r1d joined #minetest-dev |
05:00 |
|
MTDiscord joined #minetest-dev |
06:16 |
|
MTDiscord1 joined #minetest-dev |
06:20 |
|
pmp-p joined #minetest-dev |
08:00 |
|
ShadowNinja joined #minetest-dev |
09:24 |
|
calcul0n_ joined #minetest-dev |
09:50 |
|
proller joined #minetest-dev |
11:23 |
|
Fixer joined #minetest-dev |
12:20 |
|
Megaf joined #minetest-dev |
13:25 |
Megaf |
Hi all, how can I enable touch controls in the regular game? |
13:25 |
Megaf |
I will be trying to port Minetest to the Pinephone |
13:32 |
MTDiscord |
<Jonathon> Someone already ported it, and they made a pr for enabling touch |
13:32 |
MTDiscord |
<Jonathon> If i recall correctly |
13:49 |
Megaf |
You are right https://www.reddit.com/r/PinePhoneOfficial/comments/kh33m8/minetest_ported_to_the_pinephone/ |
13:57 |
|
Megaf joined #minetest-dev |
14:07 |
MTDiscord |
<Jonathon> @Megaf https://github.com/minetest/minetest/pull/10729 pull is still open |
14:08 |
Megaf |
Yep, but that PR is not amazingly good |
14:08 |
Megaf |
it changes too much and introduce things people didnt like |
14:08 |
Megaf |
is the author here(IRC, Discord, Matrix)? |
14:09 |
MTDiscord |
<Jonathon> i havent seen them on any platform |
14:09 |
MTDiscord |
<Jonathon> sorry |
14:09 |
sfan5 |
the reasons it's currently stalled are largely technical |
14:10 |
Megaf |
It'd be nice to have 1 PR to simply add the option of enabling the on screen controls |
14:11 |
Megaf |
another PR for GLES |
14:11 |
Megaf |
and from what I could gather so far with the lovely folks at #Pinephone, GLES2 is buggy and a hack, it was shoehorned in the GPU, so it should be GLES1 only |
14:12 |
sfan5 |
that explains why GLES2 is broken |
14:12 |
sfan5 |
but in itself, it should not be |
14:13 |
Megaf |
well, so a PR for GLES1/2 then |
14:14 |
Megaf |
Though I don't understand why that was necessary, doesn't MT support GLES out of the box already? |
14:14 |
Megaf |
I'm pretty sure I had it complied for the Raspberry Pi 1 long time ago |
14:14 |
rubenwardy |
you need to compile with a branch of Irrlicht that supports GLES |
14:14 |
Megaf |
touch controls would be nice for Raspberry Pis with touch screen too, as those screens are quite affordable |
14:14 |
rubenwardy |
but yes |
14:15 |
rubenwardy |
I think that the touch controls should be a runtime option, because laptops can have touchscreens |
14:15 |
Megaf |
oh, doesn't Irrlicht has GLES in the standard branch? |
14:15 |
Megaf |
rubenwardy, and I agree with you 100% |
14:15 |
rubenwardy |
in my C++ game, I have code to detect the active input method (gamepad, keyboard/mouse, etc) and switch to it automatically |
14:16 |
rubenwardy |
so if you touch your gamepad, then the GUI/HUD switches to gamepad mode. If you press a key, keyboard/mouse mode |
14:16 |
sfan5 |
Megaf: by default only GLES2 works (if compiled from cmake) |
14:16 |
sfan5 |
hence the changes |
14:16 |
Megaf |
rubenwardy, can I ask you to do something similar for MT? |
14:17 |
Megaf |
sfan5, thanks for the clarification :) I was getting quite confused indeed |
14:18 |
rubenwardy |
It requires refactoring the input system, which is on my todo list |
14:19 |
rubenwardy |
I want to do world-specific settings first |
14:26 |
MTDiscord |
<exe_virus> O.o that sounds exciting |
14:27 |
|
numzero joined #minetest-dev |
14:38 |
Megaf |
How to I pass compiler options for cmake again? I want to pass arch=native and mtune=native |
14:38 |
sfan5 |
-DCMAKE_{C,CXX}_FLAGS="-march=native" |
14:38 |
sfan5 |
and btw -march=native implies -mtune=native |
14:39 |
Megaf |
Ok, and that will work for built type release right? Because there's a thing called CMAKE_CXX_FLAGS_RELEASE |
14:40 |
sfan5 |
the variable I listed should apply to every build type |
14:41 |
Megaf |
Fantastic, thanks. |
15:01 |
|
absurb joined #minetest-dev |
15:06 |
MTDiscord |
<josiah_wi> That should also cache the flag, so you only have to configure with the option once. |
15:25 |
|
TechDude joined #minetest-dev |
15:29 |
Megaf |
Is there any remote media server active? |
15:38 |
MTDiscord |
<Jonathon> sofars is i believe |
15:39 |
|
proller joined #minetest-dev |
15:43 |
|
calcul0n__ joined #minetest-dev |
15:43 |
rubenwardy |
https://forum.minetest.net/viewtopic.php?t=18951 |
15:46 |
MTDiscord |
<Jonathon> not sue how up to date he keeps the textures tho, so some mods themselves may have more compressed textures due to exe_virus |
15:46 |
MTDiscord |
<Jonathon> *sue |
15:46 |
MTDiscord |
<Jonathon> *sure |
15:57 |
Megaf |
Thanks ruben |
16:09 |
Megaf |
Interesting, Irrlich wont compile if I pass flags to make |
16:09 |
Megaf |
it complains about missing headers |
16:09 |
Megaf |
but if I dont pass any flag, then it builds no problem |
16:10 |
Megaf |
I guess I dont need march=native for Irrlicht... |
16:33 |
numzero |
Megaf: looks like it stops passing own flags if you pass any. yet another consequence of a hand-crafted Makefile... |
16:34 |
|
Megaf joined #minetest-dev |
16:34 |
Megaf |
Sorry, battery died |
16:35 |
numzero |
you can try to look on the actual flags passed to the compiler, just add --trace to make arguments |
16:36 |
Megaf |
It didn't matter the flags I passed, even if it was -O3 alone it would fail |
16:36 |
Megaf |
and -O3 is default |
16:36 |
Megaf |
by the way, I'm getting this error when building Minetest https://paste.debian.net/plain/1185717 |
16:36 |
Megaf |
I'm pretty sure my cmake flags are to blame |
16:37 |
Megaf |
I don't remember how to point to Irrlicht |
16:37 |
Megaf |
Trying -DIRRLICHT_INCLUDE_DIR=/home/reglnx/Minetest-Source/Irrlicht/include -DIRRLICHT_LIBRARY=/home/reglnx/Minetest-Source/Irrlicht/lib/Linux/libIrrlicht.a |
16:37 |
Megaf |
but that is generating the error above |
16:38 |
numzero |
Megaf: you seem to have an unsupported Irrlicht version |
16:38 |
Megaf |
oh, is that so? |
16:38 |
Megaf |
I'm on latest the Irrlicht trunk |
16:38 |
numzero |
yeah, that’s not fully supported |
16:39 |
numzero |
see #10802 IIRC |
16:39 |
ShadowBot |
https://github.com/minetest/minetest/issues/10802 -- Support IrrLicht 1.9 (again) by numberZero |
16:40 |
numzero |
or use latest Irrlicht release (which is 1.8.something) |
16:40 |
Megaf |
Will try with 1.8 now, thanks |
16:41 |
numzero |
also, you *can* try to make Irrlicht with different flags, you only need to check which flags it passes only when you don’t pass any |
16:41 |
Megaf |
About the bug report, so ogles will be builtin the main branch of Irrlicht now |
16:42 |
Megaf |
Fun fact, my systems spell check sees "ogles" as a valid word. |
16:43 |
numzero |
> ogles will be builtin the main branch of Irrlicht now < do you mean they are finally merging that branch after 12 years of development? |
16:44 |
Megaf |
Thats what you said |
16:44 |
Megaf |
"There are some more changes in IrrLicht 1.9/ogl-es, as of https://github.com/MoNTE48/irrlicht. The one with ZWriteEnable is tricky: field type was changed without version change; fortunately setFlag still works." |
16:45 |
numzero |
er, that simply means ogl-es is (re)based on 1.9 |
16:46 |
sfan5 |
in its current state minetest only supports irrlicht 1.9 up to the state mirrored at https://github.com/zaki/irrlicht |
16:47 |
|
Fixer_ joined #minetest-dev |
16:49 |
Megaf |
Ok, I think MT is building with 1.8 now |
16:52 |
MTDiscord |
<Megaf> By the way, this has been happening now, the Minetest ASCII art is broken in the servers terminal, I don't know if tmux or mosh are to blame, or some change in Minetests code. |
16:52 |
MTDiscord |
<Megaf> https://cdn.discordapp.com/attachments/747163566800633906/811278901417869312/unknown.png |
16:53 |
sfan5 |
works for me |
16:53 |
Megaf |
So it should be related to either mosh or tmux, hold on |
16:55 |
sfan5 |
I have ncurses support disable here so it could be that too |
16:56 |
Megaf |
tried plain ssh, still broken, will try again after I actually log in |
16:56 |
Megaf |
and tried Libaration Mono font |
16:56 |
|
olliy joined #minetest-dev |
17:00 |
Megaf |
and still broken |
17:43 |
|
Wuzzy joined #minetest-dev |
17:54 |
|
Taoki joined #minetest-dev |
18:29 |
|
Megaf joined #minetest-dev |
18:49 |
|
leat joined #minetest-dev |
19:16 |
|
proller joined #minetest-dev |
19:27 |
|
proller joined #minetest-dev |
20:05 |
Megaf |
I think bronze hoe was forgotten in the game |
20:06 |
Megaf |
and diamond |
20:06 |
Megaf |
there's only wood, steel and stone |
20:07 |
MTDiscord |
<Flamore> With forgotten you mean remover? |
20:07 |
MTDiscord |
<Flamore> Removed? |
20:07 |
Megaf |
maybe? |
20:07 |
Megaf |
I just don't understand why |
20:08 |
MTDiscord |
<Flamore> I'm pretty sure that golden hoe was scrapped |
22:22 |
|
TechDude joined #minetest-dev |
22:29 |
|
troller joined #minetest-dev |
22:41 |
Zughy[m]1 |
I feel bad for this guy updating his PR since April 29th without any core dev considering him #9776 . I know we're in feature freeze, but it's been almost a year.. |
22:41 |
ShadowBot |
https://github.com/minetest/minetest/issues/9776 -- Print relative screenshot filenames to client chat when possible by juozaspo |
22:43 |
sfan5 |
me too, one day when I have enough time I'll reply |
22:44 |
sfan5 |
this is just more evidence that accepting PRs without pre-selection by the dev team is not sustainable |
22:48 |
Zughy[m]1 |
let's hope the roadmap will work |
22:58 |
|
bodqhrohro joined #minetest-dev |
23:21 |
|
Fixer joined #minetest-dev |