Textractor_test/include/text.h

40 lines
2.4 KiB
C
Raw Normal View History

2018-11-04 15:13:51 +08:00
#pragma once
2018-11-04 17:00:14 +08:00
constexpr auto SELECT_PROCESS = u8"Select Process";
constexpr auto INJECT_INFO = u8"If you don't see the process you want to inject, try running with admin rights\r\n"
"You can also type in the process id";
constexpr auto ADD_HOOK = u8"Add hook";
constexpr auto CODE_INFODUMP = u8"Enter hook code\r\n"
"/H{A|B|W|S|Q|V}[N][codepage#]data_offset[*deref_offset1][:split_offset[*deref_offset2]]@addr[:module[:func]]\r\n"
"OR\r\n"
"Enter read code\r\n"
"/R{S|Q|V}[codepage#][*deref_offset|0]@addr\r\n"
"All numbers except codepage in hexadecimal\r\n"
"A/B: Shift-JIS char little/big endian\r\n"
"W: UTF-16 char\r\n"
"S/Q/V: Shift-JIS/UTF-16/UTF-8 string\r\n"
"Negatives for data_offset/sub_offset refer to registers\r\n"
"-4 for EAX, -8 for ECX, -C for EDX, -10 for EBX, -14 for ESP, -18 for EBP, -1C for ESI, -20 for EDI\r\n"
"* means dereference pointer+deref_offset";
constexpr auto UNHOOK = u8"Unhook";
constexpr auto REMOVE_HOOK = u8"Which hook to remove?";
constexpr auto SELECT_EXTENSION = u8"Select Extension";
constexpr auto EXTENSIONS = u8"Extensions (*.dll)";
2018-11-06 06:08:44 +08:00
constexpr auto ABOUT = L"Textractor beta v3.4.1 by Artikash\r\n"
2018-11-04 17:00:14 +08:00
"Source code and more information available under GPLv3 at https://github.com/Artikash/Textractor";
2018-11-11 13:34:42 +08:00
constexpr auto TOO_MANY_THREADS = L"Textractor: too many text threads: can't create more";
constexpr auto ALREADY_INJECTED = L"Textractor: already injected";
constexpr auto ARCHITECTURE_MISMATCH = L"Textractor: architecture mismatch: try 32 bit Textractor instead";
constexpr auto INJECT_FAILED = L"Textractor: couldn't inject";
2018-11-04 17:00:14 +08:00
constexpr auto INVALID_CODE = L"Textractor: invalid code";
constexpr auto NO_HOOKS = L"Textractor: no hooks detected";
2018-11-11 13:34:42 +08:00
constexpr auto INVALID_CODEPAGE = L"Textractor: couldn't convert text (invalid codepage?)";
constexpr auto PIPE_CONNECTED = "Textractor: pipe connected";
constexpr auto DISABLE_HOOKS = "Textractor: hooks don't work on x64, only read codes work. Engine disabled.";
constexpr auto INSERTING_HOOK = "Textractor: inserting hook: ";
constexpr auto HOOK_FAILED = "Textractor: failed to insert hook";
constexpr auto TOO_MANY_HOOKS = "Textractor: too many hooks: can't insert";
constexpr auto FUNC_MISSING = "Textractor: function not present";
constexpr auto MODULE_MISSING = "Textractor: module not present";
constexpr auto GARBAGE_MEMORY = "Textractor: memory constantly changing, useless to read";
constexpr auto REMOVING_HOOK = "Textractor: removing hook: ";