Page 1 of 2

Collision File - Lego Island 2

Posted: Mon Apr 24, 2017 8:27 pm
by pivke
Hi guys,

here I have an extracted collision file from Lego Island 2: The Brickster's Revenge. Do you have any idea?
https://www.file-upload.net/download-12 ... s.col.html

The files for this game are segmented into sections like "INDL" (for indices), "VERT" (for vertices), "GRPL" (for objects) etc. The same applies for this one. Sections for this one are "CBBX" (maybe for Cubebox?), GRDP (groupdata... !?) and GRDC.

It looks like, CBBX holds some vertex information and GRDP holds indices. Not getting through for now. It could be possible that this file holds information abot several boundingboxes/boundingspheres, as the corresponding mesh looks like this:

Image

Thanks ahead for your help! :-)

Re: Collision File - Lego Island 2

Posted: Tue Apr 25, 2017 1:37 pm
by kellne
Why do you need collision from this game anyway ? :D

Re: Collision File - Lego Island 2

Posted: Tue Apr 25, 2017 6:20 pm
by pivke
kellne wrote:Why do you need collision from this game anyway ? :D
???
To create new ones for custom models???

Re: Collision File - Lego Island 2

Posted: Wed Apr 26, 2017 12:04 pm
by kellne
Dont make mods for this game :D This game is so DEAD you know !
Noone plays this game :/

[bruce]

Re: Collision File - Lego Island 2

Posted: Wed Apr 26, 2017 5:04 pm
by pivke
kellne wrote:Dont make mods for this game :D This game is so DEAD you know !
Noone plays this game :/

[bruce]
Sorry, but looks like you have nothing to contribute here. Please use another thread to annoy people.

Re: Collision File - Lego Island 2

Posted: Wed Apr 26, 2017 5:27 pm
by kellne
I am not annoying anyone.

Just tell me why do you want to MOD dead game ? :O

Re: Collision File - Lego Island 2

Posted: Wed Apr 26, 2017 8:49 pm
by pivke
kellne wrote:I am not annoying anyone.

Just tell me why do you want to MOD dead game ? :O
You are annoying me. Dead game or not doesn't matter. You are probably too young to feel the nostalgically of childhood games.

Re: Collision File - Lego Island 2

Posted: Thu Apr 27, 2017 12:03 am
by Gh0stBlade
Hi,

Please remain respectful towards one and other. If you do not have anything constructive to post, please do not post or attempt to derail threads. This is just a reminder.

Cheers.

Re: Collision File - Lego Island 2

Posted: Thu Apr 27, 2017 10:17 pm
by kellne
I know nostalgia.

I am 20 years old now, BOI ! :D
I make MODs for GTA San Andreas, it is game from 2004 :D so I know nostalgia.

I am older than you for sure ;)
Do you have some mods to show ? :O

Re: Collision File - Lego Island 2

Posted: Thu Apr 27, 2017 11:02 pm
by Acewell
pivke wrote:here I have an extracted collision file from Lego Island 2: The Brickster's Revenge. Do you have any idea?
https://www.file-upload.net/download-12 ... s.col.html
i can't even get a decent point cloud with the data, but if this is just for collision you can take the higher
res mesh that you seem to have there in Blender and copy it then lower the polygon count and keep the
scale so that it will still encompass the high res mesh and use it as the collision mesh. :]

Re: Collision File - Lego Island 2

Posted: Fri Apr 28, 2017 7:09 am
by shakotay2
86 faces are supposed to be found?

Guess it's a matter of how to interpret the data.
This gives a sphere:
# Rocks.col
# v -0.192059 -0.126221 0.973233 1.180366
# v 0.026208 -0.992000 -0.123484 -0.147430
# v -0.833683 0.544194 -0.093942 1.673595
v 0.942739 0.251820 0.218700 0.586671
# -107374176.000000 -107374176.000000 -107374176.000000 -107374176.000000
# v -0.291675 -0.059341 0.954675 1.374485
# v -0.935510 -0.190329 -0.297651 1.729657
# v -0.187527 0.982252 0.003762 2.706966
v 0.804263 -0.555480 0.211193 -1.518214
# -107374176.000000 -107374176.000000 -107374176.000000 -107374176.000000

If you use the last column as position components (with 4th value commented out):
v 1.180366 -0.147430 1.673595
# 0.586671
v 1.374485 1.729657 2.706966
# -1.518214
v 2.685511 1.415948 1.310850
# 0.056951

you get a maybe suiting point cloud but not sure.

Re: Collision File - Lego Island 2

Posted: Fri Apr 28, 2017 10:11 pm
by pivke
kellne wrote:I know nostalgia.

I am 20 years old now, BOI ! :D
I make MODs for GTA San Andreas, it is game from 2004 :D so I know nostalgia.

I am older than you for sure ;)
Do you have some mods to show ? :O
I'm 24 years old and I'm developing modding software for people like you. Sorry, but you are mentally at the age of 12, so stop trying to downgrade me.

@AceWell
Yep, tried to get a point cloud too, but the vertices were just screwed up. Thanks for the hint with the low poly thing, but I'm only interested in the file format to get collision files for new models back in game.

@shakotay2
You made a great job again, just as usual :wink: I'm just curios about the data. Why didn't they just use boundingsphere center point + diameter?

Re: Collision File - Lego Island 2

Posted: Fri Apr 28, 2017 10:29 pm
by pivke
shakotay2 wrote:86 faces are supposed to be found?

Guess it's a matter of how to interpret the data.
This gives a sphere:
# Rocks.col
# v -0.192059 -0.126221 0.973233 1.180366
# v 0.026208 -0.992000 -0.123484 -0.147430
# v -0.833683 0.544194 -0.093942 1.673595
v 0.942739 0.251820 0.218700 0.586671
# -107374176.000000 -107374176.000000 -107374176.000000 -107374176.000000
# v -0.291675 -0.059341 0.954675 1.374485
# v -0.935510 -0.190329 -0.297651 1.729657
# v -0.187527 0.982252 0.003762 2.706966
v 0.804263 -0.555480 0.211193 -1.518214
# -107374176.000000 -107374176.000000 -107374176.000000 -107374176.000000

If you use the last column as position components (with 4th value commented out):
v 1.180366 -0.147430 1.673595
# 0.586671
v 1.374485 1.729657 2.706966
# -1.518214
v 2.685511 1.415948 1.310850
# 0.056951

you get a maybe suiting point cloud but not sure.
Tried to reconstruct your vertices, but wasn't able to? And how is it giving 86 faces for you?

Re: Collision File - Lego Island 2

Posted: Fri Apr 28, 2017 11:02 pm
by shakotay2
there's 86 times the pattern 16x 0xCC so I thought there might be 86 faces

here's the obj for it:
shak_log lastCol-Pos.zip
pivke wrote:Why didn't they just use boundingsphere center point + diameter?
You need to know which software they used to created the collision shape files. Is it a genuine format (own format of the developer) or did they use something like PhysX?

Re: Collision File - Lego Island 2

Posted: Fri Apr 28, 2017 11:09 pm
by pivke
shakotay2 wrote:there's 86 times the pattern 16x 0xCC so I thought there might be 86 faces

here's the obj for it:
shak_log lastCol-Pos.zip
Seriously... can't find that? o0

Imported the original model to your collision file. Not looking like it's a bounding box or sphere :(
Image
(Enlarge image to see point cloud)

EDIT:
@shakotay2
They mostly used own formats (3D models, texture animations). And so I think they did here.