XNALaraMesh icon indicating copy to clipboard operation
XNALaraMesh copied to clipboard

XPS Plugin - Blender 4.0.1

Open Marcelievsky opened this issue 1 year ago • 15 comments

Hello!

I'm receiving several different errors when I try to import a model using the latest plugin (XPS Tools 2.0.2) with Blender 4.0.1. Could you check, please?

If you want additional info, let me know!

Marcelievsky avatar Dec 05 '23 00:12 Marcelievsky

Hey there, I'm not the dev but have used the plugin recently and can provide my findings.

This plugin is currently incompatible with Blender 4.0+ due to a breaking change in part of the Blender API. Until the plugin is updated to implement the new API, it will only work with Blender versions prior to 4.0. I recommend Blender 3.6.5, the last release before 4.0, which you can download at the bottom of this page: https://download.blender.org/release/Blender3.6/

I will mention that I have started some work on updating the plugin myself, if I get a working version then I will make a PR or a fork of the repo. I can't guarantee anything though, for now it's best to rely on an older version of Blender.

Hope that helps!

SimonAkers avatar Dec 05 '23 19:12 SimonAkers

Hey there, I'm not the dev but have used the plugin recently and can provide my findings.

This plugin is currently incompatible with Blender 4.0+ due to a breaking change in part of the Blender API. Until the plugin is updated to implement the new API, it will only work with Blender versions prior to 4.0. I recommend Blender 3.6.5, the last release before 4.0, which you can download at the bottom of this page: https://download.blender.org/release/Blender3.6/

I will mention that I have started some work on updating the plugin myself, if I get a working version then I will make a PR or a fork of the repo. I can't guarantee anything though, for now it's best to rely on an older version of Blender.

Hope that helps!

Thank you Simon! You're a godsend! Good luck coding the updated XPS Tools

Marcelievsky avatar Dec 05 '23 23:12 Marcelievsky

Mysteryem's fork works for me.

shankarsivarajan avatar Dec 18 '23 01:12 shankarsivarajan

Mysteryem's fork works for me.

Just peeked at it, it looks good! Glad someone got to it, I haven't had the time. Hopefully that gets merged.

SimonAkers avatar Dec 18 '23 01:12 SimonAkers

I still can't import models to the 4.0 version of Blender.

Iamtheone23643 avatar Mar 25 '24 15:03 Iamtheone23643

@Iamtheone23643 Try PR #104, it should let you import with Blender 4.0. Still waiting for it to be reviewed and merged into master branch by @johnzero7 (or another maintainer, not sure if there are any).

SimonAkers avatar Mar 25 '24 17:03 SimonAkers

Hey, how do I download the updated version that works with 4.0? Whenever I click on the green code button it downloads as zip, but it's the version that doesn't support 4.0.

Adamfal avatar Mar 30 '24 22:03 Adamfal

Mysteryem's fork

@Adamfal try this fork. It's also available in PR #104. If I'm not mistaken you can just install the downloaded ZIP file like any other Blender plugin, just go to the plugin manager in Blender and select the ZIP file.

SimonAkers avatar Mar 30 '24 22:03 SimonAkers

Thanks! :)

Adamfal avatar Mar 30 '24 22:03 Adamfal

Mysteryem's fork

@Adamfal try this fork. It's also available in PR #104. If I'm not mistaken you can just install the downloaded ZIP file like any other Blender plugin, just go to the plugin manager in Blender and select the ZIP file.

Is there any reason as to why the bones are hidden when switching to Pose mode?

Adamfal avatar Mar 30 '24 23:03 Adamfal

Just a heads up for those who are using Blender 4.1+ Mysteryem's fork did work, but you need to comment line 669 and 673 due blender move AutoSmooth from internal function into a modifier via Geometry Nodes

ArieLeo avatar May 04 '24 14:05 ArieLeo

Just a heads up for those who are using Blender 4.1+ Mysteryem's fork did work, but you need to comment line 669 and 673 due blender move AutoSmooth from internal function into a modifier via Geometry Nodes

Ok. but what file do I comment that in?

CartoonNickname avatar May 05 '24 19:05 CartoonNickname

Just a heads up for those who are using Blender 4.1+ Mysteryem's fork did work, but you need to comment line 669 and 673 due blender move AutoSmooth from internal function into a modifier via Geometry Nodes

Ok. but what file do I comment that in?

oh sorry totally forgot to add that, it's "import_xnalara_model.py" file

ArieLeo avatar May 07 '24 09:05 ArieLeo

Just for convenience, here's my fork with those two lines commented out. (I also created a Pull Request).

shankarsivarajan avatar Jun 10 '24 02:06 shankarsivarajan

Just for convenience, here's my fork with those two lines commented out. (I also created a Pull Request).

Thanks a lot!

amnoniymous avatar Jun 10 '24 12:06 amnoniymous