icon import problem

zzyzxroad

TH.net Regular
Reaction score
1
I am trying to import an icon as a "disabled button". All my other icons are ok, but this one keeps giving me grief. I get his error:

This application has encountered a critical error:
Not enough storage is available to process this command.
Program: c:\war3.exe
File .\tga.cpp
Line: 254


Where is the cpp coming fom?
 

Exide

I am amazingly focused right now!
Reaction score
448
Strange. :confused:

>Not enough storage is available to process this command.
-Maybe you've reached the map's size limit, or something?
Try importing a large file. -Such as a .mp3 song (they're usually around 3-4 mb large), and see what happens.

Also try to upload the icon you want to import so we can have a look at it, and see if it fails to work for us as well.
 

zzyzxroad

TH.net Regular
Reaction score
1
Ok, the more I have tried I am realizing there is a problem with the icons. I have 3 different icons that are giving me probs, all of which I have imported. The one I seemed to get working, but the others will crash on startup, and the error tells me the tga file is corrupt.


This application has encountered a critical error:
The file data is corrupt.
Program: c:\worldedit.exe
File: blahblah.tga

I have now used psp and photoshop to make a file.
My map is only 980kb.
 

Exide

I am amazingly focused right now!
Reaction score
448

zzyzxroad

TH.net Regular
Reaction score
1
I used psp, photoshop, and warcraft3viewer :(


here are attachments
 

Attachments

  • a.tga
    12 KB · Views: 76
  • b.tga
    12 KB · Views: 65

Exide

I am amazingly focused right now!
Reaction score
448
I downloaded and tested both your files. Both worked, no problem.
Did you set the correct custom path?

ReplaceableTextures\CommandButtonsDisabled\DISBTNa.tga
ReplaceableTextures\CommandButtonsDisabled\DISBTNb.tga


Also, your icons are not "disabled-looking". (A disabled looking button is a lot darker, and has no border (as can be seen in the Tutorial I linked to).)
 

zzyzxroad

TH.net Regular
Reaction score
1
It seems the "disabled icon" works now. Its these 2 that give me the problem. They are just 2 race icons.

Also all I did was "replace file" when importing to the new ones. The original path worked just fine. I also tried deleting the original icon, then adding the new one. I have done this several times before, and really am baffled by the results from this attempt. I am not too sure what is wrong.

did I corrupt something when using mpqmaster? Do i need todelete the listfile or something? perhaps the attributes? The file sizes are different from the original.

EDIT:Deleting attributes in mpq master, then opening and saving in WE does the trick!!!

Thanks for your patience and ideas!!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top