What does that mean? If it means replacing all objects of a certain kind in the gameworld, I can do that with the CS already.
# save this code to file: "fix_quest.pl"# run with command line:# tes3cmd modify --program-file fix_quest.pl myplugin.espuse strict;sub main { my($tr) = @_; # tr = the record my $ok = 0; my $subtype = ''; my $last_tsr = ''; if (defined $CURRENT_DIAL) { if ($CURRENT_DIAL =~ /^Journal/i) { if ($tr->rectype eq 'INFO') { # only interested in INFO records $ok = 0; $last_tsr = ''; foreach my $tsr (@{$tr->{SL}}) { # tsr = the sub-record $subtype = $tsr->subtype; if ( $ok == 0 ) { if ($subtype eq 'NNAM') { if (defined $tsr->{next_id}) { if (!$tsr->{next_id} > 0) { #found empty next id #print "\r\nfound empty next id\r\n"; $ok = 1; } } } } elsif ( $ok == 1 ) { if ($subtype eq 'DATA') { #print "\r\nfound subtype DATA\r\n"; if (defined $tsr->{disposition}) { # JournalIndex stored as disposition #print "\r\nfound defined journal index\r\n"; if ($tsr->{disposition} >= 0) { #found valid journal index #print "\r\nfound valid journal index\r\n"; $ok = 2; } } } } elsif ( $ok == 2 ) { if ($subtype eq 'NAME') { if (defined $tsr->{response}) { #print "\r\nfound response\r\n"; if ( length($tsr->{response}) > 1) { #found meaningful response #print "\r\nfound meaningful response\r\n"; $last_tsr = $tsr; $ok = 3; } } } } elsif ( $ok == 3 ) { if ( $subtype eq 'QSTF') { #found valid quest finished marker, no need to process #print "\r\nfound valid quest finished marker, no need to process\r\n"; $ok = 0; } } } if ( $ok == 3 ) { $tr->append( INFO::QSTF->new({quest_finished=>1}) ); $tr->{_modified_} = 1; # tell tes3cmd we modified the record # print "\r\n ".$last_tsr->{name}."\r\n"; } } } }}
md backuptes3cmd.exe modify --backup-dir ./backup --hide-backups --program-file fix_quest.pl --ignore-plugin "Morrowind.esm" --ignore-plugin "Tribunal.esm" --ignore-plugin "Bloodmoon.esm" *.es? > out.txtpauseout.txt
I've collected lots of mods over the years and figure I probably ought to clean them (please don't throw anything, just lazy). Reading the tes3cmd wiki, I had the following question. Does tes3cmd require a working MW game folder in order to run it or would a duplicate of just the "Data Files" folder with the various mods suffice?
Also, does tes3cmd have a feature to compress the cleaned mod (including whatever files it may have) so as to use it in tandem with Wrye Mash? Although I'm lazy about the cleaning, I regularly use WM with all the mods I use in my game.