Free Particle Editor Module for Spiral Galaxies

I downloaded a code file from the eu4 forum to edit the engine code to add an extra feature in the particle editor, the problem is that I don’t know which way to go to add the code or where to paste the file with the code.