Important information: this site is currently scheduled to go offline indefinitely by end of the year.

UNREAL PSK importer for Blender249

Post questions about game models here, or help out others!
Post Reply
Szkaradek123
mega-veteran
mega-veteran
Posts: 292
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 742 times

UNREAL PSK importer for Blender249

Post by Szkaradek123 »

The contents of this post was deleted because of possible forum rules violation.


Update 2014-08-31:
- import psk - skeleton file
- unpack psa - animation archive container (export all animation to single *.action)
- import action file - single animation

Link:
http://www.mediafire.com/download/uycpz ... -31%5D.zip
Last edited by Szkaradek123 on Sun Aug 31, 2014 12:44 pm, edited 2 times in total.
User avatar
Tosyk
double-veteran
double-veteran
Posts: 1027
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 269 times
Been thanked: 154 times
Contact:

Re: UNREAL PSK importer for Blender249

Post by Tosyk »

Szkaradek123, thank you, works great!
Thank you for all you do here
my blog | my forum
User avatar
Mirrorman95
ultra-veteran
ultra-veteran
Posts: 355
Joined: Tue Jul 20, 2010 2:08 am
Has thanked: 16 times
Been thanked: 24 times

Re: UNREAL PSK importer for Blender249

Post by Mirrorman95 »

How do you fix exported Noesis psk files to map to the correct textures?
BBSFM and KH2FM+ saves are compatible with KH2.5. viewtopic.php?t=13424
Szkaradek123
mega-veteran
mega-veteran
Posts: 292
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 742 times

Re: UNREAL PSK importer for Blender249

Post by Szkaradek123 »

I exported some files using Noesis and check these in hex editor .There are nothing about names of textures ,
and Noesis don't create .mat file, which is using for reading textures, so ...i can not fix script.
Most of games based on Unreal Engine after unpacking using Gildor's umodel, create folder with materials ,
which are reading by script .
Noesis - do not. So images must be manual imported.
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 505 times

Re: UNREAL PSK importer for Blender249

Post by MrAdults »

Szkaradek123 wrote:I exported some files using Noesis and check these in hex editor .There are nothing about names of textures ,
and Noesis don't create .mat file, which is using for reading textures, so ...i can not fix script.
Most of games based on Unreal Engine after unpacking using Gildor's umodel, create folder with materials ,
which are reading by script .
Noesis - do not. So images must be manual imported.
This is wrong. Noesis exports PSK materials with pskMaterial_t structures. (MATT0000 chunks)

As shown in this file generated by Noesis: http://img577.imageshack.us/img577/2889/matt0000.png
Szkaradek123
mega-veteran
mega-veteran
Posts: 292
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 742 times

Re: UNREAL PSK importer for Blender249

Post by Szkaradek123 »

The contents of this post was deleted because of possible forum rules violation.
Modman69
veteran
Posts: 108
Joined: Wed Jun 17, 2009 4:33 pm
Has thanked: 21 times
Been thanked: 4 times

Re: UNREAL PSK importer for Blender249

Post by Modman69 »

Szkaradek123,

Your work with blender is fantastic!

But please, please consider switching to the new blender 2.56

I really think it would be a much greater benefit for now and later :)
Szkaradek123
mega-veteran
mega-veteran
Posts: 292
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 742 times

Re: UNREAL PSK importer for Blender249

Post by Szkaradek123 »

The contents of this post was deleted because of possible forum rules violation.
Last edited by Szkaradek123 on Thu Apr 28, 2011 5:16 pm, edited 2 times in total.
jaden
mega-veteran
mega-veteran
Posts: 209
Joined: Sat Feb 05, 2011 1:41 am
Been thanked: 1 time

Re: UNREAL PSK importer for Blender249

Post by jaden »

thanks
jcarl904
n00b
Posts: 13
Joined: Mon Apr 12, 2010 4:08 pm
Has thanked: 5 times

Re: UNREAL PSK importer for Blender249

Post by jcarl904 »

Works beautifully, Thank you!
User avatar
almondega
ultra-n00b
Posts: 5
Joined: Sat Jan 02, 2010 11:39 pm
Been thanked: 3 times

Re: UNREAL PSK importer for Blender249

Post by almondega »

Amazing!!! Congratz!!!

To be better than Gildors Max Plugin you need to implement multiple animations.
For example, if a .psa file has 20 animations, your plugin will be able to import only a few of them and separate into strips (NLA Editor).
(For now all animations are replaced into the "armature" strip, so only one animation per model)

Your script is already faster than Gildors one for 3DS max, congratz.

I'll be waiting for further updates, the world should know there are a good psk/psa importer for Blender now :P
User avatar
gildor
n00b
Posts: 19
Joined: Mon May 24, 2010 10:15 pm
Location: St.Petersburg, Russia
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: UNREAL PSK importer for Blender249

Post by gildor »

Szkaradek123 wrote: Most of games based on Unreal Engine after unpacking using Gildor's umodel, create folder with materials ,
which are reading by script .
Noesis - do not. So images must be manual imported.
PKS format has support for mapping a texture to surface. There is no way to convert UE3 material to a single texture - it has diffuse, bump, opacity etc. ".mat file" is my own extension which allows me to load relatively complex materials similar to UE3 into 3ds Max automatically. For PSK files produced by other tools (not umodel) you usually have to create and assign materials by hands.
almondega wrote: Your script is already faster than Gildors one for 3DS max, congratz.
They are incomparable :) Blender uses Python for scripting, which should be faster than MaxScript. The slowest thing in PSK mesh loading into Max is assignment of weights to vertices, which is done by simulating GUI clicks (ugly way, it looks like MaxScript API were designed by "strange people"). I hope Blender were designed in a better way.
User avatar
CriticalError
double-veteran
double-veteran
Posts: 678
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 104 times
Been thanked: 41 times

Re: UNREAL PSK importer for Blender249

Post by CriticalError »

first of all thanks a lot sakas and gildor for great tools and importers they makes, second I don't know you remember gildor when ask for update actorx importer becuase a game use multi mesh and not load file and give error, the sakas importer load some of them, but not at all, is not posible with information of his script update yours? is just a suggestion thanks a lot.

Here topic: Sepiroth 2 PSK Files
marcioalcantara
ultra-n00b
Posts: 1
Joined: Fri Jan 12, 2018 12:35 am

Re: UNREAL PSK importer for Blender249

Post by marcioalcantara »

Szkaradek123 wrote:The contents of this post was deleted because of possible forum rules violation.


Update 2014-08-31:
- import psk - skeleton file
- unpack psa - animation archive container (export all animation to single *.action)
- import action file - single animation

Link:
http://www.mediafire.com/download/uycpz ... -31%5D.zip
help

Image
Post Reply