What's new

RPG Maker MV; How to translate/Decrypt?


freeko

Banned
Joined
Dec 9, 2010
Messages
1,892
Reputation score
160
Re: RPG Maker MV; How to translate/Decrypt?

Well, to be blunt I would be interested in something that would be able to make the unpacking of an archive be difficult. The biggest reason why I have not released anything on rpgmaker is that someone would simply decrypt the game and have access to the gallery which would trivialize the actual game itself.

Maybe its just me being a gigantic paranoid parrot, but I would want the game to not be trivialized down to a simple gallery and the game itself essentially ignored. May as well just make CG sets at that point.
 

habisain

Tentacle God
Joined
Jul 15, 2012
Messages
1,447
Reputation score
465
Re: RPG Maker MV; How to translate/Decrypt?

Well, to be blunt I would be interested in something that would be able to make the unpacking of an archive be difficult. The biggest reason why I have not released anything on rpgmaker is that someone would simply decrypt the game and have access to the gallery which would trivialize the actual game itself.

Maybe its just me being a gigantic paranoid parrot, but I would want the game to not be trivialized down to a simple gallery and the game itself essentially ignored. May as well just make CG sets at that point.
Well, keep on the lookout for the Advanced RPGMaker Archive utility that'll get launched sometime next month.

Seriously though, I wouldn't worry about that. I'd take the position that if people only want to enjoy a part of your work, that's their choice. If they don't want to play the game, they're the one's missing out.
 

asaness

Tentacle Monster
Joined
Jun 26, 2010
Messages
339
Reputation score
48
Re: RPG Maker MV; How to translate/Decrypt?

Well, to be blunt I would be interested in something that would be able to make the unpacking of an archive be difficult. The biggest reason why I have not released anything on rpgmaker is that someone would simply decrypt the game and have access to the gallery which would trivialize the actual game itself.

Maybe its just me being a gigantic paranoid parrot, but I would want the game to not be trivialized down to a simple gallery and the game itself essentially ignored. May as well just make CG sets at that point.
do what other game developers do in CG the clothes are in parts so if i were to extract a CG id have all these faces, legs ,clothes then like move them together like a puzzle piece to get the CG So if we want to see the whole picture we have to beat ur game to see it
 

Yugifan3

Tentacle God
Joined
Oct 23, 2013
Messages
1,968
Reputation score
1,057
Re: RPG Maker MV; How to translate/Decrypt?

Well, there seem to be more and more RPG Maker MV games
coming out on DLsite.

So, have some questions.
Has anyone been able to hook the Game.exe yet?
Can there be a plugin made that can make the text hookable?
habisain have you done any progress?
 

habisain

Tentacle God
Joined
Jul 15, 2012
Messages
1,447
Reputation score
465
Re: RPG Maker MV; How to translate/Decrypt?

OK, so the answer to this question is 'kinda'

I've made a proof-of-concept hack that can be used to get text from an RPGMaker MV game into a specialised program, which can then feed it through a machine translator, or copy it to clipboard, or whatever.

This may sound positive, but what I have not done is the generalisation of this hack to an arbitrary game, testing, and indeed making sure that it works with the RPGMaker MV runtime (as I'm debugging the thing through Firefox at the moment). There's also a potential issue that the hook at present will only pick up dialogue, becaues I've injected the code into the print dialogue to screen routine - these hooks have a very different view of things than a traditional AGTH hook.

So at the moment I can say it's definitely possible to do, and the method is fairly straightforward (i.e. patch game so that it captures the text you want to translate and then blasts it over a websocket to something that can handle it). However the process at the moment requires hand editing the JS files of the game, running it through Firefox and a good deal of prayer that the specialist receiver program doesn't flake out.

Will I get this done at some point? Certainly. But I'm not prepared to put a timetable on it at this stage, because there's a lot of work left to do.
 

Yugifan3

Tentacle God
Joined
Oct 23, 2013
Messages
1,968
Reputation score
1,057
Re: RPG Maker MV; How to translate/Decrypt?

Ah, that sounds really good. +1 from me,keep up the good work then.
 

prolific.paraphile

Jungle Girl
Joined
Feb 11, 2013
Messages
16
Reputation score
14
Re: RPG Maker MV; How to translate/Decrypt?

OK, so the answer to this question is 'kinda'

I've made a proof-of-concept hack that can be used to get text from an RPGMaker MV game into a specialised program, which can then feed it through a machine translator, or copy it to clipboard, or whatever.

This may sound positive, but what I have not done is the generalisation of this hack to an arbitrary game, testing, and indeed making sure that it works with the RPGMaker MV runtime (as I'm debugging the thing through Firefox at the moment). There's also a potential issue that the hook at present will only pick up dialogue, becaues I've injected the code into the print dialogue to screen routine - these hooks have a very different view of things than a traditional AGTH hook.

So at the moment I can say it's definitely possible to do, and the method is fairly straightforward (i.e. patch game so that it captures the text you want to translate and then blasts it over a websocket to something that can handle it). However the process at the moment requires hand editing the JS files of the game, running it through Firefox and a good deal of prayer that the specialist receiver program doesn't flake out.

Will I get this done at some point? Certainly. But I'm not prepared to put a timetable on it at this stage, because there's a lot of work left to do.
Will you share your source?
 

GreatOni

Jungle Girl
Joined
Feb 16, 2012
Messages
21
Reputation score
6
Re: RPG Maker MV; How to translate/Decrypt?

OK, so the answer to this question is 'kinda'

I've made a proof-of-concept hack that can be used to get text from an RPGMaker MV game into a specialised program, which can then feed it through a machine translator, or copy it to clipboard, or whatever.

This may sound positive, but what I have not done is the generalisation of this hack to an arbitrary game, testing, and indeed making sure that it works with the RPGMaker MV runtime (as I'm debugging the thing through Firefox at the moment). There's also a potential issue that the hook at present will only pick up dialogue, becaues I've injected the code into the print dialogue to screen routine - these hooks have a very different view of things than a traditional AGTH hook.

So at the moment I can say it's definitely possible to do, and the method is fairly straightforward (i.e. patch game so that it captures the text you want to translate and then blasts it over a websocket to something that can handle it). However the process at the moment requires hand editing the JS files of the game, running it through Firefox and a good deal of prayer that the specialist receiver program doesn't flake out.

Will I get this done at some point? Certainly. But I'm not prepared to put a timetable on it at this stage, because there's a lot of work left to do.
I have tried something similar:
Code:
// add the clipboard to the game ...
var gui = require('nw.gui');
var clipboard = gui.Clipboard.get();

Game_Message.prototype.addText = function(text) {
		this.add(text); 
		clipboard.set(Window_Base.prototype.convertEscapeCharacters($gameMessage.allText()), 'text');
};
Its a simple thing, just to test if it works.

Since the engine is based on Node/Webkit, you can use this to copy the dialog to the clipboard.
Translation Aggregator and similar programs can then pick this up and translate it.

Its seems possible, that someone might create a plugin that automatically translates all the dialogs and other text via the google translation API.
That probably would make the game slow, but it probably would work.
Also that would require no hacking or messing with any hooks or something similar.
All you'd have to do is add the plugin file to a folder, and edit the plugins.js.
But i'm not sure how well it works with other plugins that change the dialog behavior. I know that such plugins are used widely ...
 

Yugifan3

Tentacle God
Joined
Oct 23, 2013
Messages
1,968
Reputation score
1,057
Re: RPG Maker MV; How to translate/Decrypt?

@GreatOni - Oh, does that thing work? Ima test it out.

Edit : Tested it and...result.

Aight, for anyone else wanted to test it out, i attached the plugin. This is just GreatOni's but as a plugin. Was really simple to do.
I just made a text file, copy the text, renamed it into a Copy Paste Text.js and put it in the folder.

It's VERY simplet to install.
In the Rpg Maker MV game you have simply go to www/js/plugin
move the file from the zip in there and voila is done, soon as you run the game it will now copy the text. Just set the Translator to translate copy text and there ya go.

Or use this one :
http://www.ulmf.org/bbs/showpost.php?p=799901&postcount=33 Same thing , just extract in root instead.
 

Attachments

Last edited:

Teaz

Tentacle God
Joined
Dec 16, 2013
Messages
992
Reputation score
164
Re: RPG Maker MV; How to translate/Decrypt?

@GreatOni - Oh, does that thing work? Ima test it out.

Edit : Tested it and...result.

Aight, for anyone else wanted to test it out, i attached the plugin. This is just GreatOni's but as a plugin. Was really simple to do.
I just made a text file, copy the text, renamed it into a Copy Paste Text.js and put it in the folder.

It's VERY simplet to install.
In the Rpg Maker MV game you have simply go to www/js/plugin
move the file from the zip in there and voila is done, soon as you run the game it will now copy the text. Just set the Translator to translate copy text and there ya go.
Uh... mind explaining step by step? I usually use agth, so your explanation is kinda jiffy there....

Especially the www/js/plugin part. Which one was it again?

Sorry...
 
Last edited:

Yugifan3

Tentacle God
Joined
Oct 23, 2013
Messages
1,968
Reputation score
1,057
Re: RPG Maker MV; How to translate/Decrypt?

Okay step by step :
1. Grab w/e Rpg Maker MV game you got
2. Unzip it and then find a folder called www open it
3. next open js
4. next open plugins
5. Unzip or drag the file from the zip file i made that you downloaded into
the plugin folder
6. Now start the game.
7. Now simply start your translator, no need to hook it , just start it.
8. Make sure your translator is set to translate copied text
9. Soon as a dialog appears it should translate it.

This is assuming the game is not already encrypted in some sort of way.

Now, i do not know how good GreatOni plugin is, and it may not work on every rpg maker mv game, but least it is a start.
 
Joined
May 30, 2014
Messages
371
Reputation score
86
Re: RPG Maker MV; How to translate/Decrypt?

Uh... mind explaining step by step? I usually use agth, so your explanation is kinda jiffy there....

Especially the www/js/plugin part. Which one was it again?

Sorry...
Ditto, I've never used anything but vnr or chiitrans, this is all moonrunes to me.
 

habisain

Tentacle God
Joined
Jul 15, 2012
Messages
1,447
Reputation score
465
Re: RPG Maker MV; How to translate/Decrypt?

OK, a slightly simpler one is attached (just GreatOni's one repackaged again). Just extract this over the top of an RPGMaker MV game, allowing it to write over the top of the www directory.

As to the rest - you'll just need a program like Translation Aggregator, Chiitrans or anything else that does the monitor clipboard for text thing. You won't have to use AGTH.

(EDIT: Had to reupload the file as I got a directory wrong)
 

Attachments

Teaz

Tentacle God
Joined
Dec 16, 2013
Messages
992
Reputation score
164
Re: RPG Maker MV; How to translate/Decrypt?

Thanks for the tutorial guys.

But, uh, I want to ask one more question.

I'm trying to play 人妻エルフのお留守番 here, y'know, that elf-wife game.

Strange thing is, the one I downloaded, there's only one .exe files, unlike the usual package from RPGMaker VX.

Also, there's no www folder or any of that kind. Heck, there's no folder at all.

I tried copied the .js and www folder to the game's root, opened TA, but no text appeared. Did I do something wrong?
 

Yugifan3

Tentacle God
Joined
Oct 23, 2013
Messages
1,968
Reputation score
1,057
Re: RPG Maker MV; How to translate/Decrypt?

Well, this is assuming the game is not encrypted already.
Not sure if they have started with in maker program encryption or if they use a special one. I could take a look, what is the RJ number @Teaz?
 

Teaz

Tentacle God
Joined
Dec 16, 2013
Messages
992
Reputation score
164
Re: RPG Maker MV; How to translate/Decrypt?

Well, this is assuming the game is not encrypted already.
Not sure if they have started with in maker program encryption or if they use a special one. I could take a look, what is the RJ number @Teaz?
 

habisain

Tentacle God
Joined
Jul 15, 2012
Messages
1,447
Reputation score
465
Re: RPG Maker MV; How to translate/Decrypt?

Eh, it's pretty easy to unpack the game. RPGMaker MV optionally uses Enigma Virtual Box to pack stuff into a single EXE, and this can be undone by the utility on the end of this link:
 

Yugifan3

Tentacle God
Joined
Oct 23, 2013
Messages
1,968
Reputation score
1,057
Re: RPG Maker MV; How to translate/Decrypt?

Eh, it's pretty easy to unpack the game. RPGMaker MV optionally uses Enigma Virtual Box to pack stuff into a single EXE, and this can be undone by the utility on the end of this link:
I tried that one, but it's giving me : Out of memory , error
 
Joined
May 30, 2014
Messages
371
Reputation score
86
Re: RPG Maker MV; How to translate/Decrypt?

Didn't seem to work in vnl and chiitrans always gives me a AGTH error when I try to use it for MV games
 

Yugifan3

Tentacle God
Joined
Oct 23, 2013
Messages
1,968
Reputation score
1,057
Re: RPG Maker MV; How to translate/Decrypt?

Didn't seem to work in vnl and chiitrans always gives me a AGTH error when I try to use it for MV games
With the plugin you do not need to hook the game, it does it for you.
All you need is to have the translator open like i have and it will copy the text from the game onto your translator like it did for me.

But again, this is for a already decrypted game.
 
Top