Pity and guarantee from your wish history
Paste your wish history link from the game: we count your pulls to 5★ on every banner, whether you have a guarantee and how often you win the 50/50.
1. Get the history link (PC)
- Launch Genshin Impact, open "Wish" → "History" and wait for the list to load.
- Press Win, type PowerShell and open it. Paste the command below and press Enter.
- The command finds the link in the game cache and copies it to the clipboard. Paste it into the field below.
& {
$log = "$env:USERPROFILE\AppData\LocalLow\miHoYo\Genshin Impact\output_log.txt"
if (-not (Test-Path $log)) { return 'Game log not found: launch Genshin Impact and open the wish history.' }
$game = [regex]::Match((Get-Content $log -Raw), '.:/.+(GenshinImpact_Data|YuanShen_Data)').Value
if (-not $game) { return 'Could not find the game folder in the log.' }
$cache = Get-ChildItem "$game/webCaches" -Directory | Sort-Object LastWriteTime | Select-Object -Last 1
$tmp = "$env:TEMP\avs_data_2"
Copy-Item "$($cache.FullName)/Cache/Cache_Data/data_2" $tmp -Force
$parts = @((Get-Content $tmp -Raw -Encoding UTF8) -split '1/0/' | Where-Object { $_ -match 'webview_gacha' })
Remove-Item $tmp
if (-not $parts.Count) { return 'Link not found: open the wish history in the game and run the command again.' }
Set-Clipboard ([regex]::Match($parts[-1], 'https.+?game_biz=').Value)
'Link copied. Paste it on the site.'
}
The command downloads and sends nothing: it only reads the game cache on your computer, and the whole text is in front of you. If it did not find the link, take the command from the paimon.moe import page: it does the same. Getting the link on a phone is harder; a PC is easier.
2. Paste the link
We do not store the link: the server passes its key to HoYoverse, gets the history page and returns it immediately, and your browser does all the counting. The key only allows reading the history and lives about a day, but still do not post the link in chats. Your account password is never needed for counting.
What next
The game keeps history for a year, so the pity of the first 5★ in the list may be understated if some pulls are older than a year. The game does not show Capturing Radiance, so we do not count it.
An AvenShop fan tool, not affiliated with HoYoverse. Other tools: all tools.