测试合并
Go to file
Akash Mozumdar 3c4a8920fe better crop
2019-02-18 01:25:29 -05:00
cmake build system improvements 2018-10-19 15:55:48 -04:00
extensions using new api 2019-02-17 19:14:49 -05:00
GUI fix bugs with admin rights and pipe connection, plus some refactors 2019-02-16 22:51:10 -05:00
include more lua features 2019-02-17 18:52:09 -05:00
vnrhook fix bugs with admin rights and pipe connection, plus some refactors 2019-02-16 22:51:10 -05:00
x64libs static link lua 2019-02-16 22:53:19 -05:00
x86libs static link lua 2019-02-16 22:53:19 -05:00
.gitattributes Line ending attributes for window LF 2016-12-12 00:50:06 +09:00
.gitignore ignore resource editor files 2019-01-15 04:29:17 -05:00
CMakeLists.txt add lua extension 2019-02-12 19:54:15 -05:00
CMakeSettings.json fix file ends 2018-12-18 16:55:07 -05:00
deploy.ps1 static link lua 2019-02-16 22:53:19 -05:00
LICENSE add license and update readme 2018-05-20 21:21:37 -04:00
README_ES.md improve screenshot 2019-02-18 01:16:53 -05:00
README_JP.md improve screenshot 2019-02-18 01:16:53 -05:00
README_SC.md improve screenshot 2019-02-18 01:16:53 -05:00
README.md new screenshot 2019-02-18 00:58:00 -05:00
screenshot.png better crop 2019-02-18 01:25:29 -05:00
text.cpp more lua features 2019-02-17 18:52:09 -05:00

Textractor

Español
简体中文
日本語

Tutorial Video

Donate

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.
If you get a dll missing error, you probably need to (re)install the Microsoft Visual C++ Redistributable.

Features

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

Support

Please let me know of any bugs, games that Textractor has trouble hooking, feature requests, or other suggestions.
If you have trouble hooking a game please email me a place where I can freely download it, or gift it to me on Steam.

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 text.cpp 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.

Special Thanks

  • Everybody adding issues!