• png whitelist gma.
    3 replies, posted
Hey all, I'm trying to make an addon with an addition to the icon16 and icon32 folder. So I made my addon and added them to materials/icon16 and materials/icon32 and tried to generate the gma. Which returned an error that the whitelist wasn't passed. I looked up the paths and saw that *.png's cannot be in a directory inside the material folder if it is a png. It must be in the root folder. Is there any way I can get it in a folder instead of putting 900+ files in the materials folder?
Not sure why it's being white-listed like that. You could convert one of the png's as a test using [url]https://developer.valvesoftware.com/wiki/VTFEdit[/url] Then check if the white-list allows you to use that format.
[QUOTE=Darrell;46834733]Hey all, I'm trying to make an addon with an addition to the icon16 and icon32 folder. So I made my addon and added them to materials/icon16 and materials/icon32 and tried to generate the gma. Which returned an error that the whitelist wasn't passed. I looked up the paths and saw that *.png's cannot be in a directory inside the material folder if it is a png. It must be in the root folder. Is there any way I can get it in a folder instead of putting 900+ files in the materials folder?[/QUOTE] That's bullcrap, whoever said "pngs must be in root folder" is wrong. You must follow an addon structure, so if your file is myawesomefolder/materials/icon16/fuc.png, you put the folder "myawesomefolder" to the gma creator, not any other folder.
It seems Thumbs.db was shitting me, that's why I thought It wasn't possible regarding to the whitelist which was set in gmash. Thanks!
Sorry, you need to Log In to post a reply to this thread.