Tutorials/Update LWJGL (Legacy)

= What is LWJGL? = LWJGL is the LightWeight Java Game Library. Essentially, it is what Minecraft uses for graphics, sound, and input.

= Why update? =
 * Minecraft will not ship with the latest version of LWJGL until Minecraft 1.2 is released.
 * Updating will fix some input bugs where keys seem to get stuck if you click at the same time. It also removes the "ghost" mouse pointer clicking.
 * Some users report a performance increase upon updating.
 * This can also potentially fix some issues regarding sound cutting out.
 * It has also been reported to fix intermittent crashes on Windows.

= Where to download =

http://lwjgl.org/download.php

Select the latest stable release and download the lwjgl-X.X.X.zip.

Note: some people reported that release 2.8.2 causes a bug in which you cannot exit the options screen; this appears to be fixed in 2.8.3 (released 1/23/2012).

Note: On MOST 64 bit computers, the lwjgl64.dll update will cause a black screen crash (as of stable release 2.8.1). Backup that file before updating it so you can rollback if there is a problem with it. Better yet, backup all files before updating.

Note: Again on several 64 bit computers, the OpenAL64.dll update can cause a sound glitch that makes bursting sounds. Keep a backup in case you need to rollback.

= What to replace =

In the lwjgl-X.X.X.zip, there should be two folders, jar and natives. For every file that you have in your .minecraft/bin and .minecraft/bin/natives that exists in that archive, replace with the newer LWJGL version.

For example, in linux you would replace the following files (the process would be similar with Windows and Mac users, but with different files):

In .minecraft/bin/ In .minecraft/bin/natives/
 * jinput.jar
 * lwjgl.jar
 * lwjgl_util.jar
 * libjinput-linux.so
 * libjinput-linux64.so
 * liblwjgl.so
 * liblwjgl64.so
 * libopenal.so
 * libopenal64.so

The .minecraft folder's location varies by operating system.
 * Linux: ~/.minecraft
 * Windows XP and up: %appdata%/.minecraft
 * Mac OS X: ~/Library/Application Support/minecraft

= Resources =
 * All versions
 * Video tutorial (Linux)

Tutoriels/Mettre LWJGL à jour