Jump to content

TGA Troubles


Recommended Posts

I am trying to use .tga files made in Paint.Net as height maps in a level editor I'm working with (for a 10-year old RTS game I like), but they aren't working.

 

I follow the guidelines of making the image 129x129 pixels and sticking to greyscale, but every time I try to import them to the level editor I get an error message. Files exported from the editor work fine, and have about 10 times the filesize of the same images made in Paint.Net, but when I open them and save them in Paint.Net (even without actually changing anything), the filesize gets chopped and the image fails to work when I try to import it. So I have two files, both .tga files and to my eyes indistinguishable, except the one saved in Paint.Net has a tenth the filesize and gives me an error message when I try to import it into the level editor as a height map.

 

What is happening here? What information is Paint.Net omitting, and how can I make images made in Paint.Net work properly as height maps?

Link to comment
Share on other sites

Are you saving as 24 bit or 32 bit TGA?  

  • Upvote 1
Link to comment
Share on other sites

Alright, found out what the problem was. There was this box labeled "Compress (RLE)", that was checked by default. When I unchecked it, the pictures worked fine.

 

Thanks for asking me to check what bit I was saving it as, I would not have noticed that box otherwise. Saved it as 24-bit with Compress (RLE) turned off, and everything works.

Link to comment
Share on other sites

Glad you got it sorted!  I hope you have fun with your game mods.  

 

I should have said:  Welcome to the forum :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...