March 29, 2024, 17:23
bigger smaller reset     1020px Wide width Full width Reset   * *

Gildor's Forums

  Homepage Facebook Read news on Twitter Youtube channel Github page
Welcome, Guest. Please login or register.
Did you miss your activation email?

« previous next »
Print
Author Topic: Psychonauts 2  (Read 1230 times)
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« on: August 25, 2021, 18:40 »

Game: Psychonauts 2 (steam page)
UE4 version: 4.26

Skeletal meshes, most textures and animations works fine with the latest umodel build (1570 at the moment). For static meshes, custom textures and custom materials use specific build from this topic, you need to use game specific override option.

Update: Added workaround for some meshes where materials were not linked properly.

Update 2: Specific build now supports most custom materials.


* Clipboard10.jpg (121.34 KB, 2541x1224 - viewed 281 times.)
« Last Edit: November 18, 2021, 23:04 by spiritovod » Logged
xyzzys
Newbie
*
Posts: 3



View Profile
« Reply #1 on: August 28, 2021, 03:53 »

any recommendation for exporting audio from psychonauts 2? 
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« Reply #2 on: August 28, 2021, 04:30 »

@xyzzys: You can check fmodel for starters.
Logged
xyzzys
Newbie
*
Posts: 3



View Profile
« Reply #3 on: August 28, 2021, 05:02 »

hey this works! thanks!
i'm trying to find the music of this game. theres 19,443 audio files in the wwiseaudio folder. whoof..
Logged
Nooga
Newbie
*
Posts: 2


View Profile
« Reply #4 on: August 29, 2021, 11:22 »

Nice work on that build, thanks for making it. Have an issue exporting the HQ Raz unfortunately - it interprets all material slots as being Raz's bag, so I can't texture it properly on export. Seems to be the only one with the issue thankfully, as far as I've seen.
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« Reply #5 on: August 29, 2021, 17:15 »

@Nooga: I think that mesh is not supposed to be used directly (maybe it's leftover), but I've updated specific build with a workaround for such cases.
Logged
Nooga
Newbie
*
Posts: 2


View Profile
« Reply #6 on: September 14, 2021, 10:54 »

IDK if this is the fault of a game update or something but now I'm getting the following error:

File F:\GOG\Psychonauts 2/Psychonauts2/Content/Paks/Psychonauts2-WindowsNoEditor.pak has an unknown format

And can't view any assets Sad
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« Reply #7 on: September 16, 2021, 22:02 »

@Nooga: I suppose that package is broken somehow, because latest steam build still works fine (and it should be the same as gog build).
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« Reply #8 on: November 18, 2021, 23:07 »

Specific build replaced with the one with support for custom materials. For more info read the first post.
Logged
spuds
Newbie
*
Posts: 2


View Profile
« Reply #9 on: July 22, 2023, 11:13 »

Game: Psychonauts 2 (steam page)
UE4 version: 4.26

Skeletal meshes, most textures and animations works fine with the latest umodel build (1570 at the moment). For static meshes, custom textures and custom materials use specific build from this topic, you need to use game specific override option.

Update: Added workaround for some meshes where materials were not linked properly.

Update 2: Specific build now supports most custom materials.

Hi would you be able to say what fixes you made for the mesh could load? Trying to add support for my own program so would be really helpful Smiley
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1901


View Profile
« Reply #10 on: July 22, 2023, 22:40 »

@spuds: It's some additional data at the end of FDistanceFieldVolumeData (22 bytes total) and some data for textures before mips serialization (32 bytes, present conditionally and guessed from input) - it's like stab for virtual textures, but the game doesn't use them. Such things are usually just skipped in umodel, since they're not required anyway, so it's not very helpful. 
Logged
spuds
Newbie
*
Posts: 2


View Profile
« Reply #11 on: July 23, 2023, 01:22 »

@spuds: It's some additional data at the end of FDistanceFieldVolumeData (22 bytes total) and some data for textures before mips serialization (32 bytes, present conditionally and guessed from input) - it's like stab for virtual textures, but the game doesn't use them. Such things are usually just skipped in umodel, since they're not required anyway, so it's not very helpful. 

thank you! very much appreciated!
Logged
Tamar+TheMachine
Newbie
*
Posts: 1


View Profile
« Reply #12 on: August 27, 2023, 12:58 »

I am getting errors of this sort when I try to load multiple skeletal assets in Psychonauts 2 in the 64bit executable:
Code:
Serializing behind stopper (281EF7+101 > 281EF9)
FPakFile::Serialize: file=/Game/Characters/Raz/Outfits/Raz_P1/Raz_P1_WholeBody.uexp <- TArray::SerializeSimple <- FStaticLODModel4::SerializeStreamedData <- FStaticLODModel4::SerializeRenderItem <- TArray::Serialize: 0/1 <- USkeletalMesh4::Serialize <- LoadObject: SkeletalMesh4'Raz_P1_WholeBody.Raz_P1_WholeBody', pos=284412, ver=522/0, game=ue4.27 <- UObject::EndLoad <- LoadWholePackage: /Game/Characters/Raz/Outfits/Raz_P1/Raz_P1_WholeBody.uasset <- CUmodelApp::ShowPackageUI <- UIMenuItem::HandleCommand <- UIMenuItem::HandleCommand <- CUmodelApp::WndProc <- VisualizerLoop <- Main: umodel_build=1590

I also get this with the 32bit executable
Code:
VirtualTextures are not supported
FTexturePlatformData<< <- UTexture2D::Serialize4 <- UTexture2D::Serialize <- LoadObject: Texture2D'T_DefaultCHAR_FlatNormal_N.T_DefaultCHAR_FlatNormal_N', pos=4DF, ver=522/0, game=ue4.27 <- UObject::EndLoad <- LoadWholePackage: /Game/Characters/Raz/Outfit_P1/I_RazP1Body.uasset <- CUmodelApp::ShowPackageUI <- Main: umodel_build=1590
« Last Edit: August 27, 2023, 13:15 by Tamar+TheMachine » Logged
Print 
« previous next »
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS