-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d165ef3
commit f029609
Showing
3 changed files
with
884 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,294 @@ | ||
@echo off | ||
|
||
chcp 936 | ||
|
||
title HoYoShade Starter | ||
cls | ||
|
||
set "filepath=%~dp0Reshade.ini" | ||
|
||
if exist "%filepath%" ( | ||
goto menu | ||
) else ( | ||
cls | ||
start "" /wait ".\InjectResource\INIBuild.exe" | ||
start "" "convert_encoding.bat" | ||
:FileCheck | ||
cls | ||
echo Welcome to use HoYoShade starter! | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo Developer:DuolaDStudio X 각蕨었AXBro X Ex_M | ||
echo\ | ||
echo We have detected that this is your first time using this mod. Reshade.ini has been generated in the root directory of the mod. | ||
echo You need to copy Reshade.ini to the root directory of the game process before you can use this mod. | ||
echo\ | ||
echo How to find the root directory of the game process? | ||
echo For HoYoPlay (HoYoVerse official new launcher): | ||
echo Click the "More" icon next to the Start button - Game Settings to view the root directory of the game process. | ||
echo Click 'Open Directory' to open the root directory of the game process using the file explorer. | ||
echo\ | ||
echo For StarWard: Click the gear icon next to the Start button to view the root directory of the game process. | ||
echo Click the game process root directory to open it using the file explorer. | ||
echo\ | ||
echo Still not sure how to proceed? | ||
echo You can check the user agreement and illustrated installation guide in the 'Tutorial' folder within the root directory of the mod. | ||
echo\ | ||
pause | ||
goto menu | ||
) | ||
|
||
:menu | ||
title HoYoShade Starter | ||
cls | ||
echo Welcome to use HoYoShade starter! | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo Developer:DuolaDStudio X 각蕨었AXBro X Ex_M | ||
echo\ | ||
echo Please note that you need to copy Reshade.ini to the root directory of the game process before you can use this mod. | ||
echo\ | ||
echo This mod is only for color grading in-game scenes. | ||
echo Please comply with the user agreement of this Mod and the relevant regulations of the game and its developers/publishers. | ||
echo You can check the user agreement and illustrated installation guide in the Tutorial folder located in the mod root directory. | ||
echo When publishing videos using the mod to shoot footage, please note: "This video is rendered with support from GitHub@DuolaD/HoYoShade." | ||
echo If you are unable to add the note due to special reasons, | ||
echo please contact the developer through the contact information in the "Other Options" section for an explanation. | ||
echo\ | ||
echo [1]Reset the ReShade.ini in the mod's root directory. | ||
echo [2]Inject into Genshin Impact (CN/BiliBil Server) | ||
echo [3]Inject into Genshin Impact (Global Server/Epic Games Store Version) | ||
echo [4]Inject into Honkai Impact 3 (Universal) | ||
echo [5]Inject into Honkai: Star Rail (Universal) | ||
echo [6]Inject into Zenless Zone Zero (Universal Public Beta Client) | ||
echo [7]Inject into Zenless Zone Zero (Universal CB Client Before Public Beta) | ||
echo [8]Other options | ||
echo [9]Exit | ||
|
||
echo\ | ||
set /p "content=Type the number here:" | ||
|
||
if "%content%" == "1" ( | ||
goto ini_Reset | ||
) else if "%content%" == "2" ( | ||
powershell -command Start-Process -FilePath inject.exe YuanShen.exe -Verb RunAs | ||
exit | ||
) else if "%content%" == "3" ( | ||
powershell -command Start-Process -FilePath inject.exe GenshinImpact.exe -Verb RunAs | ||
exit | ||
) else if "%content%" == "4" ( | ||
powershell -command Start-Process -FilePath inject.exe BH3.exe -Verb RunAs | ||
exit | ||
) else if "%content%" == "5" ( | ||
powershell -command Start-Process -FilePath inject.exe StarRail.exe -Verb RunAs | ||
exit | ||
) else if "%content%" == "6" ( | ||
powershell -command Start-Process -FilePath inject.exe ZenlessZoneZero.exe -Verb RunAs | ||
) else if "%content%" == "7" ( | ||
powershell -command Start-Process -FilePath inject.exe ZZZ.exe -Verb RunAs | ||
) else if "%content%" == "8" ( | ||
goto other | ||
) else if "%content%" == "9" ( | ||
exit | ||
) else ( | ||
echo\ | ||
echo Input error. | ||
timeout /t 2 | ||
goto menu | ||
) | ||
exit | ||
|
||
:other | ||
title HoYoShade Starter | ||
cls | ||
echo Welcome to use HoYoShade starter! | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo Developer:DuolaDStudio X 각蕨었AXBro X Ex_M | ||
echo\ | ||
echo If you need to check for version updates, you can visit our repository to see if there are any new released versions. | ||
echo Note! Developer options are only for debugging/error checking purposes. | ||
echo Unless developers explicitly ask you to do so, or you are very clear about what you are doing, please do not use it lightly! | ||
echo\ | ||
echo Note: CYteam Download Station provides free installation packages for the international version of Genshin Impact/Honkai: Star Rail/HoYoLAB and private server resources in mainland China. | ||
echo Thanks to CYteam for providing the download station service. | ||
echo\ | ||
echo [1]Visit our repository on GitHub | ||
echo [2]Visit the download station service provided by CYteam | ||
echo [3]Sponsor this project | ||
echo [4]Contact us | ||
echo [5]About HoYoShade | ||
echo [6]developer options | ||
echo [7]Back to menu | ||
echo [8]Exit | ||
|
||
echo\ | ||
set /p "content=Type the number here:" | ||
|
||
if "%content%" == "1" ( | ||
start "" "https://github.com/DuolaD/HoYoShade/" | ||
goto other | ||
) else if "%content%" == "2" ( | ||
start "" "https://d.cyteam.cn/" | ||
goto other | ||
) else if "%content%" == "3" ( | ||
start "" "https://github.com/DuolaD/HoYoShade/blob/V2.X.X-Stable/Readme.md#%E3%80%A2-Donate" | ||
goto other | ||
) else if "%content%" == "4" ( | ||
start "" "https://github.com/DuolaD/HoYoShade/blob/V2.X.X-Stable/Readme.md#%E3%80%A2-Contant-Me" | ||
goto other | ||
) else if "%content%" == "5" ( | ||
goto about_HoYoShade | ||
) else if "%content%" == "6" ( | ||
goto develop | ||
) else if "%content%" == "7" ( | ||
goto menu | ||
) else if "%content%" == "8" ( | ||
exit | ||
) else ( | ||
echo\ | ||
echo Input error. | ||
timeout /t 2 | ||
goto other | ||
) | ||
goto other | ||
|
||
:develop | ||
title HoYoShade Starter (You have entered developer options!!!) | ||
cls | ||
echo Welcome to use HoYoShade starter! | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo Developer:DuolaDStudio X 각蕨었AXBro X Ex_M | ||
echo\ | ||
echo Note! Developer options are only for debugging/error checking purposes. | ||
echo Unless developers explicitly ask you to do so, or you are very clear about what you are doing, please do not use it lightly! | ||
echo\ | ||
echo [1]Custom injection. | ||
echo [2]Back to menu | ||
echo [3]Back to Other options pages | ||
echo [4]Exit | ||
|
||
echo\ | ||
set /p "content=Type the number here:" | ||
|
||
if "%content%" == "1" ( | ||
goto customize_inject | ||
) else if "%content%" == "2" ( | ||
goto menu | ||
) else if "%content%" == "3" ( | ||
goto other | ||
) else if "%content%" == "4" ( | ||
exit | ||
) else ( | ||
echo\ | ||
echo Input error. | ||
timeout /t 2 | ||
goto develop | ||
) | ||
goto develop@echo off | ||
|
||
:customize_inject | ||
title HoYoShade Starter(You have entered the custom injection interface!!!) | ||
cls | ||
echo Welcome to use HoYoShade starter! | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo Developer:DuolaDStudio X 각蕨었AXBro X Ex_M | ||
echo\ | ||
echo Note! This function is only for developers to test new games. This means there may be unknown risks/Bugs. | ||
echo Unless developers explicitly ask you to do so, or you are very clear about what you are doing, | ||
echo please do not inject Reshade into other games without authorization. | ||
echo\ | ||
echo Usage: Simply enter the target program file name, without adding the '.exe' extension, and press Enter to confirm. | ||
echo Wait for the injection window interface to pop up, then start the target program. | ||
echo Enter '\exit' to return to the development interface. | ||
echo\ | ||
set /p "content=Type here:" | ||
if "%content%" == "\exit" ( | ||
goto develop | ||
) else ( | ||
powershell -command Start-Process -FilePath inject.exe %content%.exe -Verb RunAs | ||
exit | ||
) | ||
|
||
:about_HoYoShade | ||
title HoYoShade | ||
cls | ||
echo HoYoShade | ||
echo HoYo it,Great it. | ||
echo\ | ||
echo DuolaDStudio X 각蕨었AXBro x Ex_M | ||
echo Joint contributions. | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo\ | ||
echo HoYoShade is based on the official ReShade plugins and the OpenHoYoShade framework for secondary development. | ||
echo All files except for effect libraries/presets are open-sourced on GitHub under the BSL-3 open-source license. | ||
echo Modify By DuolaDStudio Hong Kong Ltd,All rights reserved. | ||
echo\ | ||
echo Please note: HoYoShade is a free open-source mod, ReShade is a free open-source plugin, and OpenHoYoShade is a free open-source framework. | ||
echo All source code can be obtained on GitHub. If you have purchased (Open)HoYoShade without modifications/secondary development, | ||
echo please request a refund immediately! The actions of the merchants are unrelated to all developers! | ||
echo\ | ||
echo Developer list: | ||
echo -DuolaDStudio Hong Kong Ltd. | ||
echo ――뜨율DDuolaD[RE adaptation/major version update development/launcher/presets] | ||
echo ――죵콜景LynetteNotFound[HoYoShade minor version update development/maintenance.] | ||
echo Ex_M[Technical support/guidance/GUI develop] | ||
echo 각蕨었AXBro[Promotion/technical support-oriented] | ||
echo\ | ||
echo Thanks: | ||
echo -CYTeam[HoYoShade partners/Microsoft enterprise storage plan provision/dynamic to static linking solutions] | ||
echo -Cloudflare, Inc.[Domain hosting and management] | ||
echo\ | ||
echo Thank you for having you! HoYoShade will be even better tomorrow! | ||
pause | ||
goto other | ||
|
||
:ini_Reset | ||
title HoYoShade Starter | ||
cls | ||
echo Welcome to use HoYoShade starter! | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo Developer:DuolaDStudio X 각蕨었AXBro X Ex_M | ||
echo\ | ||
echo Please note: You only need to reset the ReShade.ini after moving the mod directory. | ||
echo In general, you do not need to perform a reset operation. | ||
echo\ | ||
echo After resetting, you need to recopy the ReShade.ini to the root directory of the game process. | ||
echo Do you want to continue with the reset operation? | ||
echo\ | ||
echo [1]Yes | ||
echo [2]No(Back to menu) | ||
echo\ | ||
set /p "content=Type the number here:" | ||
|
||
if "%content%" == "1" ( | ||
start "" /wait ".\InjectResource\INIBuild.exe" | ||
start "" "convert_encoding.bat" | ||
:File_Reset | ||
cls | ||
echo Welcome to use HoYoShade starter! | ||
echo\ | ||
echo Mod Version:V2.2.0 Stable | ||
echo Developer:DuolaDStudio X 각蕨었AXBro X Ex_M | ||
echo\ | ||
echo Reset successful! The replaced ReShade.ini after the reset is now in the mod's root directory, replacing the old version of ReShade.ini. | ||
echo You need to replace the ReShade.ini in the game process root directory with the reset ReShade.ini in order to use this mod. | ||
echo\ | ||
echo How to find the root directory of the game process? | ||
echo For HoYoPlay (HoYoVerse official new launcher): | ||
echo Click the "More" icon next to the Start button - Game Settings to view the root directory of the game process. | ||
echo Click 'Open Directory' to open the root directory of the game process using the file explorer. | ||
echo\ | ||
echo For StarWard: Click the gear icon next to the Start button to view the root directory of the game process. | ||
echo Click the game process root directory to open it using the file explorer. | ||
echo\ | ||
echo Still not sure how to proceed? | ||
echo You can check the user agreement and illustrated installation guide in the 'Tutorial' folder within the root directory of the mod. | ||
echo\ | ||
pause | ||
goto menu | ||
) |
Oops, something went wrong.