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

View File

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

View File

@ -67,9 +67,9 @@ layout: page
<p id="ultrawide-unsupported">No ultrawide resolutions are supported</p>
</span>
<span id="version-info">
<p id="version-4-supported">Graphic packs fully support 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-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-4-supported">Graphic packs fully supports OpenGL and Vulkan. (version 4)</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.8.0 through 1.13.2 available. (version 2)</p>
</span>
</span>
</span>