Launch your Genshin Impact automatically when the scrren is while.
自动在您的屏幕偏白的时候启动原神。
forked from YinBuLiao/GenshinImpact_Start
Uses config.ini to make a personalize Genshin Impact launching style.
- pyparaser Read the configuration file
- pydub Music play module
- threading Multi-thread music play
Build scripts is not in Release. You should download the ZIP of the repo.
cd
to the program's folder.pip install -r install_requirements.py
cd
to where themain.py
in.pyinstaller main.py --icon=favicon.ico
- (If you want the program to be a single exe file)
pyinstaller --onefile main.py --upx-dir="Your path" --icon=favicon.ico
[launch]
readshortcut = false # Use the shortcut icon in desktop to detect Genshin Impact's path?
gamelocation = YuanShen.exe # If `readshortcut` is `false`, type your Genshin Impact executeable file's path here.
[check]
scaningscreendelay = 3 # Second(s). Scaning screen delay(Screenshot for checking the white percentage)
launchwhitepercentage = 90 # Recommended to test this before your showcase. It maybe > 100
[music]
playlaunchmusic = true # Play music while launching?
musicdelay = 3 # Set the music delay.(For slow devices)
launchmusicstyle = 3 # Music file name in `Music` folder. Default: 1. Shed a Light(Clip) 2. 门酱DDD's 原神启动(the program cover image) 3. Both
If you want to play music while launching, you should make sure the ffmpeg
is in your path
.
I recommended to run musicplayer.exe
just once before launching. Remember to set the musicDelay
value.
- Support Genshin Impact(Not YuanShen)
- Change the configuration file to
.toml
or.yml
not.ini
- Always running in background silently.
- Optimize the code.
Hello, I am Choneas. I am a little human. This program made in the summer hoilday of 2023 that before I walk into a scary place. Now I think I won't use Python for a while, I'm rushing into C++ and Javascript(Typescript TSX) now.
Did there someone read this?
Oh I think not.
A midnight of September 19 (2:13 AM)