Important information: this site is currently scheduled to go offline indefinitely by end of the year.

MTP2 graphic file

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
User avatar
Wesker90
ultra-n00b
Posts: 3
Joined: Tue Dec 08, 2015 8:51 am
Been thanked: 1 time

MTP2 graphic file

Post by Wesker90 »

Hello everyone, I'm trying to edit the mtp2 files of Berserk for ps2, all the textures and some images are in mtp2, as of now I've understand that the mtp2 format is a special type of tm2 swizzled.

I've an mtp2 converter but it doesn't work with the mtp2 of this game, only with mtp2d, because in the header it is written MTP2T, MTP2E etc... there are various letters and symbols after mtp2.

Image


I've managed to view somehow these mtp2 files, but they are swizzled twice, and even game graphic studio can't view them properly.


Image


If someone can help me I'll be really greatful. Thanks for your time.
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: MTP2 graphic file

Post by Mr.Mouse »

Examples?
User avatar
Wesker90
ultra-n00b
Posts: 3
Joined: Tue Dec 08, 2015 8:51 am
Been thanked: 1 time

Re: MTP2 graphic file

Post by Wesker90 »

Hi Mr. Mouse, here's the file structure:

mtp_header { // 16bytes
byte[4] magic, "MTP2 "
byte[4] buffer offset
byte[4] buffer size
byte[2] unknown, always 1
byte[2] count
}

texture_entry { // 68bytes
byte[4] offset * 0x0100
byte[4] unknown, always 0x02
byte[2] compression??, usually 0x13 or 0x14
byte[2] unknown, usually 0x00
byte[4] unknown, value seems progressive
byte[12] padding? all 0's
byte[2] texture height
byte[2] texture width
byte[4] size * 0x0100
byte[16] padding? all 0's
string[16] texture name
}

And here's the file with an mtp2 converter(that don't work with this one) and its converted tm2 found in the game too.

Download: mtp2+tm2
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: MTP2 graphic file

Post by shakotay2 »

please provide proper linking instead of anonymous parts of information:

viewtopic.php?f=18&t=8715

So everyone can see mariokart64n was on a good way.

WHY don't you tell that?
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: MTP2 graphic file

Post by Mr.Mouse »

WTF ? Indeed, WHY didn't you tell that?

shakotay2, good catch. [bruce]
Post Reply