The Last of Us Model/Animation Tools (PS4)
-
roodythepoo
- ultra-n00b
- Posts: 1
- Joined: Tue Feb 28, 2017 11:52 am
Re: Last of Us Model Viewer/Extractor (PS4)
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
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
-
akderebur
- ultra-veteran

- Posts: 621
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 777 times
Re: Last of Us Model Viewer/Extractor (PS4)
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.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
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: Last of Us Model Viewer/Extractor (PS4)
Finally got the bones working. It took long: almost whole day.


-
akderebur
- ultra-veteran

- Posts: 621
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 777 times
Re: Last of Us Model Viewer/Extractor (PS4)
Nice to see that you managed to read the skeleton data. Did you take a look at the animation files?daemon1 wrote:Finally got the bones working. It took long: almost whole day.
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: Last of Us Model Viewer/Extractor (PS4)
Yes.volfin wrote:nice, so you're pulling this from original data?
Not yet.akderebur wrote:Did you take a look at the animation files?
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: Last of Us Model Viewer/Extractor (PS4)
That's why I'm hereWobble 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.
p.s. I already found how to fix the offsets.
- chrrox
- Moderator
- Posts: 2601
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1358 times
Re: Last of Us Model Viewer/Extractor (PS4)
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]))
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: Last of Us Model Viewer/Extractor (PS4)
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.chrrox wrote:just print this info and it becomes easy to read the file.
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: Last of Us Model Viewer/Extractor (PS4)
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.


