hsrpc

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 5 Imported by: 0

README

project-image

This project is still in the very early stages of development. It still lacks many features and probably has a few bugs and performance problems.

🖼️ Project Screenshots:

project-screenshot

💻 Platforms:

  • Windows
  • Linux
  • MacOs

🗣️ Languages:

  • English
  • French

🤓 Technical information:

This program works with tesseract, an open source text recognition software. hrpc extracts no data from the game and is based solely on what tesseract recognizes on the window (so some results may be wrong)

🛠️ Installation Steps:

1. Clone this project

git clone https://github.com/X3ne/hsrpc

2. Install tesseract-ocr

choco install tesseract

3. Bundle static files

go generate ./...

4. Launch

go run .

🏗️ Build Steps:

1. Clone this project

git clone https://github.com/X3ne/hsrpc

2. Install go-winres

go install github.com/tc-hib/go-winres@latest

3. Embed icon

go-winres simply --icon assets/icon.png --manifest gui

4. Bundle static files

go generate ./...

5. Build

go build -ldflags="-X github.com/X3ne/hsrpc/src/consts.Version=X.X.X -H=windowsgui"

🪲 Known issues:

  • Sometimes, the position of the selected character is not the right one (especially when the background is too bright, e.g. on Jarilo-VI when there's snow in the background)
  • I don't have these characters, but Dan Heng Imbibitor Lunae and Topaz and Numby seem sus names for ocr detection.

Menus:

  • Data bank tab is not detected

  • Achievements tab is not detected

  • Fix gosec errors

⚒️ Improvements:

  • Add support for more game resolution (currently support 2560x1080)
  • Add more game menus status
  • Clean some code
  • Create scripts to create data csv
  • Build to .exe
  • Add support for Simulated Universe
  • Add support for Calyx
  • Add support for Cavern of corrosion
  • Add support for Echo of war
  • Add support for cut scenes
  • Add support for the Trailblazer
  • Maybe create a location selector to simplify the configuration of coordinates
  • Remove the tesseract install step (maybe try to use GetText from robotgo)
  • I want to add more infos for the selected character in the character tab (like the character name, level...)
  • Auto calculate coords based on app resolution

GUI app:

  • Add persistent state to GUI configuration
  • Add field validation

🎨 Credits:

The assets and data for the discord presence come from the Honkai Star Rail wiki

The app icon by mhesagnta

Image assets are intellectual property of HoYoverse, © All rights reserved by miHoYo

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
gui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL