Bunnywabbit wrote:QUOTE (Bunnywabbit @ Mar 13 2011, 11:31 PM) Also, you might create a text.mdl file in artwork folder and put the following code in:
example.mdl
Code: Select all
use "model";
example =
ImportImageFromFile("artimage.png", true);
note that the variable you define here is the same as the file name.
Also note that your file can be semi transparent now! Just forget about using black for transparent bits and create art using transparent background.
although i do admit that it's a shame you have to use two files for a single piece of art.
What does this do, exactly? What is the "model" and how does this assign the proper icon for the devel?
madpeople wrote:QUOTE (madpeople @ Mar 14 2011, 12:57 AM) does it work if you remove the number from the start of the file name?
Mmm... No, that was not enough... But when I changed the name to abc.bmp/abcbmp.mdl, it miraculously went and worked on me...
So it seems to be filename related - its either the numbers or the lenght of the file...
Hmmm...
So THAT was the problem... Seems like convert.bat cannot handle anything with more than 8 characters before .mdl... And since the first of those 8 has to be "i" (or at least it would seem that all devel icons need to start with "i") and the last three need to be "bmp", then I would be stuck with four letters to describe the file, which is not adequate and ultimately won't solve the problem, only get around it, as I see many perfectly working devel icons, that have more than 8 letters before .mdl, indicating they were created in some other way...
Although, to be fair, it actually works...
I guess will look into it and into something else some more, see what I can come up with...
thx ;-)
EDIT:
So yeah, the butler did it, and if I say "butler", I mean filename lenght... *shrugs* whatever, then I'll just deal with that :-)