XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Dec 14, 2018 1:25 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: MHW .gui files
PostPosted: Mon Aug 20, 2018 10:07 pm 
Offline
ultra-n00b

Joined: Mon Aug 20, 2018 9:32 pm
Posts: 1
Has thanked: 1 time
Have thanks: 0 time














You can make the ads go away by registering

Howdy...

I'm trying to rearange the HUD in Monster Hunter World.
Unpacking the chunk0.bin in /ui/hud there seem to be all hud elements separate as ***.gui
Sadly most part of the .gui file gibberish for me, if opened in text editor with UTF-8.
I do see stuff like PosX, PosY, PosZ at the end of the file, which would be what i'm looking for, but i cannot find where the coordinates for this value would be...

Anyone has some clues on how to decrypt that?

I've uploaded some examples of .gui files in the .zip.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: MHW .gui files
PostPosted: Tue Sep 04, 2018 11:38 am 
Offline
ultra-n00b

Joined: Fri Sep 09, 2011 6:07 pm
Posts: 4
Has thanked: 0 time
Have thanks: 1 time
Edit:
Forgot to mention that i looked at the file "hud_questinfo.gui".

Well the offsets within the file seem to be relative to the start of the strings.
For example "questName" starts 0x10B00 and PosX starts at 0x10ECE resulting in a relative offset of 0x03CE.

Searching in the file for the hex-value 0xCE03 (google for "Little-Endian" to know why i reverse it) you will find multiple positions.(those positions follow D303 after some bytes wich is 0x03D3 wich results in PosY ... probably no coincidence).
My guess is that somewhere nearby(probably pos of offset + 8) that stored offsets the value must be stored,too.
Of course the question is wich value you need to change since there are mutiple locations for PosX/-Y/-Z (there is probably one for every element).

You figure it out by trail and error, or by translating all values first and try to guess wich might be the correct one.


Top
 Profile  
 
 Post subject: Re: MHW .gui files
PostPosted: Tue Sep 04, 2018 12:21 pm 
Offline
ultra-n00b

Joined: Fri Sep 09, 2011 6:07 pm
Posts: 4
Has thanked: 0 time
Have thanks: 1 time
The following script maybe could help:
https://pastebin.com/G0kigWkM
Sadly i was not able to figure out what defines the borders of elements ... so you only get a list of properties.
Some property-values seem also to reference locations of other properties.

Edit:
Currently trying to create a 010 Editor Template:
https://gist.github.com/TheCrazyT/1d1e7 ... 48f886a594

Guess it does not even cover 60% yet :/


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group