[RELz] tes3cmd, a small tool for modifying TES3 plugins

Post » Mon Aug 23, 2010 10:49 pm

However, the completely unchanged *interior* Cell "Caldera, Guild of Mages" was left in. It was cleaned of AMBI and WHGT settings, but the Cell itself remained. :shrug:
[...]
In addtion, the Enchanted Editor complained that the number of records was mis-reported in the file header.

Oh, good catch, I should be able to fix those up.
Thanks for the testing!
User avatar
Jonathan Montero
 
Posts: 3487
Joined: Tue Aug 14, 2007 3:22 am

Post » Mon Aug 23, 2010 3:58 pm

That does not sound like a good idea. I would recommend not cleaning the Bethesda masters. Also, that earlier version you used had some bugs, which are now fixed. The new version will now skip the Bethesda masters too. I recommend going back to the original versions of these files.


Well, I'm sorry to say but that's not a safe assumption until I announce it is ready for the general public.


You should never edit mlox_base.txt. Customizing load order can be done via mlox_user.txt, as explained in the documentation.


You can have the output go to a text file by using output redirection. It looks like this:
tes3cmd clean "my plugin.esp" > output.txt


Thank you for the quick reply. I didnt know we were "not" supposed to clean the "evil" GMSTs out of the base Tribunal & Bloodmoon esps...I always wondered why Testool always skipped those...now I know and thanks for the heads up on the mlox_user.txt....coming from oblivion and using boss, I just assumed I knew what I was doing instead of throughly reading the documentation on mlox. I will wait until you release a public version before I proceed with your program.
User avatar
Jeffrey Lawson
 
Posts: 3485
Joined: Tue Oct 16, 2007 5:36 pm

Post » Mon Aug 23, 2010 10:53 am

However, the completely unchanged *interior* Cell "Caldera, Guild of Mages" was left in. It was cleaned of AMBI and WHGT settings, but the Cell itself remained.
[...]
In addtion, the Enchanted Editor complained that the number of records was mis-reported in the file header.

These should now be fixed in:
tes3cmd-0.37-2010.07.06e.7z
http://code.google.com/p/mlox/downloads/list

Hopefully, I'm fixing more things than breaking them :)
User avatar
Alister Scott
 
Posts: 3441
Joined: Sun Jul 29, 2007 2:56 am

Post » Mon Aug 23, 2010 11:14 am

CLEANING: abotWaterLife.esm ... Cleaned redundant WHGT from CELL: Balmora, Dralasa Nithryon: PawnbrokerOutput saved in: "abotWaterLife.esm"Original backed up to: "abotWaterLife~1.esm"

It seems to work well :thumbsup:
Just a note for/if anybody having the same problem: I had the clean option of tes3cmd.exe not able to create output directory because I had a old tes3cmd (no extension) file in the same dir. I don't remember from where that file came, anyway deleting it solved the problem.
User avatar
JERMAINE VIDAURRI
 
Posts: 3382
Joined: Tue Dec 04, 2007 9:06 am

Post » Mon Aug 23, 2010 12:22 pm

CLEANING: abotWaterLife.esm ... Cleaned redundant WHGT from CELL: Balmora, Dralasa Nithryon: PawnbrokerOutput saved in: "abotWaterLife.esm"Original backed up to: "abotWaterLife~1.esm"

It seems to work well :thumbsup:
Just a note for/if anybody having the same problem: I had the clean option of tes3cmd.exe not able to create output directory because I had a old tes3cmd (no extension) file in the same dir. I don't remember from where that file came, anyway deleting it solved the problem.

Thanks for the feedback!

I'll see if I can make error messages more clear for how to recover (where possible).
User avatar
Steph
 
Posts: 3469
Joined: Sun Nov 19, 2006 7:44 am

Post » Mon Aug 23, 2010 5:52 pm

Another thing testing the clean option, I think it would be great to automatically skip "GMST Vaccine.esp" or similar (if any) known mods introducing dirty GMST on purpose.
User avatar
Brandi Norton
 
Posts: 3334
Joined: Fri Feb 09, 2007 9:24 pm

Post » Mon Aug 23, 2010 11:04 pm

Another thing testing the clean option, I think it would be great to automatically skip "GMST Vaccine.esp" or similar (if any) known mods introducing dirty GMST on purpose.

Excellent suggestion. I'll put that in the next version I release (should be just a day or two for the next alpha).

Anybody else have a feature request? Now is a good time to submit it.
User avatar
ijohnnny
 
Posts: 3412
Joined: Sun Oct 22, 2006 12:15 am

Post » Mon Aug 23, 2010 2:58 pm

Excellent suggestion. I'll put that in the next version I release (should be just a day or two for the next alpha).

Anybody else have a feature request? Now is a good time to submit it.

Thanks for the improvements j.m! :rock:
I've been checking out the betas here and there and the problems I've run into have already been reported and addressed so far - I'll try to do some more thorough tests, time permitting.

Functionality change/request:
* add a command line switch to remove the tes3cmd folder and dat files after program close, or redesign that as a temp directory that gets cleaned up after each session; probably better to make it a user choice since it does take a while to generate the dats.
User avatar
jessica robson
 
Posts: 3436
Joined: Mon Oct 09, 2006 11:54 am

Post » Mon Aug 23, 2010 10:11 pm

Functionality change/request:
* add a command line switch to remove the tes3cmd folder and dat files after program close, or redesign that as a temp directory that gets cleaned up after each session; probably better to make it a user choice since it does take a while to generate the dats.

I think what I'll do is add a --no-cache option for those folks who do not want cache files lying around. It will result in slower operation, of course.
User avatar
KU Fint
 
Posts: 3402
Joined: Mon Dec 04, 2006 4:00 pm

Post » Mon Aug 23, 2010 3:02 pm

Downloaded, I prevaricated for ages and never installed Perl so a standalone EXE is nice. I'll have to check this out :-)
User avatar
Stephanie Kemp
 
Posts: 3329
Joined: Sun Jun 25, 2006 12:39 am

Post » Mon Aug 23, 2010 10:11 pm

Downloaded, I prevaricated for ages and never installed Perl so a standalone EXE is nice. I'll have to check this out :-)

Thanks! I look forward to any input you have.

For the curious, my current plans are to re-work all the command line options so that long-style options are used. This is to avoid problems I'm having keeping straight all the current single-letter switches in a seemingly ever-growing program. I'm also fleshing out the help documentation a bit more and re-working the underlying functions to streamline and reuse more code, now that I know what I'm doing (as if!).

When I think it's stable enough, I'll release it as 0.38, hopefully within a couple weeks.
User avatar
Samantha Pattison
 
Posts: 3407
Joined: Sat Oct 28, 2006 8:19 pm

Post » Mon Aug 23, 2010 1:57 pm

Is it possible to clean all plugins at once? If not, could that feature be added?
User avatar
Damned_Queen
 
Posts: 3425
Joined: Fri Apr 20, 2007 5:18 pm

Post » Mon Aug 23, 2010 6:57 pm

Ah. Now that I don't need Perl I might actually start fiddling with this and visual basic to see if I can't come up with some sort of little GUI. If I get enough motivation and stop being lazy I might try something a little more OS-independent like Java for a gui.
User avatar
brandon frier
 
Posts: 3422
Joined: Wed Oct 17, 2007 8:47 pm

Post » Tue Aug 24, 2010 12:10 am

Is it possible to clean all plugins at once? If not, could that feature be added?

Yes, it's already possible. One of the examples in the clean documentation shows how to clean all plugins in one directory.

Basically, you use wildcards: tes3cmd clean *.esm *.esp

Which means to clean all the files ending in .esm and .esp.
User avatar
Harry-James Payne
 
Posts: 3464
Joined: Wed May 09, 2007 6:58 am

Post » Tue Aug 24, 2010 1:00 am

Ah. Now that I don't need Perl I might actually start fiddling with this and visual basic to see if I can't come up with some sort of little GUI. If I get enough motivation and stop being lazy I might try something a little more OS-independent like Java for a gui.

I'll probably include a simple native gui using wxPerl at some point. But you are welcome to do your own version, as it may happen sooner. I just thought I should tell you my plans.

Just so you know, the user interface (command names and switches) will be making one big drastic change before I release 0.38. This is mostly so I can implement long command line switches which will improve the future extensibility of the program.
User avatar
AnDres MeZa
 
Posts: 3349
Joined: Thu Aug 16, 2007 1:39 pm

Post » Tue Aug 24, 2010 1:00 am

I'll probably include a simple native gui using wxPerl at some point. But you are welcome to do your own version, as it may happen sooner. I just thought I should tell you my plans.

Just so you know, the user interface (command names and switches) will be making one big drastic change before I release 0.38. This is mostly so I can implement long command line switches which will improve the future extensibility of the program.


Sounds good. I only did one test of running commands so it wont be too difficult to change those. I'm mostly going to toy around to make sure I understand how it works. :)
User avatar
Devin Sluis
 
Posts: 3389
Joined: Wed Oct 24, 2007 4:22 am

Post » Mon Aug 23, 2010 7:29 pm

Anyway to lock file date and times in?
User avatar
james reed
 
Posts: 3371
Joined: Tue Sep 18, 2007 12:18 am

Post » Mon Aug 23, 2010 12:09 pm

Anyway to lock file date and times in?

Not sure what you are referring to. Normally, tes3cmd will ensure that processed plugins retain their original modification date, have you found a situation where it does not do that? If you let me know what you were doing (give the command-line, for example), I can look into it.
User avatar
Destinyscharm
 
Posts: 3404
Joined: Sun Jul 23, 2006 6:06 pm

Post » Mon Aug 23, 2010 2:55 pm

Good job! The new "clean" option is a lot better than TESTOOL's one but I have some questions:

1. How can I force tes3cmd to overwrite the original .esp and .esm files? Right now it copies the cleaned plugin to "Clean_XXXXXX.esp"
2. Is it possible to integrate a "merge objects" feature? I am using Esper right now but LISP is slow and Esper has still some bugs.
User avatar
Kit Marsden
 
Posts: 3467
Joined: Thu Jul 19, 2007 2:19 pm

Post » Mon Aug 23, 2010 2:49 pm

1. How can I force tes3cmd to overwrite the original .esp and .esm files? Right now it copies the cleaned plugin to "Clean_XXXXXX.esp"

The current command should tell you how if you type: http://code.google.com/p/mlox/wiki/Tes3cmd?ts=1278567886&updated=Tes3cmd#clean. But the command line switches will be changing for the final release of 0.38. Currently the documentation says:
 -R      Replace original with cleaned version (original is backed up)Examples:# clean all plugins in the current directory, replacing the originals with# the cleaned versions and save the diagnostic output to a file (clean.txt):tes3cmd clean -R *.esm *.esp > clean.txt


2. Is it possible to integrate a "merge objects" feature? I am using Esper right now but LISP is slow and Esper has still some bugs.

I might give it a shot at some point.
User avatar
Emily Graham
 
Posts: 3447
Joined: Sat Jul 22, 2006 11:34 am

Post » Mon Aug 23, 2010 11:47 pm

The current command should tell you how if you type: http://code.google.com/p/mlox/wiki/Tes3cmd?ts=1278567886&updated=Tes3cmd#clean. But the command line switches will be changing for the final release of 0.38. Currently the documentation says:
 -R      Replace original with cleaned version (original is backed up)Examples:# clean all plugins in the current directory, replacing the originals with# the cleaned versions and save the diagnostic output to a file (clean.txt):tes3cmd clean -R *.esm *.esp > clean.txt



Thanks. I am an idiot. I tried tes3cmd --help and it didn't work :)

I might give it a shot at some point.


This would be really good.
User avatar
Amy Gibson
 
Posts: 3540
Joined: Wed Oct 04, 2006 2:11 pm

Post » Tue Aug 24, 2010 4:45 am

After running tes3cmd clean *.esm *.esp all modified plugins were changed to the current date.
User avatar
David John Hunter
 
Posts: 3376
Joined: Sun May 13, 2007 8:24 am

Post » Tue Aug 24, 2010 1:07 am

After running tes3cmd clean *.esm *.esp all modified plugins were changed to the current date.

That's kind of weird. I'm not seeing that on my system with the latest version of tes3cmd 0.37-2010.07.06e)(. What is your OS Version? I'm only testing on Linux and Windows XP, but I be surprised to get different results in Vista/Win7. The cleaned files should be re-set to the date of the original.

I'll be sure to keep my eye on that and test for it before release. If anyone else experiences this problem with 0.37-2010.07.06e or later, please let me know.
User avatar
Rebecca Clare Smith
 
Posts: 3508
Joined: Fri Aug 04, 2006 4:13 pm

Post » Mon Aug 23, 2010 4:29 pm

I have Windows XP SP3. I am using version v0.37-2010_07_06e. All files that were cleaned today using the tes3cmd clean *.esm *.esp command were set to 7/9/2010 at 9:00AM with the time changing to 9:10, 9:12, etc for when the plugin was finished being cleaned.
User avatar
sharon
 
Posts: 3449
Joined: Wed Nov 22, 2006 4:59 am

Post » Mon Aug 23, 2010 2:51 pm

I've put out a new version: tes3cmd-0.37f-2010.07.09.7z
http://code.google.com/p/mlox/downloads/list

This new version has completely overhauled all the command line options and documentation. I also reimplemented about half the commands to streamline things. This release is mostly to give a heads up on the new UI changes. The plan is to start really testing and see if I can put out a nice stable release soon.
User avatar
Crystal Clear
 
Posts: 3552
Joined: Wed Aug 09, 2006 4:42 am

PreviousNext

Return to III - Morrowind