update website a little bit

This commit is contained in:
Michele 2020-01-09 19:33:10 -08:00
parent 6ce20d37fa
commit 944a119e4c
3 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
#"Title": #"Title":
# nativeRes: 720/1080 # nativeRes: 720/1080
# compatLink: "[REQUIRED COMPAT WIKI URL]" # compatLink: "[REQUIRED COMPAT WIKI URL]"
# version: 2/3/false # version: 2/3/4/false
# hasUltrawide: true/false # hasUltrawide: true/false
"Adventure Time: Explore the Dungeon Because I DONT KNOW": "Adventure Time: Explore the Dungeon Because I DONT KNOW":
nativeRes: 1080 nativeRes: 1080
@ -104,7 +104,7 @@
"FAST Racing NEO": "FAST Racing NEO":
nativeRes: 720 nativeRes: 720
compatLink: "http://compat.cemu.info/wiki/Fast_Racing_Neo" compatLink: "http://compat.cemu.info/wiki/Fast_Racing_Neo"
version: 3 version: 4
"Family Tennis SP": "Family Tennis SP":
nativeRes: 720 nativeRes: 720
compatLink: "http://compat.cemu.info/wiki/Family_Tennis_SP" compatLink: "http://compat.cemu.info/wiki/Family_Tennis_SP"

View File

@ -55,9 +55,9 @@ async function searchSupportedGames(searchString) {
let resultsHintSearch = []; let resultsHintSearch = [];
if (Object.keys(altNames).includes(searchString.toLowerCase())) searchString = altNames[searchString.toLowerCase()]; if (Object.keys(altNames).includes(searchString.toLowerCase())) searchString = altNames[searchString.toLowerCase()];
if (searchString.toLowerCase() == "digital foundry") { if (searchString.toLowerCase() == "digital foundry") {
document.title = "Home - Cemu Hacks"; document.title = "Home - CEMU Hacks";
document.getElementsByClassName("display-4")[0].innerText="Cemu Hacks"; document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks";
document.getElementsByClassName("lead")[0].innerText = "Get your online Cemu hax here!!"; document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!";
} }
if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString); if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString);
else { else {
@ -75,8 +75,8 @@ async function searchSupportedGames(searchString) {
let gameTitleText = document.createTextNode(currResult); let gameTitleText = document.createTextNode(currResult);
let versionBadge = document.createElement("span"); let versionBadge = document.createElement("span");
let versionBadgeText; let versionBadgeText;
if (supportedGames[currResult].version == 4) versionBadgeText = document.createTextNode("Supports OpenGL and Vulkan"); if (supportedGames[currResult].version == 4) versionBadgeText = document.createTextNode("Fully supports OpenGL and Vulkan");
else if (supportedGames[currResult].version == 3) versionBadgeText = document.createTextNode("Only supported on OpenGL"); else if (supportedGames[currResult].version == 3) versionBadgeText = document.createTextNode("Fully supports OpenGL");
else if (supportedGames[currResult].version == 2) versionBadgeText = document.createTextNode("Only supported on 1.8.0 through 1.13.2"); else if (supportedGames[currResult].version == 2) versionBadgeText = document.createTextNode("Only supported on 1.8.0 through 1.13.2");
else versionBadgeText = document.createTextNode("No resolution pack yet :("); else versionBadgeText = document.createTextNode("No resolution pack yet :(");
let resolutionBadge = document.createElement("span"); let resolutionBadge = document.createElement("span");

View File

@ -67,9 +67,9 @@ layout: page
<p id="ultrawide-unsupported">No ultrawide resolutions are supported</p> <p id="ultrawide-unsupported">No ultrawide resolutions are supported</p>
</span> </span>
<span id="version-info"> <span id="version-info">
<p id="version-4-supported">Graphic packs fully support OpenGL and Vulkan (version 4)</p> <p id="version-4-supported">Graphic packs fully supports OpenGL and Vulkan. (version 4)</p>
<p id="version-3-supported">Graphic packs fully support OpenGL, though some graphic pack functionality might work on Vulkan (version 3)</p> <p id="version-3-supported">Graphic packs fully supports OpenGL, though some graphic pack functionality might work on Vulkan. (version 3)</p>
<p id="version-2-supported">No graphic packs for Cemu 1.14.0 and higher, but there are graphic packs for Cemu 1.13.2 available (version 2)</p> <p id="version-2-supported">No graphic packs for Cemu 1.14.0 and higher, but there are graphic packs for Cemu 1.8.0 through 1.13.2 available. (version 2)</p>
</span> </span>
</span> </span>
</span> </span>