github kel-z/HSR-Scanner v1.4.0
HSR Scanner v1.4.0

2 months ago

Download HSR Scanner v1.4.0

Notes

  • Once the scan has started, do not move your mouse cursor. Character scan is especially sensitive to mouse movement, and even the slightest table bump will result in the game exiting the analog controller mode.
  • SPD substats have a hidden decimal place that the scanner cannot directly parse. As a result, reproducing your character's stats (such as on optimizer websites) will most likely have a lower SPD stat than what it displays in-game. This is not an issue with the scanner, but rather a limitation when obtaining substats through OCR.
  • HDR should be off to ensure OCR accuracy.
  • Certain dual monitor configurations can cause screenshots to capture incorrectly. If this is the case, try moving HSR to a different monitor before retrying the scan. In very rare cases, you may need to disconnect all external monitors.
  • Tested on 1920x1080 resolution. I don't have every light cone or character with their traces unlocked to test (in fact, i don't even play the game anymore. i'm just maintaining this for yall), so if something isn't being recorded properly such as a certain character's traces, let me know by creating an issue.

New changes

  • Relic and Light Cone scan navigation: Use d key for scanning items instead of clicking on each one with the mouse. Resolves precision issues related to having to scroll down for each page. #101
  • Character scan navigation: Use controller inputs for scanning characters.
    • Caveat: Character scan has become overly sensitive to mouse movement. See note above (1st bullet point). More retry mechanisms can address this in the future.

Fixes

  • Outfit compatibility: Now properly parses item location on March 7th wearing alternate outfit. #108
  • More retry cases: Added retries for character count and character details (still missing retry logic for traces and eidolon section). #102
  • Swallow fatal errors: Add a try-catch around the whole parse function to prevent partial errors from killing the output entirely.
  • Increase recent relic spinbox to 3000: 1500 -> 3000. #106

For known bugs or errors, please refer to the issues page.

Instructions

  1. Set game text language to English.
  2. Set in-game resolution to one that has an aspect ratio of 16:9 (e.g. 1920x1080, 1280x720).
  3. In Star Rail, look away from any bright colours. Yes, really. The inventory screen is translucent and bright colours can bleed through to make the text harder to accurately detect and recognize. Looking towards the ground usually works in most cases, as long as the right side of the screen is relatively dark. (Double-check by opening the inventory page and see if the item info on the right contrasts well with the background.) You can skip this step if you're only scanning characters.
    Dark background example
  4. Open the cellphone menu (ESC menu).
  5. Configure the necessary scanner settings in HSR Scanner.
  6. Start the scan.
  7. Do not move your mouse during the scan process.
  8. Once the scan is complete, some additional time may be required to process the data before generating the final JSON file output.

As of v0.3.0, the app's database is updated separately from this repo. If the database version doesn't match the latest game version, then the repo hasn't been updated yet and you will need to wait :)

Light cone data includes:

  • Name
  • Level
  • Ascension
  • Superimposition
  • Character that it is currently equipped on
  • Locked

Relic data includes:

  • Set name
  • Slot (Head, hands, body, feet, etc.)
  • Rarity
  • Main stat
  • Substats
  • Character that it is currently equipped on
  • Locked
  • Discarded

Character data includes:

  • Name
  • Level
  • Ascension
  • Eidolon
  • Skill levels
  • Memosprite levels
  • Traces unlocked

Example JSON export.


HSR-Scanner is not affiliated with, endorsed, sponsored, or approved by HoYoverse.

Don't miss a new HSR-Scanner release

NewReleases is sending notifications on new releases.