Skip to content

Instantly share code, notes, and snippets.

@underr
Created July 17, 2015 19:08
Show Gist options
  • Save underr/0e047b3602105f0dd3bb to your computer and use it in GitHub Desktop.
Save underr/0e047b3602105f0dd3bb to your computer and use it in GitHub Desktop.
rxtools offline launcher
<html>
<head>
<script>
d=document,r=parent,w=window;
if(r==w){
l='rxTools.dat';
d.title='Loading ' + l;
w.onload=function(){
d.body.childNodes[0].innerHTML='loading ' + l + '<iframe height=0 src=#/>';
}
}else{
w.onload=function(){
b=0,f=w.frameElement,p=f.parentNode,o=d.createElement('object');
o.addEventListener('beforeload',function(){
if(++b==1)p.addEventListener('DOMSubtreeModified',r.z);
else if(b==2)p.removeChild(f);
});
d.body.appendChild(o);
}
}
function z(){
n=navigator.userAgent;
if(n.indexOf('Nintendo 3DS')!=-1){
m=[],q={'1.7412':'\ud8b4\ud8b4\ud8b4\ud8b4쁘*䥿*⻀3痰ࢴ耈ꀌ棿\0ࣱ瘰ࢴ\0뀠9쀜怐,뢰%῰#뿰,䀀\udff43\ud8b4쁘*ꀀ\0ꄤ&ࣱﺠ쀤棿\0ࣱ ࣱကࣰ䀀\0忸)㿼%ꏴ/+‐!ὀ\'쁜 - 쁘*甌ࢴꈨ埄ꄤ&芁햂墘 \udd48ꄤ&甌ࢴﺠ䡐5쁘*瘘ࢴꈨ罭ത㟠璌ࢴ琌ࢴꈨ묀\ud8b4ꄤ&\0\0墘 Π㴼ᐴ、"Π琀ࢴ\ud8b4\ud8b4ଡ଼﹄"\ud8b4埄諴"٘5\ud8b4讓쁘*瘘ࢴꈨ\udd48靨暔ꄤ&\0墘 ̈́ꄤ&瘘ࢴﺠതꄤ&뀀墘 顤⧌姀 쁘*瘐ࢴꄤ&࿼ࣰ靨忔5ꄤ&璨ࢴ좌 ∕,\ud8b4\ud8b4㴼噔-㝸ꡤ/鮔 蘅㶨痸ࢴ\ud8b4\udf28죤/㟠쒔#剔-ကࣰ剀-琀ࢴ\ud8b4\ud8b4剀-:剀-',
'1.7455':'\ud954\ud954\ud954\ud954쌰*䱗*㌴3旰ࢴ耈ꀌ樧\0ࣱ昰ࢴ\0뀠9쀜怐,밄%῰#뿰,䀀\udff43\ud954쌰*\0ꔨ&ࣱ￈쀤樧\0ࣱ ࣱကࣰ䀀\0忸)㿼%ꡨ/+‐!ὀ\'쁜 - 쌰*攌ࢴꍐ埄ꔨ&芁햂姀 \udd48ꔨ&攌ࢴ￈䡐5쌰*昘ࢴꍐ罭ത㟠撌ࢴ搌ࢴꍐ묀\ud954ꔨ&\0\0姀 Π㴼ᐴ、"Π搀ࢴ\ud954\ud954ଡ଼﹄"\ud954埄諴"٘5\ud954費쌰*昘ࢴꍐ\udd48顤暔ꔨ&\0姀 ̈́ꔨ&昘ࢴ￈തꔨ&뀀姀 顤⫴姀 쌰*昐ࢴꔨ&࿼ࣰ顤忔5ꔨ&撨ࢴ즴 ∕,\ud954\ud954㴼噔-㝸ꡤ/鮔 蘅㶨旸ࢴ\ud954\udf28죤/㟠쒔#噔-ကࣰ噀-搀ࢴ\ud954\ud954噀-:噀-',
'1.7498':'\udb6c\udb6c\udb6c\udb6c해*弧*⯬3痰ࢴ耈ꀌ鐻\0ࣱ瘰ࢴ\0뀠9쀜怐,남%῰#뿰,䀀\udff43\udb6c해* 靘&ࣱѐ쀤鐻\0ࣱ ࣱကࣰ䀀\0忸)㿼%죨/+‐!ὀ\'쁜 - 해*甌ࢴ챤埄靘&芁햂祔 \udd48靘&甌ࢴѐ䡐5해*瘘ࢴ챤罭ത㟠璌ࢴ琌ࢴ챤묀\udb6c靘&\0\0祔 Π㶨ᐴ、"Π琀ࢴ\udb6c\udb6cଡ଼﹄"\udb6cᅌ埄諴"٘5\udb6c跧해*瘘ࢴ챤\udd48鮔暔靘&\0祔 ̈́靘&瘘ࢴѐത靘&뀀祔 顤嘌姀 해*瘐ࢴ靘&࿼ࣰ鮔忔5靘&璨ࢴ ∕,\udb6c\udb6c㶨噔-㝸ꡤ/鮔 蘅㶨痸ࢴ\udb6cᅌ\udf28죤/㟠쒔#樰-ကࣰ樜-琀ࢴ\udb6c\udb6c樜-:樜-',
'1.7552':'埠埠埠埠쌠僋쨬嗰ࢸ耈ꀌ䛣\0ࣱ嘰ࢸ\0뀠9쀜怐,﹈"῰#뿰,䀀\udff43埠쌠怀謐"ࣱ獐쀤䛣\0ࣱ ࣱကࣰ䀀\0忸)㿼%蛄+‐!ὀ\'쁜 - 쌠唌ࢸ묀埄謐"芁햂ظ5\udd48謐"唌ࢸ獐䡐5쌠嘘ࢸ묀罭Ō㟠和ࢸ同ࢸ묀묀埠謐"\0\0ظ5Π旄ᐴ、"Π吀ࢸ埠埠ଡ଼﹄"埠嫀,埄諴"٘5埠ⲇ쌠嘘ࢸ묀\udd48暰暔謐"\0ظ5̈́謐"嘘ࢸ獐ത謐"뀀ظ5顤ᩐ姀 쌠嘐ࢸ謐"࿼ࣰ暰忔5謐"咨ࢸﱈ∕,埠埠旄噔-㝸ꡤ/鮔 蘅㶨嗸ࢸ埠嫀,\udf28죤/㟠쒔#ΠကࣰΌ吀ࢸ埠埠Ό:Ό',
'1.7567':'埄埄埄埄싼傳쨴藰ࢸ耈ꀌ䛫\0ࣱ蘰ࢸ\0뀠9쀜怐,︌"῰#뿰,䀀\udff43埄싼ꀀ諴"ࣱ猴쀤䛫\0ࣱ ࣱကࣰ䀀\0忸)㿼%蛠+‐!ὀ\'쁜 - 싼蔌ࢸ뫌埄諴"芁햂٘5\udd48諴"蔌ࢸ猴䡐5싼蘘ࢸ뫌罭Ō㟠蒌ࢸ萌ࢸ뫌묀埄諴"\0\0٘5Π斨ᐴ、"Π萀ࢸ埄埄ଡ଼﹄"埄嫠,埄諴"٘5埄ⲓ싼蘘ࢸ뫌\udd48暔暔諴"\0٘5̈́諴"蘘ࢸ猴ത諴"뀀٘5顤᪌姀 싼蘐ࢸ諴"࿼ࣰ暔忔5諴"蒨ࢸﰤ∕,埄埄斨噔-㝸ꡤ/鮔 蘅㶨藸ࢸ埄嫠,\udf28죤/㟠쒔#͘ကࣰ̈́萀ࢸ埄埄̈́:̈́'
}[n.substring(n.lastIndexOf('/')+1,n.lastIndexOf('.'))].replace(':','dmc:/'+l+Array(26-l.length).join('\0'))+Array(74).join('\0'),
s=q.length-1;
for(j=1;j<410;j++){
i=4*j/s,a=Array(j);
for(k=0;k<i;a[k++]=q);
m.push(d.createTextNode(String.fromCharCode.apply(null,Array(a))));
}
}
}
</script>
</head>
<body>
<h1>.</h1>
</body>
</html>
default:
python -m http.server 8009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment