Closed mokeevlima432 closed 12 months ago
Is this the VN? https://vndb.org/v40202
Это ВН? https://vndb.org/v40202
Yes
It's a javascript VN (Visual Novel Maker engine). What you can do is modify the script to copy the text to the clipboard. After that in Textractor you select the clipboard as a thread and translate the text there (no need to hook the game program).
This change should work for all VNs using the Visual Novel Maker engine.
You need to edit the SCRIPTS.js
file (notepad is fine) located in the resources\app\data
game folder.
Search for text
Component_MessageBehavior.prototype.showMessage
After the line:
this.message += lcsm(params.message);
insert the line:
navigator.clipboard.writeText(this.message); //copy text to clipboard
Done
For your convenience, I attach the already modified file to replace the original Gym Mommy-Copy text to clipboard.zip
Это javascript VN (движок Visual Novel Maker). Что вы можете сделать, так это изменить сценарий, чтобы увидеть текст в буфере обмена. После этого в Textractor выберите буфер обмена и введите текст (не нужно цеплять игровую программу).
Это должно работать для всех виртуальных сетей, использующих движок Visual Novel Maker.
Вам нужно отредактировать
SCRIPTS.js
файл (подойдет блокнот), помещенный вresources\app\data
папку с игрой.Поиск текста
Component_MessageBehavior.prototype.showMessage
После строки:
this.message += lcsm(params.message);
отправить заявку:
navigator.clipboard.writeText(this.message); //copy text to clipboard
Сделанный
Для вашего удобства прикрепляю уже модифицированный файл для замены оригинального текста Gym Mommy-Copy в clipboard.zip
Everything worked. Thanks a lot
help me please. Can't translate with textractor