[RELz] tes3lint, a tool for finding possible problems in a p

Post » Fri May 13, 2011 2:25 pm

Can't use, Strawberry Perl doesn't know Windows 2000 is an operating system :S


Windows will make my head bald.
Perhaps you could try ActivePerl:
http://www.activestate.com/activeperl/
User avatar
R.I.p MOmmy
 
Posts: 3463
Joined: Wed Sep 06, 2006 8:40 pm

Post » Fri May 13, 2011 8:33 pm

Just wondering if this is still being updated, and if you're taking requests at all... If so, would it be possible to add a check for problem use of the 34th variable in scripts?
User avatar
Annick Charron
 
Posts: 3367
Joined: Fri Dec 29, 2006 3:03 pm

Post » Fri May 13, 2011 7:15 pm

Just wondering if this is still being updated, and if you're taking requests at all... If so, would it be possible to add a check for problem use of the 34th variable in scripts?


Absolutely. I take requests! The question is whether I will actually do anything about them :)

Just kidding. I did see this issue come up in other recent threads and it got me thinking. What I really need to do is to implement a parser for MW scripting. It really shouldn't be too hard, MWEdit seems to not only parse, but it also can compile scripts, so someone has figured it out already. And I'd love to be able to include compiling too. But I've never seen any description of how to do that. I'd have reverse engineer it. Which could be fun, but it would take me a little time.

So, anyway, I'll see what I can do.
User avatar
Becky Cox
 
Posts: 3389
Joined: Thu Jun 22, 2006 8:38 am

Post » Fri May 13, 2011 4:12 pm

Sounds good :)

PS A rather late opinion on the menumode issue... I've seen mods that don't check for menumode when they absolutely should (meaning they do stuff that actually won't work if you're in menumode while it's running) - but I've also seen mods that check for menumode in var-holder scripts that don't do anything at all (except, for some odd reason, checking for menumode). Probably that little comment in SfD should be expanded a bit to give people a better idea what the point is. :shrug:
User avatar
Johnny
 
Posts: 3390
Joined: Fri Jul 06, 2007 11:32 am

Post » Fri May 13, 2011 8:50 am

Hey john, I've got an issue I hope you might be able to clarify for me a bit. I'm working on sorting out the details of usage for this to automate some of the tasks for Morrowind Modding History.

I'm running Ubuntu, so there's no weird Windoze issues here.

This is my file structure:

Tools Dir ---
tes3lint
Data Files ---
plugin.esp
Morrowind.esm
Tribunal.esm
Bloodmoon.esm

This the command I run:
perl tes3lint -f dup-rec Data\ Files/plugin.esp


I get this output:
Can't find "Data Files" directory. Won't be able to find mastersERROR opening "" (No such file or directory)ERROR opening "" (No such file or directory)ERROR opening "" (No such file or directory)


Any ideas why it can't find the Data Files directory? I thought it didn't matter where tes3lint was in relation to mod. Am I missing something obvious?
User avatar
Chelsea Head
 
Posts: 3433
Joined: Thu Mar 08, 2007 6:38 am

Post » Fri May 13, 2011 7:32 pm

Any ideas why it can't find the Data Files directory? I thought it didn't matter where tes3lint was in relation to mod. Am I missing something obvious?

Try renaming "Tools Dir" to "Morrowind", or put all your stuff under "Tools Dir/Morrowind". tes3lint currently looks for the directory named "Morrowind" that contains "Data Files".
User avatar
Chloe Mayo
 
Posts: 3404
Joined: Wed Jun 21, 2006 11:59 pm

Post » Fri May 13, 2011 12:22 pm

Ah, okay. That solved it perfectly. Thanks again for a great tool! :goodjob:
User avatar
Beat freak
 
Posts: 3403
Joined: Thu Dec 14, 2006 6:04 am

Post » Fri May 13, 2011 9:43 am

Just a bug report...

I ran Tes3lint on the Sword of Perithia main file and it errors out with ...

### Scanning E:\Dad's Morrowind\Data Files\SOPBeta1.4.esp
E:\Dad's Morrowind\Data Files\SOPBeta1.4.esp: Error scanning: 'x' outside
of string in unpack at tes3lint line 891, line 834.

"(Output saved in tes3lint.log)"
Press any key to continue . . .


Output file had nothing. Other files I tried worked fine without any hiccups.
User avatar
Victoria Vasileva
 
Posts: 3340
Joined: Sat Jul 29, 2006 5:42 pm

Post » Fri May 13, 2011 9:00 am

Wow, John! you keep this up and we might just ask you to make a whole new CS!!! Sounds awesome I'll have to check it out

ST
User avatar
Baylea Isaacs
 
Posts: 3436
Joined: Mon Dec 25, 2006 11:58 am

Previous

Return to III - Morrowind