Skip to content

Commit

Permalink
update webretro to v6.5, update ruffle
Browse files Browse the repository at this point in the history
  • Loading branch information
BinBashBanana committed Jul 30, 2022
1 parent 912ddc9 commit 60ade17
Show file tree
Hide file tree
Showing 86 changed files with 2,128 additions and 632 deletions.
3 changes: 2 additions & 1 deletion compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
prenes = [".nes", ".fds", ".unf", ".unif"]
pren64 = [".n64", ".v64", ".z64", ".ndd"]
presnes = [".smc", ".sfc", ".swc", ".fig"]
index = '''<!DOCTYPE html>\n<html>\n<head>\n<title>Games List</title>\n<link rel="stylesheet" href="./css/style.css">\n</head>\n<body>\n<div class="container">\n<div class="box">\n<input type="text" id="gsearchbar" onkeyup="var a=document.querySelectorAll('#glist a[href]');for(var i=0;i<a.length;i++)a[i].style.display=a[i].textContent.toUpperCase().indexOf(this.value.toUpperCase())!=-1?'block':'none'" autocomplete="off" spellcheck="false" placeholder="Search" />\n<div id="glist">\n%s\n</div>\n</div>\n</div>\n<script> </script>\n</body>\n</html>'''
index = '''<!DOCTYPE html>\n<html>\n<head>\n<title>Games List</title>\n<link rel="stylesheet" href="./css/style.css">\n</head>\n<body>\n<div class="container">\n<div class="box">\n<input type="text" id="gsearchbar" onkeyup="document.querySelectorAll('#glist>a').forEach(l=>l.style.display=l.textContent.toUpperCase().includes(this.value.toUpperCase().replace(/ /g,''))?'block':'none')" autocomplete="off" spellcheck="false" placeholder="Search" />\n<div id="glist">\n%s\n</div>\n</div>\n</div>\n<script> </script>\n</body>\n</html>'''
alist = '''<a href="%s">%s</a>'''
html5names = {"adarkroom": "A Dark Room", "asciispace": "ASCII Space", "blackholesquare": "Black Hole Square", "bounceback": "Bounce Back", "captaincallisto": "Captain Callisto", "chromaincident": "Chroma Incident", "chromedino": "Chrome Dino", "connect3": "Connect 3", "cookieclicker": "Cookie Clicker", "edgenotfound": "Edge not Found", "evilglitch": "Evil Glitch", "factoryballsforever": "Factory Balls Forever", "flappybird": "Flappy Bird", "geometrydash": "Geometry Dash", "ninjavsevilcorp": "Ninja vs Evilcorp", "pacman": "Pac-Man", "particleclicker": "Particle Clicker", "pushback": "Push Back", "radiusraid": "Radius Raid", "roadblocks": "Road Blocks", "run3": "Run 3", "sleepingbeauty": "Sleeping Beauty", "spacecompany": "Space Company", "spacegarden": "Space Garden", "spacehuggers": "Space Huggers", "themazeofspacegoblins": "The Maze of Space Goblins", "xx142-b2exe": "xx142-b2.exe"}

# Make HTML5 lists
html5_1 = next(os.walk(outdir + html5gamesin))[1]
html5_2 = ["<h2>HTML5 Games</h2>"]
html5_2.append(alist % (outdir + rarchgamesin, "webretro"))

# Generate HTML code for HTML5 list
for x in range(0, len(html5_1)):
Expand Down
Binary file added gfiles/flash/60b1bdd6f1c12dcc6fa3.wasm
Binary file not shown.
Binary file added gfiles/flash/88623db3716abc5e0e4c.wasm
Binary file not shown.
2 changes: 2 additions & 0 deletions gfiles/flash/core.ruffle.646778342f5b92d93721.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions gfiles/flash/core.ruffle.bfe7c29f85a62697aa18.js

Large diffs are not rendered by default.

Binary file removed gfiles/flash/f75600c6b605d23c38b0.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion gfiles/flash/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
</style>
<script>
var mainarea, ffd, upload, legacy, rplayer, useLegacy;
var cdn = "https://cdn.jsdelivr.net/gh/BinBashBanana/gstore/";
var cdn = "https://rawcdn.githack.com/BinBashBanana/gstore/77d8f30a366b62f3e8e3cbe750b4bffe0031d53b/";

// query string into object
var search = decodeURIComponent(window.location.search).substring(1).split("&");
Expand Down
2 changes: 1 addition & 1 deletion gfiles/flash/ruffle.js

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions gfiles/rarch/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 BinBashBanana

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 60ade17

Please sign in to comment.