Skip to content

Commit

Permalink
0.19.0
Browse files Browse the repository at this point in the history
Co-Authored-By: PiSaucer <[email protected]>
  • Loading branch information
PiSaucer and PiSaucer committed Dec 19, 2021
1 parent bdbb916 commit 33c1040
Show file tree
Hide file tree
Showing 81 changed files with 4,172 additions and 3,305 deletions.
1,130 changes: 837 additions & 293 deletions bootstrap/bootstrap.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bootstrap/bootstrap.css.map

Large diffs are not rendered by default.

5,301 changes: 2,698 additions & 2,603 deletions bootstrap/bootstrap.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bootstrap/bootstrap.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bootstrap/bootstrap.min.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bootstrap/bootstrap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bootstrap/bootstrap.min.js.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
- [Fixed] for any bug fixes.
- [Security] in case of vulnerabilities.

## [VER 0.19.0-PRE-ALPHA] - 2021-12-19
### Changed
- Uses jsDelivr to serve files from GitHub to not hit the download limit
- Updated Ruffle to 12.19.2021
- Move doom and doom2 into dooms folder
- Download BTN
- Updated Bootstrap

## [VER 0.18.0-PRE-ALPHA] - 2021-03-17
### Added
- Breadcrumbs to every page
Expand Down
275 changes: 153 additions & 122 deletions dosbox/index.html
Original file line number Diff line number Diff line change
@@ -1,145 +1,176 @@
<html>

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<style>
html,body{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background: black;
color: #c3ff00;
overflow: hidden;
}
#canvas{
position: absolute;
top: 50%;
left: 50%;
width: auto;
height: 100%;
background: black;
padding: 0;
margin:0;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
/*pointer-events:none;*/
}
.emularity-splash-screen{
text-align: center;
position: absolute;
left: 0;
right: 0;
bottom: 50%;
margin: 0;
box-sizing: border-box; color: #000;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background: black;
color: #c3ff00;
overflow: hidden;
}

#canvas {
position: absolute;
top: 50%;
left: 50%;
width: auto;
height: 100%;
background: black;
padding: 0;
margin: 0;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
/*pointer-events:none;*/
}

.emularity-splash-screen {
text-align: center;
position: absolute;
left: 0;
right: 0;
bottom: 50%;
margin: 0;
box-sizing: border-box;
color: #000;
}
</style>
</head>
<body>
<canvas id="canvas" style="width: 50%; height: 50%; display: block; margin: 0 auto;" onClick="window.focus();"/>
</head>

<body>
<canvas id="canvas" style="width: 50%; height: 50%; display: block; margin: 0 auto;" onClick="window.focus();" />
<script type="text/javascript" src="js/es6-promise.js"></script>
<script type="text/javascript" src="js/browserfs.min.js"></script>
<script type="text/javascript" src="js/loader.js"></script>
<script src="../../../c/libs/jquery.min.js"></script>

<script type="text/javascript">
function $_GET(param) {
var vars = {};
window.location.href.replace( location.hash, '' ).replace(
/[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
function( m, key, value ) { // callback
vars[key] = value !== undefined ? value : '';
}
);
if ( param ) {
return vars[param] ? vars[param] : null;
function $_GET(param) {
var vars = {};
window.location.href.replace(location.hash, '').replace(
/[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
function(m, key, value) { // callback
vars[key] = value !== undefined ? value : '';
}
);
if (param) {
return vars[param] ? vars[param] : null;
}
return vars;
}
return vars;
}

var softs = {

Rogue: {file:'ROGUE.zip', cmd:'./ROGUE.EXE', pointer:true},

//Games
//dosbox/index.html?soft=
OREGON: {file:'OREGON.zip', cmd:'OREGON/OREGON.exe', pointer:true},
Doom: {file:'DOOM.zip', cmd:'DOOM/DOOM.EXE', pointer:true},
Doom2: {file:'DOOM2.zip', cmd:'DOOM2/DOOM2.EXE', pointer:true},
WOLF3D: { file: 'WOLF3D.zip', cmd: 'WOLF3D/WOLF3D.EXE', pointer: true }

}
var file="Rogue";
if ($_GET('soft')!=null) {
if (softs[$_GET('soft')]!=undefined) {
file = $_GET('soft')
//parent.$notif('Loading '+$_GET('soft').replace(/_/g," ")+'.')
};
};
//
// DOS FILES
if(softs[file].machine==undefined){
var dosbox = new Emulator(document.querySelector("#canvas"),
null,
new DosBoxLoader(DosBoxLoader.emulatorJS("js/dosbox-sync.js"),
DosBoxLoader.locateAdditionalEmulatorJS(locateAdditionalFiles),
DosBoxLoader.nativeResolution(640, 400),
DosBoxLoader.mountZip("c",
DosBoxLoader.fetchFile("Software","softs/"+softs[file].file)),
DosBoxLoader.startExe(softs[file].cmd)));
dosbox.start({ waitAfterDownloading: false });

function locateAdditionalFiles(filename) {
if (filename === "dosbox.html.mem") {
return "js/dosbox-sync.mem";
}
return "js/"+ filename;

var softs = {

Rogue: {
file: 'ROGUE.zip',
cmd: './ROGUE.EXE',
pointer: true
},

//Games
//dosbox/index.html?soft=
OREGON: {
file: 'OREGON.zip',
cmd: 'OREGON/OREGON.exe',
pointer: true
},
Doom: {
file: 'DOOM.zip',
cmd: 'DOOM/DOOM.EXE',
pointer: true
},
Doom2: {
file: 'DOOM2.zip',
cmd: 'DOOM2/DOOM2.EXE',
pointer: true
},
WOLF3D: {
file: 'WOLF3D.zip',
cmd: 'WOLF3D/WOLF3D.EXE',
pointer: true
}

}
var file = "Rogue";
if ($_GET('soft') != null) {
if (softs[$_GET('soft')] != undefined) {
file = $_GET('soft')
//parent.$notif('Loading '+$_GET('soft').replace(/_/g," ")+'.')
};
};
//
// DOS FILES
if (softs[file].machine == undefined) {
var dosbox = new Emulator(document.querySelector("#canvas"),
null,
new DosBoxLoader(DosBoxLoader.emulatorJS("js/dosbox-sync.js"),
DosBoxLoader.locateAdditionalEmulatorJS(locateAdditionalFiles),
DosBoxLoader.nativeResolution(640, 400),
DosBoxLoader.mountZip("c",
DosBoxLoader.fetchFile("Software", "softs/" + softs[file].file)),
DosBoxLoader.startExe(softs[file].cmd)));
dosbox.start({
waitAfterDownloading: false
});

function locateAdditionalFiles(filename) {
if (filename === "dosbox.html.mem") {
return "js/dosbox-sync.mem";
}
return "js/" + filename;
}

}
//
// PC98 DOS FILES
if(softs[file].machine=='PC98'){
var dosbox = new Emulator(document.querySelector("#canvas"),
null,
new PC98DosBoxLoader(PC98DosBoxLoader.emulatorJS("js/dosbox-x.js"),
PC98DosBoxLoader.emulatorWASM("js/dosbox-x.wasm"),
PC98DosBoxLoader.locateAdditionalEmulatorJS(locateAdditionalFiles),
PC98DosBoxLoader.nativeResolution(640, 480),
PC98DosBoxLoader.mountZip("c",
PC98DosBoxLoader.fetchFile("Game File",
"softs/"+softs[file].file)),
PC98DosBoxLoader.mountZip("y",
PC98DosBoxLoader.fetchFile("ROM File",
"js/font.zip")),

PC98DosBoxLoader.startExe(softs[file].cmd)))
dosbox.start({ waitAfterDownloading: true });

function locateAdditionalFiles(filename) {
if (filename === "dosbox.html.mem") {
return "js/dosbox-sync.mem";
}
return "js/"+ filename;
}
//
// PC98 DOS FILES
if (softs[file].machine == 'PC98') {
var dosbox = new Emulator(document.querySelector("#canvas"),
null,
new PC98DosBoxLoader(PC98DosBoxLoader.emulatorJS("js/dosbox-x.js"),
PC98DosBoxLoader.emulatorWASM("js/dosbox-x.wasm"),
PC98DosBoxLoader.locateAdditionalEmulatorJS(locateAdditionalFiles),
PC98DosBoxLoader.nativeResolution(640, 480),
PC98DosBoxLoader.mountZip("c",
PC98DosBoxLoader.fetchFile("Game File",
"softs/" + softs[file].file)),
PC98DosBoxLoader.mountZip("y",
PC98DosBoxLoader.fetchFile("ROM File",
"js/font.zip")),

PC98DosBoxLoader.startExe(softs[file].cmd)))
dosbox.start({
waitAfterDownloading: true
});

function locateAdditionalFiles(filename) {
if (filename === "dosbox.html.mem") {
return "js/dosbox-sync.mem";
}
return "js/" + filename;
}

}

if (softs[file].pointer==false) {
c=document.getElementById("canvas")
c.style.cursor = "none"
};
}

if (softs[file].pointer == false) {
c = document.getElementById("canvas")
c.style.cursor = "none"
};

$( document ).ready(function() {
// needed?
});
$(document).ready(function() {
// needed?
});
</script>
</body>
</html>
</body>

</html>
5 changes: 3 additions & 2 deletions games/alienhominid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ <h2>Alien Hominid</h2>
<hr>

<br>
<embed src="alien_hominid.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" wmode="window" width="500" height="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
<embed src="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/alienhominid/alien_hominid.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" wmode="window" width="500" height="400" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">

<br>
<a href="alien_hominid.swf" download class="btn">Download</a>
<a href="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/alienhominid/alien_hominid.swf" download class="btn btn-outline-dark">Download</a>
<footer>
<hr>
<p>"Stay Bored My Dudes"</p>
Expand Down
4 changes: 2 additions & 2 deletions games/battalionnemesis/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ <h2>Battalion: Nemesis</h2>
<hr>

<br>
<embed xmlns="http://www.w3.org/1999/xhtml" height="500" src="embeddable_22054.swf" type="application/x-shockwave-flash" width="700" />
<embed xmlns="http://www.w3.org/1999/xhtml" height="500" src="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/battalionnemesis/embeddable_22054.swf" type="application/x-shockwave-flash" width="700" />

<br>
<a href="embeddable_22054.swf" download class="btn">Download</a>
<a href="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/battalionnemesis/embeddable_22054.swf" download class="btn btn-outline-dark">Download</a>
<footer>
<hr>
<p>"Stay Bored My Dudes"</p>
Expand Down
5 changes: 3 additions & 2 deletions games/bloonTDs/bloonTD/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ <h2>Bloons TD</h2>
</nav>
<hr>
<br>
<embed src="bloonstd_moved.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" bgcolor="" wmode="window" width="600" height="500" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
<embed src="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/bloonTDs/bloonTD/bloonstd_moved.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" bgcolor="" wmode="window" width="600" height="500" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">


<br>
<a href="bloonstd_moved.swf" download class="btn">Download</a>
<a href="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/bloonTDs/bloonTD/bloonstd_moved.swf" download class="btn btn-outline-dark">Download</a>
<footer>
<hr>
<p>"Stay Bored My Dudes"</p>
Expand Down
5 changes: 3 additions & 2 deletions games/bloonTDs/bloonTD2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ <h2>
</nav>
<hr>
<br>
<embed src="bloonstd2.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" bgcolor="" wmode="window" width="500" height="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
<embed src="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/bloonTDs/bloonTD2/bloonstd2.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" bgcolor="" wmode="window" width="500" height="400" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">


<br>
<a href="bloonstd2.swf" download class="btn">Download</a>
<a href="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/bloonTDs/bloonTD2/bloonstd2.swf" download class="btn btn-outline-dark">Download</a>
<footer>
<hr>
<p>"Stay Bored My Dudes"</p>
Expand Down
5 changes: 3 additions & 2 deletions games/bloonTDs/bloonTD3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ <h2>
</nav>
<hr>
<br>
<embed src="bloonstd3.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" bgcolor="" wmode="window" width="600" height="475" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
<embed src="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/bloonTDs/bloonTD3/bloonstd3.swf" flashvars="" base="" quality="high" allowscriptaccess="always" allowfullscreen="true" bgcolor="" wmode="window" width="600" height="475" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">


<br>
<a href="bloonstd3.swf" download class="btn">Download</a>
<a href="https://cdn.jsdelivr.net/gh/pisaucer/boredhtml/games/bloonTDs/bloonTD3/bloonstd3.swf" download class="btn btn-outline-dark">Download</a>
<footer>
<hr>
<p>"Stay Bored My Dudes"</p>
Expand Down
Loading

0 comments on commit 33c1040

Please sign in to comment.