-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
RyuSeiri
committed
Mar 16, 2024
0 parents
commit 0552056
Showing
47 changed files
with
17,558 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"0.40": "0.40.6", | ||
"0.41": "0.41.7", | ||
"0.42": "0.42.3", | ||
"0.43": "0.43.0", | ||
"0.44": "0.44.0", | ||
"0.45": "0.45.1", | ||
"0.46": "0.46.3", | ||
"0.47": "0.47.1", | ||
"0.48": "0.48.0", | ||
"0.49": "0.49.0", | ||
"0.50": "0.50.2", | ||
"0.51": "0.51.1", | ||
"0.52": "0.52.1", | ||
"0.53": "0.53.0", | ||
"0.54": "0.54.1", | ||
"0.55": "0.55.7", | ||
"0.56": "0.56.0", | ||
"0.57": "0.57.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[General] | ||
discordUrl=https://discord.gg/yxkVn4wBad | ||
|
||
defaultLanguage=zh-CN | ||
gameResArchiveUrl=https://archive.org/download/red-alert-2-multiplayer/Red-Alert-2-Multiplayer.exe | ||
#gameresBaseUrl=https://s2.yunhongjing.com:9443/static/v2/ | ||
mapsBaseUrl=https://s2.yunhongjing.com:9443/static/map/ | ||
modsBaseUrl=./mod/ | ||
patchNotesUrl=//chronodivide.com/patch-notes.html | ||
ladderRulesUrl=//chronodivide.com/ladder-rules.html | ||
modSdkUrl=https://github.com/chronodivide/mod-sdk | ||
donateUrl="//chronodivide.com/#donate" | ||
breakingNewsUrl=//game.chronodivide.com/breaking-news.html | ||
oldClientsBaseUrl=/old/ | ||
quickMatchEnabled=yes | ||
botsEnabled=yes | ||
|
||
viewport.width=1024 | ||
viewport.height=768 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
|
||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>404 Not Found</title> | ||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | ||
<meta http-equiv="Cache-control" content="no-cache"> | ||
<meta http-equiv="Pragma" content="no-cache"> | ||
<meta http-equiv="Expires" content="0"> | ||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> | ||
<link rel="icon" href="/favicon.ico" type="image/x-icon"> | ||
<style type="text/css"> | ||
html, body { | ||
height: 100%; | ||
margin: 0; | ||
} | ||
body { | ||
color: yellow; | ||
background: black url(img/soviet-logo.png) no-repeat center center; | ||
} | ||
.overlay { | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(0, 0, 0, .75); | ||
} | ||
.error { | ||
position: fixed; | ||
top: 50%; | ||
left: 50%; | ||
transform: translateX(-50%) translateY(-50%); | ||
font-family: Arial, Helvetica, sans-serif; | ||
text-align: center; | ||
} | ||
.error h1 { | ||
margin: 0; | ||
font-size: 2rem; | ||
} | ||
.error p { | ||
margin: 0; | ||
margin-top: 1rem; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="overlay"> | ||
<div class="error"> | ||
<h1>404 Not Found</h1> | ||
<p>The server can not find the requested page</p> | ||
</div> | ||
</div> | ||
<body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
|
||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>404 Not Found</title> | ||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | ||
<meta http-equiv="Cache-control" content="no-cache"> | ||
<meta http-equiv="Pragma" content="no-cache"> | ||
<meta http-equiv="Expires" content="0"> | ||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> | ||
<link rel="icon" href="/favicon.ico" type="image/x-icon"> | ||
<style type="text/css"> | ||
html, body { | ||
height: 100%; | ||
margin: 0; | ||
} | ||
body { | ||
color: yellow; | ||
background: black url(img/soviet-logo.png) no-repeat center center; | ||
} | ||
.overlay { | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(0, 0, 0, .75); | ||
} | ||
.error { | ||
position: fixed; | ||
top: 50%; | ||
left: 50%; | ||
transform: translateX(-50%) translateY(-50%); | ||
font-family: Arial, Helvetica, sans-serif; | ||
text-align: center; | ||
} | ||
.error h1 { | ||
margin: 0; | ||
font-size: 2rem; | ||
} | ||
.error p { | ||
margin: 0; | ||
margin-top: 1rem; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="overlay"> | ||
<div class="error"> | ||
<h1>404 Not Found</h1> | ||
<p>The server can not find the requested page</p> | ||
</div> | ||
</div> | ||
<body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=0.4"> | ||
<meta name="description" content="An unofficial remake of the classic "Command & Conquer: Red Alert 2" RTS game, playable online in the web browser." /> | ||
<title>Red Alert 2: Chrono Divide</title> | ||
<script type="text/javascript"> | ||
var browserSupported = true; | ||
try { | ||
eval("'use strict'; class C { async test(...args) { let spread = {...({a: 2})} }}"); | ||
var canvas = document.createElement('canvas'); | ||
browserSupported = !!( | ||
window.WebGLRenderingContext && (canvas.getContext('webgl') || canvas.getContext('experimental-webgl')) && | ||
new Blob(["test"], { type: "text/plain" }).arrayBuffer | ||
); | ||
} catch (e) { | ||
browserSupported = false; | ||
} | ||
if (!browserSupported) { | ||
alert("Browser not supported.\n\nPlease download the latest Google Chrome, Mozilla Firefox or Microsoft Edge."); | ||
} | ||
</script> | ||
|
||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NT498QGSGZ"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'G-NT498QGSGZ'); | ||
</script> | ||
|
||
<link href="res/fonts/fonts.css" rel="stylesheet"></link> | ||
<link rel="stylesheet" href="style.css?v=0.57.3" type="text/css"></link> | ||
<style type="text/css"> | ||
#ra2web-root { | ||
position: relative; | ||
} | ||
</style> | ||
</head> | ||
<body class="no-js"> | ||
<div id="loader-wrapper" style="display: none;"> | ||
<div id="loader"></div> | ||
<div id="loader-logo"></div> | ||
</div> | ||
|
||
<div id="ra2web-root"></div> | ||
|
||
<script type="text/javascript"> | ||
if (browserSupported) { | ||
document.body.classList.remove("no-js"); | ||
setTimeout(() => { | ||
let loader = document.getElementById("loader-wrapper"); | ||
if (loader) { | ||
loader.style.display = ""; | ||
} | ||
}, 2000); | ||
} | ||
</script> | ||
<script type="text/javascript" src="lib/system.js"></script> | ||
<script type="text/javascript" src="lib/three.min.js?v0.94"></script> | ||
<script type="text/javascript" src="lib/three/three.shader-patch.js?v=2"></script> | ||
<script type="text/javascript" src="lib/three/three.octree.js?v=2"></script> | ||
<script type="text/javascript" src="lib/three/SimplexNoise.js"></script> | ||
<script type="text/javascript" src="lib/three/LightningStrike.js"></script> | ||
<script type="text/javascript" src="lib/three/TrailRenderer.js"></script> | ||
<script type="text/javascript" src="lib/three/SPE.min.js"></script> | ||
<script type="text/javascript" src="lib/three/SPE.patch.js"></script> | ||
<script type="text/javascript" src="lib/growingpacker.js"></script> | ||
<script type="text/javascript" src="lib/lzo1x.js"></script> | ||
<script type="text/javascript" src="lib/fullscreen-api-polyfill.min.js"></script> | ||
<script type="text/javascript" src="dist/ra2web.min.js?v=0.57.3"></script> | ||
<script type="text/javascript" src="dist/vendor.bundle.min.js?v=0.57.3"></script> | ||
<script type="text/javascript" src="dist/workerHost.min.js?v=0.57.3"></script> | ||
<script type="text/javascript"> | ||
SystemJS.config({ | ||
packages: { | ||
"@puzzl": { | ||
defaultExtension: "js" | ||
}, | ||
"@puzzl/core/lib/async/cancellation": { | ||
main: "index.js" | ||
}, | ||
"@babel/runtime": { | ||
defaultExtension: "js" | ||
}, | ||
"@babel/runtime/regenerator": { | ||
main: "index.js" | ||
}, | ||
"regenerator-runtime": { | ||
main: "runtime.js" | ||
} | ||
}, | ||
meta: { | ||
"web-audio-polyfill.js": { | ||
scriptLoad: true | ||
}, | ||
"dist/7zz.js": { | ||
scriptLoad: true | ||
}, | ||
"dist/fsalib.min.js": { | ||
scriptLoad: true | ||
}, | ||
"dist/spbots.min.js": { | ||
scriptLoad: true | ||
} | ||
}, | ||
paths: { | ||
"web-audio-polyfill.js": "dist/web-audio-polyfill.min.js", | ||
"7z-wasm": "dist/7zz.js", | ||
"@ffmpeg/ffmpeg": "dist/ffmpeg.min.js", | ||
"file-system-access": "dist/fsalib.min.js?v=1.0.4", | ||
"@chronodivide/sp-bots": "dist/spbots.min.js?v=1.0.0", | ||
"@chronodivide/game-api": "game/api/index", | ||
} | ||
}) | ||
System.registerDynamic('three', [], false, function(require, exports, module) { | ||
module.exports = window.THREE; | ||
}); | ||
if (browserSupported) { | ||
SystemJS.import("main"); | ||
document.body.removeChild(document.getElementById("loader-wrapper")); | ||
} | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.