Page 1 of 1
Virtua Cop Elite Edition PS2
Posted: Thu Jan 12, 2012 11:19 pm
by themonkeyman
The contents of this post was deleted because of possible forum rules violation.
Re: Virtua Cop Elite Edition PS2
Posted: Thu Jan 12, 2012 11:46 pm
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
Re: Virtua Cop Elite Edition PS2
Posted: Fri Jan 13, 2012 12:18 am
by themonkeyman
Yes, I believe all the models follow that format.
Re: Virtua Cop Elite Edition PS2
Posted: Fri Jan 13, 2012 1:03 am
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)
Re: Virtua Cop Elite Edition PS2
Posted: Fri Jan 13, 2012 1:20 am
by themonkeyman
The contents of this post was deleted because of possible forum rules violation.
Re: Virtua Cop Elite Edition PS2
Posted: Fri Jan 13, 2012 1:30 am
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?
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)
Re: Virtua Cop Elite Edition PS2
Posted: Fri Jan 13, 2012 2:27 pm
by themonkeyman
I believe it is part of one of the levels.
Re: Virtua Cop Elite Edition PS2
Posted: Sun Jan 15, 2012 9:49 pm
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)
Re: Virtua Cop Elite Edition PS2
Posted: Sun Jan 15, 2012 10:04 pm
by finale00
download/file.php?id=4983
Put it in noesis/plugins/python
Re: Virtua Cop Elite Edition PS2
Posted: Mon Jan 16, 2012 4:22 pm
by themonkeyman
The contents of this post was deleted because of possible forum rules violation.