265 lines
42 KiB
Plaintext
Executable File
265 lines
42 KiB
Plaintext
Executable File
<!DOCTYPE html>
|
|
<html style="width:100%;height:100%;background-color:black;">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
|
|
<meta name="description" content="EaglercraftX 1.8 Offline" />
|
|
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.8, 1.8.8" />
|
|
<title>EaglercraftX 1.8</title>
|
|
<meta property="og:locale" content="en-US" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="EaglercraftX 1.8" />
|
|
<meta property="og:description" content="Play minecraft 1.8 in your browser" />
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
var relayId = Math.floor(Math.random() * 3);
|
|
|
|
// %%%%%%%%% launch options %%%%%%%%%%%%
|
|
|
|
window.eaglercraftXOptsHints = {
|
|
hintsVersion: 1,
|
|
container: "game_frame",
|
|
worldsDB: "worlds",
|
|
relays: [
|
|
{ addr: "wss://relay.deev.is/", comment: "lax1dude relay #1", primary: relayId === 0 },
|
|
{ addr: "wss://relay.lax1dude.net/", comment: "lax1dude relay #2", primary: relayId === 1 },
|
|
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId === 2 }
|
|
],
|
|
checkRelaysForUpdates: true
|
|
};
|
|
|
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
</script>
|
|
<style type="eaglercraft" id="eaglercraftXClientSignature">data:application/octet-stream;base64,${client_signature}</style>
|
|
<style type="eaglercraft" id="eaglercraftXClientBundle">data:application/octet-stream;base64,${client_bundle}</style>
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
(function(){
|
|
function eaglerBundleUnwrap(tagIn) { var e = document.getElementById(tagIn); var ret = e.innerText; document.head.removeChild(e); return ret; }
|
|
window.eaglercraftXClientSignature = eaglerBundleUnwrap("eaglercraftXClientSignature");
|
|
window.eaglercraftXClientBundle = eaglerBundleUnwrap("eaglercraftXClientBundle");
|
|
})();
|
|
</script>
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
(function(){
|
|
(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b(d,e,g){function a(j,i){if(!e[j]){if(!d[j]){var f="function"==typeof require&&require;if(!i&&f)return f(j,!0);if(h)return h(j,!0);var c=new Error("Cannot find module '"+j+"'");throw c.code="MODULE_NOT_FOUND",c}var k=e[j]={exports:{}};d[j][0].call(k.exports,function(b){var c=d[j][1][b];return a(c||b)},k,k.exports,b,d,e,g)}return e[j].exports}for(var h="function"==typeof require&&require,c=0;c<g.length;c++)a(g[c]);return a}return b}()({"/":[function(a,b,c){'use strict';function d(a){var b=a.length;if(0<b%4)throw new Error("Invalid string. Length must be a multiple of 4");var c=a.indexOf("=");-1===c&&(c=b);var d=c===b?0:4-c%4;return[c,d]}function e(a,b,c){return 3*(b+c)/4-c}function f(a){var b,c,f=d(a),g=f[0],h=f[1],j=new m(e(a,g,h)),k=0,n=0<h?g-4:g;for(c=0;c<n;c+=4)b=l[a.charCodeAt(c)]<<18|l[a.charCodeAt(c+1)]<<12|l[a.charCodeAt(c+2)]<<6|l[a.charCodeAt(c+3)],j[k++]=255&b>>16,j[k++]=255&b>>8,j[k++]=255&b;return 2===h&&(b=l[a.charCodeAt(c)]<<2|l[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=l[a.charCodeAt(c)]<<10|l[a.charCodeAt(c+1)]<<4|l[a.charCodeAt(c+2)]>>2,j[k++]=255&b>>8,j[k++]=255&b),j}function g(a){return k[63&a>>18]+k[63&a>>12]+k[63&a>>6]+k[63&a]}function h(a,b,c){for(var d,e=[],f=b;f<c;f+=3)d=(16711680&a[f]<<16)+(65280&a[f+1]<<8)+(255&a[f+2]),e.push(g(d));return e.join("")}function j(a){for(var b,c=a.length,d=c%3,e=[],f=16383,g=0,j=c-d;g<j;g+=f)e.push(h(a,g,g+f>j?j:g+f));return 1===d?(b=a[c-1],e.push(k[b>>2]+k[63&b<<4]+"==")):2===d&&(b=(a[c-2]<<8)+a[c-1],e.push(k[b>>10]+k[63&b>>4]+k[63&b<<2]+"=")),e.join("")}c.byteLength=function(a){var b=d(a),c=b[0],e=b[1];return 3*(c+e)/4-e},c.toByteArray=f,c.fromByteArray=j;for(var k=[],l=[],m="undefined"==typeof Uint8Array?Array:Uint8Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,p=n.length;o<p;++o)k[o]=n[o],l[n.charCodeAt(o)]=o;l[45]=62,l[95]=63},{}]},{},[])("/")});
|
|
var sameOriginSupport = -1;
|
|
var checkSameOriginSupport = function(callback0) {
|
|
if(sameOriginSupport == -1) {
|
|
try {
|
|
(function(callback) {
|
|
if((typeof URL === "undefined") || (typeof URL.createObjectURL !== "function")) {
|
|
sameOriginSupport = 1;
|
|
callback(false);
|
|
}else {
|
|
var theObjURL = URL.createObjectURL(new Blob([new Uint8Array([69, 69, 69, 69])]));
|
|
if(!theObjURL) {
|
|
sameOriginSupport = 1;
|
|
callback(false);
|
|
}
|
|
doXHR(theObjURL, function(dataRet) {
|
|
if(dataRet) {
|
|
var typedArr = new Uint8Array(dataRet);
|
|
if(typedArr.length === 4 && typedArr[0] === 69 && typedArr[1] === 69 && typedArr[2] === 69 && typedArr[3] === 69) {
|
|
sameOriginSupport = 0;
|
|
callback(true);
|
|
}else {
|
|
sameOriginSupport = 1;
|
|
callback(false);
|
|
}
|
|
}else {
|
|
sameOriginSupport = 1;
|
|
callback(false);
|
|
}
|
|
});
|
|
}
|
|
})(function(valRet) {
|
|
if(!valRet) {
|
|
console.error("Same origin XHR support detected as false, using data: url...");
|
|
}
|
|
callback0(valRet);
|
|
});
|
|
}catch(ex) {
|
|
console.error("Same origin XHR support detection failed, using data: url...");
|
|
callback0(false);
|
|
}
|
|
}else {
|
|
callback0(!sameOriginSupport);
|
|
}
|
|
};
|
|
var blobToArrayBuffer = function(blobIn, callback) {
|
|
if(typeof blobIn.arrayBuffer === "undefined") {
|
|
blobIn.arrayBuffer().then(callback);
|
|
}else {
|
|
(function(phileReader) {
|
|
phileReader.addEventListener("load", function(evt) {
|
|
callback(phileReader.result);
|
|
});
|
|
phileReader.readAsArrayBuffer(blobIn);
|
|
})(new FileReader());
|
|
}
|
|
};
|
|
var completeXHR = function(callback, arg) {
|
|
if(!callback.comp) {
|
|
callback.comp = true;
|
|
callback.cb(arg);
|
|
}
|
|
};
|
|
var doXHR = function(urlIn, callback) {
|
|
(function(theXHRObj, callbackStruct){
|
|
theXHRObj.responseType = "arraybuffer";
|
|
theXHRObj.addEventListener("load", function(evt) { var stat = theXHRObj.status; if(stat === 0 || (stat >= 200 && stat < 400)) { completeXHR(callbackStruct, theXHRObj.response); } else { completeXHR(callbackStruct, null); } });
|
|
theXHRObj.addEventListener("error", function(evt) { completeXHR(callbackStruct, null); });
|
|
theXHRObj.open("GET", urlIn, true);
|
|
theXHRObj.send();
|
|
})(new XMLHttpRequest(), { cb: callback, comp: false });
|
|
};
|
|
var decodeBase64URL = function(urlIn, callbackOut) {
|
|
doXHR(urlIn, function(data) {
|
|
if(!data) {
|
|
try {
|
|
console.error("Caught an error decoding base64 via fetch, doing it the slow way instead...");
|
|
callbackOut(base64js.toByteArray(urlIn.substring(37)).buffer);
|
|
}catch(ex) {
|
|
console.error("Failed to decode base64!");
|
|
console.error(ex);
|
|
callbackOut(null);
|
|
}
|
|
}else {
|
|
callbackOut(data);
|
|
}
|
|
});
|
|
};
|
|
if(typeof window.DecompressionStream === "undefined") {
|
|
checkSameOriginSupport(function(soSupported) {
|
|
var theWorkerObj;
|
|
var workerSrc = "InVzZSBzdHJpY3QiOwovKiEgcGFrbyAyLjEuMCBodHRwczovL2dpdGh1Yi5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zYWdlIiwgZnVuY3Rpb24obykgeyB0cnkgeyBwb3N0TWVzc2FnZSh7IHN0YXR1czogInN1Y2Nlc3MiLCBkYXRhOiBwYWtvLmluZmxhdGUoby5kYXRhLCB7IHRvOiAiYXJyYXlidWZmZXIiIH0pIH0pOyB9IGNhdGNoKGV4KSB7IGxvZ2dlci5lcnJvcihleCk7IHBvc3RNZXNzYWdlKHsgc3RhdHVzOiAiZXJyb3IiIH0pOyB9IH0pOwpwb3N0TWVzc2FnZSh7IHN0YXR1czogInJlYWR5IiB9KTs=";
|
|
if(soSupported) {
|
|
theWorkerObj = new Worker(URL.createObjectURL(new Blob([base64js.toByteArray(workerSrc).buffer], { type: "text/javascript" })));
|
|
}else {
|
|
theWorkerObj = new Worker("data:text/javascript;base64," + workerSrc);
|
|
}
|
|
theWorkerObj.addEventListener("message", function(evt) {
|
|
if(evt.data.status === "ready") {
|
|
decodeBase64URL(window.eaglercraftXClientBundle, function(cbData) {
|
|
if(cbData) {
|
|
theWorkerObj.postMessage(cbData);
|
|
}else {
|
|
alert("Failed to decode eaglercraftXClientBundle base64!");
|
|
}
|
|
});
|
|
}else if(evt.data.status === "success") {
|
|
if(soSupported) {
|
|
window.clientScriptSrcURL = URL.createObjectURL(new Blob([evt.data.data.buffer], { type: "text/javascript;charset=utf-8" }));
|
|
}else {
|
|
window.clientScriptSrcURL = "data:text/javascript;charset=utf-8;base64," + base64js.fromByteArray(evt.data.data);
|
|
}
|
|
}else {
|
|
alert("Failed to decompress classes.js via legacy javascript implementation!");
|
|
}
|
|
});
|
|
theWorkerObj.addEventListener("error", function(evt) {
|
|
console.error(evt.error);
|
|
});
|
|
});
|
|
}else {
|
|
var ds = new window.DecompressionStream("gzip");
|
|
var result = [];
|
|
var fetchStream = function(reader) {
|
|
var processData;
|
|
reader.read().then(processData = function(evt) {
|
|
if (evt.done) {
|
|
(function(blobObj){
|
|
checkSameOriginSupport(function(supported) {
|
|
if(supported) {
|
|
window.clientScriptSrcURL = URL.createObjectURL(blobObj);
|
|
}else {
|
|
blobToArrayBuffer(blobObj, function(arr) {
|
|
console.log(arr);
|
|
window.clientScriptSrcURL = "data:text/javascript;charset=utf-8;base64," + base64js.fromByteArray(new Uint8Array(arr));
|
|
});
|
|
}
|
|
});
|
|
})(new Blob(result, { type: "text/javascript;charset=utf-8" }));
|
|
result = [];
|
|
ds = null;
|
|
return;
|
|
}
|
|
result.push(evt.value);
|
|
return reader.read().then(processData);
|
|
});
|
|
};
|
|
decodeBase64URL(window.eaglercraftXClientBundle, function(cbData) {
|
|
if(cbData) {
|
|
fetchStream((new Blob([cbData])).stream().pipeThrough(ds).getReader());
|
|
}else {
|
|
alert("Failed to decode eaglercraftXClientBundle base64!");
|
|
}
|
|
});
|
|
}
|
|
})();
|
|
</script>
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
(function(){
|
|
var launchInterval = -1;
|
|
var launchCounter = 1;
|
|
var launchCountdownNumberElement = null;
|
|
var launchCountdownProgressElement = null;
|
|
var launchSkipCountdown = false;
|
|
var launchTick = function() {
|
|
if(launchCounter > 100 || launchSkipCountdown) {
|
|
if(window.clientScriptSrcURL) {
|
|
clearInterval(launchInterval);
|
|
setTimeout(function() {
|
|
document.body.removeChild(document.getElementById("launch_countdown_screen"));
|
|
document.body.style.backgroundColor = "black";
|
|
var script = document.createElement("script");
|
|
script.type = "text/javascript";
|
|
script.src = window.clientScriptSrcURL;
|
|
window.clientScriptSrcURL = null;
|
|
document.head.appendChild(script);
|
|
}, 50);
|
|
}
|
|
return;
|
|
}
|
|
if(launchCounter === 100) {
|
|
document.getElementById("gameWillLaunchIn").innerText = "Decompressing...";
|
|
}else {
|
|
launchCountdownNumberElement.innerText = "" + Math.floor(6.0 - launchCounter * 0.06);
|
|
}
|
|
launchCountdownProgressElement.style.width = "" + launchCounter + "%";
|
|
++launchCounter;
|
|
};
|
|
window.addEventListener("load", function() {
|
|
launchCountdownNumberElement = document.getElementById("launchCountdownNumber");
|
|
launchCountdownProgressElement = document.getElementById("launchCountdownProgress");
|
|
launchInterval = setInterval(launchTick, 50);
|
|
document.getElementById("skipCountdown").addEventListener("click", function() {
|
|
launchSkipCountdown = true;
|
|
document.getElementById("gameWillLaunchIn").innerText = "Decompressing...";
|
|
});
|
|
document.getElementById("bootMenu").addEventListener("click", function() {
|
|
launchSkipCountdown = true;
|
|
document.getElementById("gameWillLaunchIn").innerText = "Decompressing...";
|
|
window.eaglercraftXOptsHints.showBootMenuOnLaunch = true;
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAR/SURBVEhLtZXZK3ZRFMYPcqXc+gv413DHxVuGIpIhkciQWaRccCNjSCkligwXSOZ5nmfv9zvn2e8+58V753sudmuvvdZ61l5r7XOc8H+GS/D19aUNkPz5+aktQH5/f//4+LBKZKuRkpUtQjCUYG5gD2T38vLy/PwsDfL9/f3Dw8PT05M0b29vnKLhCKCBT4L4gvBLBIei4//4+Hh1dUVEQutUuLu7E83FxQUGnKLBWKfQaA3S+AREVxaEOD8/Pzk50XpzcyMDcH19zdZG3N3d3dzc3Nvb01aX5pQUpQGGQJxcQpfNysoKhUIdHR1o1tbWbInYAgxIPDMzMy8vLzc3FxqOdMoRqwJK8G8ALUYIhHMiSEhIwI6CyIb0qQzC4eGhsXCc1tZWnZIEKzdQJQSXgKxfX18RCM3Z5eWlcfVAxKOjo+Pj49PTU88lTOk2NjbMsePc3t6SAfcgFdszOyMuAdeBg0CQi2lhYUHOeOLDCisN8FzcPFZXV3t7ezHY3t5GQ+6it+2xMASsKhEEWKsmRLRBBUpPvpJ/TpFKFBwKYAiITmicsbYhdHfJAltqhUCVsCQhwslmeXmZxiBQT9c0Ar9E2O3v72sYSE0N1yQArkKy0kBMXLqlZqIZHR3t6empqqqSDcBdhXEJSJ/bUc3q6uq+vj629GB9fR1WsLW1NTs7u7S0RN2locMjIyOEm5ubQ7+4uJienk4/+vv77Y1hwhLBEKhwWHitdVFfX9/Y2Gg2HuLi4owUAysrK8yCG97rh0+ApP5Q2ZycHFlPTExUVFRIBvn5+WhKSkp2dnaMKhptbW2426GgQ/rwuAQCZ1hwFayLiork9hMFBQV1dXVmE0BLS4vqw3QFB8kn4IAxoGPkYpxi4FeDmpqas7Mz4pClAgqGwD48rjY2NmacYqC0tJQ1KSlJWyE5OZkpUKkBAxZVIntAoZh04+Q48fHxPNGBgYHExMT29naj9cBodnZ2mo3jlJWVMeW2OGQck4B1amqqoaGhqamJjx2lGxwcpL0mUgR8fJhsWqJtSkoKU2SbHHUDpkhPBujd8xuQG6PJRM/Pz09PT7O1NNnZ2Tw3fgZkXVhYKCUlUhBATP+hCVyKZGky17RV0g04laayslJ6hlVeFHB4eFhKaogGd0LxtmTgE+hbhKDnPjMzgw8E3qGL2tpaBWpubjYqj2BoaEj6rq4uNATRZ0ZwCbiL6gXEzINk5vCBQJ9rMD4+rkA8QNK036uDg4Py8vLu7m680KjIBNR3zBDoWQM1g98snyB+VSoRW8C/UwR81/SvhgNj9JOTkwwVERUdRBEI0BAdLRVERkhLS8vIyEDQlrsTPTU1lVFhKxARvZgUlFLbegCf4BvIsbi4mIg4E5EogIHhiKCMtU0WUFiVy06j5fAJIDdSBDQw+PegDfBRcbOPwH4F9LuFWIIQdQNKwWqzIE0aoFUaBsw+SQuFw0uNtC9A+F4i3QNrbg3IDn+SAsHh+wYiEpeyBEMLv/cAO6KzAijxxB+Y4wisBhssJUhjEbPJf4Nw+B+JXqLW3bw+wQAAAABJRU5ErkJggg==" />
|
|
</head>
|
|
<body style="margin:0px;width:100%;height:100%;overflow:hidden;background-color:white;" id="game_frame">
|
|
<div style="margin:0px;width:100%;height:100%;font-family:sans-serif;display:flex;align-items:center;user-select:none;" id="launch_countdown_screen">
|
|
<div style="margin:auto;text-align:center;">
|
|
<h1>This file is from <span style="color:#AA0000;">${date}</span></h1>
|
|
<h2 id="gameWillLaunchIn">Game will launch in <span id="launchCountdownNumber">5</span>...</h2>
|
|
<div style="border:2px solid black;width:100%;height:15px;padding:1px;margin-bottom:20vh;"><div id="launchCountdownProgress" style="background-color:#555555;width:0%;height:100%;"></div>
|
|
<p style="margin-top:30px;"><button id="skipCountdown" autofocus>Skip Countdown</button> <button id="bootMenu">Enter Boot Menu</button></p></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|