The steps you have to go through for EACH emblem:
1. Find a guild without an Emblem in your replay
2. Find out the guild's ID number through ROPD
3. Find the file named "Chaos_GUILDNO_EMBLEMNO.ebm" and rename it to "_GUILDNO_EMBLEMNO.ebm"
4. Repeat for each guild that has no emblem
If a guild changes their emblem frequently, the EMBLEMNO will also change, making your newly renamed emblem file now useless for all future replays.
I've created a solution:
Simply place this python script into your _tmpEmblem folder, and run it. It will do everything in the list I wrote above, but on ALL emblems that start with "Chaos" in your entire folder. It made a copy of each of the 4472 emblems in my folder.
If you need to update the replay emblems, because someone changed their emblem, simply run the script again. It will not create duplicates of any replay-ready files already there.
You need python 3+ in order to run this.
EDIT: Made another script.
If you run the first script, and find that it STILL isn't finding the guild's emblem, it's probably because the guild changed their emblem before you ran the first script, and the "old" emblem is now lost.
But don't fret! This second script will allow you to duplicate already existing emblems, in case you missed one at some point.
This one actually takes some input. Here's what an example run would look like:
It shouldn't be too difficult to use, but feel free to ask questions if it doesn't work.
This also requires python 3+ to run.
Python, for those who don't have it:
Disclaimer: I hope this is alright to post here. It doesn't do anything magical, nor does it try to do anything malicious. The code is all visible in the spoilers, for anyone to verify the functionality for themselves.
Edited by Tofu, 16 November 2016 - 07:04 PM.