Skip to main content

A tool for grabbing binary text from a No Man's Sky screenshot and translating it to UTF-8 for you.

Project description

NMS Lore Translator

With the Echoes update, No Man's Sky introduced some dialogue written in binary. I created this tool so that I could easily grab the screen, extract the binary text, and then convert it to UTF-8 characters. It will then append each new bit of lore to a file in your home folder.

Caveats

This was only tested on Ubuntu 23.04 with a screen resolution of 1920x1080 and the game running in full screen. It should, theoretically, work on any OS with the Tesseract OCR library installed, but it has not at all been tested and I take no responsibilites for this.

Installation

You can either clone this repository and then run poetry build && pip3 install --user dist/nms_ts-<version>-py3-none-any.whl or you can install from PyPi with just pip3 install --user nms-ts

Usage

The script runs and copies everything it sees on the screen within the resolution as soon as you call it. This could cause issues if your terminal pops up over the game as it will try to read binary from that as well and then fail because it's not proper binary. I would suggest, instead, binding to a hotkey:

nms --xres=<your X resolution> --yres=<your Y resolution>

Then, when you hit your hotkey, it will run the script without launching a terminal, therefore introducing no confusion for the script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nms_ts-0.2.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

nms_ts-0.2.2-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page