Page 1 of 1

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

Posted: Tue Aug 19, 2014 3:52 pm
by Nintendude
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.

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

Posted: Thu Aug 21, 2014 1:36 am
by Nintendude
Really need help on this, bumping the paid offer up to $20 via Paypal and that's just for one model conversion.

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

Posted: Fri Aug 22, 2014 5:40 pm
by TGE
annoying format, dunno if I'm able to finish it or not
http://puu.sh/b3kXZ.png

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

Posted: Fri Aug 22, 2014 6:18 pm
by zaramot
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

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

Posted: Fri Aug 22, 2014 6:21 pm
by TGE
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?

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

Posted: Fri Aug 22, 2014 9:39 pm
by fatduck
This is a very easy format, indices mixed with Face-index and UV-index!
I did it while I am watch TV! :P

Image

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

Posted: Sat Aug 23, 2014 7:27 am
by zaramot
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.

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

Posted: Sat Aug 23, 2014 2:07 pm
by mariokart64n
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

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

Posted: Sat Aug 23, 2014 2:51 pm
by zaramot
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

Spider-Man The Movie Videogame (*.pkg)

Posted: Tue Feb 20, 2018 8:30 am
by Acewell
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

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

Posted: Fri Mar 08, 2019 7:48 am
by GBA64
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

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

Posted: Mon Feb 03, 2020 11:22 pm
by joaovict
Hey, sorry for talking in such a old thread, but can anyone inform me if it's possible for someone create a export script for 3DS Max, atleast tell me how to do as such? I'm part of a modding community for the game, being able to export in the .PCMESH format would help out a lot!