Befzz / blender3d_import_psk_psa

import mesh, skeleton, animation from psk, psa files to blender3d
479 stars 168 forks source link

Is it possible to import psk with textures ?? #57

Open ag2s20150909 opened 3 years ago

Blenux commented 3 years ago

Yes would be good but, you would only get basic texture setup at the most, like Diffuse or Normal textures, packed textures can differ from game to game and would be nightmare to add.

etkramer commented 3 years ago

No, but the .psk format isn't capable of complex materials - in order to get something that looks half-decent you'd have to redo it from scratch anyway.

Materials really aren't too hard, it's just a matter of plugging in 2-3 textures.

Tosyk commented 3 years ago

it would be enough for me at least to have all these textures in the proper material loaded image known textures (diffuse and normal) can be connected to shader and other can be floating around so I don't need to do same actions over and over again.

here's examples of structure the umodel can provided: ATATPilot.zip WallrunLizard.zip

tc490225 commented 3 years ago

got basic diffuse and normal textures working.. im a github noob so please forgive my ignorance on where\how to get the file out. https://github.com/tc490225/blender3d_import_psk_psa

Working Diffuse and Normal maps Execute umodel command to dump all .psk, .pskx, .png and .mat files umodel.exe -path="D:\Program Files (x86)\Steam\steamapps\common\Borderlands 2\WillowGame\CookedPCConsole" -export HyperionCity_P.upk -out="d:\export\HyperionCity_P" Create new folder to hold files.. for example d:\export\HyperionCity_P_all Then copy all .psk, .pskx, .png and .mat files into root of export folder ..powershell below Get-ChildItem d:\export\HyperionCity_P -Recurse -File -Include .psk,.pskx,.png,.mat | Copy-Item -Destination d:\export\HyperionCity_P_all in blender import ALL or one .psk files from d:\export\HyperionCity_P_all