Utility that parses a facility log into the number of completed projects in the game Foxhole. Used for tracking contribution to the Foxhole war effort for facilities. Uses Tesseract OCR in order to read images.
- Enter a facility log in Foxhole and take a screenshot of the in-game window using Windows Snipping tool (Windows+Shift+S) or your other tool of choice. You may also use a secondary OCR solution like PowerToys Text Extract or Win11 Snipping Tool's text extraction feature and copy the resulting text instead.
- Copy the resulting image or text into the textbox to the left. Repeat for all the facilities you wish to parse the Werks from. You can mouse-over the little picture preview to see what you copied.
- After checking the results, press the "Save data" button. The results are saved in a Txt file which is opened after saving, as well as a CSV file you can open with your sheet editor of choice. The files will be created next to the executable.
Note: The results are appended in the files, so if you save the same data multiple times, you will have duplicates.
In addition, there is a config.ini file where you can set a specific path for where you'd like the CSV file to be made and appended to, as well as switching OCR languages. Do note that if you switch OCR languages, you need to download the appropriate language file from https://github.com/tesseract-ocr/tessdata and place it next to the executable. However, currently the only supported language is English, due to how the parser reads the lines.
Also note that due to how OCR works, it may make errors when it comes to reading the text. You may modify the text before committing to saving the file.