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

Post » Wed Dec 07, 2011 1:34 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
Angelina Mayo
 
Posts: 3427
Joined: Wed Jan 24, 2007 4:58 am

Post » Wed Dec 07, 2011 4:02 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
Elena Alina
 
Posts: 3415
Joined: Sun Apr 01, 2007 7:24 am

Post » Wed Dec 07, 2011 1:00 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
IsAiah AkA figgy
 
Posts: 3398
Joined: Tue Oct 09, 2007 7:43 am

Post » Wed Dec 07, 2011 2:27 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
Anne marie
 
Posts: 3454
Joined: Tue Jul 11, 2006 1:05 pm

Post » Wed Dec 07, 2011 1:45 pm

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
Carlos Vazquez
 
Posts: 3407
Joined: Sat Aug 25, 2007 10:19 am

Post » Wed Dec 07, 2011 7:37 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
Kat Lehmann
 
Posts: 3409
Joined: Tue Jun 27, 2006 6:24 am

Post » Wed Dec 07, 2011 7:39 pm

Ah, okay. That solved it perfectly. Thanks again for a great tool! :goodjob:
User avatar
Austin England
 
Posts: 3528
Joined: Thu Oct 11, 2007 7:16 pm

Post » Wed Dec 07, 2011 10:33 pm

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
Robert Jr
 
Posts: 3447
Joined: Fri Nov 23, 2007 7:49 pm

Post » Thu Dec 08, 2011 12: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
TOYA toys
 
Posts: 3455
Joined: Sat Jan 13, 2007 4:22 am

Previous

Return to III - Morrowind