From b67946e3ffdaa43796bc8c924c602c2b5172a11d Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Fri, 10 Jan 2020 01:39:20 +0100 Subject: [PATCH] Update website for version 4 changes --- docs/_config.yml | 2 +- docs/_data/GameTitles.yml | 17 +++---- docs/assets/css/index.css | 7 +-- docs/assets/images/compat_status/loads.png | Bin 5378 -> 5379 bytes docs/assets/images/compat_status/perfect.png | Bin 5313 -> 5314 bytes docs/assets/images/compat_status/playable.png | Bin 5211 -> 5212 bytes docs/assets/images/compat_status/runs.png | Bin 5365 -> 5366 bytes .../images/compat_status/unplayable.png | Bin 5412 -> 5413 bytes docs/assets/images/download.png | Bin 486 -> 487 bytes docs/assets/images/embed-icon.png | Bin 5068 -> 5069 bytes docs/assets/images/no-cover-available.png | Bin 14943 -> 14944 bytes docs/assets/javascript/index.js | 43 +++++++++++++----- docs/img/avatar-icon.png | Bin 5068 -> 0 bytes docs/index.html | 26 +++++------ 14 files changed, 58 insertions(+), 37 deletions(-) delete mode 100644 docs/img/avatar-icon.png diff --git a/docs/_config.yml b/docs/_config.yml index 9522c80f..48408ecb 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -4,7 +4,7 @@ url: https://slashiee.github.io/cemu_graphic_packs/ repository: slashiee/cemu_graphic_packs author: - name: Slashiee + awesome contributors + name: "Slashiee, Crementif and other contributors" collections: - FAQ diff --git a/docs/_data/GameTitles.yml b/docs/_data/GameTitles.yml index f2a6b7d2..8a69ce30 100644 --- a/docs/_data/GameTitles.yml +++ b/docs/_data/GameTitles.yml @@ -54,7 +54,7 @@ "Captain Toad: Treasure Tracker": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Captain_Toad:_Treasure_Tracker" - version: 3 + version: 4 hasUltrawide: true "Chariot": nativeRes: 720 @@ -181,7 +181,7 @@ "Mario Kart 8": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Mario_Kart_8" - version: 3 + version: 4 hasUltrawide: true "Mario Tennis: Ultra Smash": nativeRes: 720 @@ -190,7 +190,7 @@ "Meme Run": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Meme_Run" - version: 3 + version: 4 "Minecraft: Story Mode": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Minecraft:_Story_Mode" @@ -310,12 +310,12 @@ "Sonic Lost World": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Sonic_Lost_World" - version: 3 + version: 4 hasUltrawide: true "Splatoon": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Splatoon" - version: 3 + version: 4 hasUltrawide: true "SpongeBob SquarePants: Plankton’s Robotic Revenge": nativeRes: 720 @@ -324,7 +324,7 @@ "Star Fox Guard": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Star_Fox_Guard" - version: 3 + version: 4 "Star Fox Zero": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Star_Fox_Zero" @@ -332,7 +332,7 @@ "Super Mario 3D World": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Super_Mario_3D_World" - version: 3 + version: 4 hasUltrawide: true "Super Mario Maker": nativeRes: 720 @@ -361,7 +361,7 @@ "The Legend of Zelda: Breath of the Wild": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/The_Legend_of_Zelda:_Breath_of_the_Wild" - version: 3 + version: 4 hasUltrawide: true "The Legend of Zelda: The Wind Waker HD": nativeRes: 1080 @@ -407,6 +407,7 @@ nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/Yoshi's_Woolly_World" version: 3 + hasUltrawide: true "ZombiU": nativeRes: 720 compatLink: "http://compat.cemu.info/wiki/ZombiU" diff --git a/docs/assets/css/index.css b/docs/assets/css/index.css index 1a187a0c..1789bc4e 100644 --- a/docs/assets/css/index.css +++ b/docs/assets/css/index.css @@ -47,9 +47,10 @@ #information-box.ultrawide-supported #ultrawide #ultrawide-supported { display: block !important; } #information-box.ultrawide-unsupported #ultrawide #ultrawide-unsupported { display: block !important; } -#information-box #version-3 p { display: none; } -#information-box.version-3-supported #version-3 #version-3-supported { display: block !important; } -#information-box.version-3-unsupported #version-3 #version-3-unsupported { display: block !important; } +#information-box #version-info p { display: none; } +#information-box.version-4-supported #version-info #version-4-supported { display: block !important; } +#information-box.version-3-supported #version-info #version-3-supported { display: block !important; } +#information-box.version-2-supported #version-info #version-2-supported { display: block !important; } #information-box #compat-status span { display: none; } #information-box.compat-status-loading #compat-status-loading { display: inline !important; } diff --git a/docs/assets/images/compat_status/loads.png b/docs/assets/images/compat_status/loads.png index ee1a01776c5bf0146951c486fa05d30dd307fcce..7f86433cfacf022ac549aab0c2f845f469fda427 100644 GIT binary patch delta 14 VcmZqDYSv=y4DfU3-N^D!1OOqf1fc)` delta 13 UcmZqHYSLoq4DfT`$ofwN03MtKlmGw# diff --git a/docs/assets/images/compat_status/perfect.png b/docs/assets/images/compat_status/perfect.png index 2847fb790faf5dfe62a98c7519caa1f0c4b46701..31bf87f55e6ba27085439a30d9e1a2a6f183ba4b 100644 GIT binary patch delta 14 VcmX@8c}SDBGr-TCcO%PQ5dbH81l#}s delta 13 UcmX@4c~Fz3Gr-S%BkNuf03+-K&j0`b diff --git a/docs/assets/images/compat_status/playable.png b/docs/assets/images/compat_status/playable.png index 94246a11cb087eda0c9ec13a7593567e51752454..b823e6199455555c72737095a1d35242ef9e8755 100644 GIT binary patch delta 14 VcmcbuaYuu-Gr-TCcOy%<2mmQM1gHQ2 delta 13 Ucmcbkaa)6>Gr-S%BWt(_03~_^n*aa+ diff --git a/docs/assets/images/compat_status/runs.png b/docs/assets/images/compat_status/runs.png index 58bff18b11e0899a96e16c35b69a70f85c661305..2e0cc23da9db1cc3d98887f7503ebea26106f517 100644 GIT binary patch delta 14 VcmeyW`Aw6xGr-TCcO%P35dbYJ1$Y1e delta 13 UcmeyS`BjspGr-S%BkM;I04X#DYXATM diff --git a/docs/assets/images/compat_status/unplayable.png b/docs/assets/images/compat_status/unplayable.png index 6ff145ec9078fa09c37296b5136ef6a5ddd8bc7d..4ed8797febc6d94b4152224d48a4f463309f3073 100644 GIT binary patch delta 14 VcmZ3YwN#6>Gr-TCcO#2}C;%g81PA~C delta 13 UcmZ3gwM2`hGr-S%BddZa03Zi_@% diff --git a/docs/assets/images/no-cover-available.png b/docs/assets/images/no-cover-available.png index 6cdd5f101df910b6266c9982a003c648ccf7d62b..12428a9912bcdd54fb9324a115a1aa4409251142 100644 GIT binary patch delta 14 Vcmca#@}PvZGr-TCcOy%*6#y{s1#$oY delta 13 UcmaD*a=(P7Gr-S%BWtu304$INWdHyG diff --git a/docs/assets/javascript/index.js b/docs/assets/javascript/index.js index a96bc433..732ee3b5 100644 --- a/docs/assets/javascript/index.js +++ b/docs/assets/javascript/index.js @@ -17,11 +17,19 @@ var supportedGamesSearchSetHalfTitles = {}; const altNames = { "botw": "The Legend of Zelda: Breath of the Wild", "hw": "Hyrule Warriors", + "mc": "Minecraft", + "slw": "Sonic Lost World", "smm": "Super Mario Maker", "mk8": "Mario Kart 8", "tphd": "The Legend of Zelda: Twilight Princess HD", "wwhd": "The Legend of Zelda: The Wind Waker HD", - "breath of the dicknut": "The Legend of Zelda: Breath of the Wild" + // easter eggs + "breath of the dicknut": "The Legend of Zelda: Breath of the Wild", + "f-zero": "FAST Racing NEO", + "m&m": "Sonic", + "michele": "Sonic", + "slashiee": "Sonic", + "best game": "Meme Run" }; async function searchSupportedGames(searchString) { @@ -46,6 +54,11 @@ 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!!"; + } if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString); else { for (supportedGame in supportedGames) { @@ -62,8 +75,9 @@ async function searchSupportedGames(searchString) { let gameTitleText = document.createTextNode(currResult); let versionBadge = document.createElement("span"); let versionBadgeText; - if (supportedGames[currResult].version == 3) versionBadgeText = document.createTextNode("Latest Cemu version"); - else if (supportedGames[currResult].version == 2) versionBadgeText = document.createTextNode("Only supported on version 2"); + 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"); + 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"); let resolutionBadgeText = document.createTextNode(supportedGames[currResult].nativeRes+"p"); @@ -73,12 +87,15 @@ async function searchSupportedGames(searchString) { resolutionBadge.className = "badge badge-pill badge-primary float-right"; searchResultEntry.onclick=searchInfoModalTrigger - if (supportedGames[currResult].version === 3) { - searchResultEntry.classList.add("list-group-item-primary"); - } - else { - searchResultEntry.classList.add("list-group-item-secondary"); - } + if (supportedGames[currResult].version === 4) { + searchResultEntry.classList.add("list-group-item-danger"); + } + else if (supportedGames[currResult].version === 3) { + searchResultEntry.classList.add("list-group-item-primary"); + } + else { + searchResultEntry.classList.add("list-group-item-secondary"); + } searchResultEntry.appendChild(gameTitleText); versionBadge.appendChild(versionBadgeText); @@ -98,17 +115,19 @@ async function searchInfoModalTrigger(clickedElem) { let clickedGame = clickedElem.target.firstChild.textContent; // Reset Compat Information - document.getElementById("modal-preview-image").src="https://github.com/Crementif/cemu_graphic_packs/blob/gh-pages/assets/images/no-cover-available.png"; + document.getElementById("modal-preview-image").src="assets/images/no-cover-available.png"; document.getElementById("information-box").className="compat-status-loading"; document.getElementById("gameTitle").innerText=clickedGame; document.getElementById("compatWikiButton").href=supportedGames[clickedGame].compatLink; document.getElementById("nativeResolution").textContent=supportedGames[clickedGame].nativeRes; - document.getElementById("information-box").classList.add(supportedGames[clickedGame].version3 ? "version-3-supported" : "version-3-unsupported"); + if (supportedGames[clickedGame].version == 4) document.getElementById("information-box").classList.add("version-4-supported"); + else if (supportedGames[clickedGame].version == 3) document.getElementById("information-box").classList.add("version-3-supported"); + else if (supportedGames[clickedGame].version == 2) document.getElementById("information-box").classList.add("version-2-supported"); document.getElementById("information-box").classList.add(supportedGames[clickedGame].hasUltrawide ? "ultrawide-supported" : "ultrawide-unsupported"); if (supportedGames[clickedGame].hasOwnProperty("compatLink")) { - await fetch(`https://cors-anywhere.herokuapp.com/http://compat.cemu.info/w/api?action=parse&page=${supportedGames[clickedGame].compatLink.split("http://compat.cemu.info/wiki/")[1]}&redirects=true&prop=parsetree&format=json`).then(fetchRes => fetchRes.json()).then(fetchJson => { + await fetch(`https://cors-anywhere.herokuapp.com/http://wiki.cemu.info/api.php?action=parse&page=${supportedGames[clickedGame].compatLink.split("http://compat.cemu.info/wiki/")[1]}&redirects=true&prop=parsetree&format=json`).then(fetchRes => fetchRes.json()).then(fetchJson => { console.debug(`Fetched ${clickedGame}'s(=${supportedGames[clickedGame].compatLink.split("http://compat.cemu.info/wiki/")[1]}) compat wiki`, fetchJson); let compatTemplates = new DOMParser().parseFromString(fetchJson.parse.parsetree["*"], "application/xml").documentElement.getElementsByTagName("template"); let compatJson = []; diff --git a/docs/img/avatar-icon.png b/docs/img/avatar-icon.png deleted file mode 100644 index 9b7d880985a5e3a70aaca61ef29b24e18ee117c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5068 zcmd5=`9IX}*S_B~Lt-o;Om^A#(Adq8NOoC5jL4p~5!rf|ijoQ+do(GOHT#lf?E9V& zK9pV7$i94ipV#vzJU=|=m+PF@xvz8Gzuf1X*ZthcK%4pkH2{EC=bEMo0Ekl;0Z_fP$7y0NZ*!&#C&^ zuZ^Kx{e&a{7;AJi)lCC_ET`(f9&5q0HhbZh*dsLRfDXy!wSb>Xz94T&!oMtt@oh$$ zC%2eYA9O$Mi*@)^WVFk`4!xzU9nr_SO}W!~2I-V}Lh|KTCH1B9+=VQ&WE)wHe>|9b z%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5*M;o; z?5@iIos-$2vlk`}FI4RImCoRNDP0C*R}ohCU4#qho(4Y65>Y#R$}w`65p zY24cJ{wm4SN7cKq^rJi5$5*4PPZPPIEfy|r)$_v3IYODWwWB5HciDvDp7z7{r87>` ziO)Vegs!~UtMM9%a^-!vF<+UypNJz`h8-4CvEcO+m#qH8e)_z3>H4MEv^63Ar#2C+ zEwxoHmXp*8ji^tww@N0oW^TWU<`_(gXg<2H#>n=YekeaXGRIw(W24PetiqZ;i0Kn1 zaYVNRfokGtzESu)PpCE2(TvcWl7P!C+6!6O5zKOGZ%OCA)yUJCn5V6mr}oy#onTs5 z6zF4iG>q*OKYRSk#q?C^GrggTw%$<$J}%rstz;J*VGv`{(_lMOtag znN%59eOz?S%y`K)Wv0DQY`HyMN)@-9dWmyxyi4dg3(QOf$2MOg@oQAmeAMUWK=-~S z3l^#H4E%fy(`2GQ@{F)nEU^Fmo$JO-!@Ey}(y3O3ap~>R;PJca#+vz`ODj#!U;SR&jE}dBufV@Z} z=|IDDkx4g}8Og+>3ClI!L0&92<>?&x*4EV3#L;x76TU{eE(w-c&k_GManual installation instructions
Remove all of your graphic packs first, then move all of the folders from a downloaded .zip below to the graphicPacks folder from your Cemu folder.

Select the download for your Cemu version

- Cemu 1.14.0 and newer (version 3) - + Cemu 1.14.0 and newer (versions 3 and 4)
- Search Icon + Search Icon
    @@ -48,7 +47,7 @@ layout: page