172 lines
5.4 KiB
HTML
Vendored
172 lines
5.4 KiB
HTML
Vendored
<!DOCTYPE html>
|
|
|
|
|
|
<!--
|
|
|
|
To correctly download this file on github, right click on this page of code and press 'Save As...'
|
|
|
|
To correctly download this file on google drive, press the download button at the top right of the screen near the picture of your google account photo
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Visit this link to check for newer versions of this file:
|
|
|
|
https://github.com/LAX1DUDE/eaglercraft/blob/main/stable-download/Offline_Download_Version.html
|
|
|
|
This version of eaglercraft you are using right now is from ${date}
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>My Drive - Google Drive</title>
|
|
|
|
<script type="text/javascript">
|
|
window.addEventListener("load", function() {
|
|
countdown();
|
|
setTimeout(function(){
|
|
document.getElementById("locally").remove();
|
|
const relayId = Math.floor(Math.random() * 3);
|
|
window.eaglercraftOpts = {
|
|
container: "game_frame", assetsURI: getAssetsURI(),
|
|
serverWorkerURI: createWorkerURI("sp_worker"),
|
|
worldsFolder: "TEST", mainMenu: { splashes: [
|
|
"Darviglet!", "eaglerenophile!", "You Eagler!", "Yeeeeeee!", "yeee",
|
|
"EEEEEEEEE!", "You Darvig!", "You Vigg!", ":>", "|>", "You Yumpster!"
|
|
]}, worldsFolder: "OFFLINE", relays: [
|
|
{ addr: "wss://relay.deev.is/", name: "lax1dude relay #1", primary: relayId == 0 },
|
|
{ addr: "wss://relay.lax1dude.net/", name: "lax1dude relay #2", primary: relayId == 1 },
|
|
{ addr: "wss://relay.shhnowisnottheti.me/", name: "ayunami relay #1", primary: relayId == 2 } ]
|
|
};
|
|
main();
|
|
}, 6000);
|
|
});
|
|
</script>
|
|
|
|
<script type="text/javascript">
|
|
function getAssetsURI() {
|
|
return "data:application/octet-stream;base64,${assets_epk_base64}";
|
|
}
|
|
</script>
|
|
|
|
<script type="text/javascript">
|
|
function createWorkerURI(el) {
|
|
var eee = document.getElementById(el);
|
|
var str = eee.innerHTML;
|
|
eee.remove();
|
|
str = "onmessage = function(o) { eaglercraftServerOpts = o.data; main(); };\n" + str;
|
|
return URL.createObjectURL(new Blob([str], {type:"text/javascript"}));
|
|
}
|
|
</script>
|
|
|
|
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGAUlEQVRYw7VXa0xTZxj+oKjJNjWZ10EtZqIQjBdsT2utlZYiMsfiZltUtpiYOZ0zceOmcZfsGLmoQ25hS1jmNJpBL1xEuWwZGduPjW0xcVniLn/YfmlrK6wDRulpz7v3O+1BCgUs4pc8+U5Ov6/P877v837nHEKiGzHEZpYQVhcXEfQ3uuaJjOCfP9pSG5E8GXIzmS+r0Rtk1bqcxCrti+NB76XVaA3EzM6fUxHmELmm7bXkjVde6pPV6WD1x/owyBDrEaTOAD9fTeqDLpJM98CciIBgTRVW0211Rx4k1WWOSiu0flnlDgGrEBsQpELnZz9hRuErAqNNMb8IW+Ex/SCvPzJPILebjm69eQAYm8m7+doeWHVRC0guIBGxDkEupsPfDSsBmokXumLB10TeFETUk3mPFbmq89VFCovJxdhNIG80BhirCVLqd4G0Yjtg9LC5UgvkIx1c/XQTJQevXRLgWwj47MSFJVg860yMRW81VW1tPwCKRqNPYTECxZaGV2B1VTqswUw8jZFrq7ZDv/UZ8Ddh+u0xCOKDL1FEM6maVRZE46ls5lSFNUi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7gH6065wFA6BBlRIAuxoWwEfs1lYYCKyNSCy8Dw9w0MULiz5CnBd13xTfvILeFkii92VkjfH0UBTh8VsKLAAZozHjCUDUclILtkENaUj8KZ03/Cg3QJ3M/UUGIfl62mQiqE01AuH3caAggHydKTroXxRU6ntNgNSwscgQ3vuiETyfVRZoACSwGScxx8d+gSeDQk4M7SU3KnS6NZGPmpGMqCtNh1OOEDPyQUOUbSzw5yBqG2Q1FjZ8kgx5SNcG986OAcmeoRyE4D107t4cnRhzVxMBPPFjra1RfQ1ZUhh1fODntwL6kB6D51C4bUpH3G9wFRAF7E6EqHj2Ptr2A0l9HdswKa97IW/2P/Wc9xkRhm/HYcEzH3Ax79wxUzwELcXIFFwBP7an7M8T8H1bLLDGWzFAAAAABJRU5ErkJggg==" />
|
|
|
|
<script type="text/javascript">
|
|
${classes_js}
|
|
${eagswebrtc_js}
|
|
</script>
|
|
|
|
<script type="text/eaglerworker" id="sp_worker">
|
|
${classes_server_js}
|
|
</script>
|
|
|
|
<script type="text/javascript">
|
|
function countdown() {
|
|
const c = document.getElementById("countdown");
|
|
setTimeout(function(){ c.innerText = "(Game will launch in 4)"; }, 1000);
|
|
setTimeout(function(){ c.innerText = "(Game will launch in 3)"; }, 2000);
|
|
setTimeout(function(){ c.innerText = "(Game will launch in 2)"; }, 3000);
|
|
setTimeout(function(){ c.innerText = "(Game will launch in 1)"; }, 4000);
|
|
setTimeout(function(){ c.innerText = "(Game will launch in 0)"; }, 5000);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body style="margin:0px;width:100vw;height:100vh;font-family:sans-serif;" id="game_frame">
|
|
<div id="locally" style="text-align:center;">
|
|
<div style="height:5vh;"></div>
|
|
<h2>you are running eaglercraft locally, check <a href="https://github.com/LAX1DUDE/eaglercraft/blob/main/stable-download/Offline_Download_Version.html" target="_blank">this link</a> regularly for an updated version</h2>
|
|
<h3>the version you are currently using is from <span style="color:#cc0000;font-size:larger;">${date}</span></h3>
|
|
<p id="countdown" style="text-align:center;">(Game will launch in 5)</p>
|
|
</div>
|
|
</body>
|
|
</html> |