For use with https://paimon.moe/wish/import
Steps:
- Run Genshin Impact in PlayCover
- Log in, open the Wish menu, open Wish History, and wait for the first page to load
- Open a terminal (such as Terminal.app or iTerm2)
- In the terminal, run the command
curl -s 'https://gist.githubusercontent.com/noxiousninja/2b0eb04c521d7e937f44db38f83733bf/raw/get-genshin-wish-link.sh' | zsh
The script is below, if you wish to review it before use. The URL in the command above is from the "Raw" link for the file, but modified to always go to the latest version.
Tested with:
- Genshin Impact 4.7
- America server account
- PlayCover nightly 765 (June 5, 2024)
- macOS 14.5
I think this is the code used for the importing: https://github.com/MadeBaruna/paimon-moe/blob/1d1a99c3923388a2eb47eda1145a6ba9617be406/src/routes/wish/import.svelte#L172C18-L384
It uses a server-side proxy to get around CORS, but all the logic seems to be client-side.
Genshin 4.7, America server:
https://gs.hoyoverse.com/genshin/event/e20190909gacha-v3/index.html?win_mode=fullscreen&authkey_ver=1&sign_type=2&auth_appid=webview_gacha&init_type=301&gacha_id=BLAHBLAH×tamp=1717544570&lang=en&device_type=mobile&game_version=OSRELiOS4.7.0_R23760009_S24199308_D24108674&plat_type=ios®ion=os_usa&authkey=BLAHBLAH&game_biz=hk4e_global