/Elysia-Rich-Presence

a shitty Honkai: Star Rail Rich Presence with OCR

Primary LanguagePythonApache License 2.0Apache-2.0

Elysia-Rich-Presence - will be Updated whenever new Worlds/Bosses gets added

It's a simple Honkai: Star Rail RPC using OCR (it only works with EN lang text currently however you can edit the configs.json and add language if you want to.)

Rich Presence examples (you gonna change the fallback.json for your username/region): RPC1 RPC2 RPC4 RPC3 RPC5

  • All the image assets belongs to miHoYo, as they are taken/extracted from the game.
  • You can talk with me at Matsuko#3600 for anything regarding the rich presence.
  • No, it's not perfect keep in mind you have to stay on the game window for it to capture the text content all the time otherwise when you switch windows it's gonna revert to the normal presence with just your username.
  • Not gonna always detect everything.

Tutorial

You will have to download first off Tesseract for it to scan for text.

  • Download Tesseract == 5.0.1
  • if an issue occurs while openning the exe from releases try installing everything from requirements.txt via pip install -r requirements.txt

Other information

Main idea was from Zanzancomms's Genshin-Impact-Rich-Presence script, check their amazing work!