Page 1 of 1

I dont understand...

PostPosted: Thu Nov 10, 05 8:07 pm
by AgentSmyth
What is the use of WOTgreal

I mean I see how it can be used, and it looks very good, but is it only used to look a .uc files or can u create, and it makes it easier...

:oops: Sorry if this seems abit noobie

PostPosted: Thu Nov 10, 05 8:18 pm
by clyzm
WOTGreal can be used on an occasion of things. Exporting models, importing (when DX engine can't)

etc etc.

PostPosted: Thu Nov 10, 05 8:37 pm
by Dae
When we talk about WOTGreal we mean first of all, WOTGreal Exporter which is, in my opinion, the best exporter of Unreal packages. This program can export everything from any package (except ones which are protected), like models, source code, textures, music.
Don't mix it with the WOTGreal builder, or whatever it's called, - it's a huge program for programming on Unreal Script and on wotgreal.com it's listed first. Nobody (i mean Mike :)) says that WOTGreal builder is a quite good software and he uses it from time to time, but I haven't ever heard that a Deus Ex coder use it as a primary editor. And I don't use it at all and to code stuff I prefer UltraEdit32, which is an advanced notepad.

PostPosted: Thu Nov 10, 05 9:57 pm
by ~ô¿ô~Nobody~
well the wotgreal porgramming environment is (taking out some bigs) a very useful thing

but be aware.. don'T download the latest version of the wotgreal exporter..
it sucks bad :x

PostPosted: Thu Nov 10, 05 10:04 pm
by Dae
You'd better explain us why does it
suck bad :x

:)

PostPosted: Thu Nov 10, 05 10:14 pm
by ~ô¿ô~Nobody~
well
i DLed the latest version of the wotgreal exporter..

while using it i realized that it doesn't decompile functions (AND OMG.. even operators) properly anymore....


it always decompiles the functions like UnknownFunction376()
here.. an example.. the exploding code of the colorBomb


the original code looks like


Code: Select all
auto simulated state flying
{
     simulated function Explode(vector HitLocation, vector HitNormal)
     {
         local ColorParticle CP;
         local int i;
         local vector loc,vel;

         for(i=0;i<numColorParticles;i++)
         {
             loc = location + VRand();

                vel = VRand()*force;

                if(Vel.Z < 0)
                {
                   Vel.Z = -Vel.Z;
                }
                CP = Spawn(Class'ColorParticle',,,loc);
                if(CP != none)
                {
                   CP.Velocity = vel;
                }
         }
         super.explode(hitlocation,hitnormal);
     }
}



and the decompiled code with the new wotgreal-decompler looke like..

Code: Select all
auto simulated state Flying extends Flying
{
   simulated function Explode (Vector HitLocation, Vector HitNormal)
   {
      local ColorParticle CP;
      local int i;
      local Vector Loc;
      local Vector Vel;
   
      i = 0;
      if ( UnknownFunction150(i,numColorParticles) )
      {
         Loc = UnknownFunction215(Location,UnknownFunction252());
         Vel = UnknownFunction212(UnknownFunction252(),force);
         if ( UnknownFunction176(Vel.Z,0) )
         {
            Vel.Z = UnknownFunction169(Vel.Z);
         }
         CP = UnknownFunction278(Class'ColorParticle',,,Loc);
         if ( UnknownFunction119(CP,None) )
         {
            CP.Velocity = Vel;
         }
         UnknownFunction165(i);
         goto JL0007;
      }
      Super.Explode(HitLocation,HitNormal);
   }
   
}




fpr my opinion that sucks.. donT' you think too?


PS: "it sucks bad" is the right grammer, not "it suck bad" :P

PostPosted: Thu Nov 10, 05 10:24 pm
by Dae
To say truth I thought all the WOTGreal Exporters export functions in this way, when the mod is protected.
And the last version of WOTGreal Exporter has a built in viewer of models and this is quite handy.


PS: "it sucks bad" is the right grammer, not "it suck bad" :P

*points on "does" in the question*
... and it's "grammar"

PostPosted: Thu Nov 10, 05 11:45 pm
by ~ô¿ô~Nobody~
if the mod is protected they won't export any useful stuff at all


that example was of a superrocket_lite version (superrocket_lite isn't protected by default)

the realier version i used just produced that unknownfunction stuff if that was some exotic native function that got called..


the newer versions even handle the operator functions as function

so..
that
Code: Select all
CP != None

turns into
Code: Select all
UnknownFunction119(CP,None)


is quite weird