-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlinux.html
More file actions
439 lines (366 loc) · 12.4 KB
/
linux.html
File metadata and controls
439 lines (366 loc) · 12.4 KB
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta property="og:title" content="GD 2.2074 Downgrade Guide (Linux)">
<meta property="og:description" content="Step-by-step guide to downgrade Geometry Dash to version 2.2074.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://beatacvr.github.io/downgrade">
<link rel="icon" type="image/x-icon" href="resources/favicon.png">
<title>Linux Downgrade Guide</title>
<style>
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
background: #1e1e2f;
color: #eaeaf0;
margin: 0;
padding: 40px;
}
.container {
max-width: 900px;
margin: auto;
}
h1 {
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 12px;
}
h1 img {
width: 32px;
height: 32px;
flex-shrink: 0;
}
.steam-logo {
display: inline;
height: 1em;
vertical-align: -0.125em;
margin-right: 4px;
transform: scale(1.25);
transform-origin: left center;
}
h2 {
margin-top: 36px;
margin-bottom: 12px;
}
p {
line-height: 1.7;
opacity: 0.92;
margin-bottom: 16px;
}
a {
color: #8f9bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
code {
background: #2d2d45;
padding: 3px 7px;
border-radius: 6px;
font-family: ui-monospace, SFMono-Regular, monospace;
font-size: 0.95em;
}
ul {
list-style: none;
padding-left: 0;
margin: 12px 0 6px;
}
ul li {
background: rgba(255,255,255,0.06);
padding: 12px 16px;
border-radius: 10px;
margin-bottom: 6px;
font-family: ui-monospace, SFMono-Regular, monospace;
font-size: 0.95em;
word-break: break-all;
}
.back {
margin-top: 48px;
}
.back button {
padding: 12px 22px;
border-radius: 12px;
border: none;
background: linear-gradient(135deg, #5b7cfa, #8f5bfa);
color: white;
font-size: 1rem;
cursor: pointer;
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.back button:hover {
transform: translateY(-1px);
}
.footnote {
font-size: 0.85em;
opacity: 0.7;
margin: 4px 0 20px 6px;
}
.github {
margin-top: 40px;
display: flex;
justify-content: center;
}
.github a {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 16px;
border-radius: 12px;
background: rgba(255,255,255,0.08);
color: #eaeaf0;
text-decoration: none;
font-size: 0.95rem;
box-shadow: 0 6px 16px rgba(0,0,0,0.25);
transition: transform 0.15s, background 0.15s;
}
.github a:hover {
transform: translateY(-1px);
background: rgba(255,255,255,0.12);
}
.github svg {
width: 20px;
height: 20px;
fill: currentColor;
}
.warning {
display: none;
background: rgba(220, 38, 38, 0.1);
border: 1px solid rgba(220, 38, 38, 0.4);
border-radius: 10px;
padding: 16px 20px;
margin-bottom: 24px;
align-items: center;
gap: 16px;
}
.warning.show {
display: flex;
}
.warning-icon {
flex-shrink: 0;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
}
.warning-content {
flex: 1;
}
.warning-text {
margin: 0;
color: #fca5a5;
font-size: 0.95em;
}
.warning-button {
flex-shrink: 0;
padding: 8px 16px;
border-radius: 8px;
border: none;
background: rgba(220, 38, 38, 0.2);
color: #fca5a5;
font-size: 0.9rem;
cursor: pointer;
transition: background 0.15s;
white-space: nowrap;
}
.warning-button:hover {
background: rgba(220, 38, 38, 0.3);
}
.steps {
counter-reset: step;
}
.step {
position: relative;
margin-bottom: 20px;
}
.step::before {
counter-increment: step;
content: counter(step);
position: absolute;
left: -42px;
top: -0.1em;
font-size: 1.3rem;
font-weight: 700;
color: rgba(234, 234, 240, 0.30);
pointer-events: none;
user-select: none;
}
</style>
</head>
<body>
<div class="container">
<div class="steps">
<div class="warning" id="osWarning">
<div class="warning-icon">⚠️</div>
<div class="warning-content">
<p class="warning-text" id="warningText"></p>
</div>
<button class="warning-button" id="warningButton"></button>
</div>
<h1><img src="resources/linux.png" alt="Linux" class="linux-logo">Linux Guide for Downgrading to <strong>2.2074</strong></h1>
<hr>
<p>
<strong>You must own Geometry Dash on <img src="resources/steam.png" alt="Steam" class="steam-logo"> Steam for this guide to work.</strong><br>
It is recommended to save your account data to the cloud before proceeding with this guide.
</p>
<hr>
<p class="step">
<a href="https://github.com/SteamRE/DepotDownloader/releases">Click here</a> to download DepotDownloader, which is the tool we are going to use to download 2.2074 from Steam. If you have a 64 bit processor, the one you should choose is <code>linux-x64</code>. If you have an ARM-based 64 bit processor, choose <code>linux-arm64</code>. If you have an ARM-based 32 bit processor, choose <code>linux-arm</code>.
</p>
<p class="step">
Extract the ZIP file to get the DepotDownloader executable.
</p>
<p class="step">
Paste the following command into the terminal in the path where DepotDownloader is downloaded (make sure to <code>cd</code> into it) and press Enter:
</p>
<ul>
<li>./DepotDownloader -app 322170 -depot 322171 -manifest 7678373534998244044 -username [USERNAME] -password [PASSWORD]</li>
</ul>
<div class="footnote">
Tip: Type your Steam username in place of <code>[USERNAME]</code> argument and Steam password in place <code>[PASSWORD]</code>. DepotDownloader is open source and is considered safe, and it only sends your login information to Steam itself to pull the game from Steam. Add <code>-remember-password</code> at the end if you want DepotDownloader to remember your Steam account's password in the future.
</div>
<p>
If you want to login with Steam Guard QR instead:
</p>
<ul>
<li>./DepotDownloader -app 322170 -depot 322171 -manifest 7678373534998244044 -qr</li>
</ul>
<p class="step">
Wait for DepotDownloader to finish downloading the depot.
</p>
<p class="step">
Go to the folder DepotDownloader created (322170), then the folder inside of it.
</p>
<p class="step">
Copy <strong>everything inside</strong> of this folder.
</p>
<p class="step">
Go to the Geometry Dash installation directory by going to your Steam library, right clicking on Geometry Dash, clicking on <strong>Manage</strong>, then clicking on <strong>Browse local files</strong>.
</p>
<p class="step">
Paste the files you copied from your depot and replace all existing files if prompted.
</p>
<p class="step">
To prevent Steam from automatically updating Geometry Dash, do the previous step to open the Geometry Dash folder, exit 2 folders (<code>Geometry Dash</code>, then <code>common</code>), and make sure you're in the <code>steamapps</code> folder. In the <code>steamapps</code> folder, you should see a file named <code>appmanifest_322170.acf</code>. We need to make that file read only. To do that via the terminal, open the terminal inside of the <code>steamapps</code> folder, then type this:
</p>
<ul>
<li>chmod 444 appmanifest_322170.acf</li>
</ul>
<h2>After Downgrading</h2>
<p>
You can now launch Geometry Dash through Steam and optionally install
<strong><a href="https://github.com/geode-sdk/geode/releases/download/v4.10.2/geode-v4.10.2-installer-win.exe" target="_blank">Geode v4.10.2</a></strong>.
</p>
<p class="step">
If Geometry Dash receives a new update, you will need to launch it through <code>GeometryDash.exe</code> in
the game's folder, or run <code>chmod 644 appmanifest_322170.acf</code> (check the previous steps to find the steamapps folder which is where this file is stored) to temporarily make the file writeable to
update Geometry Dash, then follow this guide to downgrade it again.
</p>
<div class="back">
<a href="index.html"><button>← Back to Home</button></a>
</div>
<div class="github">
<a href="https://github.com/beatacvr/downgrade" target="_blank">
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13
-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87
2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95
0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12
0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27
.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82
2.2-.82.44 1.1.16 1.92.08 2.12
.51.56.82 1.27.82 2.15
0 3.07-1.87 3.75-3.65 3.95
.29.25.54.73.54 1.48
0 1.07-.01 1.93-.01 2.2
0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8
c0-4.42-3.58-8-8-8Z"/>
</svg>
<span>Source Code</span>
</a>
</div>
</div>
</div>
<script>
function detectOS() {
// modern browser platform detection
if (navigator.userAgentData && navigator.userAgentData.platform) {
const p = navigator.userAgentData.platform.toLowerCase();
if (p.includes('win')) return 'windows';
if (p.includes('mac')) return 'macos';
if (p.includes('android')) return 'android';
if (p.includes('ios')) return 'ios';
if (p.includes('linux')) return 'linux';
}
// 2. ios detection
const ua = navigator.userAgent;
const platform = navigator.platform;
const isIOS =
/iPad|iPhone|iPod/.test(ua) ||
(platform === 'MacIntel' && navigator.maxTouchPoints > 1);
if (isIOS) return 'ios';
// fallback
const uaLower = ua.toLowerCase();
if (uaLower.includes('android')) return 'android';
if (uaLower.includes('win')) return 'windows';
if (uaLower.includes('mac')) return 'macos';
if (uaLower.includes('linux')) return 'linux';
return null;
}
function initializeWarning() {
const currentOS = detectOS();
if (!currentOS) return;
const pages = {
windows: {
match: 'win.html',
label: 'Windows',
file: 'win.html'
},
macos: {
match: 'mac.html',
label: 'macOS',
file: 'mac.html'
},
linux: {
match: 'linux.html',
label: 'Linux',
file: 'linux.html'
},
android: {
match: 'android.html',
label: 'Android',
file: 'android.html'
},
ios: {
match: 'ios.html',
label: 'iOS',
file: 'ios.html'
}
};
const warningEl = document.getElementById('osWarning');
const warningText = document.getElementById('warningText');
const warningButton = document.getElementById('warningButton');
if (!warningEl || !warningText || !warningButton) return;
const currentPageOS = Object.keys(pages).find(os =>
window.location.pathname.includes(pages[os].match)
);
if (!currentPageOS || currentPageOS === currentOS) return;
const detected = pages[currentOS];
warningText.textContent =
`You appear to be on ${detected.label}. Did you mean to view the ${detected.label} guide?`;
warningButton.textContent =
`View ${detected.label} Guide`;
warningEl.classList.add('show');
warningButton.addEventListener('click', () => {
window.location.href = detected.file;
});
}
document.addEventListener('DOMContentLoaded', initializeWarning);
</script>
<script async src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
</body>
</html>