Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Virtua Cop Elite Edition PS2

Post questions about game models here, or help out others!
Post Reply
themonkeyman
n00b
Posts: 19
Joined: Fri Nov 27, 2009 1:49 am
Has thanked: 4 times
Been thanked: 1 time

Virtua Cop Elite Edition PS2

Post by themonkeyman »

The contents of this post was deleted because of possible forum rules violation.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Virtua Cop Elite Edition PS2

Post by finale00 »

Since I don't see any index buffers and it's a PS2 games, I'm going to assume it also uses one of those implicit face definition by just stringing together a bunch of vertices.

But I haven't written any code to do something like that so I can't verify it.
Do all of the files follow this format?

Code: Select all

int32 1
int32 0
int32 0
int32 5

char[12] "frame"
dword

char[12] "Micro"
dword

char[12] "Shape"
dword

char[12] "Hrchy"
dword

byte[404] just skipping

vertexSection maybe
themonkeyman
n00b
Posts: 19
Joined: Fri Nov 27, 2009 1:49 am
Has thanked: 4 times
Been thanked: 1 time

Re: Virtua Cop Elite Edition PS2

Post by themonkeyman »

Yes, I believe all the models follow that format.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Virtua Cop Elite Edition PS2

Post by finale00 »

These look like related files so all of the counts are the same.
Try finding one that's distinctly different (maybe the name isn't anything close to SCN1)
themonkeyman
n00b
Posts: 19
Joined: Fri Nov 27, 2009 1:49 am
Has thanked: 4 times
Been thanked: 1 time

Re: Virtua Cop Elite Edition PS2

Post by themonkeyman »

The contents of this post was deleted because of possible forum rules violation.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Virtua Cop Elite Edition PS2

Post by finale00 »

Each file has a whole bunch of vertex groups(don't know how to determine beforehand. SCN1 has about 5000+ while SCN1B has about 10000+), and I don't know how the faces are drawn.

Any idea what this might be?

Image

It's not all vertices...there are some weird parts too in between sometimes.

Code: Select all

for i in range(5000):
            unk1, unk2, unk3, numVerts = self.inFile.read('4L')
            if numVerts == 0 or unk2 // numVerts != 16:
                self.inFile.seek(32, 1)
            else:
                self.parse_vertices(numVerts)
themonkeyman
n00b
Posts: 19
Joined: Fri Nov 27, 2009 1:49 am
Has thanked: 4 times
Been thanked: 1 time

Re: Virtua Cop Elite Edition PS2

Post by themonkeyman »

I believe it is part of one of the levels.
themonkeyman
n00b
Posts: 19
Joined: Fri Nov 27, 2009 1:49 am
Has thanked: 4 times
Been thanked: 1 time

Re: Virtua Cop Elite Edition PS2

Post by themonkeyman »

How can I go about using this to import the vertices?

Code: Select all

for i in range(5000):
            unk1, unk2, unk3, numVerts = self.inFile.read('4L')
            if numVerts == 0 or unk2 // numVerts != 16:
                self.inFile.seek(32, 1)
            else:
                self.parse_vertices(numVerts)
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Virtua Cop Elite Edition PS2

Post by finale00 »

download/file.php?id=4983

Put it in noesis/plugins/python
themonkeyman
n00b
Posts: 19
Joined: Fri Nov 27, 2009 1:49 am
Has thanked: 4 times
Been thanked: 1 time

Re: Virtua Cop Elite Edition PS2

Post by themonkeyman »

The contents of this post was deleted because of possible forum rules violation.
Post Reply