The rules have been updated, read them now: Rules!

Spider-Man 3 PC

Post questions about game models here, or help out others!
User avatar
Acewell
VIP member
VIP member
Posts: 1329
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2683 times
Been thanked: 836 times

Re: Spider-Man 3 PC

Post by Acewell » Sun Mar 26, 2017 6:44 pm

chrrox wrote:quickbms script
slight modification so it doesn't error on other samples :D

Code: Select all

goto 0x54
get FILES long
xmath TABLELEN "FILES * 16"
findloc A1A1A1A1 binary "\xA1\xA1\xA1\xA1"
goto A1A1A1A1
xmath STARTTABLE "A1A1A1A1 - TABLELEN"
goto STARTTABLE
for i = 0 < FILES
	get hash long
	get type long
	get OFFSET long
	get SIZE long
	string NAME p= "%08x" hash
	string EXT p= "%02x" type
	string NAME + "."
	string NAME + EXT
	log NAME OFFSET SIZE
next i
*.36 looks like another archive
Last edited by Acewell on Sun Mar 26, 2017 8:14 pm, edited 1 time in total.

Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Spider-Man 3 PC

Post by Rutabaga » Sun Mar 26, 2017 6:56 pm

Tried your modified script,it doesn't work with CH_PETER.PCPACK
http://oi65.tinypic.com/2upqzih.jpg
https://mega.nz/#!XsRnmKAC!457fy1I-hkPj ... BfeTCA9Rwg
P.S Any chance what you will make Noesis script? :D

User avatar
Acewell
VIP member
VIP member
Posts: 1329
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2683 times
Been thanked: 836 times

Re: Spider-Man 3 PC

Post by Acewell » Sun Mar 26, 2017 7:31 pm

okay i updated the script to try and get around the difference :)
viewtopic.php?p=129063#p129063

Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Spider-Man 3 PC

Post by Rutabaga » Sun Mar 26, 2017 8:34 pm

Thanks,now most of samples can be extracted successfully.
What about Noesis script to view models or textures? is this a possible?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3267
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 896 times
Been thanked: 1788 times

Re: Spider-Man 3 PC

Post by shakotay2 » Sun Mar 26, 2017 8:44 pm

Rutabaga wrote:it doesn't work..it's just adds DDS header,image are still unviewable through XnView or Photoshop (with dds plugin)

But thanks anyways
don't worry (and don't give up too soon :) ):

It's a little bit hard sometimes, you may need DXTbmp.exe to view DDS files with faked headers.

I've added a Heli_test.dds with the zip file in my previous post; you may fiddle around with it.
DXTbmp-Heli-dds.JPG
(Maybe you're better off to create a screenshot to bmp in TextureFinder using the "camera button" and convert it to whatever format you want.)

btw, I had a look at the uv map of the heli in blender and it looks very horrible (much worse than that from the hex2obj screenshot); someone has to care for it first.
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3267
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 896 times
Been thanked: 1788 times

Re: Spider-Man 3 PC

Post by shakotay2 » Sun Mar 26, 2017 9:50 pm

had to put a threshold into the uv pos routine to get better results; still very ugly:
Heli-blender.JPG
(since I'm not too familiar with textures, mipmaps, etc)
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Spider-Man 3 PC

Post by Rutabaga » Mon Mar 27, 2017 9:20 am

Looks very exciting,can you try to extract New goblin model or black suit spidey model?
they are stored in CH_PLAYERGOBLIN.PCPACK and CH_BLACKSUIT.PCPACK files.
Thanks.
P.S Samples (just in case) : https://mega.nz/#!Wo4i3Y6L!Gyb46_bkH9_i ... OL5wGYIwk4

trexjones
veteran
Posts: 113
Joined: Mon Oct 13, 2014 6:54 am
Has thanked: 52 times
Been thanked: 7 times

Re: Spider-Man 3 PC

Post by trexjones » Mon Mar 27, 2017 11:26 am

Rutabaga wrote:Looks very exciting,can you try to extract New goblin model or black suit spidey model?
they are stored in CH_PLAYERGOBLIN.PCPACK and CH_BLACKSUIT.PCPACK files.
Thanks.
P.S Samples (just in case) : https://mega.nz/#!Wo4i3Y6L!Gyb46_bkH9_i ... OL5wGYIwk4
Might be worth waiting rather than asking just for specific models. I know others would like them and it seems like these guys are on to something good, so maybe wait and see what they come up with first.

Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Spider-Man 3 PC

Post by Rutabaga » Mon Mar 27, 2017 11:45 am

Ok,i'll wait,sorry for the rush :)

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3267
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 896 times
Been thanked: 1788 times

Re: Spider-Man 3 PC

Post by shakotay2 » Mon Mar 27, 2017 2:04 pm

Generally I show how it works for one submesh of one model then leave the rest to the customers.
(In this case I might add it to my MakeObj project. Without getting the textures automatically.)
ParaMedic.JPG
For coders only:
viewtopic.php?f=29&t=15955
You do not have the required permissions to view the files attached to this post.
Last edited by shakotay2 on Mon Mar 27, 2017 3:11 pm, edited 1 time in total.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Spider-Man 3 PC

Post by Rutabaga » Mon Mar 27, 2017 2:43 pm

MakeObj? what is this? i used search but i found nothing,only a few mentions

mariokart64n
ultra-veteran
ultra-veteran
Posts: 551
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 33 times
Been thanked: 186 times

Re: Spider-Man 3 PC

Post by mariokart64n » Wed Mar 29, 2017 11:02 am

chrrox wrote:its very hard to make a model importer with only one sample.
its a lot easier with several samples of different sizes.
type 36 is models

quickbms script

Code: Select all

goto 0x394
for i = 0 < 152
get hash long
get type long
get offset long
get size long
string NAME p= "%08x" hash
string EXT p= "%02x" type
string NAME += "."
string NAME += EXT
#print "%name%" 
log name offset size
next i
made a video transcoding this into noesis via python

https://youtu.be/iTXgRMZR1sY
Maxscript and other finished work I've done can be found on my DeviantArt account

Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Spider-Man 3 PC

Post by Rutabaga » Wed Mar 29, 2017 8:11 pm

mariokart64n wrote:
chrrox wrote:its very hard to make a model importer with only one sample.
its a lot easier with several samples of different sizes.
type 36 is models

quickbms script

Code: Select all

goto 0x394
for i = 0 < 152
get hash long
get type long
get offset long
get size long
string NAME p= "%08x" hash
string EXT p= "%02x" type
string NAME += "."
string NAME += EXT
#print "%name%" 
log name offset size
next i
made a video transcoding this into noesis via python

https://youtu.be/iTXgRMZR1sY
Starting from 1:40 i've heard some mentions about Modding toolset,so is this possible? and we well finally get first moddable Spider-Man game? :o
Anyways you did a nice job,but i'm afraid i can't re-write this script as you shown on video,can you leave a link to a complete script,please?
Thanks.
P.S Excuse me if i heard something wrong,because my english isn't very good :(

User avatar
Acewell
VIP member
VIP member
Posts: 1329
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2683 times
Been thanked: 836 times

Re: Spider-Man 3 PC

Post by Acewell » Thu Mar 30, 2017 1:36 am

he was just demonstrating how to make an extraction script in python for Noesis,
extraction is already taken care of here with a modified bms script though :D
viewtopic.php?p=129063#p129063

the python script in mario's video is also reading the wrong integer for the file count :P

here is my version of that same python script except with additional instruction to simulate the modified bms script :)
extract_Spiderman3_PCPACK.zip
You do not have the required permissions to view the files attached to this post.

trexjones
veteran
Posts: 113
Joined: Mon Oct 13, 2014 6:54 am
Has thanked: 52 times
Been thanked: 7 times

Re: Spider-Man 3 PC

Post by trexjones » Thu Mar 30, 2017 7:04 am

Given we have most of the data there, is there any chance we can expect to see some kind of model/rigging/textures script for noesis? Or anything for that matter?

Post Reply