View Single Post
  #5  
Old December 29th, 2006, 05:08 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: DomII maps in Dom3, and fixing that Alpha chan

Quote:
paradoxharbinger said:
why does it necessarily require windows? you could just use a generic c++ fstream, read the original tga in and write the new one out.
Because I don't have any expereince with such things in C.
I could probably manage something if I even knew how to use .dll files :X
However, if you do, you can use this to make a much much better C++ program.

Meanwhile, I'm stuck with Visual Basic .NET (*blech*)

EDIT: ATTACHING TGAFIXER.ZIP
Okay, its attached.
Be aware though that:
1) I didn't do much testing. It should work, but it might not.
2) On a 1.4GHZ Pentium proccessor it can get about 25,000 pixels per second, that means bigger maps will take minutes to work out.

Hope I've helped
Attached Files
File Type: zip 482934-TGAFIX.zip (362.8 KB, 150 views)
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote