Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

124 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSZ

Choose one listed below as your package manager:

pip install 'git+https://github.com/xr1s/gsz'
uv add 'git+https://github.com/xr1s/gsz'
pdm add 'git+https://github.com/xr1s/gsz'
poetry add 'git+https://github.com/xr1s/gsz'

Achievement Tool usage

This script prints achievements from game data.

python3 achievement.py --base ../TurnBasedGameData --e-hkrpg-token @secret-file.txt

Print achievements in a specific series

For example, to list achievements under the series “众秘探奇”:

python3 achievement.py --base ../TurnBasedGameData --e-hkrpg-token @secret-file.txt --series 众秘探奇

Obtaining the token

The e_hkrpg_token is required for authentication. You can retrieve it from the Mihoyo Cultivation Tool by inspecting the cookies in your browser.

Passing the token

You can provide the token in two ways:

Directly as a command-line argument:

python3 achievement.py --base ../TurnBasedGameData --e-hkrpg-token YOUR_TOKEN

Via a file (recommended for security): save the token in a file and reference it with @:

python3 achievement.py --base ../TurnBasedGameData --e-hkrpg-token @path/to/token-file

Using a file prevents the token from being exposed in your shell history.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages