Jump to content

How to create dune 2000 compatilbe .tga files?


Recommended Posts

Posted (edited)

I tried it with irfan view/paint.net but the game wont load it :/ which tool are you guys using? Could someone assist me to center these menu graphics below? :D

 

http://funkyfr3sh.cncnet.org/files/d2k/DUNEMAP2_800x600.TGA

http://funkyfr3sh.cncnet.org/files/d2k/DUNEMAP_800x600.TGA

http://funkyfr3sh.cncnet.org/files/d2k/SCOREMP_800x600.TGA

http://funkyfr3sh.cncnet.org/files/d2k/SCOREUI_800x600.TGA

The tga files use some sort of custom bit format (15bit). If I remember correctly. Mvi has some info on converting to normal format (perhaps useful one day): http://mvinetwork.co.uk/2013/05/27/colour-code-snippets/ 

 

It's 16bit: http://d2kplus.com/wiki/index.php?title=Image_files

 

I once edited tga files correctly with paint shop pro something...: http://forum.dune2k.com/topic/21583-r8-and-r16-graphics/?p=386228

 

I also made a quick python program for you that adds black space to dune 2000 tga files. I call it background generator mark II. Very creative naming. :P Perhaps this is enough for you (see 'back' folder for generated resolutions) or else you are free to convert the code to c/c++ or whatever as long as you mention my name (and this forum). :)

 

Edited by D2k Sardaukar
  • Upvote 1
Posted

The tga files use some sort of custom bit format (15bit). If I remember correctly. Mvi has some info on converting to normal format (perhaps useful one day): http://mvinetwork.co.uk/2013/05/27/colour-code-snippets/ 

 

It's 16bit: http://d2kplus.com/wiki/index.php?title=Image_files

 

I once edited tga files correctly with paint shop pro something...: http://forum.dune2k.com/topic/21583-r8-and-r16-graphics/?p=386228

 

I also made a quick python program for you that adds black space to dune 2000 tga files. I call it background generator mark II. Very creative naming. :P Perhaps this is enough for you (see 'back' folder for generated resolutions) or else you are free to convert the code to c/c++ or whatever as long as you mention my name (and this forum). :)

 

attachicon.gifbackground generator mark II.7z

It's 15 bit, the 16th bit is just padding. The code I posted should work fine if you have raw pixel buffers.

 

Photoshop supports editing these files without any issues. Alternatively a PNG<->15 bit TGA convertor should be trivial to code.

Posted

It's 15 bit, the 16th bit is just padding. The code I posted should work fine if you have raw pixel buffers.

 

Photoshop supports editing these files without any issues. Alternatively a PNG<->15 bit TGA convertor should be trivial to code.

Feels like someone is volunteering ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.