Skip to content

@thaostra /minecraft-lwgjl-patch.sh
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Script to automate patching LWJGL in ~/.minecraft
#!/bin/bash
VERSION="2.9.0"
mkdir -p ~/.minecraft/bin/natives
wget -c "http://iweb.dl.sourceforge.net/project/java-game-lib/Official%20Releases/LWJGL%20${VERSION}/lwjgl-${VERSION}.zip"
unzip "./lwjgl-${VERSION}.zip"
cp "./lwjgl-${VERSION}/native/linux/"* ~/.minecraft/bin/natives
cp "./lwjgl-${VERSION}/jar/lwjgl.jar" "./lwjgl-${VERSION}/jar/lwjgl_util.jar" "./lwjgl-${VERSION}/jar/jinput.jar" ~/.minecraft/bin
rm -rf "./lwjgl-${VERSION}/" "./lwjgl-${VERSION}.zip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.