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

Post » Mon Aug 23, 2010 8:44 pm

The construction set allows you to apply the search and replace to all cells at once, if you deselect the option that says to apply to the current cell. Or did you mean something else?

HA! I did not know that. Well... you learn something new every day :P

That will certainly save me some time

Cheers John
User avatar
Jack Bryan
 
Posts: 3449
Joined: Wed May 16, 2007 2:31 am

Post » Mon Aug 23, 2010 12:20 pm

Would be be possible to be able to batch change all helmets from full to open face? I sometimes play as Sabregirls pharlan race and they are beasts but still have a humanoid face so it's irritating not being able to wear full helms.
User avatar
Soph
 
Posts: 3499
Joined: Fri Oct 13, 2006 8:24 am

Post » Mon Aug 23, 2010 10:54 pm

Would be be possible to be able to batch change all helmets from full to open face? I sometimes play as Sabregirls pharlan race and they are beasts but still have a humanoid face so it's irritating not being able to wear full helms.

Possibly, but I'm not familiar with the procedure as I've never tried that. If you could tell me the manual procedure, I might be able to tell you how to do it, or if it's possible.
User avatar
Nany Smith
 
Posts: 3419
Joined: Sat Mar 17, 2007 5:36 pm

Post » Mon Aug 23, 2010 2:26 pm

Good evening!

I've got a minor (but annoying) problem in my current game. SOME mod has added an autocalced spell, and now every NPC is casting it. It's nothing like the Brittlewind issue, it's not really doing anything, but it IS wrong (and annoying). Could I get TES3CMD to parse through all my mods and spit out a list of all the spells (or ideally all the AUTOCALCED spells)? That would help me narrow the search considerably.

Rochndil, who THOUGHT he had found (and eliminated) the problem...but was wrong.
User avatar
Kathryn Medows
 
Posts: 3547
Joined: Sun Nov 19, 2006 12:10 pm

Post » Mon Aug 23, 2010 11:53 pm

I've got a minor (but annoying) problem in my current game. SOME mod has added an autocalced spell, and now every NPC is casting it. It's nothing like the Brittlewind issue, it's not really doing anything, but it IS wrong (and annoying). Could I get TES3CMD to parse through all my mods and spit out a list of all the spells (or ideally all the AUTOCALCED spells)?

This invocation would probably do what you are looking for:

tes3cmd dump -t spel -m autocalc *.esm *.esp

-t means only dump records of type SPEL
-m means match the given pattern
User avatar
Lisha Boo
 
Posts: 3378
Joined: Fri Aug 18, 2006 2:56 pm

Post » Mon Aug 23, 2010 1:16 pm

Thanks!

tes3cmd dump -t spel -m autocalc *.esm *.esp



There's only one problem. It keeps barfing over the filespec, possibly because of format? Not sure, but if I specify a single filename, it works fine. But when I try to use any type of wildcard matching, it spits out:

Error opening "?.esm" for input (Invalid argument)
Error opening "*.esm" for input (Invalid argument)
Error opening "*.esp" for input (Invalid argument)

* would be correct for Windoze, referring to a string of indefinite length, but something isn't happy. Using 0.36, just downloaded a copy off the page. Do I need the SVN version?

Rochndil, so close, and yet so far...
User avatar
Barbequtie
 
Posts: 3410
Joined: Mon Jun 19, 2006 11:34 pm

Post » Mon Aug 23, 2010 7:32 pm

Possibly, but I'm not familiar with the procedure as I've never tried that. If you could tell me the manual procedure, I might be able to tell you how to do it, or if it's possible.


Full helms replace head and and open helms only replace hair. At least I think that's right, but I can't check because steam is dumb and doesn't include the CS.
User avatar
Siobhan Thompson
 
Posts: 3443
Joined: Sun Nov 12, 2006 10:40 am

Post » Mon Aug 23, 2010 9:21 pm

Greetings!

Full helms replace head and and open helms only replace hair. At least I think that's right, but I can't check because steam is dumb and doesn't include the CS.


Not to wander TOO far off-topic, but if you look over in the CS forum, there was a thread there about installing the CS for the steam version.

Rochndil, solving problems and getting closer to having things RIGHT...
User avatar
Kayleigh Mcneil
 
Posts: 3352
Joined: Thu Jun 29, 2006 7:32 am

Post » Mon Aug 23, 2010 10:25 pm

* would be correct for Windoze, referring to a string of indefinite length, but something isn't happy. Using 0.36, just downloaded a copy off the page. Do I need the SVN version?


Sorry, I thought Windows supported wildcard expansion. I guess you'll have to run the command separately for each of your plugins. Unless someone can tell us how to easily do wildcard expansion in Windows shell?
User avatar
Matt Bee
 
Posts: 3441
Joined: Tue Jul 10, 2007 5:32 am

Post » Mon Aug 23, 2010 5:55 pm

Full helms replace head and and open helms only replace hair. At least I think that's right, but I can't check because steam is dumb and doesn't include the CS.


I understand the difference between open and full helms. What I don't understand is what you want to do. Maybe if you could explain how you would do the procedure for a single case, and what the expected result would be?
User avatar
Megan Stabler
 
Posts: 3420
Joined: Mon Sep 18, 2006 2:03 pm

Post » Mon Aug 23, 2010 11:33 am

Sorry, I thought Windows supported wildcard expansion. I guess you'll have to run the command separately for each of your plugins. Unless someone can tell us how to easily do wildcard expansion in Windows shell?

Windows does support it in most places, but I don't think there (at least, not that deep in a command, as the only parameter of CD it definitely does). A batch script using a for loop would probably work just fine, though.
User avatar
Anne marie
 
Posts: 3454
Joined: Tue Jul 11, 2006 1:05 pm

Post » Mon Aug 23, 2010 3:19 pm

I understand the difference between open and full helms. What I don't understand is what you want to do. Maybe if you could explain how you would do the procedure for a single case, and what the expected result would be?


I guess I don't quite understand what you are asking. Pharlans are beast race but have humanoid faces so anatomically speaking they should be able to wear full helms but can't being classified as a beast race. I want to be able to load all my plugins and change all helms to use the hair slot instead of the head slot so I can equip them on my pharlan instead of loading all of my plugins and changing every helm by hand.
User avatar
laila hassan
 
Posts: 3476
Joined: Mon Oct 09, 2006 2:53 pm

Post » Mon Aug 23, 2010 4:11 pm

I guess I don't quite understand what you are asking. Pharlans are beast race but have humanoid faces so anatomically speaking they should be able to wear full helms but can't being classified as a beast race. I want to be able to load all my plugins and change all helms to use the hair slot instead of the head slot so I can equip them on my pharlan instead of loading all of my plugins and changing every helm by hand.


tes3cmd isn't really quite set up to do something like that right now. But maybe in the next release I can make it easier to make patch plugins for this sort of thing. Right now, you could do it with the "modify" subcommand, add a small bit of custom perl code, and build up a patch by processing each of your plugins one at a time. I don't expect that anyone else but me would be able to figure that out though.
User avatar
Claudz
 
Posts: 3484
Joined: Thu Sep 07, 2006 5:33 am

Post » Mon Aug 23, 2010 9:28 am

Good afternoon!

Sorry, I thought Windows supported wildcard expansion. I guess you'll have to run the command separately for each of your plugins. Unless someone can tell us how to easily do wildcard expansion in Windows shell?


While I never did get the wildcard matching working, I think I DID find the source of the problem. At least, I found another source, there may yet be more. I wish more modders would think about inter-mod compatibility when creating their mods, that would save me a LOT of trouble.

Rochndil, remodding mods to try to get everyone to play nice together...
User avatar
No Name
 
Posts: 3456
Joined: Mon Dec 03, 2007 2:30 am

Post » Mon Aug 23, 2010 3:29 pm

This is to announce a pre-release of a new overhauled version of tes3cmd (0.37)

Download tes3cmd-0.37-2010.07.01.7z from:
http://code.google.com/p/mlox/downloads/list

The highlights:
- tes3cmd is now tes3cmd.exe, you do not need to install Perl separately. Just run tes3cmd.exe by itself.
- tes3cmd will now do wildcard matching in filespecs (a/k/a globbing). [for Rochndil]
- slightly safer backup method when plugins are modified.
- most of the commands are overhauled and somewhat ... uh ... whizzier, underneath.
- new commands:
* clean: remove Evil GMSTs, junk cells, spurious AMBI/WHGT and more. [for tetchy]
* dump: prints records in special format ... for future features.
* modify: perform arbitrary batch manipulation of records. now more powerful.
* objdelete: delete items from cells.
* print: was the old dump command, now slightly leaner and faster.
* recover: repair corrupted files reporting "bad form" errors.

There's still a bit of testing that needs to be done. Consider 0.37 an "alpha" release. Caveat downloador. It may be a little broken in spots, but hopefully it's mostly not.
I'll have better documentation on the wiki soon, but it's somewhat self-documenting on the command-line: "tes3cmd help", except in cases where the docs lie.

Feedback welcomed and appreciated.

Brief Installation instructions: Just extract tes3cmd.exe from the .7z archive and put it somewhere (either in your %PATH% or in "Data Files", for example). To run it, do: Start -> Run -> cmd.exe to get a command prompt. "cd" to your Data Files directory, and try "tes3cmd help" to get a little help documentation.
User avatar
Vincent Joe
 
Posts: 3370
Joined: Wed Sep 26, 2007 1:13 pm

Post » Mon Aug 23, 2010 12:52 pm

Two questions.

1. How do I get tes3cmd to recognise spaces or do I need to rename the files to not have space? Because when I run files with spaces I get:

C:\Program Files\Bethesda Softworks\Morrowind\Data Files>tes3cmd clean Rise of House Telvanni.esm
CLEANING: Rise ...
Error, "Rise" name does not end in .esm/.esp/.ess

2. How do I stop tes3cmd from changing the name of the file? I get this error:

C:\Program Files\Bethesda Softworks\Morrowind\Data Files>tes3cmd clean zoops_book.esp
CLEANING: zoops_book.esp ...
Loading Master: morrowind.esm
Cleaned redundant WHGT from CELL: Vivec, Jobasha's Rare Books
Error renaming "zoops_book.esp.tmp" to ".\Clean_zoops_book.esp" (Permission denied)
User avatar
Brιonα Renae
 
Posts: 3430
Joined: Mon Oct 22, 2007 3:10 am

Post » Mon Aug 23, 2010 9:57 pm

Two questions.

1. How do I get tes3cmd to recognise spaces or do I need to rename the files to not have space? Because when I run files with spaces I get:

C:\Program Files\Bethesda Softworks\Morrowind\Data Files>tes3cmd clean Rise of House Telvanni.esm
CLEANING: Rise ...
Error, "Rise" name does not end in .esm/.esp/.ess

My suggestion would be to try quotes:

tes3cmd clean "Rise of House Telvanni.esm"

Windows also has some rudimentary command line completion, so if you type the first part of the filename, then hit the TAB key, it should autocomplete with quotes, but make sure Windows guessed the correct completion.

2. How do I stop tes3cmd from changing the name of the file? I get this error:

C:\Program Files\Bethesda Softworks\Morrowind\Data Files>tes3cmd clean zoops_book.esp
CLEANING: zoops_book.esp ...
Loading Master: morrowind.esm
Cleaned redundant WHGT from CELL: Vivec, Jobasha's Rare Books
Error renaming "zoops_book.esp.tmp" to ".\Clean_zoops_book.esp" (Permission denied)

Permissions problems are due to the the security features on "Program Files" implemented since Vista. One solution would be to install the game outside of "Program Files" so that you have permission by default. You may also be able to disable UAC, although that sort of makes your system less secure, still some people do this. There's probably other ways to get around it, such as running as administrator, but maybe someone familiar with Windows can say.
User avatar
Isaac Saetern
 
Posts: 3432
Joined: Mon Jun 25, 2007 6:46 pm

Post » Mon Aug 23, 2010 9:23 pm

I do not use Vista, just Windows XP.
User avatar
Josephine Gowing
 
Posts: 3545
Joined: Fri Jun 30, 2006 12:41 pm

Post » Mon Aug 23, 2010 2:46 pm

I have just completed my first test of tes3cmd v0.37 (2010.07.01), and the results are mixed. Here's what I did:
Just like wheatthin, I performed my tests on http://www.gamesas.com/index.php?/topic/1100327-relz-pozzos-rise-of-house-telvanni-v14/, simply because I know that mod in and out. I took Rise of House Telvanni.esm, converted it to an .esp file with http://wryemusings.com/#WryeMash (latest version), and renamed that file to "TES3cmd Test (RoHT).esp". I opened it in the Construction Set and saved right away. Then, I closed the Construction Set and opened "TES3cmd Test (RoHT).esp" with the http://planetelderscrolls.gamespy.com/View.php?view=other.detail&id=52 (latest version). The following Cells from Morrowind.esm, Tribunal.esm, and Bloodmoon.esm contained dirty AMBI and WHGT entries [using the spoiler tag to keep the post shorter):
Spoiler

from Morrowind.esm
-----------------------------
Ald-ruhn, Guild of Mages
Aleft
Ashmelech
Balmora, Guild of Mages
Caldera, Guild of Mages
Dagon Fel, Watch Tower
Dren Plantation, Dren's Villa
Drinith Ancestral Tomb
Ebernanit, Shrine
Ebonheart, Argonian Mission
Ebonheart, East Empire Company Hall
Ebonheart, Grand Council Chambers
Ebonheart, Underground Caves
Eluba-Addon Egg Mine
Gnisis, Madach Tradehouse
Nchuleft
Sadrith Mora, Fara's Hole in the Wall
Sadrith Mora, Gateway Inn: South Wing
Sadrith Mora, Tel Naga Great Hall
Sadrith Mora, Telvanni Council House
Sadrith Mora, Telvanni Council House, Entry
Sadrith Mora, Wolverine Hall
Sadrith Mora, Wolverine Hall: Mage's Guild
Sud
Tel Aruhn, Upper Tower
Tel Branora, Tower Dungeon
Tel Branora, Upper Tower: Therana's Chamber
Telasero, Lower Level
Telasero, Propylon Chamber
Telasero, Upper Level
Tureynulal, Kagrenac's Library
Vivec, Foreign Quarter Plaza
Vivec, Guild of Mages
Vivec, Hall of Justice Secret Library
Vivec, Simine Fralinie: Bookseller
Vivec, St. Delyn Canol South-One
Vivec, The Lizard's Head
Zergonipal, Shrine

from Tribunal.esm:
--------------------------
Mournhold, Ignatius Flaccus' House
Mournhold, Royal Palace: Guards' Quarters
Mournhold, Royal Palace: Jail
Old Mournhold: Manor District

from Bloodmoon.esm:
-------------------------------
Solstheim, Frossel
Solstheim, Himmelhost Barrow


Curiously, this Cell did not contain dirty AMBI or WHGT settings:
Mournhold, Plaza Brindisi Dorom
I suspect that to be a consequence of the Cell being set to behave like an exterior Cell.

Then I opened up the Command shell (cmd) and ran "TES3cmd Test (RoHT).esp" through tes3cmd. I'm using Windows XP. Here's tes3cmd's output:
Spoiler

E:\Morrowind\Data Files>tes3cmd clean "TES3cmd Test (RoHT).esp"
CLEANING: TES3cmd Test (RoHT).esp ...
Loading Master: morrowind.esm
Loading Master: tribunal.esm
Loading Master: bloodmoon.esm
Cleaned redundant AMBI from CELL: Ald-ruhn, Guild of Mages
Cleaned redundant WHGT from CELL: Ald-ruhn, Guild of Mages
Cleaned redundant AMBI from CELL: Aleft
Cleaned redundant WHGT from CELL: Aleft
Cleaned redundant AMBI from CELL: Ashmelech
Cleaned redundant WHGT from CELL: Ashmelech
Cleaned redundant AMBI from CELL: Balmora, Guild of Mages
Cleaned redundant WHGT from CELL: Balmora, Guild of Mages
Cleaned redundant AMBI from CELL: Caldera, Guild of Mages
Cleaned redundant WHGT from CELL: Caldera, Guild of Mages
Cleaned redundant AMBI from CELL: Dagon Fel, Watch Tower
Cleaned redundant WHGT from CELL: Dagon Fel, Watch Tower
Cleaned redundant AMBI from CELL: Dren Plantation, Dren's Villa
Cleaned redundant WHGT from CELL: Dren Plantation, Dren's Villa
Cleaned redundant AMBI from CELL: Drinith Ancestral Tomb
Cleaned redundant WHGT from CELL: Drinith Ancestral Tomb
Cleaned redundant AMBI from CELL: Ebernanit, Shrine
Cleaned redundant WHGT from CELL: Ebernanit, Shrine
Cleaned redundant AMBI from CELL: Ebonheart, Argonian Mission
Cleaned redundant AMBI from CELL: Ebonheart, East Empire Company Hall
Cleaned redundant WHGT from CELL: Ebonheart, East Empire Company Hall
Cleaned redundant AMBI from CELL: Ebonheart, Grand Council Chambers
Cleaned redundant WHGT from CELL: Ebonheart, Grand Council Chambers
Cleaned redundant AMBI from CELL: Ebonheart, Underground Caves
Cleaned redundant AMBI from CELL: Eluba-Addon Egg Mine
Cleaned redundant AMBI from CELL: Gnisis, Madach Tradehouse
Cleaned redundant WHGT from CELL: Gnisis, Madach Tradehouse
Cleaned redundant AMBI from CELL: Nchuleft
Cleaned redundant WHGT from CELL: Nchuleft
Cleaned redundant AMBI from CELL: Sadrith Mora, Fara's Hole in the Wall
Cleaned redundant WHGT from CELL: Sadrith Mora, Fara's Hole in the Wall
Cleaned redundant AMBI from CELL: Sadrith Mora, Gateway Inn: South Wing
Cleaned redundant WHGT from CELL: Sadrith Mora, Gateway Inn: South Wing
Cleaned redundant AMBI from CELL: Sadrith Mora, Tel Naga Great Hall
Cleaned redundant WHGT from CELL: Sadrith Mora, Tel Naga Great Hall
Cleaned redundant AMBI from CELL: Sadrith Mora, Telvanni Council House
Cleaned redundant WHGT from CELL: Sadrith Mora, Telvanni Council House
Cleaned redundant AMBI from CELL: Sadrith Mora, Telvanni Council House, Entry
Cleaned redundant WHGT from CELL: Sadrith Mora, Telvanni Council House, Entry
Cleaned redundant AMBI from CELL: Sadrith Mora, Wolverine Hall
Cleaned redundant WHGT from CELL: Sadrith Mora, Wolverine Hall
Cleaned redundant AMBI from CELL: Sadrith Mora, Wolverine Hall: Mage's Guild
Cleaned redundant WHGT from CELL: Sadrith Mora, Wolverine Hall: Mage's Guild
Cleaned redundant AMBI from CELL: Sud
Cleaned redundant AMBI from CELL: Tel Aruhn, Upper Tower
Cleaned redundant WHGT from CELL: Tel Aruhn, Upper Tower
Cleaned redundant AMBI from CELL: Tel Branora, Tower Dungeon
Cleaned redundant WHGT from CELL: Tel Branora, Tower Dungeon
Cleaned redundant AMBI from CELL: Tel Branora, Upper Tower: Therana's Chamber
Cleaned redundant WHGT from CELL: Tel Branora, Upper Tower: Therana's Chamber
Cleaned redundant AMBI from CELL: Telasero, Lower Level
Cleaned redundant WHGT from CELL: Telasero, Lower Level
Cleaned redundant AMBI from CELL: Telasero, Propylon Chamber
Cleaned redundant WHGT from CELL: Telasero, Propylon Chamber
Cleaned redundant AMBI from CELL: Telasero, Upper Level
Cleaned redundant WHGT from CELL: Telasero, Upper Level
Cleaned redundant AMBI from CELL: Tureynulal, Kagrenac's Library
Cleaned redundant WHGT from CELL: Tureynulal, Kagrenac's Library
Cleaned redundant AMBI from CELL: Vivec, Foreign Quarter Plaza
Cleaned redundant WHGT from CELL: Vivec, Foreign Quarter Plaza
Cleaned redundant AMBI from CELL: Vivec, Guild of Mages
Cleaned redundant WHGT from CELL: Vivec, Guild of Mages
Cleaned redundant AMBI from CELL: Vivec, Hall of Justice Secret Library
Cleaned redundant WHGT from CELL: Vivec, Hall of Justice Secret Library
Cleaned redundant AMBI from CELL: Vivec, Simine Fralinie: Bookseller
Cleaned redundant WHGT from CELL: Vivec, Simine Fralinie: Bookseller
Cleaned redundant AMBI from CELL: Vivec, St. Delyn Canol South-One
Cleaned redundant WHGT from CELL: Vivec, St. Delyn Canol South-One
Cleaned redundant AMBI from CELL: Vivec, The Lizard's Head
Cleaned redundant WHGT from CELL: Vivec, The Lizard's Head
Cleaned redundant AMBI from CELL: Zergonipal, Shrine
Cleaned redundant WHGT from CELL: Zergonipal, Shrine
Cleaned redundant AMBI from CELL: Mournhold, Ignatius Flaccus' House
Cleaned redundant WHGT from CELL: Mournhold, Ignatius Flaccus' House
Cleaned redundant AMBI from CELL: Mournhold, Plaza Brindisi Dorom
Cleaned redundant AMBI from CELL: Mournhold, Royal Palace: Guards' Quarters
Cleaned redundant WHGT from CELL: Mournhold, Royal Palace: Guards' Quarters
Cleaned redundant AMBI from CELL: Mournhold, Royal Palace: Jail
Cleaned redundant WHGT from CELL: Mournhold, Royal Palace: Jail
Cleaned redundant AMBI from CELL: Old Mournhold: Manor District
Cleaned redundant WHGT from CELL: Old Mournhold: Manor District
Cleaned redundant AMBI from CELL: Solstheim, Frossel
Cleaned redundant WHGT from CELL: Solstheim, Frossel
Cleaned redundant AMBI from CELL: Solstheim, Himmelhost Barrow
Cleaned redundant WHGT from CELL: Solstheim, Himmelhost Barrow
Error renaming "TES3cmd Test (RoHT).esp.tmp" to ".\Clean_TES3cmd Test (RoHT).esp

The first thing I notice is the same error that wheatthin reported: tes3cmd runs through but is unable to rename the cleaned file. So I manually renamed "TES3cmd Test (RoHT).esp.tmp" to "Clean TES3cmd Test (RoHT).esp" and opened it in the Enchanted Editor again. The result of tes3cmd's cleaning are somewhat mixed:
Most Cells were cleaned as intended, i.e. both AMBI and WHGT settings were removed. However, these Cells still contained dirty WHGT settings:
Spoiler

Ebonheart, Underground Caves
Eluba-Addon Egg Mine
Sud


And when I tried to open the following Cells, the Enchanted Editor crashed to desktop:
Spoiler

Dagon Fel, Watch Tower
Ebonheart, Argonian Mission
Ebonheart, Grand Council Chambers
Gnisis, Madach Tradehouse
Nchuleft
Sadrith Mora, Telvanni Council House
Sadrith Mora, Telvanni Council House, Entry
Tel Branora, Tower Dungeon
Telasero, Lower Level
Telasero, Upper Level


Here's a link to http://www.mediafire.com/?zzj2oztn5n5. Have a look at it if you'd like to. Maybe it'll help you find and squash some bugs.

B
User avatar
Cheville Thompson
 
Posts: 3404
Joined: Sun Mar 25, 2007 2:33 pm

Post » Mon Aug 23, 2010 2:07 pm

I do not use Vista, just Windows XP.

Apologies, my mistake, please try: http://code.google.com/p/mlox/downloads/list.

Ebonheart, Underground Caves
Eluba-Addon Egg Mine
Sud

I've just uploaded a new version that should fix the error while renaming, and it should now clean these three cells. Had to fix the comparison between the int/float.

I'm not sure about the EE error, still testing on that.
Thanks for the testing!
User avatar
Charlotte Lloyd-Jones
 
Posts: 3345
Joined: Fri Jun 30, 2006 4:53 pm

Post » Mon Aug 23, 2010 11:04 pm

Latest version tes3cmd-0.37-2010.07.04.7z from
http://code.google.com/p/mlox/downloads/list

Should fix the "clean" command so it doesn't munge cells occasionally, so the problem with cells crashing EE is hopefully fixed. If anyone wants to give it a try, please give me some feedback.

Here is something you can try:

tes3cmd clean "my mod.esp"
tes3cmd diff -o ne "my mod.esp" "Clean_my mod.esp"
(you can then compare the output .diff files with a nice application like http://winmerge.org/)

Note that the "-o" option for the clean command isn't implemented yet. Will do it soon.
User avatar
Rhi Edwards
 
Posts: 3453
Joined: Fri Jul 28, 2006 1:42 am

Post » Mon Aug 23, 2010 8:17 pm

Latest version tes3cmd-0.37-2010.07.06b.7z from
http://code.google.com/p/mlox/downloads/list

The "clean" command is improved some more, and I think it is getting close to being safe to use by the general public. It now has the ability to clean redundant objects from cells (objects that are exact duplicates from its masters), which may be a unique feature (are there any other tools that can do that automatically?).

Anyone who would like to help test, please do! Please be careful though, this is still an "alpha" release and it may bung up your plugins.

Edit: I just updated it once again to 6b, which should make the clean -d (remove duplicates) safe, and so its now part of the default cleaning if no other cleaning options specified.
User avatar
Isaac Saetern
 
Posts: 3432
Joined: Mon Jun 25, 2007 6:46 pm

Post » Tue Aug 24, 2010 2:03 am

I am currently reloading all mods since my SSD suddenly froze 2 days ago (very hot inside last couple of days) and is under RMA today. Using old Raptor drive and reloading all mods (lucky I save downloads on USB keys) until it gets replaced. I can easily reload mods very quickly since I use bash and the 7.z were also on a usb key.

I used your 7.4 revision to clean both tribunal.esm and bloodmoon.esm. I assume it is "safer" to use your tool than testool developed a long time ago. After cleaning, I need to use bash to reset master file dependencies on a lot of my mods which I find bash very useful for....however, it does affect mlox load order on some of the mods so I have to manually change the base mlox text file. I am quite willing to test the different versions if you would like me to do so...but I would need to know what you would like me to test for as I am not a mod maker.

I like the screen output of what it cleans as it is very informative but my only suggestion would be to print to a text file the results of the cleaning.
User avatar
Leanne Molloy
 
Posts: 3342
Joined: Sat Sep 02, 2006 1:09 am

Post » Mon Aug 23, 2010 7:01 pm

I am currently reloading all mods since my SSD suddenly froze 2 days ago (very hot inside last couple of days) and is under RMA today. Using old Raptor drive and reloading all mods (lucky I save downloads on USB keys) until it gets replaced. I can easily reload mods very quickly since I use bash and the 7.z were also on a usb key.

I used your 7.4 revision to clean both tribunal.esm and bloodmoon.esm.


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.

I assume it is "safer" to use your tool than testool developed a long time ago.

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

After cleaning, I need to use bash to reset master file dependencies on a lot of my mods which I find bash very useful for....however, it does affect mlox load order on some of the mods so I have to manually change the base mlox text file.

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

I like the screen output of what it cleans as it is very informative but my only suggestion would be to print to a text file the results of the cleaning.

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
User avatar
Steven Nicholson
 
Posts: 3468
Joined: Mon Jun 18, 2007 1:24 pm

Post » Mon Aug 23, 2010 7:31 pm

I just tested tes3cmd 0.37 2010.07.06b on two mods. The results are positive throughout: you did a great job with that version!
The first mod I tested was RoHT again. As in my previous test, I converted its .esm file to .esp and wantonly contaminated it by opening and saving it in the Construction Set. Then I ran it through tes3cmd. This time, it ran through without any error messages, and the result looks perfect. All dirty AMBI and WHGT entries have been cleaned, and every Cell is accessible with the Enchanted Editor.
Here's tes3cmd's output:
E:\Morrowind\Data Files>tes3cmd clean "tes3cmd test (RoHT).esp"CLEANING: tes3cmd test (RoHT).esp ...DATADIR = E:/Morrowind/Data FilesLoading Master: morrowind.esmLoading Master: tribunal.esmLoading Master: bloodmoon.esm Cleaned redundant AMBI,WHGT from CELL: Ald-ruhn, Guild of Mages Cleaned redundant AMBI,WHGT from CELL: Aleft Cleaned redundant AMBI,WHGT from CELL: Ashmelech Cleaned redundant AMBI,WHGT from CELL: Balmora, Guild of Mages Cleaned redundant AMBI,WHGT from CELL: Caldera, Guild of Mages Cleaned redundant AMBI,WHGT from CELL: Dagon Fel, Watch Tower Cleaned redundant AMBI,WHGT from CELL: Dren Plantation, Dren's Villa Cleaned redundant AMBI,WHGT from CELL: Drinith Ancestral Tomb Cleaned redundant AMBI,WHGT from CELL: Ebernanit, Shrine Cleaned redundant AMBI,WHGT from CELL: Ebonheart, Argonian Mission Cleaned redundant AMBI,WHGT from CELL: Ebonheart, East Empire Company Hall Cleaned redundant AMBI,WHGT from CELL: Ebonheart, Grand Council Chambers Cleaned redundant AMBI,WHGT from CELL: Ebonheart, Underground Caves Cleaned redundant AMBI,WHGT from CELL: Eluba-Addon Egg Mine Cleaned redundant AMBI,WHGT from CELL: Gnisis, Madach Tradehouse Cleaned redundant AMBI,WHGT from CELL: Nchuleft Cleaned redundant AMBI,WHGT from CELL: Sadrith Mora, Fara's Hole in the Wall Cleaned redundant AMBI,WHGT from CELL: Sadrith Mora, Gateway Inn: South Wing Cleaned redundant AMBI,WHGT from CELL: Sadrith Mora, Tel Naga Great Hall Cleaned redundant AMBI,WHGT from CELL: Sadrith Mora, Telvanni Council House Cleaned redundant AMBI,WHGT from CELL: Sadrith Mora, Telvanni Council House, Entry Cleaned redundant AMBI,WHGT from CELL: Sadrith Mora, Wolverine Hall Cleaned redundant AMBI,WHGT from CELL: Sadrith Mora, Wolverine Hall: Mage's Guild Cleaned redundant AMBI,WHGT from CELL: Sud Cleaned redundant AMBI,WHGT from CELL: Tel Aruhn, Upper Tower Cleaned redundant AMBI,WHGT from CELL: Tel Branora, Tower Dungeon Cleaned redundant AMBI,WHGT from CELL: Tel Branora, Upper Tower: Therana's Chamber Cleaned redundant AMBI,WHGT from CELL: Telasero, Lower Level Cleaned redundant AMBI,WHGT from CELL: Telasero, Propylon Chamber Cleaned redundant AMBI,WHGT from CELL: Telasero, Upper Level Cleaned redundant AMBI,WHGT from CELL: Tureynulal, Kagrenac's Library Cleaned redundant AMBI,WHGT from CELL: Vivec, Foreign Quarter Plaza Cleaned redundant AMBI,WHGT from CELL: Vivec, Guild of Mages Cleaned redundant AMBI,WHGT from CELL: Vivec, Hall of Justice Secret Library Cleaned redundant AMBI,WHGT from CELL: Vivec, Simine Fralinie: Bookseller Cleaned redundant AMBI,WHGT from CELL: Vivec, St. Delyn Canol South-One Cleaned redundant AMBI,WHGT from CELL: Vivec, The Lizard's Head Cleaned redundant AMBI,WHGT from CELL: Zergonipal, Shrine Cleaned redundant AMBI,WHGT from CELL: Mournhold, Ignatius Flaccus' House Cleaned redundant AMBI from CELL: Mournhold, Plaza Brindisi Dorom Cleaned redundant AMBI,WHGT from CELL: Mournhold, Royal Palace: Guards' Quarters Cleaned redundant object (stolen_goods FRMR:22863) from CELL: Mournhold, Royal Palace: Jail Cleaned redundant object (stolen_goods FRMR:22863) from CELL: Mournhold, Royal Palace: Jail Cleaned redundant AMBI,WHGT from CELL: Mournhold, Royal Palace: Jail Cleaned redundant AMBI,WHGT from CELL: Old Mournhold: Manor District Cleaned redundant AMBI,WHGT from CELL: Solstheim, Frossel Cleaned redundant AMBI,WHGT from CELL: Solstheim, Himmelhost BarrowOutput saved in: ".\Clean_tes3cmd test (RoHT).esp"Original unaltered: "tes3cmd test (RoHT).esp"

As you can see, I involuntarily tested the function to clean redundant objects too. :) I don't even remember touching that container while working on RoHT.

As a second test, I had tes3cmd clean Ushindra Beach's latest WIP version. It begun its life as a Morrowind only mod and has recently gained Tribunal as its second master file, so it was extraordinarily dirty. The result was convincing as well: almost all dirty entries - including completely unchanged exterior Cells - were cleaned:
E:\Morrowind\Data Files>tes3cmd clean "tes3cmd test2 (UshindraBeach) v1.2.esp"CLEANING: tes3cmd test2 (UshindraBeach) v1.2.esp ...DATADIR = E:/Morrowind/Data FilesLoaded cached Master: /tes3cmd/morrowind.datLoaded cached Master: /tes3cmd/tribunal.dat Cleaned Evil GMST Tribunal:  steleportdisabled Cleaned Evil GMST Tribunal:  slevitatedisabled Cleaned Evil GMST Bloodmoon: swerewolfrefusal Cleaned Evil GMST Bloodmoon: swerewolfpopup Cleaned Evil GMST Bloodmoon: swerewolfrestmessage Cleaned Evil GMST Bloodmoon: swerewolfalarmmessage Cleaned Evil GMST Tribunal:  smaxsale Cleaned Evil GMST Tribunal:  sdeletenote Cleaned Evil GMST Bloodmoon: seditnote Cleaned Evil GMST Tribunal:  sprofitvalue Cleaned Evil GMST Tribunal:  scompanionshare Cleaned Evil GMST Tribunal:  scompanionwarningmessage Cleaned Evil GMST Tribunal:  scompanionwarningbuttonone Cleaned Evil GMST Tribunal:  scompanionwarningbuttontwo Cleaned Evil GMST Bloodmoon: fwerewolfrunmult Cleaned Evil GMST Bloodmoon: fwerewolfsilverweapondamagemult Cleaned Evil GMST Bloodmoon: iwerewolfbounty Cleaned Evil GMST Bloodmoon: fwerewolfstrength Cleaned Evil GMST Bloodmoon: fwerewolfagility Cleaned Evil GMST Bloodmoon: fwerewolfendurance Cleaned Evil GMST Bloodmoon: fwerewolfspeed Cleaned Evil GMST Bloodmoon: fwerewolfhandtohand Cleaned Evil GMST Bloodmoon: fwerewolfunarmored Cleaned Evil GMST Bloodmoon: iwerewolfleveltoattack Cleaned Evil GMST Bloodmoon: iwerewolffightmod Cleaned Evil GMST Bloodmoon: iwerewolffleemod Cleaned Evil GMST Bloodmoon: fwerewolfathletics Cleaned Evil GMST Bloodmoon: fwerewolfacrobatics Cleaned Evil GMST Bloodmoon: fwerewolfhealth Cleaned Evil GMST Bloodmoon: fwerewolffatigue Cleaned Evil GMST Bloodmoon: fwerewolfmagicka Cleaned Evil GMST Bloodmoon: fwerewolfintellegence Cleaned Evil GMST Bloodmoon: fwerewolfwillpower Cleaned Evil GMST Bloodmoon: fwerewolfpersonality Cleaned Evil GMST Bloodmoon: fwerewolfluck Cleaned Evil GMST Bloodmoon: fwerewolfblock Cleaned Evil GMST Bloodmoon: fwerewolfarmorer Cleaned Evil GMST Bloodmoon: fwerewolfmediumarmor Cleaned Evil GMST Bloodmoon: fwerewolfheavyarmor Cleaned Evil GMST Bloodmoon: fwerewolfbluntweapon Cleaned Evil GMST Bloodmoon: fwerewolflongblade Cleaned Evil GMST Bloodmoon: fwerewolfaxe Cleaned Evil GMST Bloodmoon: fwerewolfspear Cleaned Evil GMST Bloodmoon: fwerewolfdestruction Cleaned Evil GMST Bloodmoon: fwerewolfalteration Cleaned Evil GMST Bloodmoon: fwerewolfillusion Cleaned Evil GMST Bloodmoon: fwerewolfconjuration Cleaned Evil GMST Bloodmoon: fwerewolfmysticism Cleaned Evil GMST Bloodmoon: fwerewolfrestoration Cleaned Evil GMST Bloodmoon: fwerewolfenchant Cleaned Evil GMST Bloodmoon: fwerewolfalchemy Cleaned Evil GMST Bloodmoon: fwerewolfsecurity Cleaned Evil GMST Bloodmoon: fwerewolfsneak Cleaned Evil GMST Bloodmoon: fwerewolflightarmor Cleaned Evil GMST Bloodmoon: fwerewolfshortblade Cleaned Evil GMST Bloodmoon: fwerewolfmarksman Cleaned Evil GMST Bloodmoon: fwerewolfmerchantile Cleaned Evil GMST Bloodmoon: fwerewolfspeechcraft Cleaned Evil GMST Bloodmoon: fcombatdistancewerewolfmod Cleaned Evil GMST Bloodmoon: ffleedistance Cleaned Evil GMST Tribunal:  seffectsummonfabricant Cleaned Evil GMST Bloodmoon: seffectsummoncreature01 Cleaned Evil GMST Bloodmoon: seffectsummoncreature02 Cleaned Evil GMST Bloodmoon: seffectsummoncreature03 Cleaned Evil GMST Bloodmoon: seffectsummoncreature04 Cleaned Evil GMST Bloodmoon: seffectsummoncreature05 Cleaned Evil GMST Tribunal:  smagicfabricantid Cleaned Evil GMST Bloodmoon: smagiccreature01id Cleaned Evil GMST Bloodmoon: smagiccreature02id Cleaned Evil GMST Bloodmoon: smagiccreature03id Cleaned Evil GMST Bloodmoon: smagiccreature04id Cleaned Evil GMST Bloodmoon: smagiccreature05id Cleaned Junk CELL:  Bitter Coast Region (-1, -16) Cleaned Junk CELL:  Bitter Coast Region (-12, 3) Cleaned Junk CELL:  Bitter Coast Region (-12, 2) Cleaned Junk CELL:  Bitter Coast Region (-12, 1) Cleaned Junk CELL:  Bitter Coast Region (-13, 4) Cleaned Junk CELL:  Bitter Coast Region (-13, 3) Cleaned Junk CELL:  Bitter Coast Region (-13, 2) Cleaned Junk CELL:  Bitter Coast Region (-13, 1) Cleaned Junk CELL:  Bitter Coast Region (-14, 5) Cleaned Junk CELL:  Bitter Coast Region (-14, 4) Cleaned Junk CELL:  Bitter Coast Region (-14, 2) Cleaned Junk CELL:  West Gash Region (-15, 7) Cleaned Junk CELL:  Wilderness (-15, -8) Cleaned Junk CELL:  West Gash Region (-16, 8) Cleaned Junk CELL:  West Gash Region (-16, 7) Cleaned redundant AMBI,WHGT from CELL: Caldera, Guild of MagesOutput saved in: ".\Clean_tes3cmd test2 (UshindraBeach) v1.2.esp"Original unaltered: "tes3cmd test2 (UshindraBeach) v1.2.esp"

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: Here's a http://www.mediafire.com/?kmyocywqztg in case you'd like to check it. That's a minuscule issue, though. In addtion, the Enchanted Editor complained that the number of records was mis-reported in the file header. That's a minuscule issue too. Unless anybody finds a real issue with this version of tes3cmd, I'll keep it. :) The cleaning functions are very good, and the function to clean out redundant references is the cherry on the cake. (It's unique to tes3cmd as far as I know.)


B
User avatar
ruCkii
 
Posts: 3360
Joined: Mon Mar 26, 2007 9:08 pm

PreviousNext

Return to III - Morrowind

cron