Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu choices text hooked/translated as a single sentence #267

Open
perv-asive opened this issue Dec 2, 2019 · 4 comments
Open

Menu choices text hooked/translated as a single sentence #267

perv-asive opened this issue Dec 2, 2019 · 4 comments

Comments

@perv-asive
Copy link

In RPGMaker MV games (and maybe others, haven't tested all engines), it seems like the different actions in the list will be hooked in a single string together with any dialogue/description/story. Also sometimes the text of the actions list is repeated but the Repeated Phrases extension doesn't catch it.
image

In this example the translation is still pretty understandable, but in more complicated cases the translations can reverse the order of things or get it wrong where one choice ends and the next begins.

Is there a way the hooker could separate each action choice onto a separate line?

@perv-asive
Copy link
Author

image
Here is an example where the translation makes it completely unclear which choice is which.

@Artikash
Copy link
Owner

Artikash commented Dec 3, 2019

There are ways to fix this, but none of them are pretty.
Is it not good enough that you can copy paste from Textractor into https://translate.google.com?

@perv-asive
Copy link
Author

Copy and paste into Google translate is what I've been doing, but having to do that for every choice is annoying enough that the game pretty much stops being fun IMO. :/

@Artikash
Copy link
Owner

Artikash commented Dec 3, 2019

When you select the automatically found text thread that contains the game text, the top right dropdown should end with (HQX-8@<some hex number>:<module>). <module> will probably be either Game.exe, node.dll, or nw.dll, but in any case try adding this hook code, replacing <module> with the one in Textractor: HQFB+-8*0@0:<module>:?Write@String@v8@@QBEHPAGHHH@Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants