I had the same issue with an imported wow model, presumable because of the texture. I just created the unit via triggers instead of placing it :P Have you tried an alternative format, like TGA?
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
SC2 can only handle certain .dds compressions I've found.
Make sure its something like DXT3 ( I use for models) or DXT5 ( I use for icons).
Actuelly, the diffrence between DXT3 and DXT5 and DXTX is the compression size, more the number is high, more the image will take less space. (you can easy pass from 44 mo . dds file to 2.0 mo . dds file
and i can confirm Sc2 editor can use every .dds type, i tryed all
oh and use (generate minimaps) when you save your file!
The dds files need to have sides of multiples of 4!
So 120, 124, 128, ... but not 121, 122, 123, ...
Else it can crash either directly on importing (bad x dimension) or when trieing to view it in the editor per previewer window (bad y dimension).
This happened to me 2 days ago after importing a few of Blizzard's assets after rotating them (because rotate dialog item inherits a problem that you cannot work around [-> ignores dialog borders]).
oh and use (generate minimaps) when you save your file!
I am pretty sure, that SC2 generates its own mipmaps (whih I assume you mean by minimaps) if you don't create them. Not generating mipmaps will save 33% filesize.
What Ahli says is true, but if the file is saved with bad dimensions, the file should be corrupted and not openable in any program. See if you can open it back up in your image-editing program. If you can do that, but still not in the editor, it is probably a complicated problem and the best way to go is to try a different image-editing program or plug-in.
The dds files need to have sides of multiples of 4!
So 120, 124, 128, ... but not 121, 122, 123, ...
Else it can crash either directly on importing (bad x dimension) or when trieing to view it in the editor per previewer window (bad y dimension).
This... ^ Is the answer I needed, thank you, I will view that, And thanks for responses everyone... But in the past I imported the same photos, but they crash on select, so I cant remove em, (sigh) but, they are low on KB, so it wont matter much, now to get my custom image in! :D Time to make it though, lol,
Thanks everyone for responses, really appreciate, I will put his answer at top of the page...
@JakeCake26: Go
"paint.net" can edit those images and has no errors unlike gimp's dds plugin which sometimes creates some squares. You just need to install the dds plugin to paint.net (= extract into the correct subfolder).
ANSWER :
When I import a DDS image, its all good, except when I load it, select it, anything, the editor crashes... It sucks, really badly...I really need to know how to fix this because then I can't have my custom image in my map! :OAny help?Thanks for all responses, and thanks Ahil636 for getting straight to the answer, I have tested your idea, and it works, haha!
I have had the same issue every time I try to import a .DDS, so I just use .TGA instead. Imports fine, transparency works, try Targa son.
SC2 can only handle certain .dds compressions I've found.
Make sure its something like DXT3 ( I use for models) or DXT5 ( I use for icons).
@FockeWulf: Go
I had the same issue with an imported wow model, presumable because of the texture. I just created the unit via triggers instead of placing it :P Have you tried an alternative format, like TGA?
Actuelly, the diffrence between DXT3 and DXT5 and DXTX is the compression size, more the number is high, more the image will take less space. (you can easy pass from 44 mo . dds file to 2.0 mo . dds file
and i can confirm Sc2 editor can use every .dds type, i tryed all
oh and use (generate minimaps) when you save your file!
The dds files need to have sides of multiples of 4!
So 120, 124, 128, ... but not 121, 122, 123, ...
Else it can crash either directly on importing (bad x dimension) or when trieing to view it in the editor per previewer window (bad y dimension).
This happened to me 2 days ago after importing a few of Blizzard's assets after rotating them (because rotate dialog item inherits a problem that you cannot work around [-> ignores dialog borders]).
I am pretty sure, that SC2 generates its own mipmaps (whih I assume you mean by minimaps) if you don't create them. Not generating mipmaps will save 33% filesize.
What Ahli says is true, but if the file is saved with bad dimensions, the file should be corrupted and not openable in any program. See if you can open it back up in your image-editing program. If you can do that, but still not in the editor, it is probably a complicated problem and the best way to go is to try a different image-editing program or plug-in.
This... ^ Is the answer I needed, thank you, I will view that, And thanks for responses everyone... But in the past I imported the same photos, but they crash on select, so I cant remove em, (sigh) but, they are low on KB, so it wont matter much, now to get my custom image in! :D Time to make it though, lol,
Thanks everyone for responses, really appreciate, I will put his answer at top of the page...
@JakeCake26: Go "paint.net" can edit those images and has no errors unlike gimp's dds plugin which sometimes creates some squares. You just need to install the dds plugin to paint.net (= extract into the correct subfolder).