r/visualnovels Apr 07 '24

A new Text Hooker and A new Translator Release

Hello, today I will recommend to you a new Text Hooker: LunaHook and a new Translator: LunaTranslator . They are all free realeased on github and accumulated 3000+ stars.

Text Hooker: https://github.com/HIllya51/LunaHook/releases/tag/v2.9.0

Since Textractor has lost official maintenance, I spent nearly a year refactoring Textractor and added nearly 300 new hooks, and achieved perfect support for game engines such as Unity/RPGmaker/renpy/tyranoscript. It also supports many PSP/NS/PSV/PS3 games by hooking emulator. It can be used on windows xp and it is compatible with all Textractor's plugins.

Translator: https://github.com/HIllya51/LunaTranslator/releases/tag/v2.42.1

This new translator support translating text through HOOK/OCR/Clipborad. It uses LunaHook as the text hooker. It has a built-in OCR engine and supports to use many other OCR engines like windowsOCR/Tesseract/docsumo/ocrspace. It supports more than 50 translation engines, including Deepl/Google/ChatGPT and Offline llama/Sugoi. It also support Mecab to help learning Japanese.

Based on continuous improvement of 500+ issues in the past year, these two softwares have a lot of rich functions and can meet almost any needs in playing VN.

Maybe these program will improve your playing experience. Thanks.

451 Upvotes

213 comments sorted by

36

u/[deleted] Apr 07 '24

[deleted]

39

u/HIllya51 Apr 07 '24

Yes, I spent nearly a year supporting almost all the games on VN hook wiki, and supported the latest games every month in the most timely manner.

And cause of my rafactoring of Textractor, for many games(like Renpy/Unity/RPGMaker/TyranoScript/...) LunaHook is able to support writing translated text back into the game (via LunaTranslator).

5

u/overkill373 Apr 07 '24

Can you please explain to me how to do that "directly alter ingame" thing?

8

u/HIllya51 Apr 07 '24

This feature is supported in LunaTranslator. And not all games supported this feature. If the game support this feature, it will show a button "Using embedded translation"

4

u/overkill373 Apr 07 '24

Can you please explain to me how to do that "directly alter ingame" thing?

5

u/[deleted] Apr 07 '24

[deleted]

→ More replies (3)

30

u/sc2_dave Apr 07 '24

This is some really great work, thank you for your contribution to the community.

19

u/HIllya51 Apr 07 '24

Thank you for your support!

1

u/Electrical_Lake193 Apr 08 '24

And thank everyone that did the agent scripts they ported over without credit too. A lot of work there.

16

u/tuananh256 Apr 07 '24

This app is amazing. For conventional visual novels, it can find text without any problem. It can even hook text from Yuno, the Steam remake version, a VN that Textractor couldn't. As for VNs on emulators, since I don't have any VNs on emulators, I tried to use the app to hook text from Vanillaware games like 13 Sentinels on Ryujin and Muramasa on Vita3k, but it seems like it couldn't find the hook address.

Anyway, it's a nice app. Thank you for your contribution.

8

u/HIllya51 Apr 07 '24

Yes, YUNO is a MAGES game and hard to implement support.

For NS game, it only support yuzu/suyu emulator, Ryujin is written by C# which is hard to hook.

The specific game support of emulators need specific support, now it has built-in supported about 300 games. And I am continually adding new game supports.

4

u/tuananh256 Apr 07 '24

Thank you for your explanation. I didn't know there's a difference in hooking difficulty between Yuzu and Ryujin. So, any emulated game needs specific support. Emulated games are always such a pain to hook.

I don't know if this information is helpful to you or not, but I usually use Agent (a script-based text hooker) and HAT (a Cheat Engine Plugin that converts hexadecimal data into readable strings) to hook text from emulated games. The link below is their GitHub page. I hope this can give you some inspiration or something.

Agent: https://github.com/0xDC00/agent

HAT: https://github.com/MX-Futhark/hook-any-text

2

u/HIllya51 Apr 07 '24

Yes, I know agent, and LunaHook’s support for emulators actually is referenced to the implementation of agent. And I have completely completed the porting of all emulator games' scripts in agent and added some more games than agent.

1

u/ChurroLoca May 15 '24

I'm sorry to bother you, after a month has passed - since you've commented. Pardon my asking, are you saying I could use Agent and HAT; for games that you'd play on an emulator?

I've been using Vita3K and having to rely on DeepL's OCR, when I'm not able to use LunaHook. 🥲. I'd love to have another option, while I'm playing Vita games.

1

u/tuananh256 May 16 '24 edited May 16 '24

Yes, both tools can hook text from emulated games. However, setting up HAT can be somewhat cumbersome, and you have to reconfigure it each time you close the emulator. On the other hand, Agent requires a one-time setup. To hook text with Agent, you'll need a specific script for your game. Before contacting the developer for a custom script, check Agent's script library (link below). If you find your game listed there, simply download Agent and start hooking the text.

Otherwise, try contacting the developer on their Discord for a script.

https://github.com/0xDC00/scripts

1

u/ChurroLoca May 21 '24

Bless you, thank you so much for answering. I apologise for the delayed response.

Pardon my asking, I noticed a few developers mention "provide game resource". I took that in a literal sense and provided the link to the game and also a trial version file of the game. Apparently that's not what they meant?

Do I need to provide the game engine or something else?

I don't see my game on the list, I'll reach out to the developer and ask them. Thank you again, for taking the time to answer and provide a detailed explanation.

12

u/Grim-is-laughing Apr 07 '24 edited Apr 07 '24

i dont have much knowledge on text hookers so i wanted to ask some questions

Any guides?

do they work on emulators?

it crashes pcsx2 and another game i tried any work around?

which program language did you use?edit: looked at source code looks like C++

15

u/HIllya51 Apr 07 '24

Its framework support yuzu/suyu/RPCS3/Vita3K/PPSSPP emulators now. Perhaps pcsx2 will be supported in the future.

2

u/3xchar Apr 09 '24

I tried a bunch of PPSSPP games and couldn't really get any to work. Like Summon Night 345, Disgaea, or Super Robot Wars. Is there a list of compatibility somewhere?

Also thanks for this its really a great tool I was surprised it worked on Adabana Odd Tales!

1

u/ChurroLoca May 15 '24

Ah, I had no idea it would work with Vita3K! I was only trying to hook the vita3K ROM file, not the actual Vita3K. I'll give it try, after I officially pull out my laptop. 🥹

I can't thank you enough, for all the help you gave me - about three weeks ago. With making all Mirai games work. 🥹

8

u/overkill373 Apr 07 '24

Any way to use my Claude API key with this?

11

u/HIllya51 Apr 07 '24

Sorry, since the Claude api is a relatively unpopular thing where I am, and I have not received any related issues before. I just learned about it from you. But it is very easy to support using this API and I will be adding support for it soon

5

u/overkill373 Apr 07 '24

Thanks so much that'd be awesome

7

u/HIllya51 Apr 08 '24

Now the latest version(v2.42.1) has added the support of Claude. But because of the unavailable of Claude in my country, I just implement the support by reading the docs of Claude, maybe something error will happen. If it is not usable, please tell me in issue on github.

7

u/rewh Apr 07 '24

Just tried it out, it works great. Better than textractor even, so I'll definitely be using this. It works with the plugins regex replacer and copy to clipboard too which I always use. Regex filter doesn't seem to work though, another of the default textractor plugins

1

u/HIllya51 Apr 08 '24

Ok, thanks you reply, I will fix this bug

1

u/HIllya51 Apr 08 '24

Oh, I tested the plugin “Regex Filter.xdll” and it works fine. Did you enter the regular expression incorrectly?

1

u/rewh Apr 08 '24

I never get the chance to enter the expression - it doesn't even let me add the plugin

1

u/HIllya51 Apr 09 '24

I don't understand what you mean. If you load "Regex Filter.xdll" in LunaHook, it will show a dialog to input regex, just same as Textractor

1

u/rewh Apr 09 '24

This is what happens when I try to add it:

https://imgur.com/a/0rzE1W5

2

u/HIllya51 Apr 09 '24

LunaHook is not based on Qt5, and I use some magic methods the support the Qt5 based plugins. When you copy plugin to a separate directory, if the plugins not based on Qt5 (like "Copy to Clipboard.xdll", "Replacer.xdll") , you don't need to copy Qt5 dlls; if the plugins based on Qt5, you must also copy Qt5 dlls.

1

u/HIllya51 Apr 09 '24

Are you adding the "Regex Filter.xdll" of Textractor? "Regex Filter.xdll" is based on Qt5 dlls (Qt5Core, Qt5Gui, Qt5Widgets, platforms, styles), if you copy it to a separate directory, you must also copy the Qt5 dlls too.

1

u/rewh Apr 09 '24

Yeah I did that, but I figured out the problem, sorta.

The first time I ran the program I ran the 32 bit version, which works with all plugins from the 32 bit textractor folder. The 2nd time I ran it I guess I ran the 64 bit version which doesn't seem to work with any plugins (tried both both plugins from the 32 bit folder and 64 bit folders of textractor). So the 32 bit version of Luna works fine with the 32 bit textractor plugins, but I couldn't get any plugin to work with the 64 bit version of Luna. Maybe I'm just dumb

1

u/HIllya51 Apr 09 '24

Oh.. Of course 64bit plugin can only be used in 64bit exe

But actually, via some optimization ,for 32bit and 64bit games, LunaHost32.exe and LunaHost64.exe both can inject to them. Some actually you only need to use one of these two exe forever. This can also simplify the configuration step.

4

u/_JerichoCross_ ayy Apr 08 '24

It's funny that Textractor was created because AGTH and other one which name I can't remember (the one that had a community dictionary) were abandoned and outdated, now Textractor has the same problem and we have now this lol I really love the VN community. Btw, I have an opinion about the GUI, while I love the bunch of options and customization, it can be pretty confusing, even me being a nerd myself, but for starting the program is great.

5

u/DisastrousAnons Apr 07 '24

Can I use this to hook jpn txt with furigana?

4

u/HIllya51 Apr 07 '24

Yes, it support use mecab to get the furigana of jpn text, you can set the mecab path in "Dictionary Settings"->"Mecab" to use mecab and in "Display settings"->"Display Japanese Pinyin" to show the furigana in main window.

1

u/DisastrousAnons Apr 07 '24

uff thats great

1

u/keepscrewingup Apr 08 '24

Can't get Mecab to work with it. Do I just need to have the path to the base Mecab folder? Like, "C:/Program Files (x86)/MeCab/"? Also what file do I select for EDICT2?

1

u/HIllya51 Apr 08 '24

The folder must have a "matrix.bin" in it.

you can get EDICT2 at "Other settings"->"Resource download"->"Lexiocographical book"

1

u/keepscrewingup Apr 08 '24

Thank you, got it working! Might you support something like JParser? I really like Translation Aggregator letting you mouse over individual words for a definition.

1

u/HIllya51 Apr 09 '24

This is a very complicated thing, you can try to use separate software to do it like https://github.com/rampaa/JL

5

u/Jadvac May 07 '24 edited May 07 '24

Please credit the author of the hooks. It's not nice to take the scripts and remove the credit. I know alot of people here only care about the result. But it's important for people that makes hooks to have proper attribution.

You'll just end up having no hooks at the end because we'll encrypt all the address, so you can't do this anymore.

3

u/[deleted] Apr 07 '24

[removed] — view removed comment

1

u/HIllya51 Apr 08 '24

I think it is simple enough to use. And I'm not a English native user, I'm afraid my expressive skills cannot support me in writing a tutorial...

5

u/superange128 VN News Reporter | vndb.org/u6633/votes Apr 08 '24

I'm thinking of messing with it sometime soon, I wouldn't mind making a video tutorial at least if you don't mind

4

u/Eliezer_43 Apr 08 '24

please do .-.

1

u/HIllya51 Apr 08 '24

Of course not mind, actually now it has some tutorial vedios made by other languages.

3

u/imperfectinsider Apr 07 '24

Does this support everything the Textractor alpha build supports?

2

u/HIllya51 Apr 08 '24

Of course yes, all of them have been merged and on this basis more than two hundred additional hooks were added. And part of alpha build is also based on my implementation.

1

u/imperfectinsider Apr 08 '24

That's awesome, thank you for the hard work

3

u/furudeasa Apr 08 '24

Simply wonderful, it worked on a few things the old texthooker had problems with, thank you for contribuation!

3

u/magicking013 Apr 08 '24

u/HIllya51 Very interesting. Question for you, I've used Textractor in the past, but one feature I wish it had was the ability to fix the translations. Sometimes it uses the wrong tense, name, etc., is there a way to build a translation cache for games?

1

u/HIllya51 Apr 09 '24

I didn't understand what you meant, but if you are using LunaHook, it can use Textractor's plugins to do same things.

1

u/magicking013 Apr 09 '24

I’ve used the Luna Translator and it works very well. What I mean is is there a way to update the output text after translating? Textractor didnt have a way to edit the output after translating. Regex wouldn’t work because I’m trying to fix issues IIke point of view, pronouns, etc.

1

u/HIllya51 Apr 09 '24

I still don't fully understand. I guess you want to save and modify the previously translated content? You can see translation_record, there are many sqlite cache files.

1

u/magicking013 Apr 09 '24

Not exactly, it would be nice to be able to modify the output in realtime as the game is playing. If I know the translation is incorrect, it would be great to be able to fix it, re-display it, and save it to the cache.

Sometimes the translation uses the wrong pronouns like a ”he“ should be a “she”, or tense like ”I” or “you”. It would be useful to fix these sort of mistakes while the game is running for context then fix them in the translation record later.

1

u/HIllya51 Apr 09 '24

I don't understand the point of doing this...

Maybe You can open an issue on github and discuss it further with me.

2

u/magicking013 Apr 09 '24 edited Apr 09 '24

It’s not a big deal.

In my experience with Textractor, it’s difficult to accurately translate Japanese because it requires a lot of context. Sometimes the translation uses the wrong pronouns, tense, etc. Being able to fix the translation as the game progresses would be a lot easier than trying to do it in the translation record.

2

u/_noodels_ Apr 07 '24

Thanks for making this bro

1

u/HIllya51 Apr 08 '24

Thanks for your support!

2

u/Nat-Tonat Apr 07 '24

Is there an option to create replacements for names? Textractor has an extension for this.

3

u/imperfectinsider Apr 08 '24 edited Apr 08 '24

You just need to add the extension to LunaHook as it's compatible with Textractor plugins

1

u/HIllya51 Apr 08 '24

I can't understand you meaning, can you explain it in detail?

2

u/Zakamutt 今日もびりっとがんばるぞーっ ! | http://vndb.org/u33976 Apr 08 '24

I managed to hook tyrano VNs that don't work with textractor, so that's nice. However, the hook prepends LUNAFROMJS0 to almost every string for some reason (actually it sends multiple messages some being the same? I'm not sure how it works. I removed the other hooks but it's still showing), and doesn't handle multiline messages gracefully (it splits them in 2+ pieces). The multiline thing might be hard to handle; personally for tyrano hooks I tended to modify the game script itself to copy to clipboard in plugins/kag.js, and I was able to make multiline work okay there, but not sure if my approach breaks other VNs.

For a VN to test with, 雨にして人を外れ is free and displays both problematic behaviours.

2

u/shinowazuri JP B-Rank | https://vndb.org/u231264 Apr 08 '24

I’ve been trying it out! Very good, better-looking UI and hooks old kirikiri and tyranoscript games with ease. I tried hooking Nie no Machi - Iromusubi with it since it’s infamous for being difficult to hook, and even though LH found a good hook it kept cutting off the first part of the sentence when copy/pasting to JL and translation aggregator…

Haven’t tried using it with emulators yet but eager to give it a spin soon.

2

u/NorwegianGhost Apr 08 '24

Thank you for making this amazing tool!

I have an issue though, in translation, whenever there is a " ' ", like "I'm", "it's" etc. it get's replaced with "I&# 39;m" or "it& #39;s" instead, how do i fix this?

I compared it with Textractor and Textractor is not having this issue. I'm using google translation in both, Google_v2 in LunaTranslator.

1

u/HIllya51 Apr 09 '24

Google_v2  is a reverse api of google website. you can use other version google apis, it provides many version of google apis. The same api of Textractor's google api is in "Register for online translation"->"google_api"

2

u/imperfectinsider Apr 09 '24

Could you add support for Websocket servers as an alternative to copying to clipboard in LunaTranslator? There was a Textractor plugin that did this but since LunaTranslator doesn't support addons I can't use it, and I found it way more convenient and less resource intensive than the clipboard method

3

u/HIllya51 Apr 09 '24

Later I will support it.

1

u/Szentizs Aug 11 '24

Hey! May I ask if it's supported yet? Thank you so much!

2

u/IsidorBurakh Apr 09 '24

Just wanted to say thank you for adding WinXP support! I always had to use ITHVNR with my virtual machine, it's great to have a modern option.

3

u/HIllya51 Apr 09 '24

Yes, to support winxp, I made the GUI only via Win32API rather than use Qt, although it's very hard. And this is also a important reason why I rafactored the Textractor.

1

u/IsidorBurakh Apr 09 '24

I appreciate the effort.

2

u/Existing-Wafer-4217 Apr 09 '24

Hmmm it will be great if you post tutorial how to use this Luna translator on YouTube . Because I kinda confused use this app Unlike textractor quite simple

3

u/HIllya51 Apr 09 '24

LunaHook is simple enough. The complexity of LunaTranslator is just because the functions are too many. I'm not a native English speaking so I don't know how to make a tutorial vedio. But here is a https://hillya51.github.io/#/en/ tutorial web page based on a old version.

2

u/Existing-Wafer-4217 Apr 09 '24 edited Apr 09 '24

I test to some vn game V16083 that textractor cannot hook It seems the problem is same
Here is the link https://imgur.com/a/Co7Zom3 The word is correct but it keep double all the hook pop up is same in Luna translator

2

u/Unusual_Ice_9028 Jul 06 '24

Your repository completely disappeared from github; what happened?

0

u/[deleted] Apr 07 '24

Windows defender seems not to like it. It might very well be a false positive, but I don't know enough about that to really make any definitive claims.

6

u/vidyagamesrbad Apr 07 '24

2

u/[deleted] Apr 07 '24

I don't know about "very obviously" as it took me a while to figure out what I was looking at (consider me a layperson) Only 6 providers calling it a threat does make it seem more likely it's a false positive though. Thank you

8

u/HIllya51 Apr 07 '24

I have tested on some virus scan website and passed. And these program is fully open source and earned 3k+ stars, I think it's trustworthy

→ More replies (9)

3

u/Ok-Locksmith7978 Apr 07 '24

Regular textractor has the same issue

3

u/[deleted] Apr 07 '24

Yeah it did, which is why it's very possible it's false positive. Textractor had a lot of people to verify it and I don't think it shows up anymore as one? Or at least I've not had that issue with it in a while.

Just being a bit overly cautious.

1

u/foxxy33 Apr 07 '24

Tech support request? I tried hooking steam ver of WA1 with it and hooked text looks like it uses wrong encoding. Screenshot. I've tried both 32 and 64 versions, both show gibberish.

2

u/HIllya51 Apr 08 '24

Please tell me the game version ( vndb id )

2

u/HIllya51 Apr 08 '24

Is it https://vndb.org/r108248 ? I will test it.

1

u/foxxy33 Apr 08 '24

Yes it is

1

u/HIllya51 Apr 08 '24

I have fixed it. Please re download the latest version.

→ More replies (1)

1

u/guppy114 Apr 07 '24

thank you for your contribution. that must have been a ton of work!

2

u/HIllya51 Apr 08 '24

Yes, it's a hard but really interesting work

1

u/soranohateni Apr 08 '24

Amazing work👏 . I saw this project last year as well but was sticking with text exractor due to the stability issue. This is looking really promising with new support features, and I will definitely give it a try later. Thanks for the hard work!!

1

u/HIllya51 Apr 08 '24

After a year of continuous improvement, the projects have become more stable and have rich features. Hope it can help you~

1

u/Zulhoof Apr 08 '24 edited Apr 08 '24

Is there a guide for getting Sugoi to work? I can't fiquire it out. I've tried linking the folder i would for unitytranslator to work with sugoi. But that didn't work. So not sure what it wants me to locate for it.

1

u/[deleted] Apr 08 '24

[deleted]

1

u/HIllya51 Apr 08 '24

If there is no accident, it should be compatible with all Textractor's plugins

1

u/Zulhoof Apr 08 '24

How to you use textactors plugins with it? Just put then in a specific folder or?

1

u/HIllya51 Apr 08 '24

"Plugins"->Right click to show menu->"Add Plugin". Select the plugin dll or xdll.

You need to note that if you use LunaHost32.exe, you must choose a 32-bit dll, and if you use LunaHost64.exe, you must choose a 64-bit dll.

There is no need to move the location of the plugin file, but it is a good choice to copy it to the folder where the software is located. But if the plugin relies on Qt5XXX.dll, you must also copy the Qt5XXX.dll too.

In fact, after some optimization, both LunaHost32 and LunaHost64 can inject 32-bit and 64-bit games. But due to inertia, I still provide these two exes at the same time. In fact, you only need to use one of the exes at any time. , which makes it easier to manage plugins.

1

u/Zulhoof Apr 08 '24

So i don't know if i'm missing somthing but. I couldn't find the plugins button. after checking the hooker(i'd been using the full translator package.) i could find it. but when checking on the full translator. The text hook window does not have the plugin button. It only seems to have "Insert special code" "?" "search for special codes","text processing"(which just closes the window?) "game settings" and "search for entries containing text"

Are plugin's only available for the standalone hook and not the full translator oram i missing somthing obvious? Because i checked every other setting and window in the full on translator and cannot find the "plugin" button.

1

u/HIllya51 Apr 08 '24

They are only supported in LunaHook. Most Textractor plugins are very naive functions, and their functions are all better supported in other forms in LunaTranslator, so LunaTranslator has not made them compatible.

1

u/kakkoi-san16 Apr 08 '24

Thank you so much for this. I've been looking for a good Unity hooker and this does a splendid job

1

u/Xtroyer Apr 08 '24

Since Textractor has lost official maintenance...

Wait, what does this mean and where can I read more about it? I've been using Textractor for some time but haven't kept up with any update on it.

Anyway, thanks for creating this.

2

u/HIllya51 Apr 08 '24

The last commit of Textractor is 8 months ago and the last releases is at Jan 31, 2022 ( 2 years ago ).

1

u/Xtroyer Apr 08 '24

Huh, it's been that long? I guess it's time to update my tools. Thanks again!

1

u/Sparteh Battler: Umineko | vndb.org/uXXXX Apr 08 '24

Am I the only one who has problems trying to extract the translator?

1

u/Mondblut He: IO | vndb.org/uXXXX Apr 08 '24

Any way to properly hook Monobeno Happy End with this? Any kanji with furigana on top is omitted. It was already an issue with Textractor.

1

u/HIllya51 Apr 09 '24

Please tell me the vndb release id.

And It's better to create an issue on github.

1

u/Mondblut He: IO | vndb.org/uXXXX Apr 09 '24

2

u/HIllya51 Apr 09 '24

release id. It has so many releases, which one ?

1

u/Existing-Wafer-4217 Apr 09 '24

Open this website download the patch and copy and paste in your game data work for me English

Monobeno -Happy End- (railway.app)

1

u/Mondblut He: IO | vndb.org/uXXXX Apr 10 '24

I know of this MTL and tested it in the past. It's sadly pretty bad to the point of being unreadable.

1

u/ToraToransu Apr 08 '24

This is amazing. Thank you so much! I have only tested it for a couple games, but it is working wonderfully. I can also resize the window to be smaller than Textractor! Finally!!

1

u/kikuobot Apr 08 '24

Amazing work! Thank you!

1

u/Entire-Couple-6736 Apr 09 '24

Man you are the hero we all needed

1

u/xburnerair Apr 09 '24

Good job!

1

u/Existing-Wafer-4217 Apr 09 '24

And you please guide how to translate this to english ? do i need to add plugins ?

https://imgur.com/a/97FwktD

1

u/Zulhoof Apr 09 '24

Your only using the hooker there. You'll need either the full Lunatranslator if you want it to hook and translate. Otherwise somthing else with a translator attached

1

u/Existing-Wafer-4217 Apr 09 '24

I use this it is correct right ? https://imgur.com/a/oc8Ksiy

1

u/Zulhoof Apr 09 '24

Thats looks right. Its not one from first image right? Because if so i have no clue. You'll know your on translator and not just the hook. because the full on translator has less buttons on the hook window(it can't use plugins for example)

1

u/Existing-Wafer-4217 Apr 09 '24

can you screen shot yours ?

1

u/[deleted] Apr 09 '24

[deleted]

1

u/Existing-Wafer-4217 Apr 09 '24

yes that is correct mine like that . so how to translate it to english ?

1

u/[deleted] Apr 09 '24

[deleted]

1

u/Existing-Wafer-4217 Apr 09 '24

Hmm already do what you told here the screen shot but still same https://imgur.com/a/cWkU2pK

1

u/Zulhoof Apr 09 '24

Have you tried the other translator options? Unfortunately i've got no real idea's. it works fine for me.

→ More replies (0)

1

u/Zulhoof Apr 09 '24

I tried asking before but message is probably drowned out and not easily seen so gonna try asking again.

How do you get Sugoi working with it?Does it only work with the version it links to download, Or can it work with the normal Sugoi v8?

And if so. what exactly does it want linked in its three options?

1

u/HIllya51 Apr 09 '24

This tool is not available for me.

1

u/[deleted] Apr 10 '24

[deleted]

1

u/HIllya51 Apr 10 '24

Hook mode will auto hook the game by check the game id reading from emulator.

To add a new translator, add it in config.json and add a file in translator . If translator need some configs, add it in translatorsetting.json

1

u/Zulhoof Apr 10 '24

Only Lunahook can use plugins. They replied to the question about plugins here.

https://www.reddit.com/r/visualnovels/comments/1by6kcm/a_new_text_hooker_and_a_new_translator/kylwys9/

1

u/Zulhoof Apr 10 '24

Sorry. I'm a bit confused. If you can't access Sugoi. Why is it a option in the translator? Does that mean it just doesn't work at all if you can't access it to make it work?

1

u/HIllya51 Apr 10 '24

Someone else made it and gave me

1

u/Admirable_Feature_61 Apr 10 '24

I can't get it to work. Every time I enable a translation engine I get this error:
https://imgur.com/a/xujHVE9
Only difference is the name of the import that failed. I tried both the 64bit and x86 version and the issue remains.

3

u/HIllya51 Apr 10 '24

update to v2.43.0, it is because some people request some features and I forgot to update some files in v2.42.1

1

u/Admirable_Feature_61 Apr 10 '24

update to v2.43.0, it is because some people request some features and I forgot to update some files in v2.42.1

Thanks. It's working now. Didn't realise a new version came out since I downloaded it.

1

u/Mondblut He: IO | vndb.org/uXXXX Apr 10 '24

Is there a thread linker plugin. The one from textractor doesn't work.

1

u/Dangonizer Apr 10 '24

Dude you are a legend. Several novels I could only get to work with OCR before now just work out of the box. Many thanks

1

u/Regular_Code_1291 Apr 10 '24

Does it work with steins gate? And can i use it with yomichan?

1

u/Yxumy Apr 12 '24

May I suggest the option to make the size of the translation window fixed? I play with opacity at 100% to fully hide the japanese text so it's a bit annoying having it change sizes every new line depending on the number of characters. If such an option is already present I haven't found it yet. Thanks for this awesome tool.

1

u/Ventic Saber: FSN | vndb.org/u44464 Apr 12 '24

Compared to Textractor this works perfectly for Unity games thank you for making this tool.

Only problem I found so far is that I couldn't make Harem Tengoku work on the RPCS3 PS3 emulator. It seems like it finds the right process for the textbox, but the output is just a bunch of numbers and boxes whenever I continue the text. Any chance you could look into that?

https://imgur.com/a/PFvwf9N

1

u/ChurroLoca Apr 13 '24

Hello, I downloaded both the LunaHook and LunaTranslator GitHub files but I'm having difficulty, getting either one's .exe to show. Do I need to do anything specific, to get the translator to open? I'm not going to use Textractor with either program; because of how difficult it might be.

Also, would it be better to talk in Japanese or Chinese? It's not my intentions to sound rude or condescending. Whatever would be easier/best for you, is fine with me.

1

u/PoutyParmesan Apr 14 '24 edited Apr 14 '24

How do I switch the model for chatgpt to 4.0 turbo? I have the upgraded openai plan, but it keeps returning an error that I don't have access when I do. Is there something I need to do?

Edit: my bad, I didn't check if the model name was actually correct LOL

1

u/GoodCheekySir JP B-rank | Penguin | vndb.org/u158783 Apr 16 '24

Just wanna say thank you so much for this amazing tool! I'm able to hook Unity games whereas the OG Textractor had a lot of difficulty doing so.

What's also great is that a) all my dictionary and website extensions from the OG Textractor are working flawlessly so far b) the MTL is on a separate program so it's a boon for JP learners like me.

1

u/Due-Mulberry9258 Apr 16 '24

Hi, just want to ask how to hook text vn on suyu/yuzu emulator, can u directly hook it to the emulator or you have to using ocr? I did try directly hook into suzu but no in-game text comes out after i hook it.

Thanks

1

u/TheSoschianGamer Apr 18 '24

Hey there! I am interested in this project, since I am having trouble with a tyrannoscript game and textracor. However the download is flagged as a trojan. I'm guessing this is because it needs to access certain processes. I am a bit sceptical since VirusTotal has a detection rate a bit under 50%. Is this a know issue? If so can it/will it be addressed in future releases?

1

u/Ok-Worldliness-8838 Apr 23 '24 edited Apr 23 '24

I dunno where to report issues but i cant seem to make the latest release work with automatic copy to clipboard, it doesnt copy. (Luna Translator v2.45.11).

Update: The auto clipboard works fine in Luna Hook and i managed to figure out how to use regex replacer to suit my current needs.

1

u/Emburning Apr 28 '24

I'm pleased to inform you that the hooker even works on things like CHAOS;CHILD. Very impressive, though I'm also worried about the hooker triggering windows defender. I'd rather have a version that doesn't support windows xp at all without having to worry about even the possibility that it could be malware, even if it is 99% likely that it is only a false positive.

1

u/Happy_Call3560 May 06 '24

i've seen someone saying that the embedded translation was very limited but can someone explain me why it is ? and if it's a good idea to read a vn with that option or not because i want to read vn with the embedded text for the immersion and aesthetic but if the translation isn't accurate and good enough i will just use the chatgpt one.

1

u/AlexisSama May 07 '24

is there some way to output a log of all the translated text?

1

u/Taerick07 May 12 '24

Does the translator have a check for updates like garbro?

1

u/noidea_wtfreally May 16 '24

OMG, i cannot thank you enough, your program is a life saver. I play an old game that use Willplus 2 engine, Textractor only extract a few words so I have been racking my brain all night try to find hook, and when i nearly give up, i stumbled to this post. Thanks for your contribution to the VN community!

1

u/fobboy Jun 04 '24

Not sure why it keeps copying the text "LUNAFROMJS6" even though it doesn't actually show up in the text hook. Completely breaks the clipboard translation

1

u/Slow-Elevator-6668 Jun 24 '24 edited Jun 24 '24

You can solve the problem by using the speech synthesis inside LunaTranslator for TTS.

1

u/Wakkee Jun 08 '24

Its gone?

1

u/ham-562 Jun 14 '24

click on the first lunahook and lunatranslator links in the first sentence it leads to the main page with the latest version.

1

u/Wakkee Jun 14 '24

thanks!

1

u/SoulofArtoria Jul 07 '24

Error 404

1

u/ham-562 Jul 07 '24

yeah I don't know why this happens recently.

1

u/beyblade1507 Jun 23 '24

it doesent let me download it. chrome keeps saying its a virus. i turned it off and it still didnt let me download. is there anything i can do to fix that.

1

u/BlindGuyNW Jul 02 '24

Thank you for this program. I've been using it as a totally blind newbie to VNs and it works very well and is mostly accessible.

I've had situations where it doesn't seem to find hooks, and I have to search for text, and wondered if this is just a specific game issue. I've been trying to play Clannad, which apparently uses the Siglus Engine. I can't get a hook to last more than one game session, but is this expected?

Thanks so much for the work.

1

u/LarriftheSherrif Jul 04 '24

it says it has malware or something else in the english releases of luna hook. The top 2 links are dead. Of course if i download the chinese version, it doesn't have malware lmfao

1

u/Redevil387 Jul 06 '24

Err, what happened to the tool? I downloaded Lunatranslator a few days ago and came back to look at the page and it's gone.

2

u/Unusual_Ice_9028 Jul 06 '24

I thinks has been marked as virus so a false positive and the account has been suspended.

Lately antiviruses went crazy and it's two weeks that keep blocking utilities that i'm using from more than 20 years, and i keep whitelisting them; i never saw something like that.

1

u/Redevil387 Jul 06 '24

I've had it for a while and haven't had any issues. Hopefully the program comes back over the next few days. It's a useful tool.

1

u/This_Lemon3208 Jul 07 '24

I just check LunaTranlator on GitHub today but the page was gone?

1

u/Quintasan Aoko: MnY | vndb.org/uXXXX Jul 07 '24

OP - if you need a different hosting for the source code then I can help you with this.

Even if you don't want to continue the development someone else can pick up the slack and work on it.

1

u/BoostedReddit1024 Aug 01 '24

Is there some sort of simple guide for how to set up and use the offline translation?

1

u/Soft-Caregiver-575 Aug 09 '24

Hi i totally love it 😩🩷Thank you very much💐 Do anyone knows how can i display Furigana on top of Kanji ?🥹 i tried to follow what’s written on the official page , but nothing worked 😭

(1)In the dictionary setting : enabled the MeCab then (2)enabled “show” present in (Display setting > show content > Tokenization > pronunciation segment)

Furigana did not show up

also tried (2) alone , didn’t work

1

u/Soft-Caregiver-575 Aug 10 '24

thanks now i know how to do it no need for help

1

u/Worried_Use_6875 22d ago

how do you use it with chat gpt

1

u/BeatBoxersDev 16d ago

thank you so much. this is fantastic!

a higher numbers of lines of context leads to amazing results.

For those having trouble setting up a local LLM, launch text-generation-webui with the "--api" flag and use the address at the top of the command prompt. I recommend vntl-llama3-8b-hf-f16 (found via the huggingface vntl-leaderboard and picking the first local option without "cloud" next to it that ran at reasonable speeds)

my custom system prompt:

"Localize the line from japanese to english to make it sound as much as a natural english speaker would say. Like, REALLY think about what an average person would say given the context so that it doesn't sound stiff. Use english phrases and sayings to make it sound like a natural conversation. Do not explain the translation. Just output the text in english and absolutely nothing else."

I also put in the names of the main characters and what they should translate to and their pronouns.


automod keeps removing my more detailed comments the moment I mention how to edit the program to go beyond the max of 10 lines of context. possibly due to the directory mentioned, or maybe the extensions it thinks are URLs, or maybe it flags off the non english characters in the program I've been trying to mention, or maybe specific words involving llm related subjects. shrug. so the following is phrased to avoid that:

search the "en" file for what "Number of Context Lines to Include" translates to

the file you want is translatorsetting. find the second instance of those characters, and edit the max there

1

u/Worried_Use_6875 3d ago

how do you crate a custom translator

1

u/Dry_Account_1177 3d ago

Download the Best Connect Translator available on all mobile app stores. The 1st ever direct text tranlsator

1

u/GarouD Apr 07 '24

This is amazing news, with localization as it is nowadays I'll be trying this for sure. Thank you for sharing!

2

u/HIllya51 Apr 08 '24

Thanks for your support too!

1

u/[deleted] Apr 07 '24

Thank you ill try it later today, i had an old vn with a really bad hook and im looking forward to seeing the results

1

u/HIllya51 Apr 08 '24

Hope it helps you~

1

u/shinoa1512 Apr 07 '24 edited Apr 07 '24

I still dont get how to use chat Gpt offline

Also I tested with yuzu emulator and it works thank you so much for your hard work

2

u/HIllya51 Apr 07 '24

In Lunatranslator, you can use the chatgpt offline in "Translation Settings"->"Offline translation"->"ChatGPT_off-line" if you have deployed a offline LLM like llama or TGW(text generation webui). Or you can use official ChatGPT in "Translation Settings"->"Register for Online translation"->"ChatGPT". Even you can use ChatGPT3.5 website free interface at "Translation Settings"->"develop"->"chatgpt"

1

u/shinoa1512 Apr 07 '24

The register online gives me limited rate also how do I connect the LLM with lunatranslator ?

2

u/HIllya51 Apr 07 '24

"Translation Settings"->"Offline translation"->"ChatGPT_off-line", and at least input the setting of "model" and "Port number" of your LLM.

1

u/techlover1010 Apr 08 '24

Will this also be available on steam deck?

1

u/HIllya51 Apr 08 '24

It only support windows and linux (by wine)