Import your Honkai: Star Rail warps
Star Rail works exactly like Genshin: opening your Warp Records writes a temporary read-only URL into the game's local cache, and one PowerShell command fishes it out.
Safety: the URL these steps produce is read-only, can only fetch pull history, and expires on its own. It cannot log in or change anything on your account, and PullDeck never stores it.
1.Open Warp Records in the game
Launch Honkai: Star Rail on PC, open Warp, click the Records button (top-left clock icon), and let it fully load.
2.Open PowerShell
Press Win + R, type powershell, press Enter.
3.Paste this script and press Enter
It locates the game folder from Player.log, reads the web cache, and copies the newest warp-records URL to your clipboard.
$log = Get-Content "$env:USERPROFILE\AppData\LocalLow\Cognosphere\Star Rail\Player.log" -Raw -ErrorAction SilentlyContinue if (-not $log) { $log = Get-Content "$env:USERPROFILE\AppData\LocalLow\miHoYo\Star Rail\Player.log" -Raw -ErrorAction SilentlyContinue } if (-not $log) { Write-Host "Log not found - launch the game and open Warp Records first."; return } $m = [regex]::Match($log, '([A-Za-z]:[\\/].*?)(StarRail_Data)') $gameDir = $m.Groups[1].Value + $m.Groups[2].Value $cacheDir = Get-ChildItem "$gameDir\webCaches" -Directory | Sort-Object Name -Descending | Select-Object -First 1 $tmp = Join-Path $env:TEMP "pd_sr_data_2" Copy-Item (Join-Path $cacheDir.FullName "Cache\Cache_Data\data_2") $tmp -Force $content = [System.IO.File]::ReadAllText($tmp) $urls = [regex]::Matches($content, 'https://[^\x00"]*?getGachaLog[^\x00"]*') if ($urls.Count -eq 0) { Write-Host "No warp URL found - open Warp Records in game, then run this again."; return } Set-Clipboard $urls[$urls.Count - 1].Value Write-Host "Done! Your warp records URL is on the clipboard - paste it into PullDeck."4.Import
Go to the Import page, select Honkai: Star Rail, paste, and click Import.
Troubleshooting
“Log not found”
Launch the game and open Warp Records first; the log is created at run time. Older installs may keep it under miHoYo instead of Cognosphere; the script checks both.
“No warp URL found”
Open the Records page in game and wait for it to render before re-running.
Fate collab warps missing
Collab banners import with the character event banner type; if any are missing, re-open Records in game (which refreshes the cache) and import again.