Page 3 of 15
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Wed Mar 01, 2017 4:52 am
by roodythepoo
This is an excellent tool, thanks!
I am new at this, but how do I view models from Luxox's thread (
viewtopic.php?f=10&t=15801 )? The smaller < 10mb files work fine on the tool, but the 300mb file does not work.
Just not sure how to work the pak files
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Fri Mar 03, 2017 6:29 pm
by akderebur
roodythepoo wrote:This is an excellent tool, thanks!
I am new at this, but how do I view models from Luxox's thread (
viewtopic.php?f=10&t=15801 )? The smaller < 10mb files work fine on the tool, but the 300mb file does not work.
Just not sure how to work the pak files
The viewer works for separate actor50 files (characters, props etc). That common file is a collection of bunch of stuff from the game and it won't open with this tool. I am even not sure if there are models in it, it contains mostly textures for different models. Even if there is mesh data in it, this tool won't be able to load it.
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sat Mar 04, 2017 9:04 am
by daemon1
I wanted to take a look at this.

Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sat Mar 04, 2017 10:38 pm
by daemon1
Finally got the bones working. It took long: almost whole day.

Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sat Mar 04, 2017 11:17 pm
by volfin
nice

, so you're pulling this from original data?
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sat Mar 04, 2017 11:21 pm
by akderebur
daemon1 wrote:Finally got the bones working. It took long: almost whole day.
Nice to see that you managed to read the skeleton data. Did you take a look at the animation files?
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sun Mar 05, 2017 6:19 am
by daemon1
volfin wrote:nice

, so you're pulling this from original data?
Yes.
akderebur wrote:Did you take a look at the animation files?
Not yet.
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sun Mar 05, 2017 6:39 am
by Wobble
[out]
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sun Mar 05, 2017 7:42 am
by daemon1
Wobble wrote:You can identity a lot of data in these files, but with all the offsets being screwed up, I find it to be a complete time waster.
That's why I'm here

I can do things nobody else can do. I've seen this many times: first it looks like madness, but then, when you find the answer, it seems so obvious.
p.s. I already found how to fix the offsets.
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Sun Mar 05, 2017 10:28 pm
by Wobble
[out]
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Mon Mar 06, 2017 12:52 am
by chrrox
just print this info and it becomes easy to read the file.
Code: Select all
info3 = []
bs.seek(info2[1], NOESEEK_ABS)
for a in range(0, info2[2]):
info3.append(bs.read(endian + "2HI"))
#for a in range(0, info2[2]):
# print(("0x%0.10X" % info3[a][2]))
texList = []
matList = []
for a in range(0, header[3]):
bs.seek(info1[a][0], NOESEEK_ABS)
print(bs.tell())
info4 = bs.read(endian + "4I2H")
info5 = []
print("Group" + str(a))
for b in range(0, info4[5]):
info5.append(bs.read(endian + "4I"))
#for c in range(0, 4):
# print(("0x%0.10X" % info5[b][c]))
for b in range(0, info4[5]):
bs.seek(info1[a][0] + info5[b][0], NOESEEK_ABS)
mainStr = bs.readString()
#print(mainStr)
bs.seek(info1[a][0] + info5[b][2], NOESEEK_ABS)
info6 = bs.read(endian + "8I")
bs.seek(info1[a][0] + info6[0], NOESEEK_ABS)
mainStr = bs.readString()
bs.seek(info1[a][0] + info6[2], NOESEEK_ABS)
typeStr = bs.readString()
print(str(b), mainStr, " - ", typeStr, str(info1[a][0] + info5[b][2]))
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Mon Mar 06, 2017 5:23 am
by daemon1
chrrox wrote:just print this info and it becomes easy to read the file.
Oh, it was all in the script? Then I completely can't understand why so many people here was unable to correct the offsets, having all this information.
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Mon Mar 06, 2017 6:34 am
by volfin
no, that code is new, wasn't in the script.
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Mon Mar 06, 2017 1:22 pm
by Wobble
[out]
Re: Last of Us Model Viewer/Extractor (PS4)
Posted: Mon Mar 06, 2017 5:41 pm
by daemon1
I'm gonna make a free tool to extract models with bones and a new video tutorial explaining how to research such a format. This I think will be interesting, because it will show how one thing leads to another, and how step by step you can explore the whole file.