There's a typo in that. Notice the space between the first '-' and "Xmx2G". This is the correct command:
java -Xmx2G -Xms256M -jar MCPEWorldEdit.jar
You can change the 2G to be 1G if you don't have 2GB's of RAM, although if you don't have 2GB's of RAM your computer probably can't handle LWJGL anyway.
There's a typo in that. Notice the space between the first '-' and "Xmx2G". This is the correct command:
java -Xmx2G -Xms256M -jar MCPEWorldEdit.jar
You can change the 2G to be 1G if you don't have 2GB's of RAM, although if you don't have 2GB's of RAM your computer probably can't handle LWJGL anyway.
Sorry, that was my typo when I copied it off the terminal. But other than the space, that's exactly what it printed when I ran the batch
So I allocated 1G instead of two and I got this:
C:\Program Files\MCPEWorldEdit>java -Xmx1G -Xms256M -jar MCPEWorldEdit.jar
Exception in thread "main" java.lang.IllegalStateException: Function is not supported
at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
at org.lwjgl.opengl.GL20.glCreateProgram(GL20.java:262)
at utility.ShaderLoader.loadShaderPair(ShaderLoader.java:49)
at mcpeworldedit.WorldTest3D.setUpShaders(WorldTest3D.java:369)
at mcpeworldedit.WorldTest3D.<init>(WorldTest3D.java:100)
at mcpeworldedit.WorldTest3D.main(WorldTest3D.java:520)
C:\Documents and Settings\Kasim Ahmic\Desktop\MCPEWorldEdit>java -jar MCPEWorldE
dit.jar
Exception in thread "main" org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
at org.lwjgl.opengl.Util.checkGLError(Util.java:59)
at org.lwjgl.opengl.GL11.glEnable(GL11.java:1048)
at mcpeworldedit.WorldTest3D.<init>(WorldTest3D.java:85)
at mcpeworldedit.WorldTest3D.main(WorldTest3D.java:520)
Rollback Post to RevisionRollBack
-------------------- If I helped you, made you laugh, or you just like my post, click this button! --------------------v
If you're having problems that mention "org.lwjgl" then it is most likely that you need to update OpenGL (I use some newer stuff from OpenGL 2.0). To update OpenGL, try updating your drivers.
Sometime soon I'll make a better update and add XRay mode.
If you're having problems that mention "org.lwjgl" then it is most likely that you need to update OpenGL (I use some newer stuff from OpenGL 2.0). To update OpenGL, try updating your drivers.
Sometime soon I'll make a better update and add XRay mode.
The current version runs awesomely here - Ubuntu Linux 10.04 with OpenJDK 6 and a NVidia GeForce 6200 TurboCache with the nvidia drivers.
One very small issue: your .jar file contains a lot of resources from LWJGL that doesn't seem to be used, so you might want to remove them.
1 thingy- Update the first page so that new visitors can know there is a download link too. I have been checking the thread's first page for a while
And, it crashes for me Windows 7 Ultimate, 64x, 1GB RAM with an old 512 MB RAM installed too.( My computer is 10 years old So it has the 512 MB RAM Installed too.)
Rollback Post to RevisionRollBack
Also know as- Shadowiki, Shadov, Shadoviki, Shad0_, Shadovik4, and Unlifer. Find me and say "Hi!" or off.
If you're having problems that mention "org.lwjgl" then it is most likely that you need to update OpenGL (I use some newer stuff from OpenGL 2.0). To update OpenGL, try updating your drivers.
Damn it! With my computer I can't updated past OpenGL 1.4 :/
One very small issue: your .jar file contains a lot of resources from LWJGL that doesn't seem to be used, so you might want to remove them.
That's why I mentioned a better update. My current code isn't really aiming for efficiency so much as it is actually working properly. Once I get some things sorted out (such as actually placing and removing blocks) I'll start boosting up efficiency and trying to get it to work with OpenGL devices lower than 2.0.
Just an edit...I had a crazy X-Ray mod idea for MCPE. If someone could find the line in MCPE that says:
you'd then have a better X-Ray mod than the previous one. Basically what happens is instead of blending transparent textures with each other (so you don't get graphical glitches with water and flowers), you'd be blending opaque textures with transparent textures, meaning block textures turn slightly invisible if not already.
Here are the integer values of each of those
(for a full list which can be very useful to modders, view LWJGL's source code, found here):
In Android, the suspicious area I found is at offset 0x000F050A so any Android modders should check that out.
Edit 2: The equivlent of the offset I gave on iOS doesn't produce the desired X-Ray effect I hoped for. Only the water acts like it's in X-Ray mode. I believe there is a block rendering class that contains another glBlendFunc(); to do block blending. Change that and you've got X-Ray.
Failed X-Ray attempt (look at fog on water, then look at fog on land, looks just like fog in my X-Ray mode for MCPEWorldEdit):
Failed Attempt 2 (THIS IS EXTREMELY MESSED UP!!! EVERYTHING WAS IMPOSSIBLE TO READ OR DO!):
What I did was edit the Tessalator::begin(); method, changing the 0x7 (Quad mode) to 0x1 (Line mode).
That's why I mentioned a better update. My current code isn't really aiming for efficiency so much as it is actually working properly. Once I get some things sorted out (such as actually placing and removing blocks) I'll start boosting up efficiency and trying to get it to work with OpenGL devices lower than 2.0.
Just an edit...I had a crazy X-Ray mod idea for MCPE. If someone could find the line in MCPE that says:
you'd then have a better X-Ray mod than the previous one. Basically what happens is instead of blending transparent textures with each other (so you don't get graphical glitches with water and flowers), you'd be blending opaque textures with transparent textures, meaning block textures turn slightly invisible if not already.
Here are the integer values of each of those
(for a full list which can be very useful to modders, view LWJGL's source code, found here):
In Android, the suspicious area I found is at offset 0x000F050A so any Android modders should check that out.
Edit 2: The equivlent of the offset I gave on iOS doesn't produce the desired X-Ray effect I hoped for. Only the water acts like it's in X-Ray mode. I believe there is a block rendering class that contains another glBlendFunc(); to do block blending. Change that and you've got X-Ray.
Failed X-Ray attempt (look at fog on water, then look at fog on land, looks just like fog in my X-Ray mode for MCPEWorldEdit):
Failed Attempt 2 (THIS IS EXTREMELY MESSED UP!!! EVERYTHING WAS IMPOSSIBLE TO READ OR DO!):
What I did was edit the Tessalator::begin(); method, changing the 0x7 (Quad mode) to 0x1 (Line mode).
The second attempt at the mod made me lol pretty hard xD
There's a typo in that. Notice the space between the first '-' and "Xmx2G". This is the correct command:
You can change the 2G to be 1G if you don't have 2GB's of RAM, although if you don't have 2GB's of RAM your computer probably can't handle LWJGL anyway.
It's the same as the last link. Download
Sorry, that was my typo when I copied it off the terminal. But other than the space, that's exactly what it printed when I ran the batch
So I allocated 1G instead of two and I got this:
Open the "run_windows.bat" with notepad and replace everything with just this:
Then run it.
I edited my post above with details about the crash. If I'm bothering you it's not that important, I just really want to try this out!
EDIT: and I get the same thing if I type that as well.
Simply open the .sh with Terminal and your good to go
Proud to be a Miner...
I'm blaming it on my OS: Windows XP SP3
same here :/
Are you also having problems?
Sometime soon I'll make a better update and add XRay mode.
Before:
After:
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThe current version runs awesomely here - Ubuntu Linux 10.04 with OpenJDK 6 and a NVidia GeForce 6200 TurboCache with the nvidia drivers.
One very small issue: your .jar file contains a lot of resources from LWJGL that doesn't seem to be used, so you might want to remove them.
And, it crashes for me
Damn it! With my computer I can't updated past OpenGL 1.4 :/
That's why I mentioned a better update. My current code isn't really aiming for efficiency so much as it is actually working properly. Once I get some things sorted out (such as actually placing and removing blocks) I'll start boosting up efficiency and trying to get it to work with OpenGL devices lower than 2.0.
Just an edit...I had a crazy X-Ray mod idea for MCPE. If someone could find the line in MCPE that says:
and replace it with:
you'd then have a better X-Ray mod than the previous one. Basically what happens is instead of blending transparent textures with each other (so you don't get graphical glitches with water and flowers), you'd be blending opaque textures with transparent textures, meaning block textures turn slightly invisible if not already.
Here are the integer values of each of those
(for a full list which can be very useful to modders, view LWJGL's source code, found here):
In Android, the suspicious area I found is at offset 0x000F050A so any Android modders should check that out.
Edit 2: The equivlent of the offset I gave on iOS doesn't produce the desired X-Ray effect I hoped for. Only the water acts like it's in X-Ray mode. I believe there is a block rendering class that contains another glBlendFunc(); to do block blending. Change that and you've got X-Ray.
Failed X-Ray attempt (look at fog on water, then look at fog on land, looks just like fog in my X-Ray mode for MCPEWorldEdit):
Failed Attempt 2 (THIS IS EXTREMELY MESSED UP!!! EVERYTHING WAS IMPOSSIBLE TO READ OR DO!):
What I did was edit the Tessalator::begin(); method, changing the 0x7 (Quad mode) to 0x1 (Line mode).
The second attempt at the mod made me lol pretty hard xD
-
View User Profile
-
View Posts
-
Send Message
Retired StaffIt made me lol pretty hard too. But Good job Jocopa3 for this program.
Where is the Download?