This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
246 lines (223 loc) · 12.2 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html lang="en">
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<!-- <html class="no-js"> -->
<!--<![endif]-->
<head>
<meta charset="utf-8"> <!-- This needs to be in the first 1024 bytes of the file -->
<!-- This includes fallbacks in the event that the respective CDNs are down/dead-->
<script src="https://cdn.jsdelivr.net/npm/pako@1.0.10/dist/pako.min.js"></script>
<script>window.pako || (document.head.appendChild(document.createElement('script')).src = './js/pako.min.js')</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>window.jQuery || (document.head.appendChild(document.createElement('script')).src = './js/jquery-3.5.1.min.js')</script>
<script src="./js/msgpack.min.js" defer></script>
<script src="./js/main.js" defer></script>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap" rel="stylesheet">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>BL3 Hotfix Merger</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/styles.css">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<!-- Meta / Embed Tags -->
<meta content="Mod Borderlands 3 through hotfix injection!" name="description">
<meta content="Mod Borderlands 3 through hotfix injection!" property="og:description">
<meta content="BL3 Hotfix Web UI" property="og:title">
<meta content="BL3 Hotfix Web UI" property="og:site_name">
<meta content="#E15C07" name="theme-color">
</head>
<body>
<div class="fixed-header">
<div class="container" style="position: relative;">
<div class="tab">
<button class="tablinks" onclick="openTabContent(event, 'hotfixAndParamsContent')"
id="defaultTab">Hotfix Settings</button>
<button class="tablinks" onclick="openTabContent(event, 'itemTradeContent')">Receive Items</button>
<button class="tablinks" onclick="openTabContent(event, 'proxySettingsContent')">Proxy Settings</button>
<button class="tablinks" onclick="openTabContent(event, 'aboutPageContent')">About</button>
<button class="tablinks"><a target="_blank" rel="noopener noreferrer"
href="https://github.com/BLCM/bl3mods/wiki">Get Mods</a>
</button>
<label id="warningLabel">WebSocket disconnected! Be patient until you see text in the logs.
</label>
<label id="versionHeader"></label>
<button class="tablinks last">Quit</button>
</div>
</div>
</div>
<div class="container">
<div id="hotfixAndParamsContent" class="tabcontent">
<div class="content">
<div class="left">
<span>
<p id="presetsLabel" for="presetBtn"><strong>Presets:</strong></p>
<span id="presetContainer" class="dropdown">
<button onclick="togglePresetView()" class="dropbtn" id="presetBtn"></button>
<div id="presetDropdown" class="dropdown-content">
<input type="text" placeholder="Search" id="myInput" onkeyup="filterFunction()">
<div id="presetCollection">
</div>
</div>
</span>
</span>
<strong
style="font-size: larger;position: absolute;top: 3%;left:50%;transform: translate(-50%, -50%);">Currently
Provided Hotfix Paths</strong>
<br><br>
<select id="hotfixSelection" size="34">
</select>
<div id="hotfixButtonLayout">
<input type="button" value="Add URL" id="addURLButton">
<input type="button" value="Add Local Path" id="addLocalButton">
<input type="button" value="Delete Selected" id="deleteHotfixURLButton">
<input type="button" value="Toggle Selected" id="toggleHotfixButton">
<input type="button" value="Move Up" id="moveURLUpButton">
<input type="button" value="Move Down" id="moveURLDownButton">
<input type="button" value="Save Preset" id="addPresetButton">
<input type="button" value="Refresh" id="refreshHotfixURLButton">
</div>
</div>
<div class="right">
<strong
style="font-size: larger;position: absolute;top: 3%;left:75%;transform: translate(-50%, -50%);">Parameters</strong>
<br><br>
<div id="parameters"></div>
</div>
</div>
</div>
<div id="itemTradeContent" class="tabcontent">
<div class="content">
<div id="itemTrade" class="content settings">
<h3 style="margin:15px;">Receive Items</h3>
<label style="margin: 15px;">Items to receive via Borderlands 3 Mail (F4 while in game)</label>
<br><br>
<select id="mailItemSelection" size="10"></select>
<br>
<br>
<label for="serialNumberInput" id="serialNumberInputLabel">Serial Number:</label>
<input type="text" id="serialNumberInput"
placeholder="e.g. BL3(AwAAAABsjoC8z5lBk2MaNwMCc/KINiYKLr4QAgAAAAAAlDEA)">
<input type="button" id="btnAddSerialNumber" value="Add">
<input type="button" id="btnRemoveSerialNumber" value="Delete">
<br><br>
<h3 style="margin:15px;">Resources</h3>
<p style="margin:15px;">
<a href="http://bl3editor.com/">Online Save Editor</a> by Baysix
<br>
<a href="http://bit.ly/3his9j1">Weapon Code Spreadsheet</a> by DOMIN8
</p>
</div>
</div>
</div>
<div id="proxySettingsContent" class="tabcontent">
<div id="proxySettings" class="content settings">
<strong>Proxy Settings</strong>
<br><br>
<div class="setting">
<label for="mergeToggle" style="vertical-align: middle;padding-top: 5px;">Replace</label>
<label class="switch" name="mergeToggle" id="mergeToggle">
<input type="checkbox">
<span class="slider"></span>
</label>
<label for="mergeToggle" style="vertical-align: middle;padding-top: 5px;">Merge</label>
<br>
<br>
<br>
<label id="lblSpeedrunMode" name="lblSpeedrunMode">Speedrun Mode</label>
<br>
<label for="speedrunToggle" style="vertical-align: middle;padding-top: 5px;">Off</label>
<label class="switch" name="speedrunToggle" id="speedrunToggle">
<input type="checkbox">
<span class="slider"></span>
</label>
<label for="speedrunToggle" style="vertical-align: middle;padding-top: 5px;">On</label>
</div>
</div>
</div>
<div id="aboutPageContent" class="tabcontent">
<div class="content">
<div id="about" class="content settings about">
<h3>About</h3>
<p>
First of all: Thank you for using B3HM! Check out the <a
href="https://github.com/c0dycode/BL3HotfixWebUI/wiki/B3HM-Wiki">wiki</a> if you have any
question before reaching out!<br>
B3HM is a standalone tool to manage hotfix mods for Borderlands 3.<br>
It does so by "intercepting" GearBox's hotfixes, altering them and THEN "deliver" them to the
game. That means an internet connection IS REQUIRED!
<h3>Disclaimer:</h3>
</p>
<p>
I am not responsible for any issues/damages that could happen to your
game/account/savegame(s)/pc
if you use this tool.<br>
B3HM allows you to "spawn" in items ("Receive Items" tab) via the ingame "Mail" option.<br>
By using that option you agree to not abuse this system to spam people, sell "generated" items
to
others or any other way.<br>
You also should only use this responsibly and not ruin other peoples experience with the game.
So
make sure the people you play with KNOW that you're using mods!
</p>
<h3>More:</h3>
<ul>
<li>
<p>Author:
<a href="https://github.com/c0dycode">
c0dycode
<img style="margin-bottom: -0.5vh;" alt="GitHub followers"
src="https://img.shields.io/github/followers/c0dycode?style=social">
</a>
</p>
</li>
<li>
<p>If you'd like to support me, feel free to do so here:
<a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CRVHLK9MURS9Q">
<img style="margin-bottom: -0.5vh;"
src="https://img.shields.io/badge/Donate-PayPal-green.svg"></img></a>
<label> or via BTC: 33fqqyPGsNEN2eVxEAX8pxTAVvCGKmypbW</label>
</p>
</li>
<li>
<p>If you consider donating, thank you very much! It is very much appreciated!</p>
</li>
</ul>
<h3>Special thanks:</h3>
<ul>
<li>
<p><a href="https://github.com/apocalyptech">Apocalyptech</a>: Assisting with various tasks
</p>
</li>
<li>
<p><a href="https://github.com/SSpyR">SSpyR</a> and his community: Beta testing</p>
</li>
<li>
<p><a href="https://www.twitter.com/FromDarkHell">FromDarkHell</a>: WebUI, <a
href="https://github.com/FromDarkHell/BL3DX11Injection">PluginLoader</a>, & <a
href="https://youtu.be/KYgUzKomXrk">Tutorial</a></p>
</li>
<li>
<p><a href="https://www.twitter.com/PilotPlaysGames">PilotPlaysGames</a> (<a
href="https://arcadeffect.com/">Website</a>): Making & designing the
icons</p>
</li>
<li>
<p>Everyone else who was involved in testing</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="fixed-footer">
<div class="container" id="footer">
<input type="button" value="Clear Log" id="clearButton">
<p id="log">
</p>
</div>
</div>
</body>
</html>