@arambecker No my approach would be a bit more.
A tool to find duplicates.
As I said in my first post. If you have selections of several regions.
Maybe 1000 roms it would be usefull to search for a gametitle and to select duplicates.
Game 1 (J)
Game 1 (U)
Game 2 (JUE)
Game 3 (J)
Game 3 (E)
You already programmed delimiter so there needs "just" to generate an automatic search term.
That's not the way your script is intended to work and I think it will need a heavy rework. But this would be usecase, too
ROM Names > Automatic generated search term
Game 1 (J) > Game 1 (
Game 1 (U) > Game 1 (
Game 2 (JUE) > Game 2 (
Game 3 (J) > Game 3 (
Game 3 (E) > Game 3 (
Yeah, I first started with this method. Had the gamelist.xml all sorted out and everything. But for some reason the runcustom.sh wasn't working for me there. You can see the last comment that I made on that topic.
Either way, what I have now works for me, just thought it would be a cool expansion on this useful tool.