2022-04-19 23:54:36 +00:00
|
|
|
<!DOCTYPE html>
|
2022-04-19 23:33:59 +00:00
|
|
|
<html>
|
2022-04-19 23:54:36 +00:00
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="style/index.css" />
|
2022-04-20 01:12:56 +00:00
|
|
|
<script src="js/neutralino.js"></script>
|
2022-04-21 01:16:36 +00:00
|
|
|
<script src="js/windowDrag.js"></script>
|
2022-04-21 02:57:00 +00:00
|
|
|
<script src="js/hoverEvt.js"></script>
|
2022-04-20 01:12:56 +00:00
|
|
|
<script src="js/index.js"></script>
|
2022-04-23 04:57:02 +00:00
|
|
|
<script src="js/translation.js"></script>
|
2022-04-19 23:54:36 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2022-04-22 00:17:00 +00:00
|
|
|
<div id="firstTimeNotice" style="display: none">
|
2022-04-22 00:05:00 +00:00
|
|
|
<span>
|
|
|
|
</span>
|
|
|
|
<div id="firstTimeBtns">
|
2022-04-23 04:57:02 +00:00
|
|
|
<button class="playBtn" id="firstTimeInstallBtn" onclick="runInstallScript()">Install</button>
|
|
|
|
<button class="altBtn" id="firstTimeDenyBtn" onclick="closeFirstTimePopup()">No thanks</button>
|
2022-04-22 00:05:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-21 22:33:14 +00:00
|
|
|
<div id="settingsPanel" style="display: none;">
|
2022-04-23 05:17:26 +00:00
|
|
|
<div id="settingsTitleBar">
|
|
|
|
<span id="fullSettingsTitle">Settings</span>
|
|
|
|
<div id="settingsClose">
|
|
|
|
<img src="icons/close.svg" onclick="closeSettings()" />
|
|
|
|
</div>
|
2022-04-21 22:33:14 +00:00
|
|
|
</div>
|
2022-04-21 21:53:53 +00:00
|
|
|
<div id="settingsPanelInner">
|
2022-04-23 04:57:02 +00:00
|
|
|
<div class="settingTitle", id="scriptsTitle">
|
2022-04-21 21:53:53 +00:00
|
|
|
<span>Scripts</span>
|
|
|
|
</div>
|
|
|
|
<div class="settingsRow">
|
2022-04-22 00:35:50 +00:00
|
|
|
<div class="settingSection">
|
2022-04-23 04:57:02 +00:00
|
|
|
<span class="settingLabel" id="killswitchTitle">Kill Switch</span>
|
2022-04-22 00:35:50 +00:00
|
|
|
<input type="checkbox" id="killswitchOption" onchange="toggleKillSwitch()" />
|
|
|
|
</div>
|
2022-04-23 04:57:02 +00:00
|
|
|
<span class="settingSubtitle" id="killswitchSubtitle">
|
2022-04-21 22:15:52 +00:00
|
|
|
Only for those very paranoid about bans. Kills the game process *and your internet* if something happens to the proxy.
|
2022-04-21 21:57:03 +00:00
|
|
|
</span>
|
2022-04-21 21:53:53 +00:00
|
|
|
</div>
|
2022-04-22 00:35:50 +00:00
|
|
|
<div class="settingsRow">
|
|
|
|
<div class="settingSection">
|
2022-04-23 04:57:02 +00:00
|
|
|
<span class="settingLabel" id="proxyTitle">Install Proxy Server</span>
|
|
|
|
<button class="smolBtn" onclick="runInstallScript()" id="proxyInstall">Install</button>
|
2022-04-22 00:35:50 +00:00
|
|
|
</div>
|
2022-04-23 04:57:02 +00:00
|
|
|
<span class="settingSubtitle" id="proxySubtitle">
|
2022-04-22 00:35:50 +00:00
|
|
|
Install the proxy server via the install script.
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-04-22 21:18:56 +00:00
|
|
|
<div class="settingsRow">
|
|
|
|
<div class="settingSection">
|
2022-04-23 04:57:02 +00:00
|
|
|
<span class="settingLabel" id="updateTitle">Update</span>
|
2022-04-22 21:42:16 +00:00
|
|
|
<button class="smolBtn disabled" onclick="updateResources()" id="updateBtn" disabled>Update</button>
|
2022-04-22 21:18:56 +00:00
|
|
|
</div>
|
2022-04-22 21:42:16 +00:00
|
|
|
<span class="settingSubtitle" id="updateSubtitle">
|
2022-04-22 22:03:37 +00:00
|
|
|
Auto updating is temporarily disabled. Check GitHub for the newest release.
|
2022-04-22 21:18:56 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
2022-04-23 02:14:40 +00:00
|
|
|
<div class="settingsRow">
|
|
|
|
<div class="settingSection">
|
2022-04-23 04:57:02 +00:00
|
|
|
<span class="settingLabel", id="serverLaunchTitle">Enable Server Launcher</span>
|
2022-04-23 02:14:40 +00:00
|
|
|
<input type="checkbox" id="serverLaunchOption" onchange="toggleServerLaunchSection()" />
|
|
|
|
</div>
|
|
|
|
<span class="settingSubtitle" id="serverSubtitle">
|
|
|
|
Enable to server launcher tile for launcher a local Grasscutter instance.
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-04-23 05:10:09 +00:00
|
|
|
<div class="settingsRow">
|
|
|
|
<div class="settingSection">
|
|
|
|
<span class="settingLabel", id="languageTitle">Language</span>
|
|
|
|
<select id="languageSelect" onchange="handleLanguageChange(this)">
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<span class="settingSubtitle" id="languageSubtitle">
|
|
|
|
Select your language!
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-04-21 21:53:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-21 00:41:49 +00:00
|
|
|
<div id="controlBar">
|
2022-04-21 01:16:36 +00:00
|
|
|
<span id="titleSection">
|
|
|
|
GrassClipper
|
2022-04-22 04:35:02 +00:00
|
|
|
<span id="version">0.4.5</span>
|
2022-04-21 01:16:36 +00:00
|
|
|
</span>
|
2022-04-21 10:51:58 +00:00
|
|
|
<div id="settingsBtn" onclick="openSettings()">
|
|
|
|
<img src="icons/cog.svg" />
|
|
|
|
</div>
|
2022-04-21 00:44:17 +00:00
|
|
|
<div id="minBtn" onclick="minimizeWin()">
|
2022-04-21 00:41:49 +00:00
|
|
|
<img src="icons/min.svg" alt="Minimize" />
|
|
|
|
</div>
|
2022-04-21 00:44:17 +00:00
|
|
|
<div id="closeBtn" onclick="closeWin()">
|
2022-04-21 00:41:49 +00:00
|
|
|
<img src="icons/close.svg" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-22 22:34:24 +00:00
|
|
|
<div id="panelContainer">
|
|
|
|
<div id="firstPanel">
|
2022-04-21 01:41:18 +00:00
|
|
|
<button class="playBtn" id="playOfficial" onclick="launchOfficial()">Play Official</button>
|
2022-04-19 23:54:36 +00:00
|
|
|
</div>
|
2022-04-22 22:34:24 +00:00
|
|
|
<div id="secondPanel">
|
2022-04-21 06:04:20 +00:00
|
|
|
<div id="ipList" style="display: none;"></div>
|
2022-04-21 00:06:35 +00:00
|
|
|
<div id="secondControlContainer">
|
2022-04-21 05:26:25 +00:00
|
|
|
<div id="serverInput">
|
2022-04-21 05:43:32 +00:00
|
|
|
<input type="text" id="ip" placeholder="IP Address" oninput="handleFavoriteInput()"/>
|
|
|
|
<img src="icons/star_empty.svg" id="star" onclick="setFavorite()" />
|
2022-04-21 06:04:20 +00:00
|
|
|
<img src="icons/list.svg" id="star" onclick="handleFavoriteList()" />
|
2022-04-21 05:26:25 +00:00
|
|
|
</div>
|
2022-04-21 01:41:18 +00:00
|
|
|
<button class="playBtn" id="playPrivate" onclick="launchPrivate()">Play Private</button>
|
2022-04-21 00:06:35 +00:00
|
|
|
</div>
|
2022-04-20 00:07:56 +00:00
|
|
|
</div>
|
2022-04-23 02:14:40 +00:00
|
|
|
<div id="thirdPanel" style="display: none;">
|
2022-04-23 03:01:57 +00:00
|
|
|
<button class="playBtn" id="serverLaunch" onclick="launchLocalServer()">Launch Local Server</button>
|
2022-04-22 22:34:24 +00:00
|
|
|
</div>
|
2022-04-20 00:07:56 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="bottomBar">
|
|
|
|
<div class="bottomSection">
|
2022-04-23 02:30:44 +00:00
|
|
|
<div>
|
2022-04-23 04:57:02 +00:00
|
|
|
<button class="smolBtn" onclick="setGenshinImpactFolder()" id="genshinFolderSet">Set "Genshin Impact Game" folder</button>
|
2022-04-23 02:30:44 +00:00
|
|
|
<span id="genshinPath" style="margin-top: 4px;"></span>
|
|
|
|
</div>
|
2022-04-23 03:06:18 +00:00
|
|
|
<div style="display: none;">
|
2022-04-23 04:57:02 +00:00
|
|
|
<button class="smolBtn" onclick="setGrassCutterFolder()" id="grasscutterFileSet">Set "GrassCutter" .jar file</button>
|
2022-04-23 02:30:44 +00:00
|
|
|
<span id="serverPath" style="margin-top: 4px;"></span>
|
|
|
|
</div>
|
2022-04-19 23:54:36 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
2022-04-19 23:33:59 +00:00
|
|
|
</html>
|