Page 1 of 5

ZLZ PRP Importer

PostPosted: Sun Feb 10, 2019 12:27 pm
by Sirius
Hey guys,

I finally took the time to fix bugs in my PRP importer and make a Wiki entry for it, along with usage instructions. The sources are also available on Gitlab. This should make it easier to find than buried deep into the forum.

I also added in a couple features since the last version. Yay !

A small list of what it can do:
  • run on Blender 2.79, unlike the previous PyPRP importer
  • import colliders, visual meshes, materials (not perfect) and textures
  • deduplicate vertices and create hard/smooth edges for visual meshes (this makes meshes react pretty well to lighting)
  • import lights (Plasma lighting is different from Blender's so will not map 1:1)
(the following features are new:)
  • import every collider type (including convex hull), except cylinder (because it's nearly never used)
  • import a single PRP. The whole Age will still be loaded to avoid breaking references to things like textures and such
  • rig visual meshes and import Plasma bones as armatures
  • import a few animations (still rather broken)

Due to the numerous differences between Plasma and Blender, it's by no means perfect, but should be slightly better than PyPRP. It's also easier to install, since its only requirement is Korman itself.

I won't be adding new features often, but feel free to report any bugs you might encounter. Have fun :P

(and in the mean time, I'll see about doing the last bits of code cleaning to get UPlasma's source available as well, if that interest someone)

Re: ZLZ PRP Importer

PostPosted: Sun Feb 10, 2019 7:44 pm
by Deledrius
That's great news! Thanks for the update and the new documentation!

Re: ZLZ PRP Importer

PostPosted: Sun Feb 10, 2019 10:12 pm
by Chacal
Awesome.
If I can only find some free time to try it.

Re: ZLZ PRP Importer

PostPosted: Wed Feb 13, 2019 6:48 am
by Aloys
Goodie! :) A working importer is always useful.. Thanks for that new release. :)


Chacal wrote:If I can only find some free time to try it.

yeah.. that is a real problem.. :?

Re: ZLZ PRP Importer

PostPosted: Wed Feb 13, 2019 9:26 am
by Sirius
That's always the issue, isn't it :) I hope you'll like it once you find time to use it :D It's still not perfect, but I've been using it as starting point for all my handmade Unity ports, and it's rather useful.

Re: ZLZ PRP Importer

PostPosted: Wed Feb 13, 2019 9:13 pm
by Deledrius
Sirius wrote:That's always the issue, isn't it :) I hope you'll like it once you find time to use it :D It's still not perfect, but I've been using it as starting point for all my handmade Unity ports, and it's rather useful.

It's quite useful when adding new things to existing Ages. Saves me the trial-and-error of lining things up with guesswork.

Re: ZLZ PRP Importer

PostPosted: Thu Aug 15, 2019 2:20 pm
by Zapoteca
Just wanted to let you know that I've been having a blast with this tool, it's really cool to see how the game was built

I can't seem to render any scenes, though. I just get a black screen. Any thoughts?

Re: ZLZ PRP Importer

PostPosted: Fri Aug 16, 2019 2:19 am
by Sirius
I'm really glad that you're having fun with it :D

It's strange that rendering doesn't work, though. Which Ages are affected by this problem ?
You can try to check the following :
  • Make sure you're using Blender 2.79 with the "Blender Render" engine (cycles will not work).
  • Try to add point lights/ambient light. If you are trying to render an exterior scene with a skybox, try to delete the skybox or disable shadow casting for its material. By default ZLZ attempts to use Blender's lighting instead of Plasma's baked lights, and that sometimes result in the geometry blocking 100% of the light coming from the few light sources available.
  • In the world settings, disable the mist (I doubt that's the issue but you never know)
If that still doesn't solve the issue, try saving the imported Blender file somewhere. Then create a new empty Blender file, and use File→Append to reimport the objects from the other file.

Let me know if that solves the problem ;)

Re: ZLZ PRP Importer

PostPosted: Wed Oct 30, 2019 3:52 pm
by Doobes
Sadly, I'm only now just finding out about this wonderful importer. Well done, Sirius! It worked beautifully on my first import (K'veer).

With Cyan recently loosening the rules on modifying their MOUL content (but not giving access to their max files), this should come in very handy in the coming months! :D

Re: ZLZ PRP Importer

PostPosted: Sun Nov 03, 2019 6:05 pm
by Doobes
Zapoteca wrote:I can't seem to render any scenes, though. I just get a black screen. Any thoughts?


I found the reason for this as I was working on Cyan's GoMe Pub.. The importer sets almost all the textures to "Multiply". They should be set to "Mix". Is there any way to change this, Sirius?