Textractor

日本語

Overview

Textractor (a.k.a. NextHooker) is an open-source x86/x64 text hooker for Windows/Wine based off of ITHVNR.

How it looks

Downloads

Releases of Textractor can be found here.

Previous releases of ITHVNR can be found here.

Features

  • Highly extensible
  • Auto hook many game engines (including some not supported by VNR!)
  • Hook text using /H "hook" codes (most AGTH codes supported)
  • Extract text using /R "read" codes (Guide)

Extensions

See my Example Extension project to see how to build an extension.
See the extensions folder for examples of what extensions can do.

Contributing

All contributions are appreciated! Please email (no, I'm not busy!) me at akashmozumdar@gmail.com if you have any questions about the codebase.
You should use the standard process of making a pull request (fork, branch, commit changes, make PR from your branch to my master).
Contributing a translation is easy: just translate the strings in include/text.h as well as this README.

Compiling

Before compiling Textractor, you should get Visual Studio with CMake support, as well as Qt version 5.11
You should then be able to simply open the folder in Visual Studio, and build. Run Textractor.exe.

Project Architecture

The host (see GUI/host folder) injects vnrhook.dll (created from the vnrhook folder) into the target process and connects to it via 2 pipe files.
Host writes to hostPipe, vnrhook writes to hookPipe.
vnrhook waits for the pipe to be connected, then injects a few instructions into any text outputting functions (e.g. TextOut, GetGlyphOutline) that cause their input to be sent through the pipe.
Additional information about hooks is shared through a file view (a.k.a. section object) that is mapped to a reference to the TextHook class.
The text that the host receives through the pipe is then processed a little before being dispatched back to the GUI.
Finally, the GUI dispatches the text to extensions before displaying it.

Developers

If you're on this list and want your link changed let me know.

  • Textractor creation/updating by Me and DoumanAsh
  • Turkish translation by niisokusu
  • ITHVNR updating by mireado and Eguni
  • ITHVNR new GUI & VNR engine migration by Stomp
  • VNR engine making by jichi
  • ITH updating by Andys
  • ITH originally made by kaosu
  • MinHook library made by TsudaKageyu

Special Thanks

  • Everybody adding issues!
Description
Extracts text from video games and visual novels. Highly extensible.
Readme
Languages
C++ 97.9%
C 1%
CMake 0.7%
PowerShell 0.2%
Inno Setup 0.2%