Scighost / Starward

Game Launcher for miHoYo - 米家游戏启动器
https://starward.scighost.com
MIT License
3.53k stars 164 forks source link

[Feature] Genshin Impact Convert Client #195

Closed prpjzz closed 1 year ago

prpjzz commented 1 year ago

Summary

According to my research, Genshin Impact Global and Chinese versions don't have much difference, especially in the StreamingAsset folder, game data of the two versions can be shared, so hopefully you can support this feature in the future.

Solution or Design

As some of the tools I used to know, like "Snap Hutao", you could use some way to back up old Genshin Impact Global files to some directory (e.g. Starward's folder) and then copy the files from the Chinese version. then interfere with the pkg_version file to change the MD5 code of the specified files or download a Chinese version of pkg_version file and copy it directly to the directory containing Genshin.

Scighost commented 1 year ago

Thanks for your suggestion. As you said, Genshin's files verification method does make switching between China and Global servers very easy. But I wouldn't use the backup file method because I can't be sure when a backed up file should be deleted. The exact implementation should be merged with the existing feature of repairing the game.

Scighost commented 1 year ago

Sorry, I forgot to reply.

This feature has been implemented in 0.8.4 Preview 1.

First, you should switch to another game region.

image

Locate the game folder and click Repair Game.

image

Wait for verifying and downloading.

image

When everything is done, the game client have been converted to the certain game region.

Each conversion requires to download approximately 0.7GB files. As I mentioned above, I have no way of knowing which files will be deleted after a version update, so not backing up any files is the better option.