Git Product home page Git Product logo

lunahook's Introduction

LunaHook

LunaTranslator核心文本提取器模块

下载

在github release中下载

选择所使用的语言下载相应的zip

若通过windows xp玩古老的游戏,下载带有_winxp后缀的版本

插件

release中下载plugin32或plugin64

兼容Textractor插件

由于LunaHost32和LunaHost64都可以注入到32位和64位游戏,因此实际上你仅需使用LunaHost32和LunaHost64中的一个,且仅需下载plugin32和plugin64中的一个。

支持作者

若觉得软件对你有帮助,欢迎成为我的sponsor 。感谢~

屏幕截图 2024-03-29 212522.png

lunahook's People

Contributors

ayasefile avatar chlbc avatar gamefuzzy avatar hillya51 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lunahook's Issues

hoshizora no memoria line break

vndb link/id

v1474

Game resource 游戏资源

Hello, I want to translate this game from English to Vietnamese, but it keeps having "~" in every line break, making the translation inaccurate.

screenshot 截图

Screenshot 2024-05-29 160757

Doesn't load saved user hook

I insert user hook, select "Remember Hook Selection" for it, select autoattach in settings, close LunaHook and lauch it again, it autoattaches to VN and loads only default hooks, without the userhook that I added (even though the hook is saved in config file).
Mentioned above is for LunaHost32.
As for LunaHost64, if I use "Remember Hook Selection" and have the autoattach setting on, the app crashes right after the launch (if I delete saved hook from config file it launches fine again)

能否加个记忆游戏功能

如题,虽然可以直接用翻译器,但是我Textractor里面有大量的替换文本,只能用这个支持Textractor插件的提取器,要把替换的内容搬进翻译器量太大了。
PS:这个进程注入操作实在是很麻烦

What to do, if there's no hooks?

Question 问题

Hello,
We'd just talked a few moments ago. I hope that I'm doing this correctly.

I got plugins to work correctly but I still cannot find a hook, for a game. Does this mean the game doesn't have any hooks? This is the first game I've encountered this problem with. I'm still learning these types of programs.

I hope I don't sound rude, demanding or anything of the sort.

Thank you for your time,

Text in dialogue box is split into separate lines

Version 程序版本

3.1.4

Related screenshot (optional) 相关截图(可选)

Screenshot 2024-04-27 180139
Screenshot 2024-04-27 180234

Reproduction steps 复现步骤

This has been happening for awhile with the same game I mentioned in a LunaTranslator issue . I wanted to wait a bit after what happened last time after I didn't upload the photos correctly.

It appears that with this game, and possibly other Cyclet games, that when text appears in the dialogue box that is more than one line is split into two or three separate lines in LunaHook.

[Feature request] Launch game / Emulate Japanese locale

In Textractor, when you use "Launch game" button, it asks you if you want to emulate Japanese locale. Most of untranslated Japanese VNs won't launch or will have issues without Japanese locale so this feature is very useful for me because I don't need to do any manipulations in Windows settings or use some separate tool to emulate Japanese locale.
Would be great to have it in LunaHook as well.

text hook #2

vndb link/id

https://vndb.org/v1545

Game resource 游戏资源

Games built on the Shiina Rio engine have a text issue. While the text often follows an AAAABBBBCCCC pattern, it's not always consistent. This means that a filter designed to handle AAAABBBBCCCC text can accidentally remove necessary letters from words. As a result, translations processed through this filter can become nonsensical. Here's an example of a game using the Shiina Rio engine: https://mega.nz/file/2mwlmAgS#Vu786qUVxEZ8RBx5g56B-6I6JCip5pnxWnsYM-dUF_E
Pass: ryuugames.com

screenshot 截图

image

BUG

1
发现一个bug,就是这个显示文本的面板,到最大行数以后就不会更新了

Monster Park ~Bakemono ni Miirareshi Hime

vndb link/id

https://vndb.org/v3002

Game resource 游戏资源

https://8fl2fw-my.sharepoint.com/personal/misakichan_digitalshop_biz_id/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fmisakichan_digitalshop_biz_id%2FDocuments%2Fv3002%2F%5BRyuugames%5D%20RY-v3002%2Erar&parent=%2Fpersonal%2Fmisakichan_digitalshop_biz_id%2FDocuments%2Fv3002&ga=1

screenshot 截图

Capture
It seem the hook in beginning is correct but the more i play the more the incorrect translation from the hook
plus this game have annoying cursor that keep the language overwritten from the hook . idk how to explain but if you play it
you know what i mean

关于线程问题

image
我记得早期版本,每个线程前面都会有个一个代号,然后使用Thread Linker.xdll 插件可以进行串联,现在版本没有了,有什么办法吗

[Feature Request] Auto Updater

LunaHook is getting updated frequently, which is a pretty good thing, but manually checking for new versions and installing them is a bit bothersome. If LunaHook were to have an option to auto check and install newer versions that would be awesome.

Fix/Update Hook codes for Shin Koihime † Musou -Kakumei- Son Go no Ketsumyaku (and other games using Catsystem 3 new engine like this game)

vndb link/id

https://vndb.org/v20591#main

Game resource 游戏资源

Download links Shin Koihime † Musou -Kakumei- Son Go no Ketsumyaku

Torrent (in my country this gave me higher speed - don't know what it's like in China, maybe you have to use VPN )
https://sukebei.nyaa.si/view/3090816
Terabox (password: ryuugames.com)
https://www.terabox.com/sharing/link?surl=KIuQPelEb-e2-STcpyOrrg&path=%2Fr71355

Build Error

error C3861: “PyUnicode_Check”: 找不到标识符
error C3861: “PyUnicode_IS_READY”: 找不到标识符
...

Bug (?)

Hooks don't show up after having finished hook search
image
They are, however, saved in the "savehooks.txt" file
savehooks.txt
Is there a way to access them via this text file or is it a bug?

在kf讨论的缓存和文本编辑后续

LunaHook我测试了两个游戏都在3万字符左右停止了缓存文本,一个是千恋还有一个是ガルドマ -女子寮の管理人-,不过ガルドマ是一开始发现存在这个问题的游戏,所以没有截图,千恋测试了中日两个版本都有这个问题。
20240219111854
20240219113012

“有时候遇到选项想把多余的缓存内容去掉就不太容易”指的是下面这种情况,在调整设置或者鼠标不小心划过文本框菜单时,有的游戏会把演示文本一起缓存,对于利用缓存文本翻译游玩来说没有多大影响,但是如果想要把缓存文本保存就比较麻烦了,如果继续推进游戏之后还要想办法寻找这些多余的文本删除,把前面的文本先保存然后重新注入hook又很麻烦,所以我想说如果有编辑缓存文本的功能就能直接删除这些多余内容了。
20240219110125
20240219111249

另外我在使用文本预处理的时候发现,aaabbbccc—abc预处理虽然能去除重复,但会把没重复的文本和换行删除,换行的删除不固定,不是每个换行都删,但每隔几句就会删除一次,不知道是不是预处理表达式本身的问题,我有一个模糊的想法是像MisakaHookFinder一样人为制造换行,然后再预处理中检测到这种换行标志就替换为换行符,最后再去除多余空行,这样就能避免换行符消失的问题了,还有一点就是有的游戏会把人物名称和对话分开缓存,但对话通常会以「」进行,可以为预处理做一个合并人名与对话的功能,检测到「就按顺序添加人名,遇到其他描写就跳过。
20240219120040
20240219120742
以上只是我在使用中遇到的一些问题和想法,如果对完善程序有所帮助就再好不过了。

gemini exception error (Hoshizora no Memoria -Wish Upon a Shooting Star)

vndb link/id

https://vndb.org/v1474

Game resource 游戏资源

Hoshizora no Memoria -Wish Upon a Shooting Star

screenshot 截图

Screenshot 2024-06-07 215958
I used to get Gemini exception errors occasionally, but they were not significant. It would only happen maybe once every 50 translations or so. However, recently I've been getting Gemini exception errors after only 3 or 4 translations.

Could you please help me find the cause of this error and fix it?

There's a problem with the RPGMaker engine

Hello. Problem with RPGMaker engine. I noticed that Lunahook captures text exactly as it appears on the screen. That is, if there are several lines of text on the screen, it captures them separately even though it may be a whole sentence. This makes the translation look sloppy because it translates each line separately, not the whole text up to the point, i.e. the whole sentence. The same RPGMakerMVGame Hook patcher, for example, is perfectly capable of capturing the entire text of a sentence. In LunaTranslator the problem is the same. Sorry for my English, I am not a native speaker.
https://i.imgur.com/U2LAkDM.png

其他引擎提取文本

Lunahook 是可以支持agent 的steam 3a游戏的script?
Ue引擎是否可以加入?
Telltale games 游戏luna hook是否可以支持?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.