From 6682ee35c887d1a169d9510b26b1e0c22c029850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=B3=E5=B0=BC=E7=89=B9=7CLynetteNotFound?= <159673876+LynetteNotFound@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:01:05 +0800 Subject: [PATCH] Publish Since V2.111.2 Stable. Support ZZZ CN/OS 1.0 REL Client. Separate the general injection function of the CB client before the public beta and the general injection function of the public beta client. --- HoYoShade Starter.bat | 294 +++++++++++++++++ ...7\346\263\250\345\205\245\345\231\250.bat" | 295 ++++++++++++++++++ ...7\346\263\250\345\205\245\345\231\250.bat" | 295 ++++++++++++++++++ 3 files changed, 884 insertions(+) create mode 100644 HoYoShade Starter.bat create mode 100644 "\347\256\200\344\275\223\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" create mode 100644 "\347\271\201\351\253\224\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" diff --git a/HoYoShade Starter.bat b/HoYoShade Starter.bat new file mode 100644 index 0000000..c4d79ad --- /dev/null +++ b/HoYoShade Starter.bat @@ -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.111.2 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.111.2 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.111.2 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.111.2 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.111.2 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.111.2 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 ——哆啦D夢DuolaD[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.111.2 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.111.2 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 +) \ No newline at end of file diff --git "a/\347\256\200\344\275\223\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" "b/\347\256\200\344\275\223\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" new file mode 100644 index 0000000..fafadae --- /dev/null +++ "b/\347\256\200\344\275\223\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" @@ -0,0 +1,295 @@ +@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 欢迎使用HoYoShade启动器! + echo\ + echo 模组版本:V2.111.2 Stable + echo 开发者:DuolaDStudio X 阿向菌AXBro X Ex_M + echo\ + echo 我们检测到你是第一次使用本模组,Reshade.ini现已生成至模组根目录中。 + echo 你需要将Reshade.ini复制到游戏进程根目录,然后才能使用本模组。 + echo\ + echo 如何找到游戏进程根目录? + echo 对于HoYoPlay(米哈游启动器):点击开始启动按钮旁边的更多图标-游戏设置即可查看游戏进程根目录。 + echo 点击'打开所在目录'即可使用资源管理器打开游戏进程根目录。 + echo\ + echo 对于StarWard:点击开始启动按钮旁边的齿轮图标即可查看游戏进程根目录。 + echo 点击游戏进程根目录即可使用资源管理器打开游戏进程根目录。 + echo\ + echo 仍然不懂如何操作?你可以在模组根目录/Tutorial文件夹中查看用户协议和图文安装说明。 + echo\ + pause + goto menu +) + +:menu +title HoYoShade Starter +cls +echo 欢迎使用HoYoShade启动器! +echo\ +echo 模组版本:V2.111.2 Stable +echo 开发者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 请注意,你需要将Reshade.ini复制到游戏进程根目录,然后才能使用本模组。 +echo\ +echo 本模组仅用于游戏画面调色使用,请遵守本Mod的用户协议和游戏及其开发/发行商相关条例。 +echo 你可以在模组根目录/Tutorial文件夹中查看用户协议和图文安装说明。 +echo 使用模组拍摄素材发布视频时,请备注:"该视频由GitHub@DuolaD/HoYoShade提供渲染支持"。 +echo 如因特殊原因无法备注,请通过"其它选项"中的联系方式联系开发者进行说明。 +echo\ +echo [1]重置模组根目录中的ReShade.ini +echo [2]注入至原神(中国大陆/哔哩哔哩客户端) +echo [3]注入至原神(国际客户端/Epic客户端) +echo [4]注入至崩坏三(通用客户端) +echo [5]注入至崩坏:星穹铁道(通用客户端) +echo [6]注入至绝区零(通用公测客户端) +echo [7]注入至绝区零(通用公测前内测客户端) +echo [8]其它选项 +echo [9]退出程序 + +echo\ +set /p "content=在此输入选项前面的数字:" + +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 输入错误。 + timeout /t 2 + goto menu + ) +exit + +:other +title HoYoShade Starter +cls +echo 欢迎使用HoYoShade启动器! +echo\ +echo 模组版本:V2.111.2 Stable +echo 开发者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 如果你需要检查版本更新,可以去访问我们的仓库查看是否有发行更新版本 +echo 注意!开发者选项仅用于调试/检测错误需要。除非开发者明确要求你这样做,或者你很清楚知道自己在做什么,否则请勿轻易使用! +echo\ +echo 注:CYteam下载站除了提供本模组的镜像下载之外,还在中国大陆地区提供免费的国际服原神/崩铁/HoYoLAB安装包和私服资源。 +echo 除此之外,CYteam还提供一些安卓的搞机资源。感兴趣的可以去看一看~ +echo 感谢CYteam提供的下载站服务 +echo\ +echo [1]访问我们的GitHub仓库 +echo [2]访问由CYteam提供的下载站服务 +echo [3]赞助本Mod +echo [4]联系我们 +echo [5]关于HoYoShade +echo [6]开发者选项 +echo [7]返回主界面 +echo [8]退出程序 + +echo\ +set /p "content=在此输入选项前面的数字:" + +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.Chinese_Simplified.md#%E3%80%A2-%E8%B5%9E%E5%8A%A9" + goto other +) else if "%content%" == "4" ( + start "" "https://github.com/DuolaD/HoYoShade/blob/V2.X.X-Stable/Readme.Chinese_Simplified.md#%E3%80%A2-%E8%81%94%E7%B3%BB%E6%88%91" + 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 输入错误。 + timeout /t 2 + goto other +) +goto other + +:develop +title HoYoShade Starter(你已进入开发者选项!!!) +cls +echo 欢迎使用HoYoShade启动器! +echo\ +echo 模组版本:V2.111.2 Stable +echo 开发者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 注意!开发者选项仅用于调试/检测错误需要。除非开发者明确要求你这样做,或者你很清楚知道自己在做什么,否则请勿轻易使用! +echo\ +echo [1]自定义注入 +echo [2]返回主界面 +echo [3]返回其它选项 +echo [4]退出程序 + +echo\ +set /p "content=在此输入选项前面的数字:" + +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 输入错误。 + timeout /t 2 + goto develop +) +goto develop@echo off + +:customize_inject +title HoYoShade Starter(你已进入自定义注入界面!!!) +cls +echo 欢迎使用HoYoShade启动器! +echo\ +echo 模组版本:V2.111.2 Stable +echo 开发者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 注意!此功能仅供开发者测试新游戏使用。这意味着可能会存在未知风险/Bug。 +echo 除非开发者明确要求你这样做,或者你很清楚知道自己在做什么,否则请不要擅自使用此功能注入Reshade至其它游戏内。 +echo\ +echo 使用方法:输入目标程序文件名即可,无需添加'.exe'后缀,按回车确定。 +echo 等待注入窗口界面弹出后启动目标程序即可。 +echo 输入'\exit'即可返回开发界面。 +echo\ +set /p "content=在此输入:" +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 使ReShade支持米哈游旗下所有可在PC端运行的游戏。 +echo 然后,彼此成就,彼此闪耀。 +echo\ +echo DuolaDStudio X 阿向菌AXBro x Ex_M +echo 联合巨献 +echo\ +echo 模组版本:V2.111.2 Stable +echo\ +echo HoYoShade基于ReShade官方插件和OpenHoYoShade框架二次开发,除效果库/预设之外的所有文件均遵守BSL-3开源协议在GitHub上开源。 +echo 你可以在Reshade.me网站中查看ReShade官方资讯。 +echo Modify By DuolaDStudio Hong Kong Ltd,All rights reserved. +echo\ +echo 请注意:HoYoShade为免费开源Mod,ReShade为免费开源插件,OpenHoYoShade为免费开源框架。 +echo 所有源码都可以在GitHub上获取,如果你是付费购买了未经修改/二次开发的(Open)HoYoShade +echo 请立即退款!商家行为和所有开发者无关! +echo\ +echo 详细开发名单: +echo -DuolaDStudio Hong Kong Ltd. +echo ——哆啦D梦DuolaD[RE适配/大版本更新开发/启动器/预设] +echo ——琳妮特LynetteNotFound[HoYoShade小版本更新开发/维护] +echo -Ex_M[技术支持/指导/GUI制作] +echo -阿向菌AXBro[宣传/面向技术支持] +echo\ +echo 鸣谢: +echo -CYTeam[HoYoShade合作伙伴/微软企业储存计划提供/动态转静态链接解决方案] +echo -Cloudflare, Inc.[域名托管与管理] +echo\ +echo 感谢有你!HoYoShade明天会更好! +pause +goto other + +:ini_Reset +title HoYoShade Starter +cls +echo 欢迎使用HoYoShade启动器! +echo\ +echo 模组版本:V2.111.2 Stable +echo 开发者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 请注意:你只需要在模组目录移动后才需要重置ReShade.ini +echo 除此之外,一般情况下你都不需要进行重置操作。 +echo\ +echo 重置完毕后,你需要重新复制ReShade.ini至游戏进程根目录 +echo 是否继续重置操作? +echo\ +echo [1]是 +echo [2]否(返回启动器主菜单) +echo\ +set /p "content=在此输入选项前面的数字:" + +if "%content%" == "1" ( + start "" /wait ".\InjectResource\INIBuild.exe" + start "" "convert_encoding.bat" + :File_Reset + cls + echo 欢迎使用HoYoShade启动器! + echo\ + echo 模组版本:V2.111.2 Stable + echo 开发者:DuolaDStudio X 阿向菌AXBro X Ex_M + echo\ + echo 重置成功!重置后的ReShade.ini现已替换模组根目录中的旧版ReShade.ini。 + echo 你需要将重置后的ReShade.ini替换游戏进程根目录原有的ReShade.ini,然后才能使用本模组。 + echo\ + echo 如何找到游戏进程根目录? + echo 对于HoYoPlay(米哈游启动器):点击开始启动按钮旁边的更多图标-游戏设置即可查看游戏进程根目录。 + echo 点击'打开所在目录'即可使用资源管理器打开游戏进程根目录。 + echo\ + echo 对于StarWard:点击开始启动按钮旁边的齿轮图标即可查看游戏进程根目录。 + echo 点击游戏进程根目录即可使用资源管理器打开游戏进程根目录。 + echo\ + echo 仍然不懂如何操作?你可以在模组根目录/Tutorial文件夹中查看用户协议和图文安装说明。 + echo\ + pause + goto menu +) else if "%content%" == "2" ( + goto menu +) else ( + echo\ + echo 输入错误。 + timeout /t 2 + goto ini_Reset +) \ No newline at end of file diff --git "a/\347\271\201\351\253\224\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" "b/\347\271\201\351\253\224\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" new file mode 100644 index 0000000..5e5598a --- /dev/null +++ "b/\347\271\201\351\253\224\344\270\255\346\226\207\346\263\250\345\205\245\345\231\250.bat" @@ -0,0 +1,295 @@ +@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 歡迎使用HoYoShade啓動器! + echo\ + echo 模組版本:V2.111.2 Stable + echo 開發者:DuolaDStudio X 阿向菌AXBro X Ex_M + echo\ + echo 我們檢測到你是第一次使用本模組,Reshade.ini現已生成至模組根目錄中。 + echo 你需要將Reshade.ini複製到遊戲進程根目錄,然後才能使用本模組。 + echo\ + echo 如何找到遊戲進程根目錄? + echo 對於HoYoPlay(米哈遊啟動器):點擊開始啟動按鈕旁的更多圖標-遊戲設定即可查看遊戲進程根目錄。 + echo 點選'開啟所在目錄'即可使用資源管理器開啟遊戲進程根目錄。 + echo\ + echo 對於StarWard:點擊開始啟動按鈕旁的齒輪圖標即可查看遊戲進程根目錄。 + echo 點選遊戲進程根目錄即可使用資源管理器開啟遊戲進程根目錄。 + echo\ + echo 仍然不懂如何操作?你可以在模組根目錄/Tutorial資料夾中查看用戶協議和圖文安裝說明。 + echo\ + pause + goto menu +) + +:menu +title HoYoShade Starter +cls +echo 歡迎使用HoYoShade啓動器! +echo\ +echo 模組版本:V2.111.2 Stable +echo 開發者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 請注意,你需要將Reshade.ini複製到遊戲進程根目錄,然後才能使用本模組。 +echo\ +echo 本模組僅用於遊戲畫面調色使用,請遵守本Mod的用戶協議及遊戲及其開發/發行商相關條例。 +echo 你可以在模組根目錄/Tutorial資料夾中查看使用者協定和圖文安裝說明。 +echo 使用模組拍攝素材發佈視頻時,請備註:"該視頻由GitHub@DuolaD/HoYoShade提供渲染支持"。 +echo 如因特殊原因無法備註,請通過"其它選項"中的聯繫方式聯繫開發者進行說明。 +echo\ +echo [1]重置模組根目錄中的ReShade.ini +echo [2]注入至原神(中國大陸服/嗶哩嗶哩服客戶端) +echo [3]注入至原神(國際服客戶端/Epic客戶端) +echo [4]注入至崩壞三(通用客戶端) +echo [5]注入至崩壞:星穹鐵道(通用客戶端) +echo [6]注入至絕區零(通用公測客戶端) +echo [7]注入至絕區零(通用公測前內測客戶端) +echo [7]其它選項 +echo [8]退出程序 + +echo\ +set /p "content=在此輸入選項前面的數字:" + +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 輸入錯誤。 + timeout /t 2 + goto menu + ) +exit + +:other +title HoYoShade Starter +cls +echo 歡迎使用HoYoShade啓動器! +echo\ +echo 模組版本:V2.111.2 Stable +echo 開發者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 如果你需要檢查版本更新,可以去訪問我們的倉庫查看是否有發行更新版本 +echo 注意!開發者選項僅用於調試/檢測錯誤需求。除非開發者明確要求你這樣做,或者你很清楚知道自己在做什麼,否則請勿輕易使用! +echo\ +echo 註:CYteam下載站除了提供本模組的鏡像下載之外,還在中國大陸地區提供免費的國際服原神/崩鐵/HoYoLAB安裝包和私服資源。 +echo 除此之外,CYteam也提供一些安卓的搞機資源。有興趣的可以去看一看~ +echo 感謝CYteam提供的下載站服務 +echo\ +echo [1]訪問我們的GitHub倉庫 +echo [2]訪問由CYteam提供的下載站服務 +echo [3]贊助本Mod +echo [4]聯係我們 +echo [5]關於HoYoShade +echo [6]開發者選項 +echo [7]返回主介面 +echo [8]退出程序 + +echo\ +set /p "content=在此輸入選項前面的數字:" + +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.Chinese_Traditional.md#%E3%80%A2-%E8%B4%8A%E5%8A%A9" + goto other +) else if "%content%" == "4" ( + start "" "https://github.com/DuolaD/HoYoShade/blob/V2.X.X-Stable/Readme.Chinese_Traditional.md#%E3%80%A2-%E8%81%AF%E7%B9%AB%E6%88%91" + 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 輸入錯誤。 + timeout /t 2 + goto other +) +goto other + +:develop +title HoYoShade Starter(你已進入開發者選項!!!) +cls +echo 歡迎使用HoYoShade啓動器! +echo\ +echo 模組版本:V2.111.2 Stable +echo 開發者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 注意!開發者選項僅用於調試/檢測錯誤需求。除非開發者明確要求你這樣做,或者你很清楚知道自己在做什麼,否則請勿輕易使用! +echo\ +echo [1]自定義注入 +echo [2]返回主界面 +echo [3]返回其它選項 +echo [4]退出程序 + +echo\ +set /p "content=在此輸入選項前面的數字:" + +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 輸入錯誤。 + timeout /t 2 + goto develop +) +goto develop@echo off + +:customize_inject +title HoYoShade Starter(你已進入自定義注入界面!!!) +cls +echo 歡迎使用HoYoShade啓動器! +echo\ +echo 模組版本:V2.111.2 Stable +echo 開發者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 注意!此功能僅供開發者測試新遊戲使用。這意味着可能會存在未知風險/Bug。 +echo 除非開發者明確要求你這樣做,或者你很清楚知道自己在做什麼,否則請不要擅自使用此功能注入Reshade至其它遊戲內。 +echo\ +echo 使用方法:輸入目標程序文件名即可,無需添加'.exe'後綴,按回車確定。 +echo 等待注入窗口界面彈出後啓動目標程序即可。 +echo 輸入'\exit'即可返回開發界面。 +echo\ +set /p "content=在此輸入:" +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 使ReShade支持米哈遊旗下所有可在PC端運行的遊戲。 +echo 然後,彼此成就,彼此閃耀。 +echo\ +echo DuolaDStudio X 阿向菌AXBro x Ex_M +echo 聯合鉅獻 +echo\ +echo 模組版本:V2.111.2 Stable +echo\ +echo HoYoShade基於ReShade官方組件和OpenHoYoShade框架二次開發,除效果庫/預設之外的所有文件均遵守BSL-3開源協定在GitHub上開源。 +echo 你可以在Reshade.me網站中查看ReShade官方資訊。 +echo Modify By DuolaDStudio Hong Kong Ltd,All rights reserved. +echo\ +echo 請注意:HoYoShade爲免費開源Mod,ReShade爲免費開源插件,OpenHoYoShade爲免費開源框架。 +echo 所有原始碼都可以在GitHub上獲取,如果你是付費購買了未經修改/二次開發的(Open)HoYoShade +echo 請立即退款!商家行爲和所有開發者無關! +echo\ +echo 詳細開發名單: +echo -DuolaDStudio Hong Kong Ltd. +echo ——哆啦D夢DuolaD[RE適配/大版本更新開發/啓動器/預設] +echo ——琳妮特LynetteNotFound[HoYoShade小版本更新開發/維護] +echo -Ex_M[技術支援/指導/GUI製作] +echo -阿向菌AXBro[宣傳/面向技術支持] +echo\ +echo 鳴謝: +echo -CYTeam[HoYoShade合作伙伴/微軟企業儲存計劃提供/動態轉靜態連結解決方案] +echo -Cloudflare, Inc.[網域託管與管理] +echo\ +echo 感謝有你!HoYoShade明天會更好! +pause +goto other + +:ini_Reset +title HoYoShade Starter +cls +echo 歡迎使用HoYoShade啓動器! +echo\ +echo 模組版本:V2.111.2 Stable +echo 開發者:DuolaDStudio X 阿向菌AXBro X Ex_M +echo\ +echo 請注意:你只需要在模組目錄移動後才需要重置ReShade.ini +echo 除此之外,一般情況下你都不需要進行重置操作。 +echo\ +echo 重置完畢後,你需要重新複製ReShade.ini至遊戲進程根目錄 +echo 是否繼續重置操作? +echo\ +echo [1]是 +echo [2]否(返回啓動器主菜單) +echo\ +set /p "content=在此輸入選項前面的數字:" + +if "%content%" == "1" ( + start "" /wait ".\InjectResource\INIBuild.exe" + start "" "convert_encoding.bat" + :File_Reset + cls + echo 歡迎使用HoYoShade啓動器! + echo\ + echo 模組版本:V2.111.2 Stable + echo 開發者:DuolaDStudio X 阿向菌AXBro X Ex_M + echo\ + echo 重置成功!重置後的ReShade.ini現已替換模組根目錄中的舊版ReShade.ini。 + echo 你需要將重置後的ReShade.ini替換遊戲進程根目錄原有的ReShade.ini,然後才能使用本模組。 + echo\ + echo 如何找到遊戲進程根目錄? + echo 對於HoYoPlay(米哈遊啟動器):點擊開始啟動按鈕旁的更多圖標-遊戲設定即可查看遊戲進程根目錄。 + echo 點選'開啟所在目錄'即可使用資源管理器開啟遊戲進程根目錄。 + echo\ + echo 對於StarWard:點擊開始啟動按鈕旁的齒輪圖標即可查看遊戲進程根目錄。 + echo 點選遊戲進程根目錄即可使用資源管理器開啟遊戲進程根目錄。 + echo\ + echo 仍然不懂如何操作?你可以在模組根目錄/Tutorial資料夾中查看用戶協議和圖文安裝說明。 + echo\ + pause + goto menu +) else if "%content%" == "2" ( + goto menu +) else ( + echo\ + echo 輸入錯誤。 + timeout /t 2 + goto ini_Reset +) \ No newline at end of file