Yu Yu Hakusho PS2

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
dswd2016
Posts: 43
Joined: Tue Mar 15, 2016 6:32 pm

Yu Yu Hakusho PS2

Post by dswd2016 »

Can someone help me? how do I open .mdl files? I found this format to extract Yu Yu Hakusho dark tournament PS2.

Image

Model Link: http://www.mediafire.com/download/3fq92 ... kj/Bui.rar
Szkaradek123
Posts: 124
Joined: Sat Aug 29, 2015 1:13 pm

Re: Yu Yu Hakusho PS2

Post by Szkaradek123 »

Hi

From axe.mdl

Code: Select all

offset 14632   (1, 1, 0, 1) - beginning of mesh data
mesh:9
offset 14636   (0, 192, 1, 108)
offset 14640   (12,) - vert count
offset 14644   (248, 16, 75, 0, 72, 226, 18, 0, 64, 0, 83, 0, 5, 1, 0, 1)

Each section has multiple of 16 elements like:16,32,48..., so here we have 12 verts and rest 4 elements are 0.

offset 14660   (48, 128, 16, 105) - unk section, 16 elements flag=105
offset 14664   (209, 126, 173, 238, 186, 255)
offset 14670   (41, 127, 107, 241, 175, 255)
offset 14676   (209, 126, 173, 238, 147, 255)
offset 14682   (56, 126, 227, 234, 198, 253)
offset 14688   (29, 0, 26, 142, 99, 58)
offset 14694   (21, 0, 209, 135, 6, 44)
offset 14700   (29, 0, 26, 142, 99, 58)
offset 14706   (197, 129, 229, 234, 75, 254)
offset 14712   (47, 129, 176, 238, 23, 0)
offset 14718   (215, 128, 110, 241, 52, 0)
offset 14724   (47, 129, 176, 238, 62, 0)
offset 14730   (246, 129, 214, 233, 100, 2)
offset 14736   (0, 0, 0, 0, 0, 0)
offset 14742   (0, 0, 0, 0, 0, 0)
offset 14748   (0, 0, 0, 0, 0, 0)
offset 14754   (0, 0, 0, 0, 0, 0)


offset 14760   (49, 192, 16, 102) section with flag 102, 16 elements
offset 14764   (46, 22)
offset 14766   (31, 28)
offset 14768   (15, 22)
offset 14770   (24, 27)
offset 14772   (46, 22)
offset 14774   (37, 27)
offset 14776   (46, 22)
offset 14778   (24, 27)
offset 14780   (15, 22)
offset 14782   (31, 28)
offset 14784   (46, 22)
offset 14786   (37, 27)
offset 14788   (0, 0)
offset 14790   (0, 0)
offset 14792   (0, 0)
offset 14794   (0, 0)

offset 14796   (47, 128, 16, 98) - section with flag 98, 16 elements
offset 14800   (5, 5, 5, 5, 3, 3, 3, 5, 5, 5, 5, 5, 0, 0, 0, 0)
offset 14816   (0, 0, 0, 32)
offset 14820   (192, 192, 192, 192)
end
offset 14824   (47, 128, 16, 121) - section with flag 121 - vertex position , 3 x short
offset 14828   [0.03955078125, -1.473388671875, 3.021240234375]
offset 14834   [0.01806640625, -1.65478515625, 2.316650390625]
offset 14840   [0.03662109375, -1.465576171875, 1.5693359375]
offset 14846   [0.017333984375, -1.6240234375, 1.988037109375]
offset 14852   [0.03955078125, -1.473388671875, 3.021240234375]
offset 14858   [0.0185546875, -1.62744140625, 2.600830078125]
offset 14864   [-0.000244140625, -1.473388671875, 3.021240234375]
offset 14870   [0.017333984375, -1.6240234375, 1.988037109375]
offset 14876   [-0.003173828125, -1.465576171875, 1.5693359375]
offset 14882   [0.01806640625, -1.65478515625, 2.316650390625]
offset 14888   [-0.000244140625, -1.473388671875, 3.021240234375]
offset 14894   [0.0185546875, -1.62744140625, 2.600830078125]
offset 14900   [0.0, 0.0, 0.0]
offset 14906   [0.0, 0.0, 0.0]
offset 14912   [0.0, 0.0, 0.0]
offset 14918   [0.0, 0.0, 0.0]
offset 14924   (0, 0, 0, 23)


I don't know how to make faces.
Here is a blend file to import vertices.
dswd2016
Posts: 43
Joined: Tue Mar 15, 2016 6:32 pm

Re: Yu Yu Hakusho PS2

Post by dswd2016 »

Thank you very much. Could you tell me how I do this procedure in the blender 2.49? Thank you.
dswd2016
Posts: 43
Joined: Tue Mar 15, 2016 6:32 pm

Re: Yu Yu Hakusho PS2

Post by dswd2016 »

I received this error message, which can be?

Image
Szkaradek123
Posts: 124
Joined: Sat Aug 29, 2015 1:13 pm

Re: Yu Yu Hakusho PS2

Post by Szkaradek123 »

Please don't use any portable software.

Just install Blender version 249b (32 bit) and Python 2.6.6.(32 bit).

Doubleclick file "Blender249.blend" and in Text Window press alt+p to run script.
Select file with *.mdl and press import.

Importer is really useless , because of unknow method for faces

If still dosn't work check console (black blender window). Last try copy all files to folder where is blender.exe and doubleclick Blender249.blend
dswd2016
Posts: 43
Joined: Tue Mar 15, 2016 6:32 pm

Re: Yu Yu Hakusho PS2

Post by dswd2016 »

Thank you, follow your tip and i got it. Unfortunately has no texture. Thank you.

Image