Spaces:
Running
Running
Upload 5 files
Browse files- .gitattributes +2 -0
- assets.epk +3 -0
- classes.js +3 -0
- classes.js.map +0 -0
- favicon.png +0 -0
- index.html +59 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets.epk filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
classes.js filter=lfs diff=lfs merge=lfs -text
|
assets.epk
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82c822d842020dacab64fd337059e4f3fc6c77d570ad7afa95d0dff69aa95807
|
| 3 |
+
size 7748168
|
classes.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dafd35be6c9c9856da5bbe5d1e5fb1daeb317e980d3f7eb0b12ab646e99f2e2f
|
| 3 |
+
size 21878768
|
classes.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
favicon.png
ADDED
|
|
index.html
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html style="width:100%;height:100%;background-color:black;">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
|
| 6 |
+
<meta name="description" content="Play minecraft 1.8 in your browser" />
|
| 7 |
+
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.8, 1.8.8" />
|
| 8 |
+
<title>EaglercraftX 1.8</title>
|
| 9 |
+
<meta property="og:locale" content="en-US" />
|
| 10 |
+
<meta property="og:type" content="website" />
|
| 11 |
+
<meta property="og:title" content="EaglercraftX 1.8" />
|
| 12 |
+
<meta property="og:description" content="Play minecraft 1.8 in your browser" />
|
| 13 |
+
<meta property="og:image" content="favicon.png" />
|
| 14 |
+
<link type="image/png" rel="shortcut icon" href="favicon.png" />
|
| 15 |
+
<script type="text/javascript" src="classes.js"></script>
|
| 16 |
+
<script type="text/javascript">
|
| 17 |
+
"use strict";
|
| 18 |
+
window.addEventListener("load", function() {
|
| 19 |
+
if(window.location.href.indexOf("file:") === 0) {
|
| 20 |
+
alert("HTTP please, do not open this file locally, run a local HTTP server and load it via HTTP");
|
| 21 |
+
}else {
|
| 22 |
+
|
| 23 |
+
// %%%%%%%%% launch options %%%%%%%%%%%%
|
| 24 |
+
|
| 25 |
+
var relayId = Math.floor(Math.random() * 3);
|
| 26 |
+
window.eaglercraftXOpts = {
|
| 27 |
+
demoMode: false,
|
| 28 |
+
container: "game_frame",
|
| 29 |
+
assetsURI: "assets.epk",
|
| 30 |
+
localesURI: "lang/",
|
| 31 |
+
worldsDB: "worlds",
|
| 32 |
+
servers: [
|
| 33 |
+
/* example: { addr: "ws://localhost:8081/", name: "Local test server" } */
|
| 34 |
+
],
|
| 35 |
+
relays: [
|
| 36 |
+
{ addr: "wss://relay.deev.is/", comment: "lax1dude relay #1", primary: relayId == 0 },
|
| 37 |
+
{ addr: "wss://relay.lax1dude.net/", comment: "lax1dude relay #2", primary: relayId == 1 },
|
| 38 |
+
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId == 2 }
|
| 39 |
+
]
|
| 40 |
+
};
|
| 41 |
+
|
| 42 |
+
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 43 |
+
|
| 44 |
+
var q = window.location.search;
|
| 45 |
+
if((typeof q === "string") && q[0] === "?" && (typeof window.URLSearchParams !== "undefined")) {
|
| 46 |
+
q = new window.URLSearchParams(q);
|
| 47 |
+
var s = q.get("server");
|
| 48 |
+
if(s) window.eaglercraftXOpts.joinServer = s;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
main();
|
| 52 |
+
|
| 53 |
+
}
|
| 54 |
+
});
|
| 55 |
+
</script>
|
| 56 |
+
</head>
|
| 57 |
+
<body style="margin:0px;width:100%;height:100%;overflow:hidden;background-color:black;" id="game_frame">
|
| 58 |
+
</body>
|
| 59 |
+
</html>
|