Hey, everyone. I've been trying to figure out a solution to this issue on my own but keep hitting a wall.
In a nutshell, I'm looking for a way where I can perform a batch "find and replace" on all of the exemplar names in a given DAT file.
The longer version is, I'm creating a large set of custom prop packs, and for each prop pack, I need eight different copies. The only two things differentiating these packs are: (A) each pack has a distinct set of group and instance IDs, generated randomly via iLive Reader; and (B) each pack uses a different naming convention for the exemplar names, so that I can distinguish between props in the PIM-X lot editor.
So far, I've created a number of these packs, and every time I do, I have to manually rename all of the props. The naming convention I use for the original pack is always "123456 [prop name]." The other seven prop packs follow the same convention, but with a different number at the beginning to identify the prop pack. That is, all of the props in one pack will be named "12 [prop name]," while another pack will use "34 [prop name]," etc.
Many of these packs contain a significant number of props, which means I'm left editing hundreds of exemplar names manually. I'm generally at peace with inane data entry tasks, but the amount of time this takes for larger packs is... substantial. It would save me a tremendous amount of time and effort if there was some way to quickly run a "find and replace" function on all of the exemplar names in a given DAT file and replace the numbers.
Does anyone have a solution to this problem? I've never scripted anything in my life, but is there a way to automate this with LUA or a third-party program? Alternatively, is there a function in Reader that I've missed or another tool that's capable of performing this task?
Thanks in advance. Any help would be greatly appreciated.
Note: Just in case there's any confusion, I can't use the batch edit function in the Reader's property analyzer, since that would overwrite the [prop name] part of each exemplar name.