This mobile application serves as a native way to scan your inventory in GOOD (Genshin Open Object Description) format for websites like Genshin Optimizer to parse data from for the mobile video game, Genshin Impact. It utilizes a combination of OpenCV and Tesseract OCR methodologies to accomplish this task. A similar implementation for PC platforms only is Inventory Kamera.
- Scan for the following data on the Inventory screen:
- Weapons including Level, Refinement, and Ascension.
- Artifacts including Level, Main Stat, and Sub Stats.
- Materials including Character Development Items.
- Characters including their Level, Ascension, Constellations, and Talents.
- Output all scanned data into a JSON file in GOOD format to be used in other third-party websites for parsing and optimization purposes.
- Android Device or Emulator (Nougat 7.0+)
- Tested emulator was Bluestacks 5 with the following settings:
- P64 (Beta)
- 1920x1080 (Landscape Mode as emulators do not have a way to tell the bot that it rotated.)
- 240 DPI
- 4+ GB of Memory
- If using a physical Android device:
- Device used to test this application was at 2400x1080 in Landscape Mode. Width should be the key factor but I am currently unsure if the height is a factor or not.
- Tested emulator was Bluestacks 5 with the following settings:
- Download the latest .apk from the Releases section on the right side of this page right under the About section and then install the application.
- Head to the Settings page of the application. Fill out your Traveler character name if you want the bot to detect and scan the Traveler.
- Enable any of the scan(s) and then head back to the Home page and press the
Start
button in order to start giving permissions for the MediaProjectionService and the AccessibilityService. - After permissions are set, head back to the Home page and then press the
Start
button again to display the floating overlay button. - Now head to the inventory page in the game by pressing on the "backpack" / "bag" icon near the top right of the screen.
- It is very highly recommended to put the floating overlay button to the bottom right corner of the screen.
- Finally, you can press on the floating overlay button to start. Log messages can be viewed afterwards back on the Home page after the process finishes including where the actual log file was saved to.
- MediaProjection - Used to obtain full screenshots
- AccessibilityService - Used to dispatch gestures like tapping and scrolling
- OpenCV Android 4.5.1 - Used to template match
- Tesseract4Android 2.1.1 - For performing OCR on the screen
- AppUpdater 2.7 - For automatically checking and notifying the user for new app updates