The Forum is up for sale: XeNTaX Forum looking for new owner

Star Wars .gcm file

Post questions about game models here, or help out others!
Post Reply
dimis9138
veteran
Posts: 85
Joined: Mon Jul 27, 2020 6:37 pm
Has thanked: 41 times
Been thanked: 8 times

Star Wars .gcm file

Post by dimis9138 »

Been trying to figure these out today to help someone and was going through other samples people posted in the past and noticed these kind of structures but have no idea how to deal with the faces, could get the vertices but can't figure out the faces. Vertex/faces stride should be 26. This is from a gamecube star wars game.
gcm.rar
You do not have the required permissions to view the files attached to this post.
Looking for someone patient enough to teach me how to write noesis plugins :(
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4231
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1139 times
Been thanked: 2222 times

Re: Star Wars .gcm file

Post by shakotay2 »

well, you'll need to subtract 32768 from the face indices in case they're "above or equal to" that value.

Plus another trouble which I couldn't fix yet (maybe those >= values to be handled as strip separators as usually 0xFFFF would be?)
so this is only a partial mesh (FVFsize= 12 bytes):
.
cis_inf_cydon_anims-gcm.png
(That other FIs' block starting at 0xDC4C doesn't really help.)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1002
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 31 times
Been thanked: 1171 times

Re: Star Wars .gcm file

Post by Bigchillghost »

Here's a test script for converting the two main objects in the file "cis_inf_cydon_anims.gcm" to OBJ format:
fmt_StarWar_gcm.zip
Result:
Image
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
dimis9138
veteran
Posts: 85
Joined: Mon Jul 27, 2020 6:37 pm
Has thanked: 41 times
Been thanked: 8 times

Re: Star Wars .gcm file

Post by dimis9138 »

Bigchillghost wrote: Sun Jun 20, 2021 11:18 am Here's a test script for converting the two main objects in the file "cis_inf_cydon_anims.gcm" to OBJ format:
fmt_StarWar_gcm.zip
Result:
Image
Works well for that specific char, however I'm facing this error which appears to be the same for the rest of them (int too large to convert). Was actually interesting to see how you structured the script for Noesis though.

Image
CIS_inf_droid.rar
You do not have the required permissions to view the files attached to this post.
Looking for someone patient enough to teach me how to write noesis plugins :(
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1002
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 31 times
Been thanked: 1171 times

Re: Star Wars .gcm file

Post by Bigchillghost »

dimis9138 wrote: Sun Jun 20, 2021 9:44 pm Works well for that specific char, however I'm facing this error which appears to be the same for the rest of them (int too large to convert).
Well, that's why it's called a "test" script. It's only for showing how the geometry data should be handled.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
Post Reply