Skip to content

Online Cyberpunk 2077 breach protocol minigame puzzle solver using camera

Notifications You must be signed in to change notification settings

dgyst/optical-breacher

 
 

Repository files navigation

OPTICAL BREACHER

An online Cyberpunk 2077 breach protocol minigame solver using camera + OCR

Website: https://govizlora.github.io/optical-breacher

Details

The puzzle solving algorithm is simply brute force. (Better ideas welcomed!)

The target sequences are weighted from top to bottom as this: 1, 1.1, 1.2, ... So it will focus on more hit first, and when even, the lower sequences will have higher priority.

The OCR part took the most time. I initailly used the default English OCR provided by tesseract, but it fails randomly (like recognizing "55" into "5") and the success rate is below 50%. Eventually I trained the model by myself, using tesstrain. Instead of recognizing single English characters, I let the program treat the byte as a whole, so the computer actually think "55" or "1C" as a single character in a mysterious language. The self-trained model worked better, but still not perfect. TBH I think maybe tesseract is not the best option, but since it's the only popular choice in JavaScript and I'm not famailiar with WASM, this will be the way to go for now.

Local develop

Make sure you have node and yarn installed, then clone the repo and run yarn start.

Screenshots

Screenshot 1 Screenshot 2

Acknowledgement

About

Online Cyberpunk 2077 breach protocol minigame puzzle solver using camera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.4%
  • CSS 7.4%
  • JavaScript 4.3%
  • HTML 1.9%