DarklightGames / io_scene_psk_psa

A Blender extension for importing and exporting Unreal PSK and PSA files
GNU General Public License v3.0
310 stars 20 forks source link

Error when exporting PSK #60

Closed heloess closed 5 months ago

heloess commented 7 months ago

Blender: (example: 4.0) io_scene_psk_psa: (example: 6.0.0)

image

cmbasnett commented 7 months ago

Can you send the PSK so I can try this out locally?

cmbasnett commented 7 months ago

@heloess Can you send the PSK so I can try this out locally?

cmbasnett commented 6 months ago

@heloess Actually, I know what the issue is here. The non-extended PSK format has a limit of 65536 "wedges" (UV corners). The PSK exporter here is erroring out here because it does not export the "extended" format that has in increased wedge limit. I made the assumption that there wouldn't be much point in exporting a PSK that would be incompatible with any of the game engine importers.

I can update the exporter to handle exporting the extended format, but I'd want to gate this behind an option that the user must enable so that people don't accidentally export incompatible PSKs.

If I may ask, what program is going to ingest this exported PSK?

cmbasnett commented 5 months ago

@heloess Can you please send the file you used to trigger this error? Otherwise I will be forced to close the issue.

cmbasnett commented 5 months ago

Closing this since the OP hasn't responded.