Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Al version: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
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:Minecraft.net]] as an applet.
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 <code>[[Minecraft:minecraft.net]]/play.jsp</code>.<ref>[https://web.archive.org/web/20090525130611/http://minecraft.net/play.jsp Minecraft.net/play.jsp] (source) – Wayback Machine, May 25, 2009. "''&lt;param name="al_version" value="5.17"&gt;''".</ref>
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. "''&lt;param name="al_version" value="5.17"&gt;''".</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>&lt;param name="al_version" value="[''al_version_id'']" /&gt;</code>
The al_version may be found in the HTML of the game's web applet, as <code>&lt;param name="al_version" value="[''al_version_id'']" /&gt;</code>


In Classic through Infdev, the al_version may be found on disc in the temporary directory as <code>version</code>. The path differs based on the URL of the web applet being used:
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}}.
*<code>%temp%/Minecraft/</code>
*<code>%temp%/www.minecraft.net/Minecraft/</code>
*<code>%temp%/minecraft.net/Minecraft/</code>
*<code>%temp%/www.minecraft.net/Minecraft_creeper_test/</code>
*<code>%temp%/minecraft.net/Minecraft_creeper_test/</code>
*<code>%temp%/www.minecraft.net/Minecraft_sneakpeek/</code>
*<code>%temp%/minecraft.net/Minecraft_sneakpeek/</code>
*<code>%temp%/www.minecraft.net/Minecraft_infdev/</code>
*<code>%temp%/minecraft.net/Minecraft_infdev/</code>
*<code>%temp%/www.minecraft.net/Minecraft_game/</code>
*<code>%temp%/minecraft.net/Minecraft_game/</code>


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 www.minecraft.net/game/ and the offline launcher).
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 applet on [[Minecraft:Minecraft.net]].|It takes the form of an increasing positive floating point number.}}
|{{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]

Template:Collapse

History

Template:HistoryTable

See also

References

Template:Reflist

External links

Navigation

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