wc3edit.net
https://forum.wc3edit.net/

Does anyone want to make a trigger restorer?
http://forum.wc3edit.net/general-chat-f7/does-anyone-want-to-make-a-trigger-restorer-t25647.html
Page 1 of 2

Author:  owner123 [ August 4th, 2012, 2:28 pm ]
Post subject:  Does anyone want to make a trigger restorer?

Does anyone want to create a wc3 trigger restorer? Pretty much how this would work is you deobfuscate map + xdep it then run this application on it. It would remove the large unreadable trigger and divide it into multiple triggers (Preferably GUI if we can get it working).

I need help understanding the weird .wtg files that store trigger and GUI information.
I tried to understand their structure so I could reverse engineer it earlier, but it seems pretty weird. If anyone has any info on how the .wtg file is created, I would appreciate it if you tell me.

Author:  Kyoshiro [ August 4th, 2012, 3:44 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

The big problem with this is the maps that barely use GUI and use straight Jass functions that GUI can't do.

Author:  owner123 [ August 4th, 2012, 4:01 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

Those can be left in custom script.

GUI has a custom script function where you can type a line of JASS.

Author:  Bartimaeus [ August 4th, 2012, 5:16 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

Or you could find analogues that are GUI compatible and convert the triggering to it. But I imagine that could be hard. lol

Author:  owner123 [ August 4th, 2012, 9:41 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

Some JASS stuff doesn't have GUI equivalents.

Local variables, for example. That needs to be left in custom-script. There's nothing like it in GUI.

Author:  Vegas [ August 5th, 2012, 12:05 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

I cant code programs or jass, so I cant really help. But I would really be interested in finally seeing a program to restore GUI. Of all the programs that have been made and/or sold, I think this one would be the most coveted.

Author:  owner123 [ August 5th, 2012, 1:25 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

You don't need to know how to program. I just need info on the .wtg file. I've been looking at the structure for a while, but every time I think I understand it, something happens that throws me off.

Author:  Vegas [ August 6th, 2012, 1:39 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

I dont think I have ever seen info on the wtg anywhere. If you wanted to edit the wtg, what program would work?

I have guests until Tuesday night, so I wont be on the computer for any amount of time to play with it until then.

Author:  owner123 [ August 6th, 2012, 2:08 pm ]
Post subject:  Re: Does anyone want to make a trigger restorer?

JASScraft opens it fine. But new lines appear as the little square, which makes it nearly impossible for me to read. Still, I think I can kind of understand the structure. There are just tons of squares inbetween every action, it gives me a headache if I read it too long.

I won't be messing around with it today or Tuesday, I have work + a baseball game + behind the wheel drivers ed. I still can moderate though :D

Edit: I lied, I worked on it a bit. Got the GUI and a few small functions done at least!

Author:  JustANewbie [ August 25th, 2012, 2:47 am ]
Post subject:  Re: Does anyone want to make a trigger restorer?

finally nobody want to make it haiz....

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/