Help importing PIEs to Blender.

Improving the artwork in Warzone2100 - not for mod discussions
Post Reply
Carme Taika
Trained
Trained
Posts: 66
Joined: 28 Feb 2010, 02:52

Help importing PIEs to Blender.

Post by Carme Taika »

I've been trying everything I can think of, but I still cannot get the Python Scripts to work that are supposed to Import and Export .PIEs to/from blender for viewing/editing.

whatever .PIE is, it's a dead file format; outside of Warzone 2100 it doesn't exist anymore, making it approaching impossible to find anything about it.

Any help would be appreciated.

(If you need to know for Compatability reasons; I run Windows XP on my computer)
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: Help importing PIEs to Blender.

Post by i-NoD »

Scripts should work fine. What's the problem exactly?
Do you have Python installation that is corresponding with your Blender?
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Help importing PIEs to Blender.

Post by stiv »

whatever .PIE is, it's a dead file format;
Hardly. It is used in Warzone 2100, you know. And it's rather nice as a file format, easy to both parse and write. The PIE format is described here:
http://developer.wz2100.net/wiki/PIE_format
Trunk is using PIE 3, the 2.3 releases are using PIE 2.

You can get the latest versions of the Blender PIE import/export scripts here:
http://developer.wz2100.net/ticket/1584

If you need help, please provide something more specific than "it's not working".
User avatar
MaNGusT
Art contributor
Posts: 1152
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Help importing PIEs to Blender.

Post by MaNGusT »

put files in the ..\blender-2.49b-win64-python26\.blender\scripts folder, also you need to download and install Python. http://www.python.org/download/releases/2.6.4/

Install guide:
1) install python
2) install blender
3) put scripts files in the scripts folder(Pie exporter, importer etc.)
4) launch blender
5) enjoy
Image
Carme Taika
Trained
Trained
Posts: 66
Joined: 28 Feb 2010, 02:52

Re: Help importing PIEs to Blender.

Post by Carme Taika »

Thanks ManGust!
That worked, Blender finally recognized my installed Python;
So now I can use the scripts :)
User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: Help importing PIEs to Blender.

Post by Andrie »

I know this is a old post but I don't want to make a new one!
I have
Blender 2.63
Python 2.7.3
Windows 7 x64
Please help I just can't get it to work!
"My IRC en multiplay naam is Andrie"

Groete Andrie
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Help importing PIEs to Blender.

Post by Jorzi »

Nowadays we have WMIT. Export models as .obj and import to blender.
If you still want to run the old blender script you will need blender 2.49 :wink:
ImageImage
-insert deep philosophical statement here-
User avatar
ODDity
Trained
Trained
Posts: 73
Joined: 23 Oct 2009, 04:56

Re: Help importing PIEs to Blender.

Post by ODDity »

Andrie, no scripts written for Blender 2.49 will work in 2.5+ because of the major API changes and recently Blender 2.63 integrates BMesh which changes mesh API structure further.

The script needs re-writing from scratch really, something I am keen to do and have started work on, but it's a long way from finishing because I only just start to learn python
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Help importing PIEs to Blender.

Post by stiv »

You want Blender 2.49 (aka Old Blender) to run the PIE scripts.

You also want the version of Python that Blender says it was compiled with (see message on the console or run Blender from a terminal). Likely this is Python 2.5.x or 2.6.x, depending. Do not worry about the minor version numbers (the .x part)
Blender wants the version it was compiled with. Nothing else will work.

Note: in addition to having a new Python API, New Blender (2.63) also uses Python 3. Happily, Blender comes with its own copy now.
Post Reply