maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [REQUEST] Minecraft (https://talk.maemo.org/showthread.php?t=61391)

Rados 2010-08-30 10:56

[REQUEST] Minecraft
 
Now that Minecraft has got a bit more attention, would be nice to know if someone with skills would be willing to check possibility of this.

My tries have got me to Login Screen and to Client Update, but after that stuck in black screen.

http://i.imagehost.org/0467/Screensh...823-122546.png

http://i.imagehost.org/0932/Screensh...823-122636.png

Maybe someone with more knowledge would be able to get it further.

Thanks.

IzzehO 2010-08-30 11:06

Re: [REQUEST] Minecraft
 
Not gonna happen I'm afraid. Already looked into it and the Java libraries it depends on are very heavily x32 and OpenGL. Before even trying to get Minecraft working you'd need those libraries ported first and I can't imagine that happening any time soon =/

Rados 2010-08-30 11:20

Re: [REQUEST] Minecraft
 
Yeh, I based on error messages, noticed that there was problem with the LWJGL librarys. Was hoping that it was something that could be fixed.

So guess only hope is that LWJGL makes .ARM port from their librarys.

Thank you for reply. And atleast we have topic for it in the future for people who is searching info about port and why it doesn't work.

IzzehO 2010-08-30 11:21

Re: [REQUEST] Minecraft
 
Just curious (as I haven't bothered with any Java on the N900 really) which Java application are you using? (There was like 3 last count?)

And have you found any other Java games to run at all decent? I had a Snake clone and that was about it.

Rados 2010-08-30 12:21

Re: [REQUEST] Minecraft
 
I'm using Icedtea6 if you mean that.

Haven't tried any other Java games

hunterm 2010-10-05 12:47

Re: [REQUEST] Minecraft
 
This is also of interest to me too,

I have very little technical knowledge or command line-fu but a quick Google led me here:

http://www.javagaming.org/index.php/topic,22825.0.html

Looks like LWJGL is compiled for ARM? Couldn’t find an actual d/l though.

How frustrating to have MineCraft get so close. Though it may all just be academic due to size and control issues.

MiK546 2010-10-05 14:22

Re: [REQUEST] Minecraft
 
Well, it seems that the arm and OpenGLES version should be officially announced by the end of this month (as it reads on the second post of the link wich hunterm posted).

Rados 2010-10-05 16:44

Re: [REQUEST] Minecraft
 
Hope that is enough for getting it run.

Next problem is the mouse control, no right click and how well the touch screen works for controlling the left clicking.

hunterm 2010-10-05 16:54

Re: [REQUEST] Minecraft
 
i disagree with lmb as touch,

making the touch screen perform mouselook (or touchlook even better) and hardware keys for lmb and rmb would be more fluid

at the potential cost of one's hand partially covering the screen of course.

edited...touchlook

Rados 2010-10-05 17:16

Re: [REQUEST] Minecraft
 
Too bad that can't change mouse key binds straight from the Minecraft itself.

Makes me wonder if there is 3rd party software that could do that or is it even doable.

Bluetooth/USB mouse supports for N900 is still a bit so-so I guess, and even then using em and keyboard at the same time wouldn't be that good experience...

Cobra 2010-12-18 22:14

Re: [REQUEST] Minecraft
 
any news on this it would be cool?

Cobra 2010-12-18 22:16

Re: [REQUEST] Minecraft
 
will minecraft work through microb (the web browser) ? I dont have a acount so i cant test it.

ossipena 2011-03-03 07:58

Re: [REQUEST] Minecraft
 
Quote:

Originally Posted by Cobra (Post 899671)
will minecraft work through microb (the web browser) ? I dont have a acount so i cant test it.

haven't tested but I can still say being 100% certain that no.

Keneraali 2011-03-03 08:24

Re: [REQUEST] Minecraft
 
No it doesn't.

danramos 2011-03-03 14:44

Re: [REQUEST] Minecraft
 
At this rate, you might as well wait for the Android version to play it under NITdroid.
http://www.engadget.com/2011/02/23/m...o-android-too/

Soulaxe 2011-06-27 08:49

Re: [REQUEST] Minecraft
 
Quote:

Originally Posted by danramos (Post 959708)
At this rate, you might as well wait for the Android version to play it under NITdroid.
http://www.engadget.com/2011/02/23/m...o-android-too/

Why wait? We could just port Minetest to our N900s since it's written in C++ and has it's source available
here.

It's possible, the guys down at open pandora's forum have already done this.

Oh, I forgot to mention, before anyone says otherwise irrlicht already has been compiled to run under arm-cpus.

degle 2011-06-28 09:09

Re: [REQUEST] Minecraft
 
Hello Guys!
I've tried to make Minecraft alive on my N900 and it is close now.

I've found lwjgl and jinput libraries on packages.debian.org. I've downloaded Minecraft 0.30 (think it's gonna work), ran minecraft on icedtea6 and got this exeption:

Xlib: extension "GLX" missing on display ":0.0".

Did anyone have a solution for this? i've edited xorg.conf, but unsuccesfully =( again the same exeption. Help Guys!

Soulaxe 2011-06-28 09:36

Re: [REQUEST] Minecraft
 
There are two problems with running Minecraft on the n900, a port of lwjgl to opengles, and a recompile for both libs to run on arm(?).
It looks like the lwjgl you're using isn't ported to opengles. However lwjgl has already been ported, and an arm compilation of jinput also.

Pretty much everything is done, feel free to make a new thread though I doubt many of the users won't care too much for it.

Soulaxe 2011-06-28 18:50

Re: [REQUEST] Minecraft
 
Will anyone with compiling experience try this?

Nokia 5700 2011-06-28 23:17

Re: [REQUEST] Minecraft
 
People, the only issue I have is that there is no OpenGL ES in LWJGL. Otherwise, it's nothing wrong. All I get is an error that it can't find libGL.so, which is a good sign: it looks for OpenGL. I'll compile lwjgl with OpenGL ES 2 and run it with that library. I have my hopes up for this. :)

Ok... the current branch fails to compile, with a lot of errors...

Soulaxe 2011-06-29 03:58

Re: [REQUEST] Minecraft
 
In the link I posted, the guys say lwjgl has already been ported to GL ES and is available to download in the Ubuntu 10.10 Armel repository, did you try that.

Also thanks for trying this, as not many people seem to care for a good game running on their devices.

Soulaxe 2011-07-03 21:34

Re: [REQUEST] Minecraft
 
This is strange. My attempts have presented me with an error message from lwjgl requesting for the file "libxxf86vm.so.1".:confused:

Nokia 5700 2011-07-03 21:56

Re: [REQUEST] Minecraft
 
That is one of the depencies, libxxf86vm. It's installable.
But next up it looks for libGL.so, which is exclusive to desktop GPUs. The N900 doesn't have support for OpenGL, only GLES. That's the reason why we can't run it with precompiled libraries from Ubuntu. (Ubuntu only has OpenGL unless you pull in some TI drivers, but they're barely supported. So, sorry to say: Ubuntu only supplies a few components. We need to compile LWJGL with ES support ourselves.
I've been attempting to compile it, but it fails when I get to doing "ant compile_native_es".
This is the output:
Code:

/media/mmc1/Development/LWJGL # ant compile_native_es
Buildfile: /media/mmc1/Development/LWJGL/build.xml

-initialize:

compile:
    [core] Compiling 559 source files to /media/mmc1/Development/LWJGL/bin
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:46: cannot find symbol
    [core] symbol  : class EXTDeviceFission
    [core] location: package org.lwjgl.opencl
    [core] import static org.lwjgl.opencl.EXTDeviceFission.*;
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:47: cannot find symbol
    [core] symbol  : class KHRGLSharing
    [core] location: package org.lwjgl.opencl
    [core] import static org.lwjgl.opencl.KHRGLSharing.*;
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:40: cannot find symbol
    [core] symbol  : class CL11
    [core] location: package org.lwjgl.opencl
    [core] import static org.lwjgl.opencl.CL11.*;
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:47: cannot find symbol
    [core] symbol  : class CL10GL
    [core] location: package org.lwjgl.opencl
    [core] import static org.lwjgl.opencl.CL10GL.*;
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:48: cannot find symbol
    [core] symbol  : class CL11
    [core] location: package org.lwjgl.opencl
    [core] import static org.lwjgl.opencl.CL11.*;
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:38: cannot find symbol
    [core] symbol  : class KHRGLSharing
    [core] location: package org.lwjgl.opencl
    [core] import org.lwjgl.opencl.KHRGLSharing;
    [core]                        ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:392: cannot find symbol
    [core] symbol  : variable CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
    [core] location: class org.lwjgl.opencl.APIUtil
    [core]                        case CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR:
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:393: cannot find symbol
    [core] symbol  : variable CL_DEVICES_FOR_GL_CONTEXT_KHR
    [core] location: class org.lwjgl.opencl.APIUtil
    [core]                        case CL_DEVICES_FOR_GL_CONTEXT_KHR:
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/APIUtil.java:517: cannot find symbol
    [core] symbol: method clReleaseDeviceEXT(org.lwjgl.opencl.CLDevice)
    [core]                public void release(final CLDevice object) { clReleaseDeviceEXT(object); }
    [core]                                                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:218: cannot find symbol
    [core] symbol  : variable CL_Rx
    [core] location: class org.lwjgl.opencl.CLChecks
    [core]                        case CL_Rx:
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:222: cannot find symbol
    [core] symbol  : variable CL_RGx
    [core] location: class org.lwjgl.opencl.CLChecks
    [core]                        case CL_RGx:
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/CLChecks.java:225: cannot find symbol
    [core] symbol  : variable CL_RGBx
    [core] location: class org.lwjgl.opencl.CLChecks
    [core]                        case CL_RGBx:
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:80: cannot find symbol
    [core] symbol  : variable CL_CONTEXT_NUM_DEVICES
    [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLContextUtil
    [core]                                num_devices = getInfoInt(context, CL_CONTEXT_NUM_DEVICES);
    [core]                                                                  ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:341: cannot find symbol
    [core] symbol  : method clCreateSubBuffer(org.lwjgl.opencl.CLMem,long,int,java.nio.ByteBuffer,java.nio.IntBuffer)
    [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
    [core]                        return clCreateSubBuffer(mem, flags, buffer_create_type, infoBuffer.getBuffer(), errcode_ret);
    [core]                                ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:395: cannot find symbol
    [core] symbol  : method clGetGLObjectInfo(org.lwjgl.opencl.CLMem,java.nio.IntBuffer,<nulltype>)
    [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
    [core]                        clGetGLObjectInfo(mem, buffer, null);
    [core]                        ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:404: cannot find symbol
    [core] symbol  : method clGetGLObjectInfo(org.lwjgl.opencl.CLMem,<nulltype>,java.nio.IntBuffer)
    [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
    [core]                        clGetGLObjectInfo(mem, null, buffer);
    [core]                        ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/InfoUtilFactory.java:413: cannot find symbol
    [core] symbol  : method clGetGLTextureInfo(org.lwjgl.opencl.CLMem,int,java.nio.ByteBuffer,<nulltype>)
    [core] location: class org.lwjgl.opencl.InfoUtilFactory.CLMemUtil
    [core]                        clGetGLTextureInfo(mem, param_name, buffer, null);
    [core]                        ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
    [core] symbol  : class CL11
    [core] location: class org.lwjgl.opencl.Util
    [core]        }, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
    [core]                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
    [core] symbol  : class KHRGLSharing
    [core] location: class org.lwjgl.opencl.Util
    [core]        }, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
    [core]                                          ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
    [core] symbol  : class KHRICD
    [core] location: class org.lwjgl.opencl.Util
    [core]        }, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
    [core]                                                              ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opencl/Util.java:51: cannot find symbol
    [core] symbol  : class EXTDeviceFission
    [core] location: class org.lwjgl.opencl.Util
    [core]        }, null, CL10.class, CL11.class, KHRGLSharing.class, KHRICD.class, APPLEGLSharing.class, EXTDeviceFission.class);
    [core]                                                                                                  ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:270: cannot find symbol
    [core] symbol  : variable KHRGLSharing
    [core] location: class org.lwjgl.opengl.ContextGL
    [core]                                        properties.put(KHRGLSharing.CL_GL_CONTEXT_KHR).put(implWindows.getHGLRC(handle));
    [core]                                                        ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:271: cannot find symbol
    [core] symbol  : variable KHRGLSharing
    [core] location: class org.lwjgl.opengl.ContextGL
    [core]                                        properties.put(KHRGLSharing.CL_WGL_HDC_KHR).put(implWindows.getHDC(peer_handle));
    [core]                                                        ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:275: cannot find symbol
    [core] symbol  : variable KHRGLSharing
    [core] location: class org.lwjgl.opengl.ContextGL
    [core]                                        properties.put(KHRGLSharing.CL_GL_CONTEXT_KHR).put(implLinux.getGLXContext(handle));
    [core]                                                        ^
    [core] /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/ContextGL.java:276: cannot find symbol
    [core] symbol  : variable KHRGLSharing
    [core] location: class org.lwjgl.opengl.ContextGL
    [core]                                        properties.put(KHRGLSharing.CL_GLX_DISPLAY_KHR).put(implLinux.getDisplay(peer_handle));
    [core]                                                        ^
    [core] Note: /media/mmc1/Development/LWJGL/src/java/org/lwjgl/opengl/FastIntMap.java uses unchecked or unsafe operations.
    [core] Note: Recompile with -Xlint:unchecked for details.
    [core] 25 errors

BUILD FAILED
/media/mmc1/Development/LWJGL/build.xml:407: Compile failed; see the compiler error output for details.

Total time: 2 minutes 30 seconds
/media/mmc1/Development/LWJGL #

(I'm compiling it in my on-device SDK)
Beside the source, it is suggested to remove AWT, but I'm not a Java expert. Do we have any Java programmers aboard?

Soulaxe 2011-07-06 22:52

Re: [REQUEST] Minecraft
 
bump, we're so close!

Nokia 5700 2011-07-07 00:37

Re: [REQUEST] Minecraft
 
Quote:

Originally Posted by Soulaxe (Post 1046104)
bump, we're so close!

But it seems like there are no Java programmers around to examine the error report?

Reffyyyy 2011-07-07 00:47

Re: [REQUEST] Minecraft
 
Looks like an OpenGL issue. I'm not a Java expert though.

Oh, forgot to look at your post. My bad, looks like you already know that.

Nokia 5700 2011-07-07 11:17

Re: [REQUEST] Minecraft
 
Well, I've looked over where the errors occur. It's not in GLES (which is good :) )
But it's in OpenCL and OpenGL. (We don't really need the latter... But it's a part of it anyway.)
I might start looking around for a pre-compiled one, as we have no progress with compiling it.

Ok... new info on the case:
http://www.khronos.org/news/press/re...l-4-1-released
http://lwjgl.org/forum/index.php/top....msg18888.html
If you read both of these thorougly, you'll be thinking the exact thing I'm thinking.
But it's barely anything. It's more of a desperate solution...

Soulaxe 2011-07-07 11:32

Re: [REQUEST] Minecraft
 
Do you think the open pandora's compiled files will be good enough?

Nokia 5700 2011-07-07 12:27

Re: [REQUEST] Minecraft
 
It depends. If you're talking about Angstrom, then yes, if it doesn't depend on anything funny.
And if it's compiled for the Cortex-A8, definitively.
Have you found binaries for the Pandora that are compiled with GLES?

Soulaxe 2011-07-07 13:22

Re: [REQUEST] Minecraft
 
The Open Pandora uses the omap 3530 which is the exact same hardware as the N900, but the CPU is just clocked at a higher rate, (but we can OC too) so yeah, it would be compiled for the A8.

I just can't seem to find the thread I've found a thread referring to it, but not the actual one that may help.
Another, the user "spasi" is the one we're looking for.

There's always the option of Minetest...

Nokia 5700 2011-07-07 16:22

Re: [REQUEST] Minecraft
 
It doesn't help a lot. We're at the step of compiling the source, while there's not even source there.

As for Minetest... It's based on Irrlicht.
I'll see what I can do about it. I know that Irrlicht has a GLES port.

Soulaxe 2011-07-07 19:03

Re: [REQUEST] Minecraft
 
Quote:

Originally Posted by Nokia 5700 (Post 1046477)
It doesn't help a lot. We're at the step of compiling the source, while there's not even source there.

As for Minetest... It's based on Irrlicht.
I'll see what I can do about it. I know that Irrlicht has a GLES port.

Sorry. But really, thanks a bunch for the dedicated work you've been doing.

Soulaxe 2011-07-07 20:38

Re: [REQUEST] Minecraft
 
Hopefully I've saved you a bit of time: Here is the extracted .pnd i.e. open pandora's installation files.

Nokia 5700 2011-07-07 23:24

Re: [REQUEST] Minecraft
 
Wow... You didn't say anything about that. I'll see what I can get out of those files.

As far as I can see, there is some work to do, but in the end, I believe it's possible to use it. (In fact, I believe I can make this work without big modifications. The structure of it is pretty pretty good.)
However... Don't expect a Debian file just yet. I think we'll have to go for a extracting it manually.
I'll put up a link of a modified version soon.

Ok... I'm a bit stuck here. The executable asks for a library named libpthread-stubs.so.0. Well, I can't find it. Anywhere. I searched through the official Debian packages and found nothing. How are people supposed to obtain it?
Oh well, I'll compile it then. :p
Ok... That didn't work either. We're stuck until we can find a libpthread-stubs.so.1 file or similar.
I'll be back on this tomorrow.

slaapliedje 2011-07-08 00:19

Re: [REQUEST] Minecraft
 
It's in the Sid repositories.

http://packages.debian.org/sid/libpthread-stubs0

slaapliedje

SgtSix 2011-07-08 08:22

Re: [REQUEST] Minecraft
 
i dont know anything about this but read another post that you guys could easily do something about this with this: http://celeron.55.lt/~celeron55/minetest/index.php ... its a sort of minecraft game.. would be fun :)

Nokia 5700 2011-07-08 10:27

Re: [REQUEST] Minecraft
 
Well, SgtSix, that's the game we're porting currently. ;)

As for the libpthread-stubs.so... The packages over at Debian don't contain it. There must be some other way of obtaining it. How would the engine otherwise be able to use it on Pandora?
I think I need to look at some Pandora rootfss. The ones I've looked at didn't contain a /usr/lib/ directory, but I'll see if I can find a rootfs with the folder.

Ok... We have a little problem. The only libpthread-stubs.so file I've found is inside a hurd-i386 package... But I'll see if it's truly a compiled file.
It is...
Ok, as I see it, this library is useless on Maemo because it already supports threading. The only problem is that the libxcb.so file depends on it. So... What do I replace instead? :p (That is a rhetorical question.)
Well... Nothing. I can't find that single file for armel. I think I'll have to dig deep.

Soulaxe 2011-07-08 15:58

Re: [REQUEST] Minecraft
 
Why is this so complicated?
We should try asking for the file on the pandora boards, that or finding the pandora's libpthread (if you do find it rename the .pnd format to a .sfs and open it in 7zip).

I'm having a bit of trouble signing up (not at pc) could you try requesting for the file on the forums?

ivgalvez 2011-07-08 16:11

Re: [REQUEST] Minecraft
 
You can PM to PenguinBait, he also owns a Pandora.

Ouch! he has disabled his PM and left the forums...

Nokia 5700 2011-07-08 22:58

Re: [REQUEST] Minecraft
 
Hmm... I've been having a discrete approach when it comes to obtaining the libraries, so yeah. Maybe I should try getting a response from the Pandora forums.
Ok, question: is it the GP32X forums or the OpenPandora forums I should try? Both of them have a lot on Pandora, but which one is better to check?


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

vBulletin® Version 3.8.8