Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Artikash committed Jan 31, 2021
1 parent c7ae06c commit ad83eb2
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 26 deletions.
16 changes: 9 additions & 7 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

If you're on this list and want your link changed let me know.
- Textractor mainly made by [Me](https://github.com/Artikash) with the help of
- [DoumanAsh](https://github.com/DoumanAsh)
- [Niakr1s](https://github.com/Niakr1s)
- [tinyAdapter](https://github.com/tinyAdapter)
- [lgztx96](https://github.com/lgztx96)
- [Jazzinghen](https://github.com/Jazzinghen)
- [luojunyuan](https://github.com/luojunyuan)
- [DoumanAsh](https://github.com/DoumanAsh) - build system improvements
- [Niakr1s](https://github.com/Niakr1s) - original text removal in Extra Window
- [tinyAdapter](https://github.com/tinyAdapter) - CLI bugfixes
- [lgztx96](https://github.com/lgztx96) - hook codes for WAFFLE and WillPlus
- [Jazzinghen](https://github.com/Jazzinghen) - hook codes for TokyoNecro
- [luojunyuan](https://github.com/luojunyuan) - hook codes for ShinyDays
- [zeheyler](https://github.com/zeheyler) - Chrome DevTools integration
- [silas1037](https://github.com/silas1037) - AppVeyor setup
- French translation by Racky and [Gratusfr](https://github.com/Gratusfr)
- Spanish translation by [scese250](https://github.com/scese250)
- Turkish translation by [niisokusu](https://reddit.com/u/niisokusu)
Expand All @@ -19,7 +21,7 @@ If you're on this list and want your link changed let me know.
- Korean translation by O SK
- Italian translation by [StarFang208](https://github.com/StarFang208)
- ITHVNR updated by [mireado](https://github.com/mireado), [Eguni](https://github.com/Eguni), and [IJEMIN](https://github.com/IJEMIN)
- ITHVNR originally made by [Stomp](http://www.hongfire.com/forum/member/325894-stomp)
- ITHVNR originally made by [Stomp](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine)
- VNR engine made by [jichi](https://github.com/jichifly)
- ITH updated by [Andys](https://github.com/AndyScull)
- ITH originally made by [kaosu](https://code.google.com/archive/p/interactive-text-hooker)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor** (a.k.a. NextHooker) is an open-source x86/x64 video game text hooker for Windows/Wine based off of [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
**Textractor** (a.k.a. NextHooker) is an open-source x86/x64 video game text hooker for Windows/Wine based off of [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
Watch the [tutorial video](https://tinyurl.com/textractor-tutorial) for a quick rundown on using it.

## Download

Releases of Textractor can be found [here](https://github.com/Artikash/Textractor/releases).<br>
Official stable releases of Textractor can be found [here](https://github.com/Artikash/Textractor/releases).<br>
Experimental builds of Textractor from the latest source can be found [here](https://ci.appveyor.com/project/Artikash/textractor/history).<br>
The last release of ITHVNR can be found [here](https://drive.google.com/open?id=13aHF4uIXWn-3YML_k2YCDWhtGgn5-tnO).<br>
Try running vcredist if you get an error when starting Textractor.

Expand All @@ -18,7 +19,7 @@ Try running vcredist if you get an error when starting Textractor.
- Highly extensible and customizable
- 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
- Automatically search for possible hook codes

## Support

Expand All @@ -38,8 +39,7 @@ Contributing a translation is easy: just translate the strings in text.cpp as we

## Compiling

Before compiling *Textractor*, you should get Visual Studio with CMake support, as well as Qt version 5.13<br>
You should then be able to simply open the folder in Visual Studio, and build. Run Textractor.exe.
Before compiling Textractor, you should get Qt version 5.13 and Visual Studio with CMake support. You should then hopefully be able to just open the source folder in Visual Studio and build.

## Project Architecture

Expand Down
2 changes: 1 addition & 1 deletion README_ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Descripción general

**Textractor** (también conocido como NextHooker) es un extractor y traductor de texto de código abierto x86/x64 para Windows/Wine bassado en [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
**Textractor** (también conocido como NextHooker) es un extractor y traductor de texto de código abierto x86/x64 para Windows/Wine bassado en [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>

![Cómo se ve](screenshot.png)

Expand Down
2 changes: 1 addition & 1 deletion README_FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor** (a.k.a. NextHooker) est un traducteur de jeux-videos basé surtout sur du texte en open source x86/x64 pour Windows/Wine [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
**Textractor** (a.k.a. NextHooker) est un traducteur de jeux-videos basé surtout sur du texte en open source x86/x64 pour Windows/Wine [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
Regarde le [tutorial video](https://tinyurl.com/textractor-tutorial) pour un aperçu rapide de son utilisation.

## Téléchargement
Expand Down
2 changes: 1 addition & 1 deletion README_ID.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor** (a.k.a NextHooker) adalah text hooker video game untuk Windows/Wine x86/x64 berbasis open-source yang didasari oleh [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
**Textractor** (a.k.a NextHooker) adalah text hooker video game untuk Windows/Wine x86/x64 berbasis open-source yang didasari oleh [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
Lihat [video tutorial](https://tinyurl.com/textractor-tutorial) untuk mengetahui bagaimana cara menggunakannya.

## Pengunduhan
Expand Down
2 changes: 1 addition & 1 deletion README_IT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor** (a.k.a. NextHooker) è un agganciatore di testi di videogiochi open-source per Windows/Wine basato su[ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
**Textractor** (a.k.a. NextHooker) è un agganciatore di testi di videogiochi open-source per Windows/Wine basato su[ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
Guarda il [video tutorial](https://tinyurl.com/textractor-tutorial) per una sintesi veloce sul suo utilizzo.

## Scarica
Expand Down
2 changes: 1 addition & 1 deletion README_KR.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor** (a.k.a. NextHooker)는 Windows/Wine에서 작동하는 [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine)을 기반으로 한 오픈소스 x86/x64 비디오게임 텍스트 후커 입니다.<br>
**Textractor** (a.k.a. NextHooker)는 Windows/Wine에서 작동하는 [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine)을 기반으로 한 오픈소스 x86/x64 비디오게임 텍스트 후커 입니다.<br>
빠른 사용법의 이해를 위해 [tutorial video](https://tinyurl.com/textractor-tutorial) 를 참고하세요.

## 다운로드
Expand Down
2 changes: 1 addition & 1 deletion README_PT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor** (também conhecido como NextHooker) é um extrator de textos de video-games x86/x64 para Windows/Wine baseado no [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
**Textractor** (também conhecido como NextHooker) é um extrator de textos de video-games x86/x64 para Windows/Wine baseado no [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
Assista ao [vídeo tutorial](https://tinyurl.com/textractor-tutorial) para uma rápida apresentação de como utilizá-lo.

## Download
Expand Down
2 changes: 1 addition & 1 deletion README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor** (a.k.a. NextHooker) это проект x86/x64 Windows/Wine программы для захвата текста из видеоигр, основанный на [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
**Textractor** (a.k.a. NextHooker) это проект x86/x64 Windows/Wine программы для захвата текста из видеоигр, основанный на [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
Смотреть [обучающее видео](https://tinyurl.com/textractor-tutorial) для быстрого ознакомления.

## Загрузка
Expand Down
2 changes: 1 addition & 1 deletion README_SC.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 概述

**Textractor** (曾用名: NextHooker) 是一个基于 [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine), 为 Windows/Wine 开发的开源 x86/x64 文本提取器.<br>
**Textractor** (曾用名: NextHooker) 是一个基于 [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine), 为 Windows/Wine 开发的开源 x86/x64 文本提取器.<br>

![它工作起来的样子](screenshot.png)

Expand Down
2 changes: 1 addition & 1 deletion README_TH.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[English](README.md)[Español](README_ES.md)[简体中文](README_SC.md)[Русский](README_RU.md)[한국어](README_KR.md)[ภาษาไทย](README_TH.md)[Français](README_FR.md)[Italiano](README_IT.md)[日本語](README_JP.md)[Bahasa](README_ID.md)[Português](README_PT.md)

**Textractor**
(หรือ NextHooker) คือโปรแกรมโอเพนซอร์ซสำหรับปฏิบัติการที่มีหน้าที่เพื่อเชื่อมกับตัวอักษรกับเกมจากที่มาจากระบบปฏิบัติการ Window/Wine โดยมีแบบดังเดิมมาจาก [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
(หรือ NextHooker) คือโปรแกรมโอเพนซอร์ซสำหรับปฏิบัติการที่มีหน้าที่เพื่อเชื่อมกับตัวอักษรกับเกมจากที่มาจากระบบปฏิบัติการ Window/Wine โดยมีแบบดังเดิมมาจาก [ITHVNR](https://web.archive.org/web/20160202084144/http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).<br>
สามารถดูตัวอย่างวิธีการใช้งาน [วีดีโอตัวอย่างการใช้งาน](https://tinyurl.com/textractor-tutorial) เพื่อที่จะแสดงความเข้าใจคร่าวๆเกี่ยวกับโปรแกรม.

## ดาวน์โหลด
Expand Down
10 changes: 5 additions & 5 deletions extensions/extensionimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ extern "C" __declspec(dllexport) wchar_t* OnNewSentence(wchar_t* sentence, const
{
try
{
std::wstring sentenceStr(sentence);
int origLength = sentenceStr.size();
if (ProcessSentence(sentenceStr, SentenceInfo{ sentenceInfo }))
std::wstring sentenceCopy(sentence);
int oldSize = sentenceCopy.size();
if (ProcessSentence(sentenceCopy, SentenceInfo{ sentenceInfo }))
{
if (sentenceStr.size() > origLength) sentence = (wchar_t*)HeapReAlloc(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS, sentence, (sentenceStr.size() + 1) * sizeof(wchar_t));
wcscpy_s(sentence, sentenceStr.size() + 1, sentenceStr.c_str());
if (sentenceCopy.size() > oldSize) sentence = (wchar_t*)HeapReAlloc(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS, sentence, (sentenceCopy.size() + 1) * sizeof(wchar_t));
wcscpy_s(sentence, sentenceCopy.size() + 1, sentenceCopy.c_str());
}
}
catch (SKIP)
Expand Down

0 comments on commit ad83eb2

Please sign in to comment.