Updating Old Apps? WZCK, Pie Slicer, et al.

Discuss the future of Warzone 2100 with us.
User avatar
Stratadrake
Trained
Trained
Posts: 197
Joined: 07 Sep 2008, 09:43
Location: Pacific NW
Contact:

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Stratadrake » 23 Sep 2012, 21:01

Well, Pie Slicer is currently having a possibly blocker-level issue in that the inclusion of the DirectX 9 library (which is built against the .Net 1.1 library) is causing VS2010's LoaderLock MDA to throw an exception. Pie Slicer itself still seems to start up and shut down properly if I simply ignore it, but the fact it is throwing an MDA exception is not good either. I may have to switch to the XNA library which is compatible with the current .Net frameworks (3.5 and 4.0), but that steps up my difficulty a little because XNA is geared towards C#, and although it looks like it's still possible to do the same in VB.net (basically, as long as you don't have to pass raw memory pointers it should be fine) though there aren't many tutorials written in the VB.net flavor ... I may have to be doing the syntax translation myself.
Strata @dA, @FAC

User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland
Contact:

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Emdek » 04 Oct 2012, 20:03

Stratadrake, maybe it's best possibility to switch away from platform dependent technologies? ;-)
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.

User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Andrie » 05 Oct 2012, 13:47

Yea!
And use Python!
"My IRC en multiplay naam is Andrie"

Groete Andrie

Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Lord Apocalypse » 05 Oct 2012, 19:46

Python isn't the answer to everything.

User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland
Contact:

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Emdek » 05 Oct 2012, 20:10

Lord Apocalypse, yeah, the answer to everything is 42. ;-)
If someone would ask me, then I would say... Qt (pyQt / pySide could be good choice too). :-P
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.

User avatar
Stratadrake
Trained
Trained
Posts: 197
Joined: 07 Sep 2008, 09:43
Location: Pacific NW
Contact:

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Stratadrake » 06 Oct 2012, 06:28

Andrie wrote:Yea!
And use Python!
Sorry, I kinda prefer Mantis. At least for my VTOL's.
Strata @dA, @FAC

User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Andrie » 06 Oct 2012, 09:02

Ok I mean Python!
"My IRC en multiplay naam is Andrie"

Groete Andrie

User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Andrie » 28 Nov 2012, 11:47

Are you going to stop "Updating Old Apps"??
"My IRC en multiplay naam is Andrie"

Groete Andrie

Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Lord Apocalypse » 28 Nov 2012, 20:15

Nothing new from strata on the redemption svn... real life strikes again I think.

User avatar
Stratadrake
Trained
Trained
Posts: 197
Joined: 07 Sep 2008, 09:43
Location: Pacific NW
Contact:

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Stratadrake » 02 Dec 2012, 06:30

Well, November has the odd distinction of being simultaneously a very productive month and a very UN-productive month, depending on whether or not you happen to be a "plot bunny".

Pie Slicer: Currently, if I just disable VS2010's MDA I can get it compiling and executing correctly, though I'm not sure I want to do that. Then I can work on building the editing tools, and its new renderer.

WZCK: I would rather completely rebuild this one from the ground up.

Beyond that, yes there is real life to attend to (fulltime job, for one).

Good news, though: Wiping old installation residue from XP's Installer folder freed up half the primary HD.
Strata @dA, @FAC

User avatar
MaNGusT
Art contributor
Posts: 1039
Joined: 22 Sep 2006, 10:31
Location: Polar region, Russia

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by MaNGusT » 17 Jan 2013, 10:59

Is there a possibility to load-edit-save pie2 models with texture animation in latest pie slicer?
Image

User avatar
Stratadrake
Trained
Trained
Posts: 197
Joined: 07 Sep 2008, 09:43
Location: Pacific NW
Contact:

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Stratadrake » 01 Feb 2013, 08:42

Define "animation" -- texture flag 0x4000, for one, has always been supported. And yes, the whole idea behind Pie Slicer was (and still is) a tool for directly load/edit/saving PIE files.

As for the file formats themselves, obviously it needs to be upped to the current (3.x compatible) PIE 2 format, but I'm thinking of maybe keeping the 1.x compatible PIE 2 format as a legacy option, and soon as I'm aware of all the specs, 3.x compatible PIE 3 format.
Strata @dA, @FAC

User avatar
MaNGusT
Art contributor
Posts: 1039
Joined: 22 Sep 2006, 10:31
Location: Polar region, Russia

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by MaNGusT » 01 Feb 2013, 08:46

Stratadrake wrote:Define "animation" -- texture flag 0x4000, for one, has always been supported. And yes, the whole idea behind Pie Slicer was (and still is) a tool for directly load/edit/saving PIE files.
I mean that will I be able to load a model and its png and then edit texture anim's parameters(play it, check, edit) then save the fixed pie2 file?
Since there are no other tools that can edit pies with texture animation, it'd be awesome to have one for wz's artists. :)
Image

User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Mysteryem » 02 Feb 2013, 20:43

In PIE Slicer, texture animation is handled in exactly the same way as the pre-TCMask teamcolours (it is actually the Team Colours area in the Texture Editor) . Once you've selected the texture for that polygon, you set the width of next frame and then the number of frames. If the next frame's texture hits the far right edge of the texpage, it will go down by the value that you set the height as and start again on this new line from x position 0. Do note that not everything may be identical between Warzone and PIE Slicer, I can remember having some problems with animated helicopter blades that I did in it. iirc, when I made it have 3 frames, Warzone played the 3rd frame twice.
"...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."

User avatar
Berg
Regular
Regular
Posts: 2199
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Updating Old Apps? WZCK, Pie Slicer, et al.

Post by Berg » 02 Feb 2013, 21:03

Mysteryem wrote:when I made it have 3 frames, Warzone played the 3rd frame twice.
Playing the frames correctly has been fixed in 3.1.0

Post Reply