LGT(Leo's Games Tools)

Games[PSX, PC, PS2] => Tekken 2 => Tools => Topic started by: Leo2236 on March 04, 2015, 03:13:15 am


Title: TE2MV: A tool to view 3D models...
Post by: Leo2236 on March 04, 2015, 03:13:15 am
-TE2MV v0.1b- (TEkken 2 Model Viewer)

About:  This tool it's an viewer and converter for Tekken 2[PSX] 3D models of the characters. At this point the tool can view and export all characters except Kunimitsu, plus Angel and Devil have some polygons issues with their wings but all the other parts are fine, I'll try to fix those issues in the next update. Unfortenately I couldn't find values that are responsible for the parts positions and because of that parts must be viewed one by one, I'll try to fix that too in the future ;)

Note: This tool must be used with Tekken 2 BNS Extraractor v0.2b (http://lgt.createaforum.com/tools-39/tekken-2-bns-extraractor-a-tool-to-extract-tekken2-bns/).

Quote from: @dxp
Fixing the Normal Errors in Maya
1) Import the .obj data as usual
2) When imported export the mesh data as a .obj, on the export options uncheck save normals.
3) Re-import your newly exported mesh and voila the normals will be fixed.(remember to recheck normals on the export options!!!)
4) Profit  8)

Credit: @kamilm122 for inspiration, Yusuke Kamiyamane for the icons.

Screenshot:
(http://i.imgur.com/NzqYCqv.png)

Video:
http://youtu.be/Rd9p3goZY3Q

(http://www.lostwindowspassword.com/images/public/download_gif.gif) TE2MV v0.1b.Zip (479.96 KB) (https://drive.google.com/open?id=0BzhGScKuuD56VjI0cmM5RF9LSVE)
Title: Re: T2MV: A tool to view 3D models...
Post by: Leo2236 on March 08, 2015, 11:12:00 am
Have more progress on 3D models UV's, Tekken 2 store character's texture's in one single file(from now on I'll call it TTC Tekken Tim Container for simplicity), so those TTC it's just a bunch of TIM's storing one after another they're 4bpp and 8bpp. Anyway in order I could use those TIM's from models UV's properly in OpenGL with transparency, I must convert them to 32bpp texture also I have to place every TIM in the right place within an page(256x256 32bpp) and for that purpose I wrote a small tool that trying to do that, the code from this tool will be used in T2MV since it's just a test tool. The tool open an TTC extract all TIM's to memory and gives a number of TIM's in TTC, then read all TIM's headers to get info about where one or another should be placed within one or another page. It also can test UV's by the way(last image).

I still need to find some info like the value in UV's which say to polygons which page it should use, I also need to fix some bug/s in TIM's arranging but in any way I'll soon(maybe even today) will start wring T2MV, once I'll have more progress I'll  inform you ;)

TIM's from TTC:
(http://i.imgur.com/ioR4Lzl.jpg)

Page_0:
(http://i.imgur.com/wIAuupd.jpg)

Page_1:
(http://i.imgur.com/am2CJoT.jpg)

Page_2:
(http://i.imgur.com/6KhCsd7.jpg)

UV's test:
(http://i.imgur.com/cpxkBGu.jpg)
Title: Re: T2MV: A tool to view 3D models...
Post by: dxp on March 08, 2015, 07:46:30 pm
 :o Thanks for keeping everyone updated on your progress dude. Also loving those Jack-2 textures xD looks like it totally runs in a different way to how capcom created their uv maps for RE, which is very damn interesting to say the least.
Title: Re: T2MV: A tool to view 3D models...
Post by: kamilm122 on March 09, 2015, 10:06:00 pm
I'm so excited :D:D:D:D
Title: Re: T2MV: A tool to view 3D models...
Post by: Leo2236 on March 10, 2015, 02:01:47 am
Eventually I've start writing the tool a couple of days ago and at this point tool seems to be able to open all TMC(Tekken Model Container) even though I haven''t try them all yet but only a few of them. By the way it's seems that every TMC have 3 files inside it the first one it's a model itself the second one seems to be a low polygon version of the main model and the third file is unknown to me right now but it definitely not the animation cause it too small to store all needed data even if it's compressed, maybe it's a header for animation!?. Anyway the next step now is the texturing :)

JACK-2 part's:
https://www.youtube.com/watch?v=CxlWxc2NgfE
Title: Re: TE2MV: A tool to view 3D models...
Post by: kamilm122 on March 10, 2015, 12:28:21 pm
Really, really great job Leo! Keep it up!
Title: Re: TE2MV: A tool to view 3D models...
Post by: Leo2236 on March 10, 2015, 07:25:26 pm
Thanks I'm trying  ;)

Have add today support for the textures, there's one small problem some characters appears with some issue and it needs fixing but I guess I'll fix that later cause I've start working on animations. The good news is that I've found where animations are store in case of JACK-2 is 087.DAT and the bad news is that they most likely compressed(I'm not 100% sure about that at least not yet) not the whole file but at least the biggest part of file where the actual animations probably located. The good thing that it's seems Tekken 2 use the same compression algorithms as the Tekken 1 do which is good cause last year I was working on small tool for Tekken 1 that at the end could decompress avatars 3D models from the game but the problem is that the tool was a bit buggy and couldn't produce 100% precise output data and I stop working on it before I had fixed that bug, anyway now I've to fix it to test it with Tekken 2 but I can't even remember how it was working  he he but I have too because it's the only way I see right now to get through the animations problem. So I guess I'm gonna work again on that tool maybe I'll fix it, we'll see I haven't really decided yet   ???

PAUL part's:
https://www.youtube.com/watch?v=BYrz6CuU1Hs

Also one more thing I was searching in some files to see what they're containing and found this compressed image inside 006.DAT it was splitted into four peaces 128x240 8bpp each, I can't remember if it was actually used in game probably not but then again I can't even remember the last time when I was playing through the whole game so maybe it was used  ???

You can see the black line at the left-bottom corner, it's the bug in de-compressor I was talking about that need to be fixed.
(http://i.imgur.com/lQoEyrD.png)
Title: Re: TE2MV: A tool to view 3D models...
Post by: dxp on March 11, 2015, 08:08:54 am
After seeing these videos I am seriously considering going back, and re-playing this and Tekken 3 now xD haven't played on those in years.

As for the image dude could be a left over from the Arcade version of T2. ;) nice find!
Title: Re: TE2MV: A tool to view 3D models...
Post by: Abohack on March 11, 2015, 09:29:15 am
I really appreciate your work, u are great programmer leo

I'm going to call u Master of Game Tool Maker :)

Title: Re: TE2MV: A tool to view 3D models...
Post by: kamilm122 on March 11, 2015, 02:31:12 pm
Can't wait for the animations :D
BTW Leo, milkshape 3d [quite abandoned 3d modeler] has simple animation file and its documentation on the official site.
http://www.milkshape3d.com/
Title: Re: TE2MV: A tool to view 3D models...
Post by: Leo2236 on March 27, 2015, 07:14:14 pm
After seeing these videos I am seriously considering going back, and re-playing this and Tekken 3 now xD haven't played on those in years.

As for the image dude could be a left over from the Arcade version of T2. ;) nice find!
Yeah you probably right it probably from Arcade version, anyway I was thinking that it would be cool to port TE2 characters models to RE123, at this point TE2MV should be able export most of models from the game to *.OBJ and the texture to 32bpp *.TGA, so it shouldn't be to difficult to port those models to RE123.

Nina in 3dsmax, the texture need some fix in 3dsmax because of the small bug in TE2MV but I'll fix it.
(http://i.imgur.com/OP15jm7.gif)

I really appreciate your work, u are great programmer leo

I'm going to call u Master of Game Tool Maker :)
Thank but I'm just an hobbyist, there's people that know a lot more about that kind of stuff ;)

Can't wait for the animations :D
BTW Leo, milkshape 3d [quite abandoned 3d modeler] has simple animation file and its documentation on the official site.
http://www.milkshape3d.com/
Sorry but most likely if there's gonna be support for animation in TE2MV it gonna involve 3dsmax and some custom plug-in to import animations. But I'll try to look in milkshape 3d anyway maybe I'll change my mind ;)


Have update with TE2MV, the tools looks like this right now:

(http://i.imgur.com/UqUUfhi.png)

I'm still fixing bugs and adding features and the tool it's not far from the first release :)
Title: Re: TE2MV: A tool to view 3D models...
Post by: dxp on March 28, 2015, 11:34:12 am
Quote
Yeah you probably right it probably from Arcade version, anyway I was thinking that it would be cool to port TE2 characters models to RE123, at this point TE2MV should be able export most of models from the game to *.OBJ and the texture to 32bpp *.TGA, so it shouldn't be to difficult to port those models to RE123.

That was one of my first ideas ;) who wouldn't want to run around Raccoon or the mansion playing as King or Jack-2 etc? XD Plus its fascinating to actually be able to look at some of the 3d models from ps1 games (especially from the 90's era) mainly for nostalgia and research but that's about it. Awesome progress with your tool dude can't wait too see more!  ;D
Title: Re: TE2MV: A tool to view 3D models...
Post by: Leo2236 on April 01, 2015, 09:25:01 am
Yeah I would like to play RE with some character from Tekken 2 no doubt  :) Hope someone will port some of them to RE soon...


TE2MV v0.1b is now available look at the first post :)

I guess now I'm gonna take a break or will work on another tool and then get back to animation problem ;)

Title: Re: TE2MV: A tool to view 3D models...
Post by: MartinBiohazard on April 01, 2015, 06:17:56 pm
Thanks Leo for give us the honor to test the first version of this great tool, looks really interesting! I will definitively take my Tekken 2 copy and test it! :D

Keep up man with more amazing works like this!

Greetings. :)
Title: Re: TE2MV: A tool to view 3D models...
Post by: Leo2236 on April 02, 2015, 12:22:54 am
Thanks for the kind words Martin, also big thanks to you and to the others for the support all these years! ;)
Title: Re: TE2MV: A tool to view 3D models...
Post by: dxp on April 06, 2015, 11:08:43 am
Going to post a few bits and pieces Maya users will find useful:

Firstly Leo no errors at all with the app it works perfectly.  ;D

Fixing the Normal Errors in Maya
1) Import the .obj data as usual
2) When imported export the mesh data as a .obj, on the export options uncheck save normals.
3) Re-import your newly exported mesh and voila the normals will be fixed.(remember to recheck normals on the export options!!!)
4) Profit  8)
Title: Re: TE2MV: A tool to view 3D models...
Post by: Leo2236 on April 13, 2015, 09:30:32 am
Quote from: @dxp
Firstly Leo no errors at all with the app it works perfectly.  ;D
Glad to hear that :)

Quote from: @dxp
Fixing the Normal Errors in Maya
1) Import the .obj data as usual
2) When imported export the mesh data as a .obj, on the export options uncheck save normals.
3) Re-import your newly exported mesh and voila the normals will be fixed.(remember to recheck normals on the export options!!!)
4) Profit  8)
I will put that info to the first post, thanks for the explanation! ;)
Title: Re: TE2MV: A tool to view 3D models...
Post by: Leo2236 on March 09, 2017, 10:06:26 am
If someone have the tool please upload it, cause I and the other people can't download it from datafilehost even though it hasn't been deleted. I don't have the latest source of the tool but only WIP so I can not use it  :(
Title: Re: TE2MV: A tool to view 3D models...
Post by: dxp on March 09, 2017, 10:25:27 pm
One sec

Edit: Here is a link to both TE2MV and the BMS extractor in one package:
http://www.mediafire.com/file/65z3o3iy22ta7mz/TE2MV_T2_BMS_Extractor.rar (http://www.mediafire.com/file/65z3o3iy22ta7mz/TE2MV_T2_BMS_Extractor.rar)
Title: Re: TE2MV: A tool to view 3D models...
Post by: Leo2236 on March 10, 2017, 01:14:23 am
Thanks a lot DXP!  ;)

Have fixed the links for the both tools!
Title: Re: TE2MV: A tool to view 3D models...
Post by: Heihachi_73 on June 15, 2018, 12:49:01 am
Hope I'm not too late to the party, I have only just seen this site and my mouth dropped when I saw that someone had figured out how to rip the 3D models! I have been documenting the early Tekken series animations on and off since 2008; there are around 3000 different animations in Tekken 2 alone, despite most characters sharing moves. Note that the animations are everything from moves, to moving around, standing still, laying/rolling on the ground, taking damage, being launched/juggled/thrown, to win/lose animations, and even unused moves which never made the cut. Note that I have only documented (not ripped) the animations by looking at the pointers in the game.

The thing which got me started was not actually the PlayStation version of Tekken 2, but the original Ver. A arcade release which was slightly different to the later versions, having less moves and a few different move notations, some of which were not even documented in FAQs (most FAQs either covered the more common Ver.B arcade machine or the PlayStation version).

Just wondering, would the arcade 3D models be the same as (or similar to) the PlayStation versions? The arcade hardware is basically a custom PS1-based system with Namco's own sound chip replacing the Sony one. I have a feeling the data may be compressed inside the ROMs as even the TIMs don't show up (note that you have to interleave the ROMs first, otherwise everything will be garbled). TIMs do show up inside save states and memory dumps however, as well as on the Tekken 5 disc (tk5data3.bin). Note that the arcade games do not have a visible file system to speak of, so there is no reading through ARC/BNS files unlike the PlayStation games, you would most likely have to read through (and decompress if necessary) the entire ROM data. It may be easier to rip things from the first 3 games from the Tekken 5 PS2 disc, but I don't know if the arcade data is still there or if they are simply PS2 ports of the arcade games reusing the old PS1-style graphics (the sound is definitely redone, mostly using the PS1 sound effects).

While the arcade version of Tekken 2 may (or may not) have identical 3D models to the PlayStation version, the arcade version of Tekken 1 has three unique character models - King's white/red P2 outfit, Law's all-yellow P1 outfit, and Ganryu (all bosses only had P1 outfits). Tekken 3 is also a completely different beast on System 12, with a higher poly count, higher resolution and 3D stages (compared to the flat stage backgrounds in the PlayStation version) - unfortunately you won't find Doctor Boskonovitch, Gon or the Tekken Force guys on the arcade version (Anna is there, although her moves aren't as she was only a Start button costume swap for Nina). The arcade versions of Tekken Tag Tournament, Soul Edge and SoulCalibur may also be similar in design, all three games have 3D backgrounds similar to Tekken 3.