A new converter for Shenmue geometry including textures

(Modding and other series related projects)

A new converter for Shenmue geometry including textures

Postby hellwig74 » Fri Nov 14, 2014 8:51 am

Hi,

cleaning up the basement I found my old Dreamcast and started to play Shenmue (I never finished it in 2000).
It made me think about the engine and suddenly I was in the middle of writing a reader for the geometry files to export them to a documented format. Using the knowledge already collected I made good progress and I'm ready to give a first preview.

Image

The prototype exports the MT5 models to a Blender compatible Collada import file (.dae).
All the object hierachy is preserved, it´s possible to move individual coke can, tables, ...
The texture maps are UV mapped and automatically converted to png files.
Right now only triangle strip primitives are supported.
All the objects are exported as opaque using a single material. Further reversing is necessary to handle the materials in the right way. Handling of flat shaded, Gouraud shaded and Gouraud textured objects is also lacking. Transparent and punchthrough texture nearly work.
For the sake of a good screenshot I manually added transparency to the scene.

Some objects are turned on and off depending on the gamestate (Coke can closed/open).

Here are the binaries for Win7 (64bit).
To get things running first download http://spole.cebix.net/Unpacker.exe and http://spole.cebix.net/MT5Converter.exe.
Unpack the PKF and PKS files using 7zip.
Run Unpacker on both files.
Code: Select all
Unpacker.exe MPK00.PKF

Code: Select all
Unpacker.exe MPK00.PKS

Call MT5Converter on the model file
Code: Select all
MT5Converter.exe MAP.MAPM map.dae

Import the map.dae file into Blender and add a camera and lights.

Source will follow as soon as the program is more feature complete and stable.

Enjoy!
Marc
Last edited by hellwig74 on Fri Nov 14, 2014 9:59 am, edited 1 time in total.

hellwig74
Fuku-san
Fuku-san
 
Joined: November 2014
Favorite title: Shenmue

Re: A new converter for Shenmue geometry including textures

Postby ShenmueTree » Fri Nov 14, 2014 8:56 am

Wow. Will you release builds for 32bit and for Linux? Maybe the source?

This seems amazing.
ShenmueTree
"After Burner...Great!"
"After Burner...Great!"
 
Joined: April 2012

Re: A new converter for Shenmue geometry including textures

Postby shengoro86 » Fri Nov 14, 2014 10:43 am

This is great stuff! Thanks for your hard work!
User avatar
shengoro86
Admin - Shenmue500K
Shenmue 500K Staff
 
Joined: August 2004
Location: New Jersey, USA
PSN: Shengoro86
XBL: Rock Is Sponge
Favorite title: Shenmue IIx
Currently playing: Shenmue III (PC)

Re: A new converter for Shenmue geometry including textures

Postby Fenix » Fri Nov 14, 2014 11:24 am

Lol I love these threads. You enter the forum one day and BAM! Somebody has made a new tool, haha. How about character models?
User avatar
Fenix
"After Burner...Great!"
"After Burner...Great!"
 
Joined: June 2010
Location: Spain, Barcelona
Favorite title: Shenmue II
Currently playing: 3D Studio Max

Re: A new converter for Shenmue geometry including textures

Postby Esppiral » Fri Nov 14, 2014 12:16 pm

OMFG, I love you! this is awesome!!!
User avatar
Esppiral
Alpha Trading Boss
Alpha Trading Boss
 
Joined: May 2012
PSN: Esppiral
XBL: Esppiral
Steam: Esppiral
Favorite title: Shenmue
Currently playing: The Witcher 2

Re: A new converter for Shenmue geometry including textures

Postby BlueMue » Fri Nov 14, 2014 12:40 pm

Wow that really came out of nowhere. Seems to be the ultimate tool for Shenmue ripping. I'm definately gonna mess around with this sometime. Right now I have more then enough to do with making videos.
User avatar
BlueMue
Machine Gun Fist
Machine Gun Fist
 
Joined: August 2008
Location: Germany
Favorite title: Shenmue II

Re: A new converter for Shenmue geometry including textures

Postby ReeceKun » Fri Nov 14, 2014 3:27 pm

I spent so much time getting YMT5 ripper to work lol !!
Last edited by ReeceKun on Tue Jul 28, 2015 12:35 pm, edited 1 time in total.
User avatar
ReeceKun
Man Mo Acolyte
Man Mo Acolyte
 
Joined: November 2009
Location: North Wales (UK)
Favorite title: Shenmue
Currently playing: Skyrim

Re: A new converter for Shenmue geometry including textures

Postby IlDucci » Sat Nov 15, 2014 11:25 am

It's so freaking awesome! Do you plan on doing an importer?
IlDucci
Master of the Three Blades
Master of the Three Blades
 
Joined: February 2012
Location: Spain
Favorite title: Shenmue

Re: A new converter for Shenmue geometry including textures

Postby mrslig100 » Sat Nov 15, 2014 11:36 am

Well it looks like we have a new king in converters :king:
Quite possibly the best so far! Especially for shenmue 1!
I dont know what it is that makes the first game's engine so fussy but thats a fantastic rip!

The only comment I have is that it would be great to have a converter for linux.

mrslig100 has received a thanks from: ShenmueTree
User avatar
mrslig100
Alpha Trading Boss
Alpha Trading Boss
 
Joined: May 2012
Location: Land of teh lulz
Steam: mrslig100
Currently playing: shenmue 3 fandom

Re: A new converter for Shenmue geometry including textures

Postby ShenmueTree » Sat Nov 15, 2014 2:05 pm

Yeah, I need that 'nix lov'n.
ShenmueTree
"After Burner...Great!"
"After Burner...Great!"
 
Joined: April 2012

Re: A new converter for Shenmue geometry including textures

Postby Esppiral » Sat Nov 15, 2014 2:08 pm

I have a question, what is exactly preventing from getting a .mt7 model extractor? is that format so much different?
User avatar
Esppiral
Alpha Trading Boss
Alpha Trading Boss
 
Joined: May 2012
PSN: Esppiral
XBL: Esppiral
Steam: Esppiral
Favorite title: Shenmue
Currently playing: The Witcher 2

Re: A new converter for Shenmue geometry including textures

Postby Fenix » Sun Nov 16, 2014 4:17 am

It seems they're not the same. We're more focused on MT5 because MT7 works with 3D Ripper.
User avatar
Fenix
"After Burner...Great!"
"After Burner...Great!"
 
Joined: June 2010
Location: Spain, Barcelona
Favorite title: Shenmue II
Currently playing: 3D Studio Max

Re: A new converter for Shenmue geometry including textures

Postby Esppiral » Sun Nov 16, 2014 8:42 am

Oh I see... but would be nice to obtain full location models, since 3D ripper only rips what its seen on screen.

Anyway, thanks again for this awesome ripper. :)

Image
User avatar
Esppiral
Alpha Trading Boss
Alpha Trading Boss
 
Joined: May 2012
PSN: Esppiral
XBL: Esppiral
Steam: Esppiral
Favorite title: Shenmue
Currently playing: The Witcher 2

Re: A new converter for Shenmue geometry including textures

Postby ShenmueTree » Sun Nov 16, 2014 1:49 pm

Since I can't use the exacter could someone please upload some map.dae files of locations? Come on, it's my bday. :( I need that Sakuragaoka and Dobuita love. :X
ShenmueTree
"After Burner...Great!"
"After Burner...Great!"
 
Joined: April 2012

Re: A new converter for Shenmue geometry including textures

Postby MiTT3NZ » Sun Nov 16, 2014 2:41 pm

3D Ripper X doesn't exactly extract models, it rips "draw calls", so a true extraction tool for MT5-7 is perhaps one of the greatest and most significant achievements/contributions to the modding community.

For that, hellwig has hit instant legend status in my eyes. The community owes you a great debt. Thank you.
User avatar
MiTT3NZ
Class A Cunt
Shenmue III
 
Joined: January 2005
Location: Manchester, innit!
XBL: Mittens2317
Steam: Mittens2317
Favorite title: Shenmue
Currently playing: Football Manager 2012

Next

Return to Community Projects

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000-
ShenmueDojo.net