Blender 2.71 - Importer / Exporter (1.4.4)

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
kelly1111
Posts: 315
Joined: Sun Jan 20, 2013 6:28 pm

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by kelly1111 » Sun Apr 15, 2018 1:20 pm

Thanks for your reply isaac.

Another question: If I import a model from the asset pack... for instance the grave model. And then use a modifier (decimate, or any other) .. I cannot export the model again and get an error message (and the model files turns to 0 kb)
what am I missing here? I do have a rootnode and a gamematrix already set up?

Can someone point me in the right direction as to what can cause this?

Has it to do with the texture or uv mapping ... ?

minmay
Posts: 2650
Joined: Mon Sep 23, 2013 2:24 am

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by minmay » Sun Apr 15, 2018 8:25 pm

Export won't work if the model has polygons with more than 4 edges, i.e. all your polygons need to be tris and quads. Try adding a Triangulate modifier after your other modifiers, and if that still doesn't work, apply the modifiers and triangulate the mesh yourself (go into edit mode and press ctrl+t by default).
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.

User avatar
HypnoToad
Posts: 70
Joined: Thu Sep 22, 2016 1:19 am
Location: Melbourne, Australia

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by HypnoToad » Tue Jan 15, 2019 2:08 am

I have Blender 2.78 and installed the Exporter 1.4.4, it "seems" to import and export LOG1 models fine, however for example if I import a bookcase model and even export it again without touching it, it's not visible in the game anymore, it's orientation seems all screwed up as well.

Do I have to use an earlier version of Blender? Does this only work for LOG2 models? Or am I just not doing something right?
Return of the Dark Lord - V3.5 Download:
https://www.nexusmods.com/grimrock/mods ... escription

User avatar
Isaac
Posts: 2927
Joined: Fri Mar 02, 2012 10:02 pm

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by Isaac » Tue Jan 15, 2019 2:59 am

HypnoToad wrote:
Tue Jan 15, 2019 2:08 am
Do I have to use an earlier version of Blender? Does this only work for LOG2 models? Or am I just not doing something right?
Yes. Use version 2.72

minmay
Posts: 2650
Joined: Mon Sep 23, 2013 2:24 am

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by minmay » Tue Jan 15, 2019 3:20 am

The model format hasn't changed between Grimrock 1 and Grimrock 2, only the animation format changed.
For now I would try an older Blender version. This script will need to be updated for 2.80 anyway.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.

User avatar
HypnoToad
Posts: 70
Joined: Thu Sep 22, 2016 1:19 am
Location: Melbourne, Australia

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by HypnoToad » Tue Jan 15, 2019 3:55 am

Thanks guys, I installed Blender 2.72 and voila it works fine now.
Return of the Dark Lord - V3.5 Download:
https://www.nexusmods.com/grimrock/mods ... escription

ratman
Posts: 63
Joined: Fri Jan 10, 2020 1:13 am

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by ratman » Fri May 22, 2020 10:09 pm

Hello, I feel kind of stupid asking this, but how do you use this program? It is not a .exe, so what do I open it with? Thanks.

User avatar
Isaac
Posts: 2927
Joined: Fri Mar 02, 2012 10:02 pm

Re: Blender 2.71 - Importer / Exporter (1.4.4)

Post by Isaac » Fri May 22, 2020 10:41 pm

It's a Blender plugin. The usual way is to copy it into the "\scripts\addons" folder; where you installed Blender.

Then run Blender, and open the user preferences. You must check/enable the optional format.

Image
____________

After doing this, the Import & export sub-menus will get a new format option for working with Grimrock 1 & 2 files. Use this option to import game assets, and to export any modified or original assets.

Image

Post Reply