Did you know? Xentax started the Unepic SID Channel, that brings the latest music composed for the SID chip! Support us by listening and subscribing! Over 50.000 songs already there!

Help with MDS files - PS4 Themes

Post questions about game models here, or help out others!
Post Reply
User avatar
BlackCrow613
n00b
Posts: 10
Joined: Tue Feb 18, 2020 2:42 pm
Has thanked: 7 times

Help with MDS files - PS4 Themes

Post by BlackCrow613 » Mon Sep 14, 2020 2:13 am

Hi. I have a problem with a mds (text format) file for ps4
I have tried everything and it seems that it does not work with gmo
I want to convert it to a 3d model like fbx
Can someone help me find another alternative?
Link of the mds file with its texture:
https://www.mediafire.com/download/flm4vbwb4qdi5bh
Changing Seasons.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3438
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 949 times
Been thanked: 1861 times

Re: Help with MDS files - PS4 Themes

Post by shakotay2 » Fri Sep 18, 2020 11:20 am

You'll need some coding to convert the text to a wavefront obj file for example.
From

Code: Select all

		Arrays "arrays-0" POSITION|NORMAL|TEXCOORD 0 25 {
			-384.000000 -12288.000000 0.000000 0.000000 0.000000 1.000000 0.000000 1.000000
                        ...
you'd get
v -384.000000 -12288.000000 0.000000
vt 0.000000 1.000000
...

Face indices need a +1 each. So from

Code: Select all

DrawArrays TRIANGLES 96 1 
0 2 3 
0 3 5 
2 6 7 
2 7 3 
6 8 9 
6 9 7 
8 11 13 
8 13 9 
5 3 14 
5 14 15 
3 7 16 
3 16 14 
7 9 17 
7 17 16 
9 13 18 
9 18 17 
15 14 10 
15 10 19 
14 16 20 
14 20 10 
16 17 4 
16 4 20 
17 18 21 
17 21 4 
19 10 22 
19 22 12 
10 20 23 
10 23 22 
20 4 24 
20 24 23 
4 21 1 
4 1 24
you'd get 32 faces:
f 1 3 4
f 1 4 6
f 3 7 8
f 3 8 4
f ...

To get uvs displayed, too, faces look like so:
f 1/1 3/3 4/4
f 1/1 4/4 6/6
f 3/3 7/7 8/8
f 3/3 8/8 4/4
f ...
.
point cloud
koma-hight.png
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."

User avatar
BlackCrow613
n00b
Posts: 10
Joined: Tue Feb 18, 2020 2:42 pm
Has thanked: 7 times

Re: Help with MDS files - PS4 Themes

Post by BlackCrow613 » Wed Oct 14, 2020 12:53 pm

Thank you
Is there a way to preserve the animation?
Changing Seasons.

Post Reply