nicejob
guys any idea what -reg function does or how it works
and one more thing wouldn't it save the kid alot of time if ya filter the text file with RegEX?
edit :
i dont have the visual studio on this computer but this c# code should do the trick
//the sinput is easy to get via file.ReadToEnd()
//and soutput is very easy file.save save something dont remember
soutput = Regex.Replace(
sinput,
@"(\[(?<itemid>\S+)\])
(comment=(?<itemname>.+))
([^\[].*\n)*",
@"${itemid} - ${itemname}
");
would somebody be nice enf to run the code in c# on the textfile - the expression would do the rest. *hope string is big enf*
edi2 : string is real big
and the expression i used in the end was
@"\[(?<itemid>[^\]:]+)(:\S+)?\]
comment=(?<itemname>.+)
((?(Description=)((Description=)(?<itemdescription>.+))|([^\[].*))\n)*"
cuz there where items with same names , only to realise they had same description gah
oh and some more coding to get be in csv (u can open with excel...)
Attachment:
Master Crafter - RAWCODES.csv