build for development folder

This commit is contained in:
ReznoRMichael 2021-02-14 03:42:11 +01:00
parent 4e1e52c4a4
commit 9b8bc7bd0e
9 changed files with 1566 additions and 2 deletions

304
build/app.js Normal file

File diff suppressed because one or more lines are too long

BIN
build/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

137
build/index.html Normal file
View file

@ -0,0 +1,137 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="favicon.png" rel="icon">
<link href="https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;700&display=swap" rel="stylesheet">
<!-- <link href="css/fontello.css" rel="stylesheet"> -->
<!-- <link href="css/style.css" rel="stylesheet"> -->
<title>Hollow Knight: Save Game Completion Analyzer Web Tool</title>
<meta name="description" content="A simple open source tool for checking every single thing you missed for your Game Completion Percentage.">
<meta name="keywords" content="hollow knight, tool, online, save, game, completion, check, checker, percentage, percent, left, analyze, analyzer, file">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="Hollow Knight: Analyze Save Completion">
<meta property="og:description" content="A simple open source tool for checking what you missed for your Game Completion Percentage.">
<meta property="og:image" content="https://reznormichael.github.io/hollow-knight-completion-check/img/thumbnail1200x628.jpg">
<meta property="og:url" content="https://reznormichael.github.io/hollow-knight-completion-check/">
<!-- Twitter -->
<meta property="twitter:title" content="Hollow Knight: Analyze Save Completion">
<meta property="twitter:description" content="A simple open source tool for checking what you missed for your Game Completion Percentage.">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:image" content="https://reznormichael.github.io/hollow-knight-completion-check/img/thumbnail1200x628.jpg">
<meta property="twitter:url" content="https://reznormichael.github.io/hollow-knight-completion-check/">
<meta name="author" content="ReznoR Michael">
<link rel="icon" href="favicon.png"><link href="main.css" rel="stylesheet"></head>
<body>
<div id="background"></div>
<div id="content">
<h1 id="h1-title">Hollow Knight: Analyze Save Completion</h1>
<p class="smalltext">
<a class="link-social" href="https://www.paypal.me/ReznoRMichael" target="_blank"><i class="simpleicon-paypal"></i>Support Tool (PayPal)</a>
<br>
<a class="link-social" href="https://steamcommunity.com/sharedfiles/filedetails/?id=2209910193" target="_blank"><i class="simpleicon-steam"></i>Official Steam Guide</a>
<a class="link-social" href="https://www.instagram.com/reznormichael/" target="_blank"><i class="simpleicon-instagram"></i>Instagram</a>
<a class="link-social" href="https://www.youtube.com/c/MichaelReznoR" target="_blank"><i class="simpleicon-youtube"></i>Youtube</a>
<a class="link-social" href="https://twitter.com/intent/follow?screen_name=ReznoRMichael" target="_blank"><i class="simpleicon-twitter"></i>Twitter</a>
<a class="link-social" href="https://github.com/ReznoRMichael/hollow-knight-completion-check" target="_blank"><i class="simpleicon-github"></i>GitHub</a>
<br>
<!-- <a href="https://pastebin.com/raw/shfZ4Vqs" target="_blank">[ Decoded 5% Save Example ]</a><br> -->
<div class="tooltip">
<input type="text" id="save-location-input" value="%USERPROFILE%\AppData\LocalLow\Team Cherry\Hollow Knight\" readonly>
<!-- <textarea id="save-location-input" value="%USERPROFILE%\AppData\LocalLow\Team Cherry\Hollow Knight\" readonly></textarea> -->
<span class="tooltip-text" id="save-location-input-tooltip">Click once to copy to clipboard</span>
</div>
<p class="smalltext">
Choose a HK user*.dat save OR paste from <a href="https://bloodorca.github.io/hollow/" target="_blank">Save Editor</a> |
<a href="https://pastebin.com/raw/xp1Gi7nG" target="_blank">Testing Save</a>
</p>
</p>
<div>
<div class="buttons centered">
<div class="input-buttons">
<input id="save-area-file" class="" type="file" name="file" accept=".dat,.bak*" onchange="LoadSaveFile(this);">
</div>
<div class="input-buttons">
<a class="button" href="https://store.steampowered.com/account/remotestorageapp/?appid=367520" target="_blank">Steam Cloud Saves<i class="icon-download-cloud"></i></a>
</div>
</div>
<textarea name="save-area" id="save-area" rows="6" spellcheck="false" placeholder="Choose a user*.dat save file OR paste (Ctrl + V) your decoded save here manually..." autofocus></textarea>
<div class="buttons">
<div class="input-buttons">
<!-- <button id="save-area-file" class="button" onclick="">Load Save</button> -->
<!-- <input id="save-area-file" class="" type="file" name="file" accept=".dat,.bak*" onchange="LoadSaveFile(this)"> -->
<button id="save-area-read" class="button" onclick="HKReadTextArea('save-area');">Analyze Text</button>
</div>
<div class="checkboxes">
<label for="checkbox-hints" class="checkbox-label" title="Check to see an optional clue for your first playthrough based on your save's progress.">
<input type="checkbox" name="checkboxes" id="checkbox-hints" value="hints-off" onclick="CheckboxHintsToggle();">
<span class="checkmark"></span>Hints
</label>
<label for="checkbox-spoilers" class="checkbox-label" title="Check to show every item's locations and costs. Hidden by default.">
<input type="checkbox" name="checkboxes" id="checkbox-spoilers" value="spoilers-off" onclick="CheckboxSpoilersToggle();">
<span class="checkmark"></span>Spoilers
</label>
</div>
</div>
</div>
<div style="margin-bottom: 20px;"></div>
<!-- ========== Main Generated Content =========== -->
<div id="generated"></div>
<div style="margin-bottom: 20px;"></div>
<p class="smalltext">
Work-In-Progress. Feedback: <a href="https://steamcommunity.com/app/367520/discussions/0/2915472677711090083/" target="_blank"><i class="simpleicon-steam"></i>Steam Discussions</a> <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2209910193" target="_blank"><i class="simpleicon-steam"></i>Steam Guide</a>.<br>
Programmed, written and created by 🉑 <a href="https://github.com/ReznoRMichael/hollow-knight-completion-check" target="_blank">rezno[R]</a> &copy; 20202021<br>
<a href="https://www.paypal.me/ReznoRMichael" target="_blank"><i class="simpleicon-paypal"></i>Support Tool (PayPal)<i class="simpleicon-paypal"></i></a>
</p>
</div> <!-- end content -->
<script src="app.js"></script></body>
</html>
<!-- All in one -->
<!-- <script src="js/app.js"></script> -->
<!-- AES JS -->
<!-- <script src="js/aes-js.js"></script> -->
<!-- Instantly load test file (Debugging script) -->
<!-- <script src="js/LoadJson.js"></script> -->
<!-- Load Save File for opening files, decoding, decryption -->
<!-- <script src="js/LoadSaveFile.js"></script> -->
<!-- Main script for analyzing the decoded save file -->
<!-- <script src="js/HKCheckCompletion.js"></script> -->
<!-- Populate HTML at load (before img and css) -->
<!-- <script>
document.addEventListener("DOMContentLoaded", InitialHTMLPopulate(DIV_ID));
</script> -->

1101
build/main.css Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,22 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= ga_property_id %>"></script>
<script>
// Temporarily disable the tracking for testing (set to false to enable Analytics)
window['ga-disable-<%= ga_property_id %>'] = true;
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
// Default no consent to share cookie data
/* gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied'
}); */
gtag('js', new Date());
gtag('config', '<%= ga_property_id %>');
</script>

View file

@ -2,7 +2,7 @@
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= ga_property_id %>"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=<%= ga_property_id %>"></script>
<script> <script>
// Temporarily disable the tracking for testing (set to false to enable Analytics) // Temporarily disable the tracking for testing (set to false to enable Analytics)
window['ga-disable-<%= ga_property_id %>'] = true; window['ga-disable-<%= ga_property_id %>'] = false;
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];

View file

@ -11,7 +11,7 @@ module.exports = {
}, },
mode: 'development', mode: 'development',
output: { output: {
path: `${__dirname}/docs`, path: `${__dirname}/build`,
filename: 'app.js', filename: 'app.js',
assetModuleFilename: 'img/[hash][ext][query]' assetModuleFilename: 'img/[hash][ext][query]'
}, },