tools: fix resource type and name extraction
tools: fix resource type and name extraction

mikymod/crown,galek/crown,dbartolini/crown,galek/crown,mikymod/crown,mikymod/crown,mikymod/crown,galek/crown,galek/crown,dbartolini/crown,dbartolini/crown,dbartolini/crown