I wrote this script to compare two placeables.2da scripts, then update all the old appearances to the new ones found in the new target 2da. This was used to update a lot of appearances to the new master placeables 2da I posted. Its beta for the most part, and you should backup your work and only use it on copies till your happy with it.
I've successfully converted all my world using the script and several others on the vault. You just need the original 2da file/hak they were built with.
The real work was done by kivinen and I include his perl scripts in this package as to not cause anyone bother finding them or if his external site goes away.
To convert areas and Placeables to a new master 2da:
You must install active state perl on windows if you do not have perl installed already.
These are perl scripts, the primary author is kivinen, my script calls his to make changes.
Directions: This process can take quite some time if your doing a lot of areas and placable items. (1hour for 5k items/100 areas)
1) Copy area .GIT files to AREAS directory created when you unrar this archive
2) Copy all UTP to UTP directory created when you unrar this archive
3) Copy the placeables.2da file you created your areas/placeables with to the Perl_change_check_script directory. You might want to rename it to your world.old.2da, it will be the source 2da for the command.
4) Copy the target 2da file you would like to convert all items too. This should have all the placeables model names in it somewhere.
5) open a command prompt, and cd to the Perl_change_check_script directory.
6) Command to run is : perl compare_2da_files.v3.pl -s <SOURCENAME.2da> -t <TARGETNAME.2da> -u -a >output.txt
This will change all utp and area file appearances that use any models that are different to the new target 2da row numbers. This will make copies of the files in the UPDATED_FILES directory.
You can look at the output.txt file for information about the various things it changed and skipped. You should look for anything that says ADD to target 2da as that means you did not have the model in there.
Attach the new 2da to your development module. then restart your toolset to pick up the changes. You should see them in the toolset as you did prior to changing the placeables.2da.
There are a lot of other scripts in this directory. You can get documentation on any of them by typing perldoc <script.pl>. The information there is detailed.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone