mirror of
https://github.com/Emupedia/emupedia.github.io.git
synced 2026-12-06 03:39:48 +08:00
More work
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
* [Dropbox SDK](https://github.com/dropbox/dropbox-sdk-js) License: MIT
|
||||
* [jsrsasign](https://github.com/kjur/jsrsasign) License: BSD/MIT
|
||||
* [Firebug Lite](https://github.com/firebug/firebug-lite) License: BSD
|
||||
* [WebAmp](https://github.com/captbaritone/webamp) License: MIT
|
||||
* [Butterchurn](https://github.com/jberg/butterchurn) License: MIT
|
||||
* [WebQuake](https://github.com/Triang3l/WebQuake) License: GPLv1
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Sound Blaster"]
|
||||
}],
|
||||
@@ -63,12 +63,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Sound Blaster"]
|
||||
}],
|
||||
@@ -88,12 +88,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Gamepad/Joystick"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Adlib", "Sound Blaster", "Roland MT-32"]
|
||||
}],
|
||||
@@ -112,12 +112,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Sound Blaster"]
|
||||
}],
|
||||
@@ -137,12 +137,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Sound Source", "Tandy", "Sound Blaster", "Sound Blaster Pro", "Roland MT-32"]
|
||||
}],
|
||||
@@ -164,12 +164,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Sound Source", "Tandy", "Sound Blaster", "Sound Blaster Pro", "Roland MT-32"]
|
||||
}],
|
||||
@@ -181,6 +181,152 @@
|
||||
"copyright": "Ubisoft",
|
||||
"version": "1.1",
|
||||
"licence": "Commercial"
|
||||
} , {
|
||||
"id": "quake1",
|
||||
"name": "Quake 1",
|
||||
"executable": "./QUAKE.EXE -nocdaudio -stdvid",
|
||||
"mode": "asm",
|
||||
"file": "quake106.zip",
|
||||
"size": 52263942,
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Mouse", "Gamepad/Joystick"],
|
||||
"video": {
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200",
|
||||
"320x240",
|
||||
"320x350",
|
||||
"320x400",
|
||||
"320x480",
|
||||
"360x200",
|
||||
"360x240",
|
||||
"360x350",
|
||||
"360x400",
|
||||
"360x480"
|
||||
],
|
||||
"colors": 256
|
||||
},
|
||||
"SVGA": {
|
||||
"resolutions": [
|
||||
"640x400",
|
||||
"640x480",
|
||||
"848x480",
|
||||
"800x600",
|
||||
"1024x768",
|
||||
"1152x864",
|
||||
"1280x1024"
|
||||
],
|
||||
"colors": 256
|
||||
}
|
||||
},
|
||||
"sound": ["Sound Blaster", "UltraSound"]
|
||||
}],
|
||||
"language": "English",
|
||||
"year": 1996,
|
||||
"genre": "FPS",
|
||||
"developer": "id Software",
|
||||
"publisher": "GT Interactive",
|
||||
"copyright": "Bethesda Softworks",
|
||||
"version": "1.06",
|
||||
"licence": "Commercial"
|
||||
} , {
|
||||
"id": "quake1mp1",
|
||||
"name": "Quake 1: Scourge of Armagon",
|
||||
"description": "Mission Pack No. 1",
|
||||
"executable": "./QUAKE.EXE -nocdaudio -stdvid -game hipnotic",
|
||||
"mode": "asm",
|
||||
"file": "quake106.zip",
|
||||
"size": 52263942,
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Mouse", "Gamepad/Joystick"],
|
||||
"video": {
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200",
|
||||
"320x240",
|
||||
"320x350",
|
||||
"320x400",
|
||||
"320x480",
|
||||
"360x200",
|
||||
"360x240",
|
||||
"360x350",
|
||||
"360x400",
|
||||
"360x480"
|
||||
],
|
||||
"colors": 256
|
||||
},
|
||||
"SVGA": {
|
||||
"resolutions": [
|
||||
"640x400",
|
||||
"640x480",
|
||||
"848x480",
|
||||
"800x600",
|
||||
"1024x768",
|
||||
"1152x864",
|
||||
"1280x1024"
|
||||
],
|
||||
"colors": 256
|
||||
}
|
||||
},
|
||||
"sound": ["Sound Blaster", "UltraSound"]
|
||||
}],
|
||||
"language": "English",
|
||||
"year": 1997,
|
||||
"genre": "FPS",
|
||||
"developer": "Hipnotic Interactive",
|
||||
"publisher": "id Software",
|
||||
"copyright": "Bethesda Softworks",
|
||||
"version": "1.06",
|
||||
"licence": "Commercial"
|
||||
} , {
|
||||
"id": "quake1mp2",
|
||||
"name": "Quake 1: Dissolution of Eternity",
|
||||
"description": "Mission Pack No. 2",
|
||||
"executable": "./QUAKE.EXE -nocdaudio -stdvid -game rogue",
|
||||
"mode": "asm",
|
||||
"file": "quake106.zip",
|
||||
"size": 52263942,
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Mouse", "Gamepad/Joystick"],
|
||||
"video": {
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200",
|
||||
"320x240",
|
||||
"320x350",
|
||||
"320x400",
|
||||
"320x480",
|
||||
"360x200",
|
||||
"360x240",
|
||||
"360x350",
|
||||
"360x400",
|
||||
"360x480"
|
||||
],
|
||||
"colors": 256
|
||||
},
|
||||
"SVGA": {
|
||||
"resolutions": [
|
||||
"640x400",
|
||||
"640x480",
|
||||
"848x480",
|
||||
"800x600",
|
||||
"1024x768",
|
||||
"1152x864",
|
||||
"1280x1024"
|
||||
],
|
||||
"colors": 256
|
||||
}
|
||||
},
|
||||
"sound": ["Sound Blaster", "UltraSound"]
|
||||
}],
|
||||
"language": "English",
|
||||
"year": 1997,
|
||||
"genre": "FPS",
|
||||
"developer": "Rogue Entertainment",
|
||||
"publisher": "id Software",
|
||||
"copyright": "Bethesda Softworks",
|
||||
"version": "1.06",
|
||||
"licence": "Commercial"
|
||||
} , {
|
||||
"id": "war2",
|
||||
"name": "Warcraft II: Tides of Darkness",
|
||||
@@ -191,12 +337,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Mouse"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"640x400"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Adlib", "Sound Blaster"]
|
||||
}],
|
||||
@@ -218,12 +364,12 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Mouse"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"640x400"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Adlib", "Sound Blaster"]
|
||||
}],
|
||||
@@ -244,18 +390,18 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Mouse", "Gamepad/Joystick"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Sound Source", "Adlib", "Sound Blaster"]
|
||||
}],
|
||||
"language": "English",
|
||||
"year": 1992,
|
||||
"genre": "Action",
|
||||
"genre": "FPS",
|
||||
"developer": "id Software",
|
||||
"publisher": "Apogee Software",
|
||||
"copyright": "Bethesda Softworks",
|
||||
@@ -272,18 +418,18 @@
|
||||
"hardware": [{
|
||||
"input": ["Keyboard", "Mouse", "Gamepad/Joystick"],
|
||||
"video": {
|
||||
"VGA": [{
|
||||
"VGA": {
|
||||
"resolutions": [
|
||||
"320x200"
|
||||
],
|
||||
"colors": 256
|
||||
}]
|
||||
}
|
||||
},
|
||||
"sound": ["PC Speaker", "Sound Source", "Adlib", "Sound Blaster"]
|
||||
}],
|
||||
"language": "English",
|
||||
"year": 1992,
|
||||
"genre": "Action",
|
||||
"genre": "FPS",
|
||||
"developer": "id Software",
|
||||
"publisher": "FormGen Corporation",
|
||||
"version": "1.0",
|
||||
|
||||
@@ -132,15 +132,12 @@
|
||||
return html;
|
||||
}
|
||||
|
||||
function start(file, executable, args) {
|
||||
function start(file, executable, args, mode) {
|
||||
// noinspection JSUnresolvedFunction
|
||||
dbx.filesGetTemporaryLink({path: '/' + file}).then(function(response) {
|
||||
// console.log(response);
|
||||
// noinspection JSUnresolvedFunction,JSUnresolvedVariable
|
||||
// noinspection JSUnresolvedFunction,JSUnresolvedVariable,AmdModulesDependencies
|
||||
var emulator = new Emulator(document.getElementById('canvas'), null,
|
||||
// noinspection JSUnresolvedFunction,JSUnresolvedVariable
|
||||
new DosBoxLoader(DosBoxLoader.emulatorJS(SYSTEM_FEATURE_WEBASSEMBLY ? 'js/dosbox-sync-wasm.js' : (SYSTEM_FEATURE_ASMJS ? 'js/dosbox-sync-asm.js' : alert('DOSBox cannot work because WebAssembly and/or ASM.JS is not supported in your browser!'))),
|
||||
// noinspection JSUnresolvedFunction,JSUnresolvedVariable
|
||||
new DosBoxLoader(DosBoxLoader.emulatorJS(SYSTEM_FEATURE_WEBASSEMBLY && mode !== 'asm' ? 'js/dosbox-sync-wasm.js' : (SYSTEM_FEATURE_ASMJS ? 'js/dosbox-sync-asm.js' : alert('DOSBox cannot work because WebAssembly and/or ASM.JS is not supported in your browser!'))),
|
||||
DosBoxLoader.locateAdditionalEmulatorJS(function(filename) {
|
||||
if (filename === 'dosbox.html.mem') {
|
||||
return 'js/dosbox-sync.mem';
|
||||
@@ -151,13 +148,9 @@
|
||||
}
|
||||
return filename;
|
||||
}),
|
||||
// noinspection JSUnresolvedFunction,JSUnresolvedVariable
|
||||
DosBoxLoader.nativeResolution(640, 400),
|
||||
// noinspectionJSUnresolvedFunction,JSUnresolvedVariable
|
||||
DosBoxLoader.mountZip('c', DosBoxLoader.fetchFile('Game File', response.link)),
|
||||
// noinspection JSUnresolvedFunction,JSUnresolvedVariable
|
||||
DosBoxLoader.extraArgs(args),
|
||||
// noinspection JSUnresolvedFunction,JSUnresolvedVariable
|
||||
DosBoxLoader.startExe(executable)));
|
||||
emulator.start({waitAfterDownloading: false});
|
||||
}).catch(function(error) {
|
||||
@@ -189,7 +182,7 @@
|
||||
// noinspection JSUnfilteredForInLoop
|
||||
if (games['games'][game]['id'] === game_selected) {
|
||||
// noinspection JSUnfilteredForInLoop
|
||||
start(games['games'][game]['file'], games['games'][game]['executable'], games['games'][game]['args']);
|
||||
start(games['games'][game]['file'], games['games'][game]['executable'], games['games'][game]['args'], games['games'][game]['mode']);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -206,7 +199,7 @@
|
||||
// noinspection JSUnfilteredForInLoop
|
||||
if (games['games'][game]['id'] === game_selected) {
|
||||
// noinspection JSUnfilteredForInLoop
|
||||
start(games['games'][game]['file'], games['games'][game]['executable'], games['games'][game]['args']);
|
||||
start(games['games'][game]['file'], games['games'][game]['executable'], games['games'][game]['args'], games['games'][game]['mode']);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ Sys.FloatTime = function() {
|
||||
|
||||
window.onload = function() {
|
||||
// IE11 Fix
|
||||
if (Number.isNaN != null)
|
||||
if (Number.isNaN !== null)
|
||||
Q.isNaN = Number.isNaN;
|
||||
else
|
||||
Q.isNaN = isNaN;
|
||||
@@ -190,8 +190,7 @@ window.onload = function() {
|
||||
Sys.frame = setInterval(Host.Frame, 1000.0 / 60.0);
|
||||
};
|
||||
|
||||
/*Sys.onbeforeunload = function()
|
||||
{
|
||||
/*Sys.onbeforeunload = function() {
|
||||
return 'Are you sure you want to quit?';
|
||||
};*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user