Where to find a PIE editor?

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Where to find a PIE editor?

Post by Berg »

You could try recompile the obj2pie.c on your machine that might fix the issue it was compiled a long time back so it maybe out dated.
compile command: gcc obj2pie.c -o obj2pie -lm
Attachments
obj2pie.c
(9.15 KiB) Downloaded 647 times
User avatar
Amiral JCDG
Trained
Trained
Posts: 47
Joined: 07 Dec 2011, 21:25
Location: France
Contact:

Re: Where to find a PIE editor?

Post by Amiral JCDG »

I recompiled the program with codeblocks, but this is the same : it crashes, and the .pie file is totally empty.
It doesn't cost anything to be optimistic...
Official french translator of Warzone 2100 since 3.1.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Where to find a PIE editor?

Post by Berg »

Amiral JCDG wrote:I recompiled the program with codeblocks, but this is the same : it crashes, and the .pie file is totally empty.
Post your object file I'll convert it if its not got errors.
User avatar
Amiral JCDG
Trained
Trained
Posts: 47
Joined: 07 Dec 2011, 21:25
Location: France
Contact:

Re: Where to find a PIE editor?

Post by Amiral JCDG »

That's one of my first models with Blender. The cannon can rotate up and down, but I think this cannot be reproduced in the .pie format.
I had to zip it, because posting .obj files on the forum is not allowed... :hmm:
Attachments
DCA turret.7z
(5.4 KiB) Downloaded 597 times
It doesn't cost anything to be optimistic...
Official french translator of Warzone 2100 since 3.1.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Where to find a PIE editor?

Post by Berg »

urret3.pie is pie3 format
turret2.pie is pie2 format
turret.png is just a stand in texture for place holder in pie texture data
turret.obj is your turret rescaled to be more a size for warzone it will need scaling.
Its a very nice and detailed model 936 polygon is a lot but is ok if you dont use to many in game.
You will now need to texture your model and I'm not sure but I think your obj file has errors as I could not get it to convert in obj2pie either.
I loaded your obj into misfit my model program and rescale and resave it then i converted it.
You should start a threat and Keep all your modelling trials and tribulations there so others can see what you find and what your solutions are.
snapshot.jpg
PS: I worked out whats wrong with the obj2pie convert you files has a space in its name so it is not being found ..use names without spaces in them.
Attachments
turret.tar.gz
(123.43 KiB) Downloaded 616 times
User avatar
Amiral JCDG
Trained
Trained
Posts: 47
Joined: 07 Dec 2011, 21:25
Location: France
Contact:

Re: Where to find a PIE editor?

Post by Amiral JCDG »

Thank you Berg !
But I have a problem : I know that the compression type I have to use for the base and mp directories is the zip one, but there are too many encrypting options in 7zip, I don't know which to use. I tried for some, but warzone crashed, saying that it couldn't find the data files. The original base.wz file takes 59Mb, and the maximum i can obtain for it after recompression is around 40Mb O_o ...
Yes, my model has too many triangles, I will reduce their number in my future models :3
Another question : can I generate the png image for the model and where do I have to put it ? It must be in accordance with the pie format I think.

Ok for the spaces in names, I will pay attention :D
It doesn't cost anything to be optimistic...
Official french translator of Warzone 2100 since 3.1.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Where to find a PIE editor?

Post by Berg »

Amiral JCDG wrote:but there are too many encrypting options in 7zip
I dont know about 7zip I just use tar.gz I am on a linux machine. Then i change the file extension to .wz the game knows what to do then. There is a tutorial on mods some place. I have looked but i cant find a topic for adding mod and its first coffee time.
Amiral JCDG wrote:Another question : can I generate the png image for the model and where do I have to put it ?
If your just using it by adding texture to data follow this tutorial http://sourceforge.net/apps/phpbb/wzgra ... 12&start=0 as for making a mod wrf folder files are needed texture texpages file folder and pie file structs folder ore needed.
I dont make mods i leave that too others.
Remember its all learning to start with how and what works best in models how to insert your model into game and or make a mod.
Good Luck and you only fail if you stop trying.
User avatar
Amiral JCDG
Trained
Trained
Posts: 47
Joined: 07 Dec 2011, 21:25
Location: France
Contact:

Re: Where to find a PIE editor?

Post by Amiral JCDG »

Ok, sorry, I forgot this tutorial XD. What would I do without you Berg ? :3
I will try again to find how to compress correctly the base and mp files.
It doesn't cost anything to be optimistic...
Official french translator of Warzone 2100 since 3.1.
User avatar
Boris
Trained
Trained
Posts: 283
Joined: 24 Apr 2010, 13:52
Location: About 10 years playing and creating warzone.
Contact:

Re: Where to find a PIE editor?

Post by Boris »

pie editor not work on w7..only xp..if you wont full apps,, tell me and i will send you.
User avatar
Amiral JCDG
Trained
Trained
Posts: 47
Joined: 07 Dec 2011, 21:25
Location: France
Contact:

Re: Where to find a PIE editor?

Post by Amiral JCDG »

Ok, sorry for my silence during a few months :oops: .
I didn't yet manage to compress the mp and base files making them understandable for the game, even without modifying their content :?. I can now obtain quite the same file size, but warzone simply crashes...
I opened the original and the recompressed files with Notepad++, and I saw only a difference into the 2 first lines. So I copyed them from the original into the recompressed XD , but it doesn't work.
If somebody could help me please...
It doesn't cost anything to be optimistic...
Official french translator of Warzone 2100 since 3.1.
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Where to find a PIE editor?

Post by stiv »

Just use regular zip. I *believe* 7zip is a completely different algorithm.
User avatar
Amiral JCDG
Trained
Trained
Posts: 47
Joined: 07 Dec 2011, 21:25
Location: France
Contact:

Re: Where to find a PIE editor?

Post by Amiral JCDG »

Yes, but I already did it with regular zip compression format (in 7zip, i chose the zip format, compression level "none").
It doesn't cost anything to be optimistic...
Official french translator of Warzone 2100 since 3.1.
shpooky_
Greenhorn
Posts: 14
Joined: 24 Sep 2012, 07:01

Re: Where to find a PIE editor?

Post by shpooky_ »

i download pie editor but then i don't know what to do next i need a someone to make a step by step guide
User avatar
Xenon
Trained
Trained
Posts: 62
Joined: 18 Sep 2009, 13:06
Location: Russia

Re: Where to find a PIE editor?

Post by Xenon »

I run a pie slicer and get this error. who knows what to do?
P.S: OS win 7

Image
Sorry for my english
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: Where to find a PIE editor?

Post by Mysteryem »

Xenon wrote:P.S: OS win 7
Pie slicer's textured view does not work on Vista/Win7.

You will have to make do with viewing the textured pie files in-game or using another program capable of displaying textured pie files, e.g. WMIT.
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
Post Reply