1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2024-09-23 18:48:26 +02:00
A Blender plugin for importing and exporting Unreal PSK and PSA files
Go to file
2024-06-06 23:53:05 -07:00
.github Update issue templates 2023-10-02 22:59:58 -07:00
psa Merge branch 'master' into blender-4.2 2024-06-06 23:53:05 -07:00
psk Selected non-mesh objects will now be ignored on PSK export instead of blocking the operator from being invoked 2024-05-27 16:03:18 -07:00
shared Fixed not being able to properly run reload scripts on the addon 2024-05-31 18:52:33 -07:00
__init__.py Fixed not being able to properly run reload scripts on the addon 2024-05-31 18:52:33 -07:00
.gitignore PSA exports now work! 2019-12-11 10:25:31 -08:00
blender_manifest.toml Changed the name of the add-on to something simpler 2024-05-27 16:21:31 -07:00
LICENSE Initial commit 2019-11-28 23:57:05 -08:00
README.md Fixed duplicate code issue 2024-03-25 23:52:36 -07:00

Blender GitHub release

ko-fi

This Blender addon allows you to import and export meshes and animations to and from the PSK and PSA file formats used in many versions of the Unreal Engine.

Compatibility

Blender Version Addon Version Long Term Support
4.1 latest TBD
4.0 6.2.1 TBD
3.4 - 3.6 5.0.6 June 2025
2.93 - 3.3 4.3.0 September 2024

Bug fixes will be issued for legacy addon versions that are under Blender's LTS maintenance period. Once the LTS period has ended, legacy addon versions will no longer be supported by the maintainers of this repository, although we will accept pull requests for bug fixes.

Features

  • Full PSK/PSA import and export capabilities.
  • Non-standard file section data is supported for import only (vertex normals, extra UV channels, vertex colors, shape keys).
  • Fine-grained PSA sequence importing for efficient workflow when working with large PSA files.
  • PSA sequence metadata (e.g., frame rate, sequence name) is preserved on import, allowing this data to be reused on export.
  • Specific bone collections can be excluded from PSK/PSA export (useful for excluding non-contributing bones such as IK controllers).
  • PSA sequences can be exported directly from actions or delineated using a scene's timeline markers or NLA track strips, allowing direct use of the NLA when creating sequences.
  • Manual re-ordering of material slots when exporting multiple mesh objects.

Installation

  1. Download the zip file for the latest version from the releases page.
  2. Open Blender 4.0.0 or later.
  3. Navigate to the Blender Preferences (Edit > Preferences).
  4. Select the Add-ons tab.
  5. Click the Install... button.
  6. Select the .zip file that you downloaded earlier and click Install Add-on.
  7. Enable the newly added Import-Export: PSK/PSA Importer/Exporter addon.

Usage

Exporting a PSK

  1. Select the mesh objects you wish to export.
  2. Navigate to File > Export > Unreal PSK (.psk).
  3. Enter the file name and click Export.

Importing a PSK/PSKX

  1. Navigate to File > Import > Unreal PSK (.psk/.pskx).
  2. Select the PSK file you want to import and click Import.

Exporting a PSA

  1. Select the armature objects you wish to export.
  2. Navigate to File > Export > Unreal PSA (.psa).
  3. Enter the file name and click Export.

Importing a PSA

  1. Select an armature that you want import animations for.
  2. Navigate to File > Import > Unreal PSA (.psa).
  3. Select the PSA file you want to import.
  4. Select the sequences that you want to import and click Import.

Note that in order to see the imported actions applied to your armature, you must use the Dope Sheet or Nonlinear Animation editors.

FAQ

Why can't I see the animations imported from my PSA?

Simply importing an animation into the scene will not automatically apply the action to the armature. This is in part because a PSA can have multiple sequences imported from it, and also that it's generally bad form for importers to modify the scene when they don't need to.

The PSA importer creates Actions for each of the selected sequences in the PSA. These actions can be applied to your armature via the Action Editor or NLA Editor.

Why are the mesh normals not accurate when importing a PSK extracted from UE Viewer?

If preserving the mesh normals of models is important for your workflow, it is not recommended to export PSK files from UE Viewer. This is because UE Viewer makes no attempt to reconstruct the original smoothing groups. As a result, the normals of imported PSK files will be incorrect when imported into Blender and will need to be manually fixed.

As a workaround, it is recommended to export glTF meshes out of UE Viewer instead, since the glTF format has support for explicit normals and UE Viewer can correctly preserve the mesh normals on export. Note, however, that the imported glTF armature may have it's bones oriented incorrectly when imported into Blender. To mitigate this, you can combine the armature of PSK and the mesh of the glTF for best results.