maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht (https://talk.maemo.org/showthread.php?t=74374)

Soulaxe 2011-06-27 11:12

[Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
http://happypenguin.org/images/kulkuvayla2.png
Decided to make a seperate thread as most users know Minecraft uses libs incompatible with Maemo, and wouldn't give a second glance. Which isn't the case here, since this is a clone written ground up in C++ and irrlicht so it shouldn't be hard for an experienced programmer to port as irrlicht is already ported to ARM (link)

Minetest-c55 Main Page.
I've seen already five posts referring to a port of Minecraft. Isn't about time some progress was made?

DJRoby4 2012-04-24 16:53

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
UP! This would be really a great port....

slaapliedje 2012-04-24 17:07

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Yeah, Minecraft doesn't support OpenGL ES from what I recall in trying to get it to work.

Minetest would be sweet though, I already think I'd rather play it for the speed over Minecraft, stupid Java.

slaapliedje

pablocrossa 2012-04-24 18:17

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Quote:

Originally Posted by slaapliedje (Post 1197066)
Yeah, Minecraft doesn't support OpenGL ES from what I recall in trying to get it to work.

Minetest would be sweet though, I already think I'd rather play it for the speed over Minecraft, stupid Java.

slaapliedje

Do you know library dependencies for minetest?? If they are sattisfied by Maemo thats a cr*pload of work saved :)

Applesaws 2012-04-26 05:42

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Quote:

Originally Posted by pablocrossa (Post 1197089)
Do you know library dependencies for minetest?? If they are sattisfied by Maemo thats a cr*pload of work saved :)

Minetest runs on the Irrlicht engine, which actually has an OpenGL ES renderer as an option. So it is possible for it to run on the N900 (in fact, the Pandora people have gotten it running on their device (but I tried running the Pandora version on the N900 and failed). I briefly attempted porting it myself, using the patched version of Irrlicht that Cloudef on the Pandora forums made here, but it seems as if the N900 initializes an OpenGL surface in a different manner from Pandora, so it does not work (this result I came to after many hours of editing include files and commenting out random bits of code so that it would even compile in the Maemo SDK). After a brief attempt at copy-pasting the EGL surface initialization code from the sample Maemo OpenGL ES app, I gave up (I'm not really a coder).

tl;dr The N900 has all the libraries (in the repos right now, actually(!)), except for the 3D engine it runs on, Irrlicht. It's completely possible to port that to N900, we just need someone with knowledge of how OpenGL ES surface initialization works on N900 to fix that.

www.rzr.online.fr 2012-04-26 07:08

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
what about harmattan ?

Spotfist 2012-04-27 09:53

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Sounds awesome! Any luck?

DJRoby4 2012-04-29 19:55

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Yeah, please since it is possible, port it! It would be awesome! *.*

nicolai 2012-04-30 07:21

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Quote:

Originally Posted by Applesaws (Post 1197773)
Minetest runs on the Irrlicht engine, which actually has an OpenGL ES renderer as an option. So it is possible for it to run on the N900 (in fact, the Pandora people have gotten it running on their device (but I tried running the Pandora version on the N900 and failed). I briefly attempted porting it myself, using the patched version of Irrlicht that Cloudef on the Pandora forums made here, but it seems as if the N900 initializes an OpenGL surface in a different manner from Pandora, so it does not work (this result I came to after many hours of editing include files and commenting out random bits of code so that it would even compile in the Maemo SDK). After a brief attempt at copy-pasting the EGL surface initialization code from the sample Maemo OpenGL ES app, I gave up (I'm not really a coder).

tl;dr The N900 has all the libraries (in the repos right now, actually(!)), except for the 3D engine it runs on, Irrlicht. It's completely possible to port that to N900, we just need someone with knowledge of how OpenGL ES surface initialization works on N900 to fix that.

I got some irrlicht demos running on the N900. I used
the ogl-es branch from irrlicht svn.
I had to enable the already existing ogles2 driver,
some changes on egl attribs,
link with libGLESv2 instead of libGLES_CM and
I used the system png-library instead of one from irrlicht.
Maybe even more, I am not sure.

If you are still interested, let me know.

nicolai

Applesaws 2012-05-01 04:27

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Quote:

Originally Posted by nicolai (Post 1199348)
I got some irrlicht demos running on the N900. I used
the ogl-es branch from irrlicht svn.
I had to enable the already existing ogles2 driver,
some changes on egl attribs,
link with libGLESv2 instead of libGLES_CM and
I used the system png-library instead of one from irrlicht.
Maybe even more, I am not sure.

If you are still interested, let me know.

nicolai

Sure, I'm interested. Could you post your compiled Irrlicht or tell me what you did to make it work?

JadeH 2012-05-01 04:43

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
C++ would be a LOT faster than java. Minecraft would have had no chance to run smoothly on N900's hardware, but with C++ there could actually be something playable, so this is a great idea for a port.

danzo 2012-05-01 12:00

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
this would be one of the best releases, even better as the so long awaited whazzap ((or whateveritscalled)only my opinion don't get it wrong ;) ).
I hope we can see any developement on this in the near future :D

danzo 2012-05-05 17:29

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
ok, i was able to start minetest through easy debian:D but it runs at poor speed (1 fps), but it's possible to run it on n900, it just needs some optimisation ;D

Applesaws 2012-05-06 04:15

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Quote:

Originally Posted by danzo (Post 1202293)
ok, i was able to start minetest through easy debian:D but it runs at poor speed (1 fps), but it's possible to run it on n900, it just needs some optimisation ;D

Good work!

1) How did you compile it and what did you change in Irrlicht's initialization code to make it work?
2) When you say started through Easy Debian, do you mean by using the nested X server Xephyr that running it through the "Debian LXDE" icon in the applications menu makes or by invoking it directly in the debian chroot via xterm (debbie ~/path/to/minetest/bin/minetest)?

danzo 2012-05-06 08:55

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Quote:

Originally Posted by Applesaws (Post 1202433)
Good work!

1) How did you compile it and what did you change in Irrlicht's initialization code to make it work?
2) When you say started through Easy Debian, do you mean by using the nested X server Xephyr that running it through the "Debian LXDE" icon in the applications menu makes or by invoking it directly in the debian chroot via xterm (debbie ~/path/to/minetest/bin/minetest)?

to 1): I found Irrlicht and minetest with all it's depencies precompiled for armel on the debian server.
source: http://packages.debian.org/unstable/main/minetest
I installed everything manually because the depencies couldn't be installed through apt-get
to 2): first I tried it through lxde, but as I said the performance isn't like it should. then I tried it through chroot via terminal but when it opens the main window it doesn't show anything in it.

ps: sorry if I misled some, but I'm not a developer. But if I am able to help in any way, I am willing to help ;)

Applesaws 2012-05-08 02:14

Re: [Request for Port] Minetest-c55 a opensource equivalent to Minecraft in C++ and irrlicht
 
Quote:

Originally Posted by danzo (Post 1202464)
to 1): I found Irrlicht and minetest with all it's depencies precompiled for armel on the debian server.
source: http://packages.debian.org/unstable/main/minetest
I installed everything manually because the depencies couldn't be installed through apt-get
to 2): first I tried it through lxde, but as I said the performance isn't like it should. then I tried it through chroot via terminal but when it opens the main window it doesn't show anything in it.

ps: sorry if I misled some, but I'm not a developer. But if I am able to help in any way, I am willing to help ;)

Oh, I see. Well, we're going to have to compile both Irrlicht and Minetest from source because the Irrlicht in the Debian repos (and thus the Minetest compiled against it in the repos) doesn't have the OpenGL ES renderer enabled (it's in a separate branch of the Irrlicht source tree). Without the OpenGL ES renderer, it has to fall back to the software renderer (which simply isn't practical on our embedded hardware, and that's probably what you were seeing when you ran it in the Debian LXDE).


All times are GMT. The time now is 15:18.

vBulletin® Version 3.8.8