mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-26 01:41:02 +00:00
76 lines
3.4 KiB
Markdown
76 lines
3.4 KiB
Markdown
# GrassClipper
|
|
Grasscutter launcher for easily switching between Official and Private servers
|
|
|
|
[Download Here!](https://github.com/Grasscutters/GrassClipper/releases/)
|
|
|
|
# Table of Contents
|
|
|
|
* [Setup (for users)](#setup-for-users)
|
|
* [Setup (for development)](#setup-for-development)
|
|
* [TODO](#todo)
|
|
* [Common Problems](#having-problems)
|
|
* [White Screen Fix](#white-screen-fix)
|
|
* [Broken Discord/Youtube](#my-discord-is-not-letting-me-send-messages-or-load-images-my-youtube-is-acting-strange)
|
|
* [No internet](#i-have-no-internet-after-closing-everything-restarting-my-pc)
|
|
* [Screenshots](#screenshots)
|
|
|
|
# Setup (for Users)
|
|
|
|
1. Download the zip file
|
|
2. Extract the zip file somewhere
|
|
3. Run `GrassClipper.exe`, install the proxy server, and set your `Genshin Impact Game` folder!
|
|
|
|
# Setup (for Development)
|
|
|
|
0. Clone the repository
|
|
1. Ensure you have [NodeJS](https://nodejs.org/en/download/) installed.
|
|
2. Install the `neu` CLI tool: `npm install -g @neutralinojs/neu`
|
|
3. Install the dependencies: `npm install` AND `neu update`
|
|
4. Compile and run:
|
|
* For testing: `npm run dev`
|
|
* For production: `npm run build`
|
|
|
|
# TODO
|
|
|
|
* Interface
|
|
* [x] UI
|
|
* [x] Official and Private options
|
|
* [x] Server IP input
|
|
* [x] Fun fancy CSS styling n stuff (CoD: MW 2019-style vertical menu for choosing between official and private servers? [See this](https://charlieintel.com/wp-content/uploads/2020/11/MW-new-menu.png))
|
|
* [ ] Custom images for private server sections (anyone is welcome to submit a pull request to add some!)
|
|
* [ ] Optional username/password creation for servers before entering (not implemented in GrassCutter yet)
|
|
* [x] Kill switch script (optional)
|
|
* [x] Automatically run `install.cmd` when opening for the first time
|
|
* [ ] Fix Windows scaling issues?
|
|
* Proxy service
|
|
* [x] Local proxy server
|
|
* [x] Intercept and modify GI requests like with Fiddler, allow anything else to pass through
|
|
* [ ] Fix Discord and YouTube issues when proxy is enabled (not sure what's up with them?)
|
|
|
|
# Having problems?
|
|
|
|
Below are some scenarios you may encounter and their solutions.
|
|
|
|
### White Screen Fix
|
|
|
|
Encountering a white screen? [Ensure WebView2 is installed](https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/#download)
|
|
|
|
### My Discord is not letting me send messages or load images/My Youtube is acting strange!
|
|
|
|
Discord/YouTube (plus surely some others) does not seem to be a fan of the proxy server. You may need to disable it by either closing mitmdump or by disabling your proxy in the Windows proxy settings.
|
|
|
|
### I have no internet after closing everything/restarting my PC!
|
|
|
|
The launcher most likely did not close correctly, and was unable to clean your proxy settings back to what they were. Disable your proxy in the Windows proxy settings.
|
|
|
|
# Screenshots
|
|
|
|
![image](https://user-images.githubusercontent.com/25207995/164574276-645548c2-7ba6-47c3-8df4-77082003648f.png)
|
|
![image](https://user-images.githubusercontent.com/25207995/164393190-f7e6633c-60bd-4186-bf0c-30d9f30871f4.png)
|
|
![image](https://user-images.githubusercontent.com/25207995/164393040-4da72f29-6d59-4af4-bd60-072269f2ba2a.png)
|
|
![image](https://user-images.githubusercontent.com/25207995/164393024-56543ddf-7063-4c04-9a9f-0c6238f30e90.png)
|
|
![image](https://user-images.githubusercontent.com/25207995/164393118-de844e75-f9a2-491a-aea6-f2d563abecc7.png)
|
|
![image](https://user-images.githubusercontent.com/25207995/164574339-50bbda5e-e25a-47c3-ae14-2b0b0b4ca92c.png)
|
|
|
|
|