2024-02-14 09:44:40 -06:00
<!DOCTYPE html>
2024-09-22 00:52:19 -05:00
< html style = "width:100%;height:100%;background-color:black;" >
2024-02-14 09:44:40 -06:00
< head >
< meta charset = "UTF-8" / >
2024-09-22 00:52:19 -05:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" / >
2024-02-14 09:44:40 -06:00
< 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" / >
2024-03-02 21:27:17 -06:00
< meta property = "og:title" content = "EaglercraftX 1.8" / >
< meta property = "og:description" content = "Play minecraft 1.8 in your browser" / >
2024-02-14 09:44:40 -06:00
< script type = "text/javascript" >
"use strict";
2024-09-22 00:52:19 -05:00
var relayId = Math.floor(Math.random() * 3);
2024-02-14 09:44:40 -06:00
// %%%%%%%%% 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 >
2024-09-25 01:49:56 -05:00
< style type = "eaglercraft" id = "eaglercraftXClientSignature" > data : application / octet-stream ; base64 , RUFHU0lHAAEEquFPnxZKlhUmIBjRu2NfWIACg7lg0vBHhdvyrfuKocis6rAMP25I748 / ov5V9ecdzJoRWqFADHvJx / WFd7voj4ZjwQyQlNKb + IRDrECQVAMYdBvAov01iLjUGbW3bD9W7XbdbBbqbJ3NmBKlpsq55SRvg9yMfrsn3g6LBLbZpO + xFEivdN9SM9yLHtQFCebRI6W0 + YHVU4nTHi5sagtqN2Jm2s / mCMAkHxfy / 77lUbedppL30X9V0H7eH83YgP / IpL8wBBhaReyMIjUaFIKeRFfIa22dBIUoCxkXPxQWCol90FigtbDGkEXLi7d026R6y + Tcq4 / Z2Ils25skahpbAnMfiwgAAAAAAAD / Y2BgnKS + VPcTw6UFp9wy3nSuqPzcW3JQ + et + 38vRp9sjoxQ + lnpOYXL6H531zoZBJS + 1RC8nscIwpTQlVS81MT0ntSi5KDGtRK / MMN5CLzknMzWvhEHAFSERoWCoZ8HAAdPDwMCgxsBcamzBoOeWWaGQqJCWWq6QWVxcmlqskJmnUGpszhVakJJYkqpQkFOaDhQpyQcaYKxnGGr5O + LuxEf + E2eUzN67IKKtrDPcnIGx + q3E6qkHzp2eHNe6Yk1W3e / s3 + tnxEVM5qvkOvqpQVPo + zbvCtPXk94nT6g3 + vB3 / 9of8RETJnoHbl23dIv3z + 5NZ9KAzuEzSEiLZ2DJySwuYdDPKCkpKLbS10f2WXJ + rn5Kjn5yflGxPtB98UmJydmlBXogDT83dfMzsGQWpBUzWCclplUmpWammJfmmiaWmBUXmyZXllYYGaVkGuenFlSlZFbkJZdkJaWn5hYYGefnJSXlZxRkZZpUJSeldv97psPAXVqcqpsO9Hl5YiWDJswhUAE9kB16mfn6IFpfJTkzRUVfpSCxJEOluWimFKpeNZhek9Sy1KKcxLwUrBpfWizdh6pRGaYxpTw1Cei / vGxMXXNF35Sh6tKF6UrOyS9NSctJLErVBbsWFG4Y + hd8snZG1a8K15 + GR9 / ysru3UPUpwfSVGxfjcKzGrz11qJoMYZrANqWWZOglFiWm5 + fpAdN1eX4RFjMSTre / whE3eWklxSX5QP2pOOzvulgqjEMvWBkkVtGjGKJX94sSL47oQdKLiCmILoHsNlYcwYukCzmkIfqsljx4TNil6B6G6AUAJPckaEEEAAA = < / style >
< style type = "eaglercraft" id = "eaglercraftXClientBundle" > d a t a : a p p l i c a t i o n / o c t e t - s t r e a m ; b a s e 6 4 , H 4 s I A A A A A A A A / 9 x 9 + 3 P b u M 7 o 7 5 7 p / + B 6 e l p p r X r t J H 2 s F b U 3 c Z K 2 u 3 1 t 0 3 0 1 J 1 9 G t m l b i S N 5 J T m P J v 7 f L w C + J T l x u v 3 O P X M 7 u 4 5 E g i A I g i A I g l R j n r F 6 l q f R I G / 4 9 2 o 1 Z z S P B 3 m U x E 6 a J L l 3 m g z n U + Z e R S M n v 5 y x Z F Q f s l E U s y A I H k n I R w 8 f 8 s R W e D p 0 r / i z c / C I X c y S N M 8 e H X o K p 0 h y r z h e X o d M 9 B f w H 5 s C P b o 2 k Y f V J f 1 j N s i h M p F 2 P w j i + X T 6 8 K E N 2 o q T I X s f n j L I f 4 Q N i 8 e P V H 3 j a d I P p 0 a N W J 1 F D P 5 A + k I S k L H p C D H N Y 9 6 u 4 a O X m N T N J 1 G m 2 / U g z Y 8 4 7 s z D Z 9 V O g 5 + 7 7 l W e X t a v d I p 7 d R a m 9 Y t A s 8 f L T V b n 0 O y G z G y I 4 k Z V r Q / E k h a n 7 G O a z F i a X z q 5 1 4 i h / Q 3 v a p D E o 2 g 8 T 8 P + l H X z d M 4 8 F s 9 P G X 8 f A Q b m n a d R b r y e h d M 5 6 z L s i U G Y D y Z O 6 l 4 t F i n L 5 2 l c z / 2 F j x S P 6 f e U f v P g 4 J A e W F B o V + q P g 8 b X / q u f j v / 6 8 9 O s v 7 b B g k Y R k h p M w M G F 0 + g l 0 y n j j T V E h j h y H / l 9 f Y 2 / L W g V 9 O t 8 k C c p 9 E z q C u p i d l 5 P A d x f g U P Y e Y 2 j E 3 a Z A Z d 4 m w 8 O F 3 c o S m W + r f C 9 W u M o y m f f V j E f B B / i 6 a U q n 0 N x 4 B B z o 9 Y g n E 4 5 I K P R R I x z V x A Z 5 j W y 6 C u K z J j l 3 T 4 N R J P P Q e q P k t T B n o r r U V x n q y B N W 7 M 0 y R M U Z i + W 1 L K D G N s r R S o F k R o H z r i V z f t 8 s D o d 1 2 2 l b D Y N B 8 x p A E m N h k t i E w U F m S B h C I d D l 7 W A u N 0 Q p F U m e f j g + q R M d K 5 Z n i A z l j v s o H 3 o s Y P O I R A l i i 2 E Z F f V N w k z e B X l S Y J a 2 W w a A a 2 p 1 3 F 9 n s y l o y I D + r 2 K m n s 1 x J 9 u I i 0 u / j x + 7 B t M q j / u b C K j 8 h b 7 O 2 j s f / l j L + 6 / 4 m M p x n E D f W Y P G D l e N c E v T c I O 0 s O u 2 X 1 K t 2 G l i D V B r F D Q x C p V E + L R U g j a F 8 Z g W R a c 3 H X z S Z q c 0 7 A 0 8 z + D O O y m K U h T 4 0 0 M 9 E T D O l F V h 4 l o W A + z + j k L T + o D p Q r q w O M G i T L U l I M K A K X Y d l E a 0 4 C 1 p i w e 5 x M / f f z 4 4 c P 7 Z j U R t B r a C V T 7 o M F I E B A + g q Z e f A B c r m 8 z 1 / U T 4 u 7 v l 3 + t / z z 5 E v 8 6 / / L q 9 z X O 5 L C C H Y r J i T H q T C a L I Y j l s 1 X L 3 6 t p s T L K z y 1 J 5 L L J D s z W h n n S d x r h q 5 + + f v n y 6 s m k / 8 d v Q U M P o i 9 f Y B Q N G 6 5 7 K B u d v 8 x b e f I 2 O W d p L 8 y Y 4 3 Y b D S H 2 I y Q 2 s y U K + 9 4 U J q c g T U H u d u 0 0 Y 3 j M 5 t k E C g G f E c 4 3 Z F O 2 b 4 p V w q i t 1 v p y y F l D S y A t Y j s N G n F y z n t t g F g H U x a m B l 7 3 y t G k X V + 3 X S F B g Y V d p L U l g R N E x W c L A 5 O o + 9 J R Y 9 v T u F X n n W F Z O V 2 s U p r D q v L D e z X E w G L Q j q u i I P k p Y Y t a 4 2 m w W 5 a b M c g F M B u z g e s I d H X S n f N 3 7 6 x b g k c 1 Z O n r J g 4 d d + E v k N 7 Z n a k V 4 6 W y 9 Z d a 9 F O Y R C I u / k m A S j s M y G b x U y 4 N i Z K G q 5 h d 5 N 2 C O Q J C H C R Q j C b F E P T W Z i z 6 2 b 1 i Q f T y I D 7 I D 7 0 I f g 6 7 + O g j c L M p L N K r M E D 7 C e q S S l 2 p k s R F / S 5 1 9 d U w i V k 3 V I Y U m J I w s K J W M j P t I z m Z M p A x 0 E / N J k M 4 T O n T 8 K O 5 W M P D / G C q d F t M J a u O s K S Y X I q D l 5 t Y V F h 0 j e P S j I 6 1 8 3 k k b S H X H N K 0 c Q t b 4 f Z T U M U + E w r K i 1 t U L 0 y V 6 h F 6 Q U y Z C 8 3 9 A R T L m T b m u s y L 4 i j v R l 4 2 C V M 2 3 G F T l o P d I l 5 f g c U R e z D I u 4 k H e u c 1 P I T e a T j D h 0 z A 7 A P M S D x v D Y f d q X j u 4 f D u D s T b L y D 2 3 Y l 4 + Z 1 4 1 D 1 D V L u 8 z d 0 h V i B f Z g L w T Q 4 G M d g 4 3 U t Z G X C / 2 x c v e 5 y h 3 S N v e N L d b e 1 A y 7 y v X Z u 7 u 2 h I f I 5 O W T L P K Y U 6 3 e H d k p r 9 r m 1 7 c 1 S 9 C 2 d o 6 a t p u A G z H I d y i r M n g D p g H 3 E B u F e 7 b y 4 Q r q / v O z c X w C f s 5 V W s t 1 2 v A W W V l Q m y R a 8 g D Y X u d a 4 a Q + r R R p e 1 z B 6 m P m U t 3 p U e G p Y y H 7 o c e 0 K 9 Q / d 6 q L N U A v Y k H 0 I 6 7 X c x r Y r u I 8 S i L z 0 h 9 g p W 9 J p H 6 l + l k r Q s X F f L K o 1 p M c J F E t c p Y j T G t 3 f e H z B G S h 2 4 I o N F W Z P J K u k u j L 5 X q 2 h o i e N W d x T Y v z J X W G t 4 E u D P w e m h 4 7 5 4 0 W k X j f N l j I J a V p V y A N V C e 7 u M W + B 3 l P F 9 t H Q 0 + + m 1 i v W c e V w / e W C r K O a B O v K W 9 U t V r 1 h y L m T 6 N k n X W m u Z p N + r 3 U m u k 9 X k u t R l d 5 D r A m N V 0 l 3 k u s j n K n 6 a H b M y D 3 C 9 D D L 8 w u k 8 3 X j 2 7 O n a 5 m a n 7 f K Z M K R V Q p S D 9 Y N g Y e s E W B C 2 z q 6 v 4 R F m z 2 H 2 R 5 R P H j 4 0 3 5 x G q 9 E E G E D B W l 8 d g S C Z e e t r z 5 4 + b + N 8 w N c B B Z s k D B o H B 4 2 m 4 9 g a O 5 + 0 0 j A e J q c o y 3 m y z + 2 s 9 a f w p s 2 u N b f Z O D x s C J v 9 L I F 1 F B + K U z A Y O 8 I C X h N a T A 5 S d J h J A S B e C L L U 8 z w o D q 6 t N A 0 v n Q 5 b l 6 a w 0 Y Z F y Z + z d I p j W R a O W W 8 S x j G b F o U q 4 c a V W c C a U d u y U / 1 F x k H J F R a V i L W r E T N w b r T P m o 1 z j g v N M 3 T X d d B z s H s G w + 5 t l O U s Z r B E P e U I G 1 7 q K q g s D 1 M y l O h 9 r f Q + S 7 J c E O I 0 x N L V v R L M F 0 2 V P F + l y U t g z B E s K E v Z a X L G l j X h X i 1 V L i G b G j F K V m A D L k o l 7 b B s 9 B d e p 6 1 8 h f E / a e W i 0 l p K r q 8 z W + k Y 5 X M s L 2 m H B U z A P c I w C P X 6 3 l 8 s 6 5 Z F y c 1 j 2 + V s M / Z Z M 1 i T K + 7 5 A T s U N M J j s 3 P o 5 w 4 w F J O D a m 8 K B 1 u S u c B R u R B L R N u e n B / E h w G D 4 j E W z / 0 Y q C C z H B o I 5 K S O I n 5 o l u T L I y 0 X y u 7 X 4 s 9 A N 8 y c C E A L Q z a V 6 z N Y y P C + w / p g 6 o X s I 2 A 0 U 4 w + F m + L 2 1 G M B S j N s v m U d e u g 6 / L W 0 T T s s + n 1 d a M + j 0 9 g u R 7 X Z 2 l y G m W s 4 X L 5 T B 8 + R P + I j W R B v z 5 f Y p r 8 8 m B h K H z j a q m C S V I q I 7 X 0 j C T b j F U l I r + i 6 e A I x n G O G x s g Q N T I 1 l H K s v k 0 N 3 Y l D K i B e z W u g r o 6 B a I q u 7 z K + y N 5 W 5 U n W + 7 q t a H d b q 5 s L T 8 t d J j 5 / v A h J v 0 B q 1 0 z F f R E l k z P U B i C Y M u 9 u h S L F j W S s F B l E 5 A z B q z W 9 W l h q 2 I o K N R S I 9 Z F C 7 F W L T k W k a c 5 8 h Q E e b n L 8 K 9 k X h + A c k / y u m h E P Z T i U z + H q b g e 5 b g / g 6 J U p J F s G e 6 6 1 L Z n c Y + F j x g x n Z J Q g R y 2 8 g m L D S 1 H R G o N 0 1 / W W L 5 b U t F W I U Y w v k Z 6 1 C j h G v h K q m D 0 n z n n W v R P K 0 S f T + 1 Y G o y D Q R r 1 W Z q J S T 6 S P g L I h R U 9 8 p A r 6 O g g Q c 0 C f + 7 V m t P D I M X H 5 u A w i H E E J u h j h U E o C E K t s s 8 H I e H d r / J H l q t P A 4 m A p k D p V U P 3 r W o z N 0 8 4 u 7 1 I P i S B Y o D a d w h B X Y a b E o s f N o N 1 9 y o O 8 o P w 0 I / w T z M l 3 w 4 w 5 A P 3 F X m J l m n 0 D i 0 W N p G G m 4 / o P S / a M Z p p a N f J Z 8 c c 8 v u O 6 p r j O / S z 6 l z V 5 1 N f w J f o u 0 8 M s 3 v g w 1 I x q B y P w F D B 2 V A + Z E r L R + h e I k l P g t T R e n P u X s n 5 O w z m M I 9 C H w L W h O u 9 G 8 b o l h y Q W R 3 V c T 8 c n O g x K 7 x Y Y V 7 P w l M m I V s 4 X p U l w P s s C W J e q c V E N a i j h w 8 z P j c l x l D H n W K i m V M Z m r p b q / a k k C x 0 e a L 4 + 7 E w Q f D Z x d p A q t T c h s p W 2 6 e Y l i r M u 8 I W P z H N D s G W X X Q 3 U m 7 P E k U G M h 5 g p p K W a p N C C 9 b S f E O 8 c O O W 1 / b O f 8 e d z B / F P G y 1 C R 1 8 S M C J I 3 e x p P T S y 0 0 E C Q i 7 T u D 5 h B s W c u P e W u E / f G j i O o o Z G 2 a f u K p P B Q X 1 C K a y M B 5 g 4 X c v P 8 o d z 2 6 5 4 H t 2 7 n D n J L b z D 2 w j q v L l 7 l G x X k L p L u 4 1 O x P u G 0 V e L J 0 e e z S A + F B M D e 2 n H N d h O p 6 f g m 2 d H U S 4 I + K f O W U 5 + E A W W u K l h q I x z A t U b n y C k T v f m P 1 O 7 7 b S d B X 8 Y S Y d N E g e G 4 e 0 K U K P S 3 c M s b S D s w S s G L g w W 4 i g p T C q L z k q + e I V r U 6 m 2 Z n a N o m / P M B B U M
2024-02-14 09:44:40 -06:00
< script type = "text/javascript" >
"use strict";
2024-03-02 21:27:17 -06:00
(function(){
2024-09-22 00:52:19 -05:00
function eaglerBundleUnwrap(tagIn) { var e = document.getElementById(tagIn); var ret = e.innerText; document.head.removeChild(e); return ret; }
2024-03-02 21:27:17 -06:00
window.eaglercraftXClientSignature = eaglerBundleUnwrap("eaglercraftXClientSignature");
window.eaglercraftXClientBundle = eaglerBundleUnwrap("eaglercraftXClientBundle");
})();
2024-02-14 09:44:40 -06:00
< / script >
< script type = "text/javascript" >
"use strict";
(function(){
2024-09-22 00:52:19 -05:00
(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);
2024-05-31 00:35:05 -05:00
}
2024-09-22 00:52:19 -05:00
};
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);
2024-05-31 00:35:05 -05:00
});
2024-09-22 00:52:19 -05:00
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);
}
2024-05-31 00:35:05 -05:00
});
2024-09-22 00:52:19 -05:00
};
if(typeof window.DecompressionStream === "undefined") {
checkSameOriginSupport(function(soSupported) {
var theWorkerObj;
var workerSrc = "InVzZSBzdHJpY3QiOwovKiEgcGFrbyAyLjEuMCBodHRwczovL2dpdGh1Yi5jb20vbm9kZWNhL3Bha28gQGxpY2Vuc2UgKE1JVCBBTkQgWmxpYikgKi8KIWZ1bmN0aW9uKGUsdCl7Im9iamVjdCI9PXR5cGVvZiBleHBvcnRzJiYidW5kZWZpbmVkIiE9dHlwZW9mIG1vZHVsZT90KGV4cG9ydHMpOiJmdW5jdGlvbiI9PXR5cGVvZiBkZWZpbmUmJmRlZmluZS5hbWQ/ZGVmaW5lKFsiZXhwb3J0cyJdLHQpOnQoKGU9InVuZGVmaW5lZCIhPXR5cGVvZiBnbG9iYWxUaGlzP2dsb2JhbFRoaXM6ZXx8c2VsZikucGFrbz17fSl9KHRoaXMsKGZ1bmN0aW9uKGUpeyJ1c2Ugc3RyaWN0Ijt2YXIgdD1mdW5jdGlvbihlLHQsaSxuKXtmb3IodmFyIGE9NjU1MzUmZXwwLHI9ZT4+PjE2JjY1NTM1fDAsbz0wOzAhPT1pOyl7aS09bz1pPjJlMz8yZTM6aTtkb3tyPXIrKGE9YSt0W24rK118MCl8MH13aGlsZSgtLW8pO2ElPTY1NTIxLHIlPTY1NTIxfXJldHVybiBhfHI8PDE2fDB9LGk9bmV3IFVpbnQzMkFycmF5KGZ1bmN0aW9uKCl7Zm9yKHZhciBlLHQ9W10saT0wO2k8MjU2O2krKyl7ZT1pO2Zvcih2YXIgbj0wO248ODtuKyspZT0xJmU/Mzk4ODI5MjM4NF5lPj4+MTplPj4+MTt0W2ldPWV9cmV0dXJuIHR9KCkpLG49ZnVuY3Rpb24o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upported) {
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!");
2024-02-14 09:44:40 -06:00
}
});
}
})();
< / script >
< script type = "text/javascript" >
"use strict";
(function(){
var launchInterval = -1;
var launchCounter = 1;
var launchCountdownNumberElement = null;
var launchCountdownProgressElement = null;
2024-09-22 00:52:19 -05:00
var launchSkipCountdown = false;
var launchTick = function() {
if(launchCounter > 100 || launchSkipCountdown) {
2024-02-14 09:44:40 -06:00
if(window.clientScriptSrcURL) {
clearInterval(launchInterval);
2024-09-22 00:52:19 -05:00
setTimeout(function() {
document.body.removeChild(document.getElementById("launch_countdown_screen"));
document.body.style.backgroundColor = "black";
var script = document.createElement("script");
2024-02-14 09:44:40 -06:00
script.type = "text/javascript";
script.src = window.clientScriptSrcURL;
window.clientScriptSrcURL = null;
document.head.appendChild(script);
}, 50);
}
return;
}
2024-09-22 00:52:19 -05:00
if(launchCounter === 100) {
document.getElementById("gameWillLaunchIn").innerText = "Decompressing...";
}else {
launchCountdownNumberElement.innerText = "" + Math.floor(6.0 - launchCounter * 0.06);
}
2024-02-14 09:44:40 -06:00
launchCountdownProgressElement.style.width = "" + launchCounter + "%";
++launchCounter;
2024-09-22 00:52:19 -05:00
};
window.addEventListener("load", function() {
2024-02-14 09:44:40 -06:00
launchCountdownNumberElement = document.getElementById("launchCountdownNumber");
launchCountdownProgressElement = document.getElementById("launchCountdownProgress");
launchInterval = setInterval(launchTick, 50);
2024-09-22 00:52:19 -05:00
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;
});
2024-02-14 09:44:40 -06:00
});
})();
< / script >
< link type = "image/png" rel = "shortcut icon" href = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAR/SURBVEhLtZXZK3ZRFMYPcqXc+gv413DHxVuGIpIhkciQWaRccCNjSCkligwXSOZ5nmfv9zvn2e8+58V753sudmuvvdZ61l5r7XOc8H+GS/D19aUNkPz5+aktQH5/f//4+LBKZKuRkpUtQj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zINk5vCBQJ9rMD4+rkA8QNK036uDg4Py8vLu7m680KjIBNR3zBDoWQM1g98snyB+VSoRW8C/UwR81/SvhgNj9JOTkwwVERUdRBEI0BAdLRVERkhLS8vIyEDQlrsTPTU1lVFhKxARvZgUlFLbegCf4BvIsbi4mIg4E5EogIHhiKCMtU0WUFiVy06j5fAJIDdSBDQw+PegDfBRcbOPwH4F9LuFWIIQdQNKwWqzIE0aoFUaBsw+SQuFw0uNtC9A+F4i3QNrbg3IDn+SAsHh+wYiEpeyBEMLv/cAO6KzAijxxB+Y4wisBhssJUhjEbPJf4Nw+B+JXqLW3bw+wQAAAABJRU5ErkJggg==" / >
< / head >
2024-09-22 00:52:19 -05:00
< body style = "margin:0px;width:100%;height:100%;overflow:hidden;background-color:white;" id = "game_frame" >
2024-02-14 09:44:40 -06:00
< 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;" >
2024-09-25 01:49:56 -05:00
< h1 > This file is from < span style = "color:#AA0000;" > 09/25/2024< / span > < / h1 >
< h3 > Get the latest version at < a href = "https://eaglercraft.com" > < span style = "color:#AA0000;" > eaglercraft.com< / span > < / a > < / h3 >
2024-09-22 00:52:19 -05:00
< 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 >
2024-02-14 09:44:40 -06:00
< / div >
< / div >
< / body >
< / html >