Skip to content

A coordinate tracker for New World that uses Tesseract.js OCR library built with Node.js and a Powershell script.

License

Notifications You must be signed in to change notification settings

NaNraptor/newworld-coordinate-tracker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ceN's Coordinate Tracker

This is a coordinate tracker for New World that uses Tesseract.js OCR library built with Node.js and a Powershell script.

This tool does NOT read/write to the games memory.

How it works

  • The node application streams your latitude and longitude via a Server Sent Event (SSE).
  • The powershell application takes a screenshot at a specific offset and sends the image bitmap back to node via a MemoryStream

The flow

  1. Node calls the powershell script to capture either lat/lng.
  2. Powershell takes the request and captures either lat/lng and sends the image bitmap back to node in a memory stream
  3. Node receives the bitmap, and sends it to Tesseract
  4. Tesseract does its best to parse the numbers from the image and returns it back to node
  5. Node gets the parsed data from Tesseract. If the text is valid, it sends it to clients connected to http://localhost:3000/events via an SSE

Resolutions Tested

  • 1920x1080

Pre-Reqs

Running From Source

  • run npm install
  • run program from debugger by launching the Launch Program task or run npm start from powershell. For some reason running npm start from vscode doesnt work right

Generate an executable (Experimental)

  • run npm install
  • run npm run build. This will create server.exe

License

  • This project is licensed under the MIT license
  • Tesseract is licensed under Apache 2.0 license

About

A coordinate tracker for New World that uses Tesseract.js OCR library built with Node.js and a Powershell script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.0%
  • PowerShell 26.0%