I've made this utility for my personal use and I thought it might be useful to others, especially modders, as well. If you are modding both db tables, ETW and NTW, you have to change often the file in PFM folder so you can open the packs you want without losing the file association. That is what this is about: change automatically the files by clicking on a shortcut.
I've updated PFM for ETW and NTW. All tables are editable except one in NTW (unit_special_ability_types). The 3 models table are also non editable but I managed to edit patsch.pack\db\models_artilery_table for ETW. It seems that this one is deferent than models.pack\db\models_artilleries_table . Also ETW PFM has now the preview abilities for some type of files like txt, tga, dds, etc. If you don't want switcher, just use the files and copy from DBFileTypes\ETW or NTW the files in DBFileTypes\ according the game's pack you want to edit.
The Hedge Knight corrected/added many columns names including those of T.C. for NTW edition.
PFM Switcher
Installation:
1. Download the attached PFM.zip file and unzip it.
2. Go in your current directory of PFM and delete all files and folder(s). If you have not PFM create a folder.
3. Copy all files and folder you unzipped in step 1in your empty PFM folder.
4. Go in DBFileTypes folder.In ETW and NTW folders there are Switch to ETW.exe and Switch to NTW.exe. Create a shortcut for each one of the exe's on your desktop or wherever it is convenient for you.
Now if you want to work with ETW PFM just double click on the Switch to ETW shortcut. The script will copy all files to main folder. When later you want to edit NTW files just click Switch to NTW shortcut.script will delete ETW PFM files and will copy NTW PFM.
IMPORTANT:
1. If for any reason you want to change the PFM main folder, go in registry and change the path to new location in HKEY_CURRENT_USER\Software\Classes\Applications\PackFileManager.exe\shell\open\command. In this way you wont have a problem with file association.
2. New users who want to associate packs: I suppose that you have made so far a new folder named e.g. PFM where you've placed the ETW and NTW folders. Execute first one of the 2 switchers, it does not matter which one. Now go in any pack file, right click and in opens with... click Change and point to PackFileManager.exe that there is in PFM folder.
CREDITS:
LtChambers
Alpaca
Erasmus777
Vicar
taw
The Hedge Knight
T.C.