Spider-Man The Movie Videogame .PCMESH [$20]

Post questions about game models here, or help out others!
Post Reply
Nintendude
advanced
Posts: 59
Joined: Wed Oct 19, 2011 4:25 am
Has thanked: 5 times
Been thanked: 2 times

Spider-Man The Movie Videogame .PCMESH [$20]

Post by Nintendude » Tue Aug 19, 2014 3:52 pm

Alright so I have been able to extract from the PKG files, using Watto's Tools. But now I'm stuck on the PCMESH files. I figure these contain the 3D model data, but after doing some searching I have not found any program that will open them. Anyone here have an idea? Here's a sample.
https://www.sendspace.com/file/l724rt There is also a ENT and ENX file in the folder with this, but I doubt they have much use.

I'll also do one better by paying someone $10 via Paypal if they can manage to get this one single model into a OBJ or 3DS format and send it via PM with their Paypal address.
Last edited by Nintendude on Thu Aug 21, 2014 1:52 am, edited 1 time in total.

Nintendude
advanced
Posts: 59
Joined: Wed Oct 19, 2011 4:25 am
Has thanked: 5 times
Been thanked: 2 times

Re: Spider-Man The Movie Videogame .PCMESH [$10]

Post by Nintendude » Thu Aug 21, 2014 1:36 am

Really need help on this, bumping the paid offer up to $20 via Paypal and that's just for one model conversion.

TGE
veteran
Posts: 107
Joined: Wed Jun 04, 2014 7:48 pm
Location: Netherlands
Has thanked: 20 times
Been thanked: 31 times
Contact:

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by TGE » Fri Aug 22, 2014 5:40 pm

annoying format, dunno if I'm able to finish it or not
http://puu.sh/b3kXZ.png

User avatar
zaramot
double-veteran
double-veteran
Posts: 704
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 759 times

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by zaramot » Fri Aug 22, 2014 6:18 pm

Hm, format itself seems not so hard, but faces here are builded in a strange way (I think they are quads) It could be an interesting example to study
You do not have the required permissions to view the files attached to this post.
Making model-import scripts, PM

TGE
veteran
Posts: 107
Joined: Wed Jun 04, 2014 7:48 pm
Location: Netherlands
Has thanked: 20 times
Been thanked: 31 times
Contact:

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by TGE » Fri Aug 22, 2014 6:21 pm

zaramot wrote:Hm, format itself seems not so hard, but faces here are builded in a strange way (I think they are quads) It could be an interesting example to study
could you explain how you read the vertices?

fatduck
mega-veteran
mega-veteran
Posts: 316
Joined: Wed Aug 02, 2006 10:07 pm
Has thanked: 10 times
Been thanked: 93 times

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by fatduck » Fri Aug 22, 2014 9:39 pm

This is a very easy format, indices mixed with Face-index and UV-index!
I did it while I am watch TV! :P

Image
You do not have the required permissions to view the files attached to this post.
No more Fatduck, no more FatImporter, Byebye everyone!

User avatar
zaramot
double-veteran
double-veteran
Posts: 704
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 759 times

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by zaramot » Sat Aug 23, 2014 7:27 am

Cool! Fatduck you are the best, could you provide part of your code for face/uv section?

EDIT: Nintendude, could you send me more models via PM? Or maybe post them here.
Making model-import scripts, PM

mariokart64n
ultra-veteran
ultra-veteran
Posts: 528
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 23 times
Been thanked: 159 times
Contact:

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by mariokart64n » Sat Aug 23, 2014 2:07 pm

Nintendude wrote:Well that's kind of depressing. Wonder why it didn't look like this. That's supposed to be this but now that I think about it, it's probably just a cinematic model.
http://i1-news.softpedia-static.com/ima ... -large.jpg
Earlier this week I had already converted the model for Nintendude. I should have posted here about it, seems everyone is writing there own programs now lol

here is the PC demo of the game: (game was released in 2002, it runs off of dx8.1, and looks extremely dated)
http://www.fileplanet.com/89532/80000/f ... Movie-Demo

there are only about a dozen actual 3d characters in the game files, 80% of the game is made out of BIK video sequences :\

the models are packed in a PKG file, (PCMESH,TGA,ENT,ENX) are sub files
PCMESH -> geometry data
TGA -> Texture data
ENT -> Skeleton data
ENX -> ?? Hitbox data?

I've written a maxscript with handling for PKG unpacking and PCmesh importing

..my maxscript is attached below if your interested, the face format isnt anything special. the faces are interlaced together, the tip off was the fact there is UV data with a different count.. one would expect there to be face data for the UVs.. so where was it in a single face buffer? either at the half way point or its interlaced...

Image
PCMESH Tool by mariokart64n.zip
You do not have the required permissions to view the files attached to this post.
Research: [DOA2U] [DOA5U]

User avatar
zaramot
double-veteran
double-veteran
Posts: 704
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 759 times

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by zaramot » Sat Aug 23, 2014 2:51 pm

Ah, Corey thanks a lot for your script! :) Now I adopted your code for my script, yesterday I briefly looked at this format. Didn't get what to do with faces lol So decided that, this is nice example to study (never met this before) Your amazing job saved me hours lol Thanks a lot again
Making model-import scripts, PM

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2386 times
Been thanked: 717 times

Spider-Man The Movie Videogame (*.pkg)

Post by Acewell » Tue Feb 20, 2018 8:30 am

bms script for fun to extract the files from pkg :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get FOLDERS long
get FILES long
get TOTAL_DATA_SIZE long
for i = 0 < FOLDERS
    getdstring FOLDER 0x40
    putarray 0 i FOLDER
    get FILES_IN_FOLDER long
    for j = 0 < FILES_IN_FOLDER
        get FILE_INDEX long
    next j
next i
savepos TMP
xmath BASE_OFF "(FILES * 0x30) + TMP" 
for k = 0 < FILES
    getdstring NAME 0x28
    get SIZE long
    get OFFSET long
    savepos TMP2
    math OFFSET + BASE_OFF
    log NAME OFFSET SIZE
    goto TMP2
next k

GBA64
ultra-n00b
Posts: 1
Joined: Tue Dec 18, 2018 4:03 am

Re: Spider-Man The Movie Videogame .PCMESH [$20]

Post by GBA64 » Fri Mar 08, 2019 7:48 am

Hey, so I know this post is super old, but I was wondering if this script could be updated to import level geometry and maybe fix a few issues with some garbled polygons. Level geometry doesn't show a thing when imported, and some things like ARROWS_A.PCMESH just import as a mess.

This PCMESH is from "COMMON\MXTRAINING\ENTITIES"

Image

Post Reply