ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Jul 18, 2019 5:27 pm

All times are UTC




Post new topic  Reply to topic  [ 49 posts ]  Go to page Previous 1 2 3 Next
Author Message
PostPosted: Mon Apr 15, 2019 2:55 pm 

Joined: Fri Jan 25, 2019 2:47 pm
Posts: 49
I think the QuickBMS script is not encrypting the file properly.

Here you have a small app to decrypt/encrypt game files: https://we.tl/t-nQILZCBPcw

If you drag&drop a game file, the app will create the decrypted version with ".decrypted" extension.
If you drag&drop a ".decrypted" file, the app will encrypt it.


Top
   
PostPosted: Mon Apr 15, 2019 3:14 pm 

Joined: Sun Nov 25, 2018 11:18 pm
Posts: 29
Kaplas wrote:
I think the QuickBMS script is not encrypting the file properly.

Here you have a small app to decrypt/encrypt game files: https://we.tl/t-nQILZCBPcw

If you drag&drop a game file, the app will create the decrypted version with ".decrypted" extension.
If you drag&drop a ".decrypted" file, the app will encrypt it.

Thanks m8


Top
   
PostPosted: Mon Apr 15, 2019 4:48 pm 

Joined: Fri Nov 16, 2018 8:18 am
Posts: 13
Kaplas wrote:
Once decrypted, .mdt files have the following header:

Code:
ushort numberOfScenesInFile;
ushort dummy; // 0
uint[numberOfScenesInFile] sceneStartOffset;

And after this header goes the data.

If you add or remove bytes, you have to update the "sceneStartOffset" pointers.


Do you use any specific tools to do that or do you just edit the file with an hex editor?


Top
   
PostPosted: Mon Apr 15, 2019 5:22 pm 

Joined: Fri Jan 25, 2019 2:47 pm
Posts: 49
I'm coding a tool to make a translation, but it isn't finished yet.


Top
   
PostPosted: Fri Apr 19, 2019 12:13 pm 

Joined: Sun Nov 25, 2018 11:18 pm
Posts: 29
Can you share that tool, please?


Top
   
PostPosted: Fri Apr 19, 2019 4:07 pm 

Joined: Fri Jan 25, 2019 2:47 pm
Posts: 49
Siengried wrote:
Can you share that tool, please?


You can download here: https://mega.nz/#F!GZNQWSBQ!JA42-HIGTy79O0I7is0FGw
And the source code is here: https://github.com/Kaplas80/TranslationFramework2

How to use (it's for Yakuza 0, but it's almost the same for the rest of supported games): viewtopic.php?p=46239#p46239

Please, remember that it hasn't been used to translate the complete game yet, so it may contains bugs.


Top
   
PostPosted: Fri Apr 19, 2019 7:35 pm 

Joined: Sun Jan 20, 2019 4:39 pm
Posts: 13
The tool works magnificentaly, Kaplas! Thank you very much for it! I can translate the game to my language perfectly fine.
I hope to see a possibility to change sprites and music soon too.


Top
   
PostPosted: Fri Apr 19, 2019 8:01 pm 

Joined: Fri Apr 19, 2019 7:54 pm
Posts: 3
Kaplas wrote:
Siengried wrote:
Can you share that tool, please?


You can download here: https://mega.nz/#F!GZNQWSBQ!JA42-HIGTy79O0I7is0FGw
And the source code is here: https://github.com/Kaplas80/TranslationFramework2

How to use (it's for Yakuza 0, but it's almost the same for the rest of supported games): viewtopic.php?p=46239#p46239

Please, remember that it hasn't been used to translate the complete game yet, so it may contains bugs.

Hi, with this tool I can translate only .bin files. Once I obtain the .decrypted file from .mdt what do i have to do to edit the texts?


Top
   
PostPosted: Fri Apr 19, 2019 8:06 pm 

Joined: Fri Jan 25, 2019 2:47 pm
Posts: 49
You don't need the .decrypted files with this app, it decrypts and encrypt when needed.

Once you select the game installation folder (with original untouched files) and create the translation project, the app will load all the translatable files on the left window.


Top
   
PostPosted: Fri Apr 19, 2019 8:16 pm 

Joined: Fri Apr 19, 2019 7:54 pm
Posts: 3
It is strange, in the left window it only gives me the .bin files.

Image

Those files have only the settings text. All the dialogues of the game's characters are not there.


Top
   
PostPosted: Fri Apr 19, 2019 10:23 pm 

Joined: Fri Jan 25, 2019 2:47 pm
Posts: 49
I think you are not choosing a game installation folder with unmodified files. There has to be lots of .dds files and text files. This is what I get when I create a new translation:

Image


Top
   
PostPosted: Fri Apr 19, 2019 11:42 pm 

Joined: Sun Jan 20, 2019 4:39 pm
Posts: 13
Actually, yeah i have the same problem as Master21, only those specific files show up for me too, they do work when i translate them, but that's not all of the text. Am i missing something?

EDIT: Nevermind! The program gets confused if it's inside the games folder. It has to be put somewhere else on the disk. That fixed it for me. Works like an angel. Though still i can't find any character sprites that i could edit at the moment hopefully that can be added somehow possibly?


Top
   
PostPosted: Sat Apr 20, 2019 10:17 am 

Joined: Fri Apr 19, 2019 7:54 pm
Posts: 3
Johny233 wrote:
EDIT: Nevermind! The program gets confused if it's inside the games folder. It has to be put somewhere else on the disk. That fixed it for me. Works like an angel. Though still i can't find any character sprites that i could edit at the moment hopefully that can be added somehow possibly?

Now works. There must be no spaces in the directory name.


Top
   
PostPosted: Sat Apr 20, 2019 12:12 pm 

Joined: Fri Nov 16, 2018 8:18 am
Posts: 13
Kaplas wrote:
I think you are not choosing a game installation folder with unmodified files. There has to be lots of .dds files and text files. This is what I get when I create a new translation:

Image


I tried to create a new translation, but it always gives me an error about some .unity3d files it can't decrypt, I think in the GSx/BG folder.
I had to pick the various scenario folders one by one and recreate the original game's folder structure to get the tool to find all the MDTs.


Top
   
PostPosted: Sat Apr 20, 2019 2:48 pm 

Joined: Sun Jan 20, 2019 4:39 pm
Posts: 13
Yeah, the only problem now with the tool for me is that it still doesnt get all the sprites/backgrounds , so im stuck in regards of changing character sprites or most of the backgrounds. But for me mdt and bin files are all there and work fine when translated (incl. scenario folders). I've tried changing things around but that breaks the tool for me completely.


Top
   
PostPosted: Sat Apr 20, 2019 3:15 pm 

Joined: Fri Jan 25, 2019 2:47 pm
Posts: 49
Dj_Mike238 wrote:
I tried to create a new translation, but it always gives me an error about some .unity3d files it can't decrypt, I think in the GSx/BG folder.
I had to pick the various scenario folders one by one and recreate the original game's folder structure to get the tool to find all the MDTs.

Can you tell me what files are not loading properly?

Johny233 wrote:
Yeah, the only problem now with the tool for me is that it still doesnt get all the sprites/backgrounds , so im stuck in regards of changing character sprites or most of the backgrounds. But for me mdt and bin files are all there and work fine when translated (incl. scenario folders). I've tried changing things around but that breaks the tool for me completely.

The app is meant only for translation, so it only loads the files with english localization (the ones ending with "u"). If you want to load and replace other files, you'll have to modify this file and recompile the app


Top
   
PostPosted: Sat Apr 20, 2019 3:55 pm 

Joined: Sun Jan 20, 2019 4:39 pm
Posts: 13
Ahhhh i see! I know that all i need to do is just remove u from u.unity3d from that script, but no idea how to compile it. however it seems if i add an u to any file it seems to add it to list which is fine, just takes some time to do.


Top
   
PostPosted: Sat Apr 20, 2019 4:44 pm 

Joined: Sat Apr 20, 2019 4:39 pm
Posts: 3
Hey there all.. i want to localise the "Objection", "Hold it!" and "take that" VOICE shouts in my own language. Is it possible currently to do that using the tool provided?


Top
   
PostPosted: Sat Apr 20, 2019 5:54 pm 

Joined: Fri Jan 25, 2019 2:47 pm
Posts: 49
Avigalis wrote:
Hey there all.. i want to localise the "Objection", "Hold it!" and "take that" VOICE shouts in my own language. Is it possible currently to do that using the tool provided?


No, sorry, you can't do that with my app. It only supports text and images. I might add sounds and voices to it in the future, but at the moment it's not my priority.


Top
   
PostPosted: Sat Apr 20, 2019 8:52 pm 

Joined: Fri Nov 16, 2018 8:18 am
Posts: 13
Kaplas wrote:
Dj_Mike238 wrote:
I tried to create a new translation, but it always gives me an error about some .unity3d files it can't decrypt, I think in the GSx/BG folder.
I had to pick the various scenario folders one by one and recreate the original game's folder structure to get the tool to find all the MDTs.

Can you tell me what files are not loading properly?


I get the same files as Master21's post:

Master21 wrote:
It is strange, in the left window it only gives me the .bin files.

Image

Those files have only the settings text. All the dialogues of the game's characters are not there.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 49 posts ]  Go to page Previous 1 2 3 Next

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited