Minecraft:Al version: Difference between revisions
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| Line 4: | Line 4: | ||
'''al_version''' (<u>A</u>pplet<u>L</u>oader version), saved on disc as <code>version</code>, is a number formerly used in versions as a caching identifier, to uniquely identify <samp>.jar</samp> files to be cached. | '''al_version''' (<u>A</u>pplet<u>L</u>oader version), saved on disc as <code>version</code>, is a number formerly used in versions as a caching identifier, to uniquely identify <samp>.jar</samp> files to be cached. | ||
It is needed because the game used to be hosted on [[Minecraft: | It is needed because the game used to be hosted on the ''Minecraft'' website as an [[Minecraft:applet]]. | ||
The al_version value was used to tell the LWJGL AppletLoader when to clear its cache so LWJGL and [[Minecraft:client]]jars could be updated automatically. | The al_version value was used to tell the LWJGL AppletLoader when to clear its cache so LWJGL and [[Minecraft:client]]jars could be updated automatically. | ||
== Usage == | == Usage == | ||
al_version is a number given as a parameter to the LWJGL AppletLoader in the HTML code of | al_version is a number given as a parameter to the LWJGL AppletLoader in the HTML code of the [[Minecraft:applet]]page.<ref>[https://web.archive.org/web/20090525130611/http://minecraft.net/play.jsp Minecraft.net/play.jsp] (source) – Wayback Machine, May 25, 2009. "''<param name="al_version" value="5.17">''".</ref> | ||
It is used to specify a unique version for each jar file to cache them for re-use. (To save on downloads, the site would used a cached version on disc if the game is marked as being the same as the last time it was downloaded.) | It is used to specify a unique version for each jar file to cache them for re-use. (To save on downloads, the site would used a cached version on disc if the game is marked as being the same as the last time it was downloaded.) | ||
If the stored al_version matches the latest jar files, those jar files are re-used; otherwise the previously saved jars are removed from the cache and new ones are downloaded. | If the stored al_version matches the latest jar files, those jar files are re-used; otherwise the previously saved jars are removed from the cache and new ones are downloaded. | ||
| Line 17: | Line 17: | ||
The al_version may be found in the HTML of the game's web applet, as <code><param name="al_version" value="[''al_version_id'']" /></code> | The al_version may be found in the HTML of the game's web applet, as <code><param name="al_version" value="[''al_version_id'']" /></code> | ||
In Classic through Infdev, the al_version may be found on disc in the temporary directory as <code>version</code>. The | In Classic through Infdev, the al_version may be found on disc in the temporary directory as <code>version</code>. The subpath differs based on the [[Minecraft:Applet#Applet pages|applet page]] the game is being played on. See {{slink|Applet|Storage locations}}. | ||
Starting from Infdev 20100629, with the change from float al_version to a timestamped cache ID, it is now located on disc at <code>%appdata%/.minecraft/bin/</code> (used by | Starting from [[Minecraft:Infdev 20100629]], with the change from float al_version to a timestamped cache ID, it is now located on disc at <code>%appdata%/[[Minecraft:.minecraft]]/bin/</code> (used by [[Minecraft::/game|minecraft.net/game/]] and the [[Minecraft:Minecraft Launcher|offline launcher]]). | ||
== List == | == List == | ||
| Line 41: | Line 30: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java classic}} | |{{HistoryLine|java classic}} | ||
|{{HistoryLine||?|Added al_version in order to run ''Minecraft'' as an | |{{HistoryLine||?|Added al_version in order to run ''Minecraft'' as an [[Minecraft:applet]].|It takes the form of an increasing positive floating point number.}} | ||
|{{HistoryLine|java indev}} | |{{HistoryLine|java indev}} | ||
|{{HistoryLine||?|Reset al_version back to 1.0.}} | |{{HistoryLine||?|Reset al_version back to 1.0.}} | ||
Latest revision as of 11:08, 24 June 2026
Template:Exclusive Template:Outdated feature
al_version (AppletLoader version), saved on disc as version, is a number formerly used in versions as a caching identifier, to uniquely identify .jar files to be cached.
It is needed because the game used to be hosted on the Minecraft website as an Minecraft:applet. The al_version value was used to tell the LWJGL AppletLoader when to clear its cache so LWJGL and Minecraft:clientjars could be updated automatically.
Usage
al_version is a number given as a parameter to the LWJGL AppletLoader in the HTML code of the Minecraft:appletpage.<ref>Minecraft.net/play.jsp (source) – Wayback Machine, May 25, 2009. "<param name="al_version" value="5.17">".</ref> It is used to specify a unique version for each jar file to cache them for re-use. (To save on downloads, the site would used a cached version on disc if the game is marked as being the same as the last time it was downloaded.) If the stored al_version matches the latest jar files, those jar files are re-used; otherwise the previously saved jars are removed from the cache and new ones are downloaded.
From Classic through most of Infdev, the al_version was a positive floating point number. Starting from Minecraft:Infdev 20100629, al_version proper was no longer used, however a caching ID still remained, taking the form of the current timestamp of the version's release.
Storage location
The al_version may be found in the HTML of the game's web applet, as <param name="al_version" value="[al_version_id]" />
In Classic through Infdev, the al_version may be found on disc in the temporary directory as version. The subpath differs based on the applet page the game is being played on. See Template:Slink.
Starting from Minecraft:Infdev 20100629, with the change from float al_version to a timestamped cache ID, it is now located on disc at %appdata%/Minecraft:.minecraft/bin/ (used by [[Minecraft::/game|minecraft.net/game/]] and the offline launcher).
List
[edit]
History
See also
References
External links
- AppletLoader documentation – Legacy LWJGL Javadocs
Template:Navbox Java Edition technical
Minecraft:es:Al version Minecraft:fr:Al version Minecraft:it:Al version Minecraft:ja:Al version Minecraft:pt:Al version Minecraft:uk:Al version Minecraft:zh:Al version