XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Oct 22, 2018 5:20 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Tue Aug 19, 2014 3:52 pm 
Offline
advanced

Joined: Wed Oct 19, 2011 4:25 am
Posts: 59
Has thanked: 5 times
Have thanks: 2 times
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.

Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$10]
PostPosted: Thu Aug 21, 2014 1:36 am 
Offline
advanced

Joined: Wed Oct 19, 2011 4:25 am
Posts: 59
Has thanked: 5 times
Have thanks: 2 times
Really need help on this, bumping the paid offer up to $20 via Paypal and that's just for one model conversion.


Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Fri Aug 22, 2014 5:40 pm 
Offline
veteran

Joined: Wed Jun 04, 2014 7:48 pm
Posts: 107
Location: Netherlands
Has thanked: 20 times
Have thanks: 31 times
annoying format, dunno if I'm able to finish it or not
http://puu.sh/b3kXZ.png


Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Fri Aug 22, 2014 6:18 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Wed Jan 05, 2011 12:41 pm
Posts: 665
Has thanked: 39 times
Have thanks: 692 times
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


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Making model-import scripts, PM


Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Fri Aug 22, 2014 6:21 pm 
Offline
veteran

Joined: Wed Jun 04, 2014 7:48 pm
Posts: 107
Location: Netherlands
Has thanked: 20 times
Have thanks: 31 times
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?


Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Fri Aug 22, 2014 9:39 pm 
Offline
mega-veteran
mega-veteran

Joined: Wed Aug 02, 2006 10:07 pm
Posts: 316
Has thanked: 10 times
Have thanks: 93 times
This is a very easy format, indices mixed with Face-index and UV-index!
I did it while I am watch TV! :P

Image


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
No more Fatduck, no more FatImporter, Byebye everyone!


Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Sat Aug 23, 2014 7:27 am 
Offline
double-veteran
double-veteran
User avatar

Joined: Wed Jan 05, 2011 12:41 pm
Posts: 665
Has thanked: 39 times
Have thanks: 692 times
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


Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Sat Aug 23, 2014 2:07 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Sun Jun 05, 2005 12:00 pm
Posts: 528
Location: Ontario, Canada
Has thanked: 23 times
Have thanks: 158 times
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/images/reviews/large/SPIMTMTIP_003-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/fileinfo/Spider-Man:-The-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


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Research: [DOA2U] [DOA5U]


Top
 Profile  
 
 Post subject: Re: Spider-Man The Movie Videogame .PCMESH [$20]
PostPosted: Sat Aug 23, 2014 2:51 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Wed Jan 05, 2011 12:41 pm
Posts: 665
Has thanked: 39 times
Have thanks: 692 times
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


Top
 Profile  
 
 Post subject: Spider-Man The Movie Videogame (*.pkg)
PostPosted: Tue Feb 20, 2018 8:30 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1107
Has thanked: 2227 times
Have thanks: 629 times
bms script for fun to extract the files from pkg :D
Code:
# 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

_________________
Noesis
Hex2obj
QuickBMS
Asset Studio
TextureFinder


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Crazy31139 and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group