sirjuddington / SLADE

It's a Doom editor
https://slade.mancubus.net
GNU General Public License v2.0
710 stars 109 forks source link

.Wal (Quake II texture) conversion support #740

Open Marscaleb opened 7 years ago

Marscaleb commented 7 years ago

I would like to be able to use Slade to convert a graphic in an archive into the Quake II texture format, .wal. (I mean, it reads them, and I can convert from them, so I'm a bit surprised I can't convert to them.) It would make sense to also include the capacity to convert to Quake I textures.

Also I would like to see Slade support targa files (.tga) which are used in Quake II.

Gaerzi commented 7 years ago

TGA are probably already handled by FreeImage, so all it needs is a way to identify them.

If you fool SLADE into thinking the TGA is some other type handled by FreeImage, like JPG, does it display them? All you need to do is select one, and type "type img_jpeg force" in the console to force it to think it's a JPG image.

Marscaleb commented 7 years ago

type img_jpeg force 12:17:58: Identifying as Graphic (JPEG) 12:17:58: unit1_rt.tga: Identification failed 12:17:58: unit1_rt.tga: Type changed.

So... Nope that didn't work.

Gaerzi commented 7 years ago

"Force" means that it changes the type even if the identification failed. After doing that, click on another entry and then back to refresh the display.

jmickle66666666 commented 6 years ago

Hi, any update on converting to quake/2 format textures? Also would be great to be able to make new wad2 format archives with slade