super hero generation ps3 extract model.... help please !!!

Post questions about game models here, or help out others!
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2652
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 653 times
Been thanked: 1360 times

Re: super hero generation ps3 extract model.... help please

Post by shakotay2 » Fri Jun 22, 2018 7:26 pm

100nadzmi wrote:I try so many times , but I still not know how to extract it from MakeObj tool. its difficult for me
You need to know 'C' if you want to make use of the Make_obj project. Currently there's no plans to integrate the mbg format into it.

You could use hex2obj to get the first submesh displayed or exported as obj.

I'm not sure if it works for other mbg files but search for -mesh (4 finds here).
First find is at 0x4A7, adding 0x3B results in 0x4E2, this is the start of vertices (first submesh).

Then search for 0000 0001 0002 (also 4 finds), first one is at 0x8FC35, start of face index block.

For the counts (of the first submesh) see picture:
mbg-counts.jpg
For the remaining 3 submeshes it should be similar.

If you can confirm this to work for another mbg sample I could think of adding the format to the Make_obj project.

edit: well, from the mbg sample in your other thread I can see that the offset between "-mesh" and startOfVertices is 0x3E so it's required to search for the next signature bytes 01 000000 0C then.

You'll find SuperHeroGeneration, PS3 mbg file support in the Make_obj project:
viewtopic.php?f=29&t=15955&p=141547#p141547
in the post as of Sat Jun 23, 2018 9:27 pm
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Post Reply