Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

MHW .gui files

Need help with your game? Can't get it to run like it should? Ask for help here.
Post Reply
Haldi
ultra-n00b
Posts: 1
Joined: Mon Aug 20, 2018 9:32 pm
Has thanked: 1 time

MHW .gui files

Post by Haldi » Mon Aug 20, 2018 10:07 pm

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.
You do not have the required permissions to view the files attached to this post.

CrazyT
ultra-n00b
Posts: 4
Joined: Fri Sep 09, 2011 6:07 pm
Been thanked: 1 time

Re: MHW .gui files

Post by CrazyT » Tue Sep 04, 2018 11:38 am

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.

CrazyT
ultra-n00b
Posts: 4
Joined: Fri Sep 09, 2011 6:07 pm
Been thanked: 1 time

Re: MHW .gui files

Post by CrazyT » Tue Sep 04, 2018 12:21 pm

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 :/

Gennyswiss0
ultra-n00b
Posts: 1
Joined: Mon Mar 04, 2019 1:21 pm

Re: MHW .gui files

Post by Gennyswiss0 » Mon Mar 04, 2019 1:50 pm

How will I be able to get over these files as they have already created a lot of ipod touch problems which I connected in my laptop having this problem?

Post Reply