mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
* update * win10 uninstall * add notes about root * format * modify * update * Update FAQ.md * Update navbar * Update docs * Update Gacha-system-and-export-principal.md * correct * update * disambig * update * add warning for auto-start (need re-update) * update * add a tabular for showing differences in each way for sync * center tabular * switch to md format * update vs * add some * RE-update tabualr * update * correct * update * move web login to the end * Update game-launcher.md * Update docs * Update character-data.md --------- Co-authored-by: LinkChou <linkchou@yandex.com> Co-authored-by: Masterain <i@irain.in>
2.6 KiB
2.6 KiB
category, icon, order, comment, description, banner
| category | icon | order | comment | description | banner | ||
|---|---|---|---|---|---|---|---|
|
iconfont icon-read | 7 | false | There are some third-party tools that can help you obtain the cookie from the miHoYo community with the Stoken field value and use it for Snap Hutao. | https://opengraph.snapgenshin.cn/generate?url=https://hut.ao/en/advanced/get-stoken-cookie-from-the-third-party.html&has_description=False |
Obtaining Stoken-containing Cookies Using Third-Party Tools
::: warning
- The software, open-source projects, and resources mentioned in the following steps are sourced from the internet and are not affiliated with DGP-Studio.
- This documentation provides solutions for educational purposes only. Specific operations and their consequences are not associated with this project.
:::
Android
Android users can utilize the open-source project GetToken to acquire cookies containing the Stoken field.
::: tip GetToken Open-Source Project
- GitHub: HolographicHat/GetToken
:::
- The GetToken project's release includes two APK files, both ultimately achieving the same outcome. Choose the version suitable for your device:
app-release.apkis an LSPosed plugin that enables users to use GetToken functionality within the official miHoYo community app.- APK files ending with
lspatchedare modified versions of the miHoYo community app with GetToken functionality included.- You'll need to uninstall the official miHoYo app to install this version.
- After enabling the plugin or installing the modified miHoYo app, open the miHoYo app, click "Me" at the bottom, and log in to your account.
- Click 🔑 icon in the top right corner.
- Check the
Stokenoption. - Click
Copy Login Information. - Send the copied Stoken to the computer where the Snap Hutao is installed.
- In the Snap Hutao's account login section, click
Manual Input. - Enter the previously obtained cookie. You should now complete the login process.
iOS
iOS Users can download the packet capture software Stream from the App Store to obtain cookies containing the Stoken field.
- Download Stream from the App Store.
- Perform packet capture analysis on the domain
api-takumi.mihoyo.com. - Locate and copy the data containing
Stoken.- It will be in the form of
stuid=****;stoken=v2****;mid=****;.
- It will be in the form of
- Send the copied Stoken to the computer where the Snap Hutao is installed.
- In the Snap Hutao's account login section, click
Manual Input. - Enter the obtained cookie. You should now complete the login process.