forked from CyberGiant7/Elden-Ring-Automatic-Checklist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
225 lines (212 loc) · 10.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
<title>Elden Ring Checklist</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta name="description" content="An Elden Ring automatic checklist" />
<meta name="author" content="CyberGiant" />
<link rel="icon" href="assets/img/favicon.ico" />
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css" />
<link href="assets/css/new_style.css" type="text/css" rel="stylesheet" />
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VP65ZL3DNK"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-VP65ZL3DNK");
</script>
<body>
<div class="container" style="display: flex">
<div class="container container-block me-lg-4 me-sm-0" id="main">
<img src="assets/img/logo.webp" alt="logo" style="width: inherit" />
<hr />
<div class="container">
<div style="display: flex; justify-content: space-between">
<div>
<h3>Elden Ring save analyzer</h3>
</div>
<div>
<button id="sidebar-button" class="btn button-style1" type="button" data-bs-toggle="collapse" data-bs-target="#sidebar">
<i class="fa-solid fa-angle-right"></i>
</button>
</div>
</div>
<p>
Welcome! I'm <a href="https://github.com/CyberGiant7" target="_blank">CyberGiant</a> this site is made to analyze the inventory of an
elden ring save to automatically compile a checklist.
</p>
<p>
<strong>To find Elden Ring save:</strong> <br />You will find your Elden Ring save file in the your user directory. Right-click the folder
icon on your quick bar and click 'File Explorer'. Then select 'This PC' from the menu on the left of the window and click through the
director until you reach this location: <br />
<a href="">C:\Users\[username]\AppData\Roaming\EldenRing</a>.
</p>
<p>
Once here, you should see a file with a bunch of random-looking numbers. That number is your 64-bit Steam ID, in case you were
wondering.<br />
Click into this folder and you should see a file or multiple that end in .sl2. This is your save file.
</p>
<p>This site <a style="font-weight: bold">does not alter Elden Ring saves in any way</a>, as the file is opened in read-only mode.</p>
<div>
<ul>
<li>
<div>
<i class="icofont-rounded-right"></i>
<label class="form-label"><strong>Upload Elden Ring save file</strong></label>
<input class="form-control" type="file" id="savefile" accept=".sl2, .co2" />
</div>
</li>
<li style="display: none" id="slot_select"></li>
<li style="display: none; text-align: center" id="setting_buttons">
<div class="btn-group" role="group" data-bs-toggle="buttons">
<label class="btn btn-dark" style="margin: 3px">
<input type="checkbox" class="me-2" name="altered_armor" id="altered-armor" autocomplete="off" /> Show altered armor
</label>
<label class="btn btn-dark" style="margin: 3px">
<input type="checkbox" class="me-2" name="unobtainable-items" id="unobtainable-items" autocomplete="off" /> Show unobtainable
items
</label>
<label class="btn btn-dark" style="margin: 3px">
<input type="checkbox" class="me-2" name="dlc-items" id="dlc-items" autocomplete="off" /> Show DLC
items
</label>
</div>
</li>
<li style="display: none" id="calculate">
<div class="d-grid gap-2" style="margin: 10px">
<button type="button" name="calculate" class="btn btn-dark" onclick="calculate()">Calculate</button>
</div>
</li>
</ul>
</div>
<div class="row" id="collapse_button1" style="display: none">
<button class="btn btn-dark button-collapse" type="button" data-bs-toggle="collapse" data-bs-target="#owned">
<h2>Owned Items</h2>
</button>
</div>
<div class="collapse" id="owned"></div>
<div class="row" id="collapse_button2" style="display: none">
<button class="btn btn-dark button-collapse" type="button" data-bs-toggle="collapse" data-bs-target="#not-owned">
<h2>Not Owned Items</h2>
</button>
</div>
<div class="collapse" id="not-owned"></div>
</div>
<hr style="margin-top: 100px" />
<footer class="text-center">
<!-- Grid container -->
<div class="container pb-0">
<!-- Section: Social media -->
<section class="mb-4">
<!-- E-mail -->
<a class="btn btn-outline-light btn-floating m-1" href="mailto:[email protected]" role="button" target="_blank"
><i class="fas fa-envelope"></i
></a>
<!-- Linkedin -->
<a class="btn btn-outline-light btn-floating m-1" href="https://www.linkedin.com/in/leonardo-dessi/" role="button" target="_blank"
><i class="fab fa-linkedin-in"></i
></a>
<!-- Github -->
<a class="btn btn-outline-light btn-floating m-1" href="https://github.com/CyberGiant7" role="button" target="_blank"
><i class="fab fa-github"></i
></a>
</section>
<!-- Section: Social media -->
</div>
<!-- Grid container -->
<!-- Copyright -->
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2)">
© 2022 Copyright:
<a class="text-white" href="https://mdbootstrap.com/">CyberGiant</a>
</div>
<!-- Copyright -->
</footer>
</div>
<div id="sidebar" class="sidebar collapse-horizontal show">
<div class="container-block">
<div class="row" style="display: flex; flex-wrap: nowrap; width: fit-content">
<img src="assets/img/CypherRing-logo.webp" alt="" style="width: 75px; border-radius: 100%" />
<a class="a-style1" href="https://www.reddit.com/r/CypherRing/" target="_blank">r/CypherRing</a>
</div>
<p>Join to Cypher Ring! The player summoning and trading subreddit for the videogame Elden Ring.</p>
<hr />
<div style="display: flex; justify-content: space-between">
<div>
<strong id="cypherring-sub"></strong>
<p style="margin: 0px; font-size: 12px">Tarnished</p>
</div>
<div>
<strong id="cypherring-online"></strong>
<p style="margin: 0px; font-size: 12px">In The Lands Between</p>
</div>
</div>
<hr />
<a class="btn button-style1" href="https://www.reddit.com/r/CypherRing/" target="_blank">Join</a>
</div>
<div class="container-block" style="margin-top: 10px">
<div class="row" style="display: flex; flex-wrap: nowrap; width: fit-content">
<img src="assets/img/EldenRingDiscussion-logo.webp" alt="" style="width: 75px; border-radius: 100%" />
<a href="https://www.reddit.com/r/eldenringdiscussion" target="_blank" class="a-style1">r/eldenringdiscussion</a>
</div>
<p>
Join to Elden Ring Discussion! A subreddit where you can chat about the game, the secrets, the strategies, the builds, and everything else
Elden Ring.
</p>
<hr />
<div style="display: flex; justify-content: space-between">
<div>
<strong id="erdiscussion-sub"></strong>
<p style="margin: 0px; font-size: 12px">Tarnished</p>
</div>
<div>
<strong id="erdiscussion-online"></strong>
<p style="margin: 0px; font-size: 12px">In The Lands Between</p>
</div>
</div>
<hr />
<a class="btn button-style1" href="https://www.reddit.com/r/eldenringdiscussion" target="_blank">Join</a>
</div>
</div>
</div>
<button type="button" class="btn btn-dark btn-floating btn-lg btn-outline-light" id="btn-back-to-top" style="width: 100px">
<i class="fas fa-arrow-up"></i>
</button>
<!-- Vendor JS Files -->
<script src="assets/js/script.js"></script>
<script src="assets/js/button_to_top.js"></script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="https://kit.fontawesome.com/652c1efac6.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.lazy/1.7.9/jquery.lazy.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.lazy/1.7.9/jquery.lazy.plugins.min.js"></script>
<script>
function getFromRedditApi(id, url, field) {
var xhr = new XMLHttpRequest();
xhr.open("GET", url);
xhr.setRequestHeader("Accept", "application/json");
let sub0;
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) {
sub0 = JSON.parse(xhr.response)["data"][field];
$(id).text(nFormatter(sub0, 1));
}
};
xhr.send();
}
</script>
<script>
let r = Math.floor(Math.random() * 6);
document.getElementsByTagName("body")[0].style.backgroundImage = `url(assets/img/bg${r}.webp`;
getFromRedditApi("#cypherring-sub", "https://www.reddit.com/r/CypherRing/about.json", "subscribers");
getFromRedditApi("#cypherring-online", "https://www.reddit.com/r/CypherRing/about.json", "active_user_count");
getFromRedditApi("#erdiscussion-sub", "https://www.reddit.com/r/eldenringdiscussion/about.json", "subscribers");
getFromRedditApi("#erdiscussion-online", "https://www.reddit.com/r/eldenringdiscussion/about.json", "active_user_count");
</script>
</body>
</html>