Have a look at the link bellow…
http://polycount.com/discussion/160770/normals-from-edgeloop-s-script-for-those-lovely-edge-decals/p1