Skip to content

killkimno/MORT

Repository files navigation

🌏한국어 | English

Hits GitHub downloads

ko-fi

Video Label

https://youtu.be/LHTErVnsaws

Sample video

MORT

MORT is a program that extracts dialogs from the screen in real time using OCR and outputs a translations using DB or machine translation.

Currently, English and Japanese translation/extraction can be extracted by default, and it can also be translated by linking with a hooking program using the save to clipboard function.

[Latest version download and release notes - https://blog.naver.com/killkimno/70179867557]

Features

  • Realtime translate
  • OCR - TesseractOCR , Windows OCR, NHOcr, Easy OCR
  • Machine translation - Naver Papago, Google Web, Google Sheet, ezTrans, DeepL
  • Language Patch with using DB
  • Multiple OCR areas
  • Img adjust

System Requirement

How to use

Basic usage

  1. After setting in the quick settings, press Trnaselate on the remote control to start translation
  2. Or Preferences tab -> Set the OCR language according to the language of the game to be translated
  3. Remote control -> Click Search and select the area where the lines appear
  4. Click Apply on MORT main form
  5. Remote control -> Real-time translation by pressing Translate

User Manual

Custom usage

Add translation result language code

You can add Google Translator language code in the UserData/UserTransCode.txt file​

code, name
(ex : it, Italian)

​A list of language codes can be found here: https://cloud.google.com/translate/docs/languages?hl=en

Custom API usage

  1. You can use a custom API based on HTTP
  2. Translation Type -> Custom API
  3. Advanced Settings -> Custom API URL Settings
POST Rule
name - string
text - string - ocr string
target - string - translation result language code
source - string - ocr language code

ex
{
"name" : "test",
"text" : "tank divsion" ,
"target" : "ko",
"source" : "en"
...
}


Reponse Rule
result - string - translation result text
errorCode - string - error code
errorMessage - string - error message

ex
{
"result" : "탱크 사단",
"errorMessage" : "",
"errorCode" : "0"
}
  1. Example1 - Using LibreTranslate

FAQ

Can i use FullScreen Mode?

  • No you can't use it in fullscreen games, please use windowed mode, borderless windowed mode instead

I'm using 32-bit Windows. Can I use MORT?

I'm using 64-bit Windows. But Can't run with this error 0x8007045A.

Develop the project

Development environment

  • Visaul Studio 2019 or higer
  • Tesseract OCR 5.2.0
  • NHocr 0.21

Create a build and run environment

  1. Set the project to Release mode. Set the target CPU to X64.
  2. Build the project first
  3. Can't run after build. The reason is that there are no essential files required for run
  4. Unzip the latest build files into the release folder to get the required files
  1. MORT_CORE.DLL , nhocr.DLL To modify This dll, please refer to the related projects below

Related Project

ETC

Development Plans Trello

Discord