LunaTranslator/docs/en/hooksetsumei.md
恍兮惚兮 16d17bfd0c url
2024-07-08 15:32:57 +08:00

48 lines
1.9 KiB
Markdown

# HOOK Instructions
To use the HOOK feature:
- Select Textractor in the Basic Settings. This will automatically open the process selection window.
Alternatively, you can:
- Click the "Select Game" button in the settings, or
- Click the first highlighted button "Select Game" in the toolbar.
![img](https://image.lunatranslator.xyz/zh/toolbar3.jpg)
There are three ways to select a process:
- Click "Click me, then click the game window" and then click on the game window. This will automatically detect the game process.
- Choose the game from the list below.
- Manually enter the process ID.
Note: When running in no_admin mode, the process may be displayed or selections may do nothing. Please switch to admin mode to fix this.
![img](https://image.lunatranslator.xyz/zh/selectprocess.jpg)
After selection, click OK. A text selection window will automatically appear. (You can also open this by clicking "Select Text" or the second highlighted button in the toolbar)
Once the text selection window is open, click on the game to display the next line of text. This will show several extracted text strings.
![img](https://image.lunatranslator.xyz/zh/selecttext.jpg)
Click on any item in the list to preview the captured text in the window below.
![img](https://image.lunatranslator.xyz/zh/yulan.jpg)
If there are many items in the list, you can filter them by entering text from the current game window into the "Search Entries Containing Text" box at the bottom.
For example, by searching for the Japanese word "約束" (yakusoku) that appears in the game, you'll filter the list down to just one item.
![img](https://image.lunatranslator.xyz/zh/filter.jpg)
To select multiple items, hold down the Ctrl key while clicking.
After making your selection(s), click OK to start the translation. If you later find that the selected items are not suitable, you can always make a new selection.
![img](https://image.lunatranslator.xyz/zh/reshook.jpg)