ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Aug 14, 2018 2:10 pm

All times are UTC




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Fri Aug 10, 2018 6:13 am 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 60
Hello there people!

I want to translate Monster Hunter World, but first I need to extract the files that are stored in chunk0.bin and chunk1.bin files. The first one is a whopping 16.6 gb file.

I cut the first 5 mb out of it and you can download it from below, if this can help determine how to extract it.

Game uses a modified MT Framework / Umbra engine if this counts.


Attachments:
chunk0-1.bin [4.77 MiB]
Downloaded 14 times
Top
   
PostPosted: Fri Aug 10, 2018 7:27 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8598
There is just a "CMP" magic followed by many 64bit fields or similar plus other data. No information about the archived files.
Maybe upload the tail too.


Top
   
PostPosted: Fri Aug 10, 2018 8:38 am 

Joined: Fri Aug 10, 2018 8:23 am
Posts: 1
This was mentioned here a few months ago: viewtopic.php?f=9&t=7974

I used the filecutter.bms provided to split the main archive.

This thread may provide more helpful info into extracting it: viewtopic.php?f=9&t=2863


Attachments:
chunk0.bin.rar [3.59 MiB]
Downloaded 21 times
Top
   
PostPosted: Fri Aug 10, 2018 12:44 pm 

Joined: Sun Dec 28, 2014 3:02 pm
Posts: 15
Here should be all the string container files (from all languages), just drop the folder in the archive in the root of the game installation. It will then read those instead of from CMP files. Initial loading time might slow down, I haven't tested it. You can of course remove gmd from languages you don't edit and the game will fall back to the CMP file for these, it was just easier for me to grab all of them instead of just _eng or whatever. Obviously use it at your own risk, idk if they are validating the files loaded in memory and banning or similar. Hence why I'm not publicly putting out my tool just yet.

https://mega.nz/#!dQAQVKYB!IylV3yM9MwSD ... CWg33CgJF8


Top
   
PostPosted: Fri Aug 10, 2018 6:18 pm 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 60
Wow, this looks just like the Souls games, where you edit the exe and it loads the files outside of the container.

Will test it out to see how it works. Also if they ban for modifying just strings from the game I'll hit them hard lol :D


Top
   
PostPosted: Fri Aug 10, 2018 7:12 pm 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 60
Okay, it works wonderfully, thanks for this!

Question: There are some strings that are textures (like the QUEST COMPLETED stuff), can we also edit that?


Top
   
PostPosted: Fri Aug 10, 2018 7:26 pm 

Joined: Sun Dec 28, 2014 3:02 pm
Posts: 15
Yeah, but textures are obviously a little more complicated than these gmd files and my tool only covers 2 out of 11 compression types used so far.


Top
   
PostPosted: Sat Aug 11, 2018 9:16 pm 

Joined: Fri Aug 10, 2018 2:01 am
Posts: 1
Now you got me curious which types of compression is used.


Top
   
PostPosted: Sun Aug 12, 2018 12:55 am 

Joined: Sun Aug 12, 2018 12:31 am
Posts: 1
I am trying to get the images that use the game, in the interface and different symbols, emblems, banners, could someone help me?
leave a picture marking what I say

Image


Top
   
PostPosted: Sun Aug 12, 2018 8:26 pm 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 60
I translated some string in the .gmd files simply by editing them, and I just noticed that in the cutscenes it doesn't always display what I wrote. I mean if the file is longer than the one I wrote, it simply cuts off the text somewhere. Any idea for a fix?


Top
   
PostPosted: Sun Aug 12, 2018 9:01 pm 

Joined: Sun Dec 28, 2014 3:02 pm
Posts: 15
The_Reaper_CooL wrote:
I translated some string in the .gmd files simply by editing them, and I just noticed that in the cutscenes it doesn't always display what I wrote. I mean if the file is longer than the one I wrote, it simply cuts off the text somewhere. Any idea for a fix?

You'll need a proper tool to edit the gmd meta data to adapt the length of the new strings if they exceed the original text. Meta data seems XOR'd much like in MHXX but the expressions are different for World it seems.
Or do you mean you use such a tool and it cuts off in cutscenes despite the adapted length and offsets? If so, no idea.


Top
   
PostPosted: Mon Aug 13, 2018 6:48 am 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 60
Vuze wrote:
The_Reaper_CooL wrote:
I translated some string in the .gmd files simply by editing them, and I just noticed that in the cutscenes it doesn't always display what I wrote. I mean if the file is longer than the one I wrote, it simply cuts off the text somewhere. Any idea for a fix?

You'll need a proper tool to edit the gmd meta data to adapt the length of the new strings if they exceed the original text. Meta data seems XOR'd much like in MHXX but the expressions are different for World it seems.
Or do you mean you use such a tool and it cuts off in cutscenes despite the adapted length and offsets? If so, no idea.


Nope, I don't have any tool, I just edit it with Notepad++.

And just by reading your comment I started to tinker with Hex Workshop, and it seems that on the offset 0x00000020 it stores the string's length in int32. I modified it, and now it works. I only tested this on one cutscene, don't know if it would work in other files (but since all of them are .gmd I think they would)

Edit:
Okay, some things I've discovered via Hex Editing:

In the .gmd files, you can find this data:

Offset: 0x00000013 -> Up to this point is just a header for the .gmd file
Offset: 0x00000014 -> The number of string IDs in the file
Offset: 0x00000018 -> The number of strings in the file (these two should match of course)
Offset: 0x0000001C -> The length of the string IDs names
Offset: 0x00000020 -> The length of the strings
Offset: 0x00000024 -> The length of the current file's name inside the .gmd file
Offset: 0x00000028 -> This is where the current file's name is stored

Using this if someone has the skills to develop a tool, then it would be nice. I myself can only program in Excel VBA, but I'll try to do something with it.


Top
   
PostPosted: Mon Aug 13, 2018 2:33 pm 

Joined: Mon Aug 13, 2018 2:28 pm
Posts: 2
Hi There

I try too open the Chunk0.bin because i want to eddit the Textures from the game.
but i dont know how this work :(

can some one help me plz

what 4 a programm ist the best for it or witch script i have to use to extrackt the files from the game?

and if its posibil too change something in the extrakt files and zip it back to the chunk0.bin file ??


Thx 4 ur help :)


Top
   
PostPosted: Mon Aug 13, 2018 8:57 pm 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 60
So I've used my vast Excel VBA knowledge and created an Excel Macro Sheet that can read the .gmd files, open up the string from them, then it can save them so they work as intended. I'm so proud of myself now :D

Note that it's only for Hungarian translations, and since I'm the one that's using it, the """tool""" isn't available publicly. If you need it for your private usage then PM me and I'll see what I can do.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

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