Advertisement
Guest User

Untitled

a guest
Apr 28th, 2013
111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo "Wait some time..."
  2. mkdir -p ~/.minecraft/bin/natives/
  3. mkdir -p ~/.minecraft/tmp/
  4. wget -q -O ~/.minecraft/tmp/lwjgl.zip http://downloads.sourceforge.net/project/java-game-lib/Official%20Releases/LWJGL%202.9.0/lwjgl-2.9.0.zip
  5. wget -q -O ~/.minecraft/bin/minecraft.jar http://s3.amazonaws.com/MinecraftDownload/minecraft.jar
  6. unzip -q ~/.minecraft/tmp/lwjgl.zip -d ~/.minecraft/tmp/lwjgl/
  7. mv ~/.minecraft/tmp/lwjgl/lwjgl-2.9.0/jar/{jinput,lwjgl,lwjgl_util}.jar ~/.minecraft/bin/
  8. mv ~/.minecraft/tmp/lwjgl/lwjgl-2.9.0/native/linux/* ~/.minecraft/bin/natives/
  9. rm -rf ~/.minecraft/tmp/
  10. echo -n "Enter your username: "
  11. read username
  12. echo -en "cd ~/.minecraft/bin/\njava -cp \"*\" -Djava.library.path=\"natives/\" net.minecraft.client.Minecraft "$username > ~/minecraft.sh
  13. chmod +x ~/minecraft.sh
  14. echo "Now just run minecraft.sh. It is in your home folder. Cya!"
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement