Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Update_lwjgl.sh - updates your LWJGL for Linux and Mac


  • Please log in to reply
13 replies to this topic

#1

nosrepa
    nosrepa

    Iron Miner

  • Members
  • 264 posts
  • Location: Reddit
  • Minecraft: nosrepa

Posted 11 July 2011 - 04:04 AM

This script will automatically grab the latest LWJGL build and copy it to the appropriate folder.

Works fine on linux and I added mac support (untested but should work).

Here's the script:

http://pastie.org/2194493

Let me know if there's any features or improvements you'd like.
Just your friendly, neighborhood /r/Minecraft mod.

Register or log in to remove.

#2

mikeydoom1988
  • Location: Flowery Branch, GA
  • Minecraft: mykehdoom

Posted 11 July 2011 - 06:14 AM

May I ask what LWJGL is?
Posted Image

#3

nosrepa
    nosrepa

    Iron Miner

  • Members
  • 264 posts
  • Location: Reddit
  • Minecraft: nosrepa

Posted 11 July 2011 - 06:20 AM

View Postmikeydoom1988, on 11 July 2011 - 06:14 AM, said:

May I ask what LWJGL is?

I'll let the wiki do the explaining for me:

http://www.minecraft...hat_is_LWJGL.3F
Just your friendly, neighborhood /r/Minecraft mod.

#4

mikeydoom1988
  • Location: Flowery Branch, GA
  • Minecraft: mykehdoom

Posted 11 July 2011 - 12:14 PM

OH I see now. I tried googling it, but nothing even close to that popped up last night. :D That actually sounds useful. I get "sticky" keys randomly while playing minecraft on Ubuntu 11.04 Linux Distro.
Posted Image

#5

nosrepa
    nosrepa

    Iron Miner

  • Members
  • 264 posts
  • Location: Reddit
  • Minecraft: nosrepa

Posted 11 July 2011 - 04:53 PM

View Postmikeydoom1988, on 11 July 2011 - 12:14 PM, said:

OH I see now. I tried googling it, but nothing even close to that popped up last night. :D That actually sounds useful. I get "sticky" keys randomly while playing minecraft on Ubuntu 11.04 Linux Distro.

Yep, updating your LWJGL would fix that, among some other improvements.
Just your friendly, neighborhood /r/Minecraft mod.

#6

Freso
    Freso

    Zombie Killer

  • Members
  • 223 posts
  • Location: Copenhagen, Denmark
  • Minecraft: Freso

Posted 29 October 2011 - 01:29 PM

Why isn't this script on your GitHub page? :rolleyes:
I can be found for SMP on MadRealms: Vanilla. I'm switching between texture packs, but find myself returning to Lost Valley. I'm using MCPatcher for OptiFine HD MT (I've a quadcore processor - let's put it to use!), MAtmos (one of the most awesome mods out there, do check it out!), and MumbleLink as well as for client version switching. All of this is going on in an Arch Linux 64-bit desktop install, on top of LXDE+Compiz. Great craic! :D

#7

nosrepa
    nosrepa

    Iron Miner

  • Members
  • 264 posts
  • Location: Reddit
  • Minecraft: nosrepa

Posted 29 October 2011 - 02:34 PM

View PostFreso, on 29 October 2011 - 01:29 PM, said:

Why isn't this script on your GitHub page? :rolleyes:


I dunno, it was just a one-off sorta thing.  I wanted to add mac support before I did anything else with it.  Also, I like github for larger projects.
Just your friendly, neighborhood /r/Minecraft mod.

#8

Freso
    Freso

    Zombie Killer

  • Members
  • 223 posts
  • Location: Copenhagen, Denmark
  • Minecraft: Freso

Posted 31 October 2011 - 01:18 PM

GitHub is useful for small(er) projects too though, and I was actually thinking of making a script like this, and putting it up on the AUR. I have a somewhat working script too, which makes a backup of the files too - but I may want to borrow some code from you, or perhaps just take some of my code and plot into yours. Having it versioned would be a plus though. :)
I can be found for SMP on MadRealms: Vanilla. I'm switching between texture packs, but find myself returning to Lost Valley. I'm using MCPatcher for OptiFine HD MT (I've a quadcore processor - let's put it to use!), MAtmos (one of the most awesome mods out there, do check it out!), and MumbleLink as well as for client version switching. All of this is going on in an Arch Linux 64-bit desktop install, on top of LXDE+Compiz. Great craic! :D

#9

aj_s
    aj_s

    Zombie Killer

  • Members
  • 215 posts
  • Location: Lost in 16-Bit Computer

Posted 27 November 2011 - 02:13 AM

Thank you a thousand times over for this script... Now I can actually play minecraft without flying 10,000 feet into the air every time I turn around.  :D
Posted Image

#10

affix
    affix

    Out of the Water

  • Members
  • 2 posts

Posted 07 December 2011 - 01:58 AM

It was broken here is a fix http://fpaste.org/BpxV/

#11

Freso
    Freso

    Zombie Killer

  • Members
  • 223 posts
  • Location: Copenhagen, Denmark
  • Minecraft: Freso

Posted 11 June 2012 - 01:17 PM

@nosrepa (and possibly affix):
Can I use your code under the GPL(v2+)? Or a BSD-style license? Or something else? If so, I'll make a modified package for ArchLinux. Well, I'll make the package anyway, I'll just write the script from scratch (ie., reinvent the proverbial wheel) instead of using already tried-and-tested code.
I can be found for SMP on MadRealms: Vanilla. I'm switching between texture packs, but find myself returning to Lost Valley. I'm using MCPatcher for OptiFine HD MT (I've a quadcore processor - let's put it to use!), MAtmos (one of the most awesome mods out there, do check it out!), and MumbleLink as well as for client version switching. All of this is going on in an Arch Linux 64-bit desktop install, on top of LXDE+Compiz. Great craic! :D

#12

GreyHat 64
  • Minecraft: greyhat64

Posted 21 June 2012 - 11:02 PM

I feel like I'm bumping a dead thread, but after reading nosrepa's script and affix's fixed version, it appears that they do NOT work for Mac. They both appear to copy the Linux natives instead of the Mac natives. In other words, if this script is used on a Mac, it will not update the natives, and instead just copy in the Linux natives.

Posted Image


#13

vanillaNinjaz

Posted 09 September 2012 - 08:04 PM

what do i do with that script?

#14

MceraWV
    MceraWV

    Tree Puncher

  • Members
  • 27 posts
  • Minecraft: mceraWV

Posted 30 September 2012 - 10:07 PM

Hello,
I am having minecraft problems on my ubuntu 11.04/icefeast 2 desktop and I am wondering if this file/download/script will fix it.  I have my own forum topic on it.  Here is crash report and forum link if you need them:

link: http://www.minecraft...1104icefeast-2/


crash report:

Minecraft has crashed!  
  ----------------------  

Minecraft has stopped running because it encountered a problem; Failed to start game
This error has been saved to /home/mcerawv/.minecraft/crash-reports/crash-2012-09-29_16.07.09-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.



--- BEGIN ERROR REPORT d69312dd --------
Generated 9/29/12 4:07 PM

- Minecraft Version: 1.3.2
- Operating System: Linux (i386) version 2.6.38-16-generic
- Java Version: 1.6.0_26, Sun Microsystems Inc.
- Java VM Version: Java HotSpotâ„¢ Client VM (mixed mode, sharing), Sun Microsystems Inc.
- Memory: 6403400 bytes (6 MB) / 29790208 bytes (28 MB) up to 1037959168 bytes (989 MB)
- JVM Flags: 1 total; -Xmx1024m
- LWJGL: 2.8.4
- OpenGL: ~ERROR~ NullPointerException: null
- Is Modded: Probably not
- Type: Client
- Texture Pack: ~ERROR~ NullPointerException: null
- Profiler Position: N/A (disabled)[failed to get system properties (java.lang.NullPointerException)]


org.lwjgl.LWJGLException: X Error - disp: 0x9999208 serial: 160 error: BadGC (invalid GC parameter) request_code: 60 minor_code: 0
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:318)
at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1203)
at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
at org.lwjgl.opengl.Display.destroyWindow(Display.java:346)
at org.lwjgl.opengl.Display.access$400(Display.java:62)
at org.lwjgl.opengl.Display$5.destroy(Display.java:832)
at org.lwjgl.opengl.Display.create(Display.java:852)
at org.lwjgl.opengl.Display.create(Display.java:754)
at org.lwjgl.opengl.Display.create(Display.java:736)
at net.minecraft.client.Minecraft.a(SourceFile:233)
at net.minecraft.client.Minecraft.run(SourceFile:516)
at java.lang.Thread.run(Thread.java:662)
--- END ERROR REPORT 3aa76603 ---------

thx in advance! -Mc
thx in
If I'm on Minecraft, and you are too, wouldn't you be playing mc with mc?