Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2.03k stars 202 forks source link

ExtractText "kag.tag.js" fix for Tyrano game not working. #917

Open Uzukii opened 1 year ago

Uzukii commented 1 year ago

Game with the issue.

Woman in the Prison https://www.sendspace.com/file/yy9nf0

Unlike other Tyrano games I've used this hack with, replacing the kag.tag.ts file makes the game not run anymore. The only difference between this game and other Tyrano games is it does work with Textractor, but the hook accuracy isn't always 1:1. And the original kag.tag.js file is... structured differently compared to the one ExtractText replaces it with. Which is why I'm guessing it doesn't work. I can play the game without the hack, but for future games that might have the same problem, I'm wondering if there's a line of code I can just copy and paste instead of replacing the file.

DDWSdwqdq commented 1 year ago

Find showMessage: function navigator.clipboard.writeText(message_str);

https://www.sendspace.com/file/14u3k3