Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Script to Import from Genshin Impact - Cloud Gacha Logs #595

Open
studiobutter opened this issue Oct 14, 2024 · 1 comment
Open

Add Script to Import from Genshin Impact - Cloud Gacha Logs #595

studiobutter opened this issue Oct 14, 2024 · 1 comment

Comments

@studiobutter
Copy link

studiobutter commented Oct 14, 2024

Script (Type:PowerShell):

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex "&{$((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/StudioButter/ace96d07f7593e8ba4bf06f29d340836/raw/gacha_cloud.ps1'))}"

The code: https://gist.github.com/studiobutter/ace96d07f7593e8ba4bf06f29d340836
Contribution is welcome in the comments.

How it works:

  • The User must open the Gacha Page before hand
  • When run, user will be asked to choose which region to get Gacha Log Link
  • The Script will then access MiHoYoSDK.log which will have the Gacha Log URL in the log file.

The SDK log file is locate in %localappdata%\HoYoverse\GenshinImpactCloudGame\config\logs\ for Global region or %localappdata%\miHoYo\GenshinImpactCloudGame\config\logs\ for China region.

Currently I have test this and it work for the Global region, but due the region restrictions, I need someone to help with the Chinese Region.
The Script works for both region of Genshin using the official launcher

Official Launcher for Genshin - Cloud CN: https://ys.mihoyo.com/cloud/#/download
Official Launcher for Genshin - Cloud Global: https://cloudgenshin.hoyoverse.com

@studiobutter studiobutter changed the title [Require Testing] Add Script to Import from Genshin Impact - Cloud Gacha Logs Add Script to Import from Genshin Impact - Cloud Gacha Logs Oct 14, 2024
@studiobutter
Copy link
Author

Video Demo

trim.1F0323EC-17EA-4FFB-ABC3-01976AE490F8.MOV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant