Textractor/README.md

60 lines
2.4 KiB
Markdown
Raw Normal View History

2018-05-26 06:48:14 -04:00
# NextHooker
2015-04-02 22:48:34 +09:00
2016-04-05 01:54:46 +09:00
2018-05-21 03:32:29 -04:00
## Overview
2016-12-15 22:30:45 +09:00
2018-06-15 19:30:32 -04:00
*NextHooker* is an open-source x86~~ text hooker for Windows.
2016-12-15 22:30:45 +09:00
2018-05-21 03:32:29 -04:00
Basically, GUI text hooker based on [Stomp](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine)'s ITHVNR.
2016-12-15 22:30:45 +09:00
2018-05-26 06:38:24 -04:00
## Extensions
See my [Example Extension project](https://github.com/Artikash/ExampleExtension) to see how to build an extension.
2018-07-13 13:10:04 -04:00
To use an extension, simply rename the extension dll file to ```{NUMBER}_{NAME}_nexthooker_extension.dll``` and copy into the NextHooker folder.
2018-05-26 06:38:24 -04:00
Extensions are called in order by the number they are prefixed with.
2018-05-21 03:32:29 -04:00
## Downloads
Releases of *NextHooker* can be found [here](https://github.com/Artikash/NextHooker/releases)
2016-12-15 23:14:30 +09:00
2018-05-21 03:32:29 -04:00
Previous releases of *ITHVNR* can be found [here](https://github.com/mireado/ITHVNR/releases).
2016-12-15 22:30:45 +09:00
## Features
- Open-source
2018-07-19 01:16:21 -04:00
- Hook text (most AGTH hook codes supported)
- Auto hook many engines (including some not supported by VNR!)
2018-05-26 06:38:24 -04:00
- Extensions (New!)
2016-12-15 22:30:45 +09:00
## License
2018-05-20 21:21:37 -04:00
GPL v3
2016-12-15 22:30:45 +09:00
## Developers
2018-07-19 01:06:38 -04:00
- Copyright (C) 2010-2012 [kaosu](http://www.hongfire.com/forum/member/562651-kaosu)
2016-12-15 22:30:45 +09:00
- VNR engine making by [jichi](http://sakuradite.com/topic)
2018-07-13 13:10:04 -04:00
- ITH updating by [Andys](https://github.com/AndyScull)
2016-12-15 22:30:45 +09:00
- ITHVNR new GUI & VNR engine migration by [Stomp](http://www.hongfire.com/forum/member/325894-stomp)
2018-07-30 00:51:27 -07:00
- ITHVNR updating by [mireado](https://github.com/mireado), [Eguni](https://github.com/Eguni), and [DoumanAsh](https://github.com/DoumanAsh)
2016-12-15 22:30:45 +09:00
## Special Thanks
- Everybody adding issues!
2018-05-20 21:21:37 -04:00
## Compiling
2018-07-21 15:40:16 -07:00
Before compiling *NextHooker*, you should get Visual Studio with CMake and ATL support, as well as Qt version 5.11<br>
2018-07-22 23:27:12 -07:00
Use Visual Studio to compile all the CMake projects, then use Qt Creator to compile/run the GUI.
2018-05-20 21:21:37 -04:00
## Project Architecture
2018-05-26 06:38:24 -04:00
The GUI links to vnrhost.dll (created from the texthook folder) which injects vnrhook.dll (created from the vnrhook folder) into the target process and connects to it via 2 pipe files.<br>
2018-05-20 21:21:37 -04:00
vnrhost writes to hostPipe, vnrhook writes to hookPipe (duh?)<br>
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.<br>
2018-06-01 09:56:40 -04:00
Additional information about hooks is shared through a file view (a.k.a. section object) that is mapped to a reference to the Hook class.<br>
2018-05-20 21:21:37 -04:00
The text that vnrhost receives through the pipe is then processed a little before being dispatched back to the GUI and displayed.