OFP TxtPathSwap
OFP Forum, OFP Home, OFP File Formats, OFP Tools, OFP Missions, OFP 3D Modeling, OFP Terrain
Operation Flashpoint (OFP) aka ArmA: Cold War Assault (CWA)
TxtPathSwap by feersum.endjinn
TxtPathSwap util will replaced texture paths on P3D MLOD models. It was first created for FDF's use as they got a lot of models from other addon makers and had to do a lot of path swapping.
Usage
Start the util and click Open button, browse and open your MLOD P3D file. Then you can see the model's texture paths and names on the display window.
Now double click on the texture you want to change and it appears on the Find what: editbox, then you can clear out the texture name and only leave the path if you like to change the path instead of the single texture. In most cases you want to change path to fit your addon/mod system, just like in the example image where we changed all Data\ paths into VTE_air\t\ paths.
Now that you have selected the path (and texture possibly) you want to change, write the new path (and texture possibly) into the Replace with: editbox.
Now that you have selected the path you want to replace with the new path, just click the Replace button and its done for all textures, on all LODs including view-pilot and all the rest where the textures can be applied. Finally click Save button to save your repathed P3D.
If the path is more than 31 characters long (OFP O2 don't support longer texture path+file names), it will give error and wont update the path. If this happens you need to modify the texture name to shorter one so it fits with the new path under 31 characters.
Download at TxtPathSwap.rar from OFP.Tools.2024-03-19/ torrent magnet:
magnet:?xt=urn:btih:a969461a566e82963358da612613dde4c599b822&xt=urn:btmh:1220ff0bf3f29e5ed376a29defa63efa8559cff3d01439bd1d24d19765283c6742d2&dn=OFP.Tools.2024-03-19&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a6969%2fannounce