Can jasscraft do this....

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Vegas
Shopping Maul USA Creator
Posts: 1819
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 120 times
Been thanked: 10 times

Can jasscraft do this....

Post by Vegas »

I would like to filter code out, and only see where there is blue text that has a string, or something displayed in game. I can do word wrap to see where there is long lines of code, the areas of text to be modified, but can still be easily passed by when you got a map with a trillion lines of code.
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Can jasscraft do this....

Post by Xantan »

erm, I'm not sure, why not just use Find? Ctrl+F.

search for Trigstr then, or?
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1819
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 120 times
Been thanked: 10 times

Re: Can jasscraft do this....

Post by Vegas »

find works great for a line or 2, but at 200 lines.....

i just want to show lines with text.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Can jasscraft do this....

Post by Aero »

Cntrl-f and search for "

All strings are encased by "" unless they are of the "TRGSTRING_001" sort of format.

I don't think you can filter out the code though so that there is ONLY strings.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1819
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 120 times
Been thanked: 10 times

Re: Can jasscraft do this....

Post by Vegas »

hmm. I see how it would find it, but thats really the longer way around. oh well, geuss i gots to do it the normal way.
Olreich
Junior Member
Posts: 30
Joined: June 24th, 2007, 10:32 pm

Re: Can jasscraft do this....

Post by Olreich »

well, if you are only looking for a certain color text, look for "<color code for blue> should cut down on the amount of strings, or if you know exactly what the string says, then find that.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Can jasscraft do this....

Post by Aero »

I suppose you could edit options and make everything except for text the same color as the background.
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Can jasscraft do this....

Post by weirdone2 »

Actually I think he's trying to extract all the strings so he can translate them so it would suck to copy the strings one at a time, though vegas if you have a good trans prog you should b able to just feed it the whole txt and then it should just only translate the language its supposed to be translating. :o
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1819
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 120 times
Been thanked: 10 times

Re: Can jasscraft do this....

Post by Vegas »

Ya, I want to just translate the strings, but not only. I need to actually completely rewrite some strings. Its ok, I will just go thru manually.