Forked project to add a simple translation based on Gemini-2.0-flash. By giving proper prompt, the quality of the translation is almost the official translation quality. (Only based on my experience on CN and TW server and my learned-from-anime japanese.)
Features:
- Uses ML ocr provided by google
- Uses Gemini-2.0-flash, and configurable api-key and prompt
- Display an overlay to show the translation
- Since the ML ocr japanese accuracy is not good enough, it's also an option to send the screenshot directly to LLM api.
Known problem:
- The ML ocr japanese accuracy is not good enough.
- Be careful, the api-key is saved as plain text, not safe, too lazy to make it secure.
- And uses Google AI SDK, which google also claimed no security against api-key leaking.
- Also not my fault if you find your api token drains in light speed, I myself uses only free account.
To-be improved:
- Cannot auto stop after story ends, and popup scary warnings after manual stop
- Didn't find a way to get screenshot without catching the subtitles, and the subtitles will ruin the ocr text recognizing, so the position and size of the subtitle window is fixed to avoid the ocr region.
- The ocr region are defined in a very untidy way, should defined it along side other locations. But I'm too lazy to do the math.
Unknown:
- Almost no testing, anyway I like it and am using it
Any comment or contribution is welcome, if you are patient enough to read the shits I wrote. (They are actually mostly written by Gemini though)
Auto-battle app for FGO (Android 7 or later, no need for root on phones).
Download from our website
This is a Kotlin port of FGO-Lua as an Android app with UI for configuration and without a time-limit on use.
It doesn't tamper with the game in anyway and works by looking at the screen and tapping things just like a normal user would do.
It's not made to do the story for you, but to automate the mundane farming.
Having Trouble? See the Troubleshooting Guide first.
- Install from the link given above and launch the app.
- Click on
Start Serviceand give all the permissions it asks for. - Open FGO. Now, you can see a button with play icon on it floating on screen.
- Go to the node you want to farm.
- Press Play to start. The same button can be pressed to pause/stop later.
Check the Troubleshooting Guide first if you face any problems.
See the wiki page for Support Image Maker.
When you click on the PLAY button, the app detects which script can be run on the current screen and presents it to you.
This is a native Android app written in Kotlin. We use OpenCV for image recognition, Media Projection for taking screenshots and Accessibility Service for clicking/swiping.
If you want to contribute, read the Contribution Guide.
- FGO-Lua developers are the real deal. Without them this app won't exist.
- The icons are from https://materialdesignicons.com/
- Drag-sort logic on Card Priority screen is thanks to https://medium.com/@ipaulpro/drag-and-swipe-with-recyclerview-6a6f0c422efd
Code/doc contributions are surely welcome!
Translations should be edited via https://poeditor.com/join/project/67PXOyBGI0

