Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » BMP-TGA conversion Question
BMP-TGA conversion Question [message #392370] Fri, 26 June 2009 08:38 Go to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
Hi all,

I got a Question:

Does anyone know if there is a tool somewhere on the net that allows you to automaticly make out of a .bmp file and the corresponding alpha channels a single .tga file with the alpha channel inside?

Reason: graphics are extracted from one game and hence i dont have the original models and want to use them in another game wich uses .tga format.


Thanks in advance



Re: BMP-TGA conversion Question [message #392385 is a reply to message #392370] Fri, 26 June 2009 10:03 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

Sadly that sounds a little like copyright infringement, which is basically warez.

Assuming it is legal, try the GIMP?


Renguard is a wonderful initiative
Toggle Spoiler

[Updated on: Fri, 26 June 2009 10:04]

Report message to a moderator

Re: BMP-TGA conversion Question [message #392416 is a reply to message #392370] Fri, 26 June 2009 14:03 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
thanks for your reply.

It is not for Renegade or any of the Westwood/EA games, still i thought i ask here, cause i know some of you excell in graphics.

Its for transferring Cossacks I graphics to Cossacks II, both games are created by GSC, however both game's use a different engine and graphics format.
I have permission from the company itself to go ahead and do what i feel like as long as i dont gain any profit out of it. So dont worry bout the legal issues.

I have received both tools from the company itself to extract from Cossacks I and also to create the graphics files to import in to Cossacks II. Its just I'm stuck, cause the Cossacks I files extract as .bmp files and the Cossacks II software tools to create graphic files require .tga format, hence my question.

It hasnt been done before and in photoshop it didn't work, unless there are plugins I'm unaware off.

I will look in to the GIMP but i got a gut feeling it wont work there either.

Thanks again for your reply


Regards


[Updated on: Tue, 30 June 2009 02:08]

Report message to a moderator

Re: BMP-TGA conversion Question [message #393054 is a reply to message #392370] Tue, 30 June 2009 02:05 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
The GIMP was no good either,

To be more specific, what i'm actually looking for is some kind of script for photoshop that can automatically bind a .bmp and its alpha channel .bmp in to one single .tga file

Reason: i have a whole load of them that i need to do, and doing it one by one is just too much work.

Has anyone ever seen such a script or used it?


Regards

Re: BMP-TGA conversion Question [message #393056 is a reply to message #393054] Tue, 30 June 2009 02:18 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
EKT-Repair wrote on Tue, 30 June 2009 05:05

The GIMP was no good either,

To be more specific, what i'm actually looking for is some kind of script for photoshop that can automatically bind a .bmp and its alpha channel .bmp in to one single .tga file

Reason: i have a whole load of them that i need to do, and doing it one by one is just too much work.

Has anyone ever seen such a script or used it?


Regards




Assuming you can manually do it in Photoshop, you can record a macro that does it automagically.
Re: BMP-TGA conversion Question [message #393160 is a reply to message #393056] Tue, 30 June 2009 10:54 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
Saberhawk wrote on Tue, 30 June 2009 04:18

EKT-Repair wrote on Tue, 30 June 2009 05:05

The GIMP was no good either,

To be more specific, what i'm actually looking for is some kind of script for photoshop that can automatically bind a .bmp and its alpha channel .bmp in to one single .tga file

Reason: i have a whole load of them that i need to do, and doing it one by one is just too much work.

Has anyone ever seen such a script or used it?


Regards




Assuming you can manually do it in Photoshop, you can record a macro that does it automagically.



I'm somewhat of a noob when it come's to these things, can you explain that a bit more detailed please?

Thanks in advance
Re: BMP-TGA conversion Question [message #393165 is a reply to message #393160] Tue, 30 June 2009 11:17 Go to previous messageGo to next message
LeeumDee is currently offline  LeeumDee
Messages: 330
Registered: January 2008
Location: UK, England
Karma: 0
Recruit
I think creating an action within Photoshop is definitely possible, if (like has been mentioned already) it is possible to do your conversion in PS anyway.

http://blog.epicedits.com/2008/03/07/how-to-create-photoshop-actions/


Re: BMP-TGA conversion Question [message #393186 is a reply to message #392370] Tue, 30 June 2009 12:07 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
Well , me and my friend who are working on this project tried setting up a script, but the problem is that , it made the tga's out of the different RGB .bmp's but it constantly used the same alpha .bmp so the .tga's are unusable. We both somehow lack the skills to get it working.

So i was somehow hoping that there would be somewhere a third party script available, though we have been looking around and cant seem to find any.

Doing it for one works i photoshop, but for one unit there are over 1300 frames and thats just for one of the 7 animations that that unit has, so I'm sure you see why I could use such a script.

[Updated on: Tue, 30 June 2009 12:09]

Report message to a moderator

Re: BMP-TGA conversion Question [message #393210 is a reply to message #392370] Tue, 30 June 2009 13:29 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
how about one that turns 1 pixel into 4? higher res textures
Re: BMP-TGA conversion Question [message #393338 is a reply to message #393210] Wed, 01 July 2009 09:38 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
ErroR wrote on Tue, 30 June 2009 15:29

how about one that turns 1 pixel into 4? higher res textures



What? I'm not looking for higher res textures!!??
Re: BMP-TGA conversion Question [message #393340 is a reply to message #392370] Wed, 01 July 2009 09:55 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
no, i was talking to LeeumDee

[Updated on: Wed, 01 July 2009 09:56]

Report message to a moderator

Re: BMP-TGA conversion Question [message #393352 is a reply to message #393340] Wed, 01 July 2009 10:58 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
ErroR wrote on Wed, 01 July 2009 11:55

no, i was talking to LeeumDee


Then use the quote button pls next time or create your own thread, cause you got me seriously confused there m8 Big Grin

Rep.
Re: BMP-TGA conversion Question [message #393358 is a reply to message #392370] Wed, 01 July 2009 11:08 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
sorry Blush
Re: BMP-TGA conversion Question [message #393475 is a reply to message #392370] Thu, 02 July 2009 02:07 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

Hmm, so you've got two files, image.bmp and imagealpha.bmp, per frame?

I think I could maybe throw a quick program together, let me see.


Renguard is a wonderful initiative
Toggle Spoiler
Re: BMP-TGA conversion Question [message #393493 is a reply to message #393475] Thu, 02 July 2009 05:32 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
CarrierII wrote on Thu, 02 July 2009 04:07

Hmm, so you've got two files, image.bmp and imagealpha.bmp, per frame?

I think I could maybe throw a quick program together, let me see.



Yes that's correct, like this:

00000.bmp:
http://i49.photobucket.com/albums/f267/EKT-Repair/MexicanMusketEx/00000.jpg

&

a00000.bmp:
http://i49.photobucket.com/albums/f267/EKT-Repair/MexicanMusketEx/a00000.jpg

and goes up all the way to 01349.bmp & a01349.bmp

It would be most appreciated if you can sort this one out for me.

Rep.


Re: BMP-TGA conversion Question [message #393911 is a reply to message #392370] Sun, 05 July 2009 02:40 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

Ok, I'll PM you if/when I can get something sorted out. I've misplaced my image utility unit. Blush



Renguard is a wonderful initiative
Toggle Spoiler
Re: BMP-TGA conversion Question [message #394673 is a reply to message #393911] Fri, 10 July 2009 18:55 Go to previous messageGo to next message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
CarrierII wrote on Sun, 05 July 2009 04:40

Ok, I'll PM you if/when I can get something sorted out. I've misplaced my image utility unit. Blush




Allright, i sent the file's you asked in pm. Sorry for the late reply.

Thanks!!


Repair
Re: BMP-TGA conversion Question [message #394881 is a reply to message #392370] Mon, 13 July 2009 08:15 Go to previous message
EKT-Repair is currently offline  EKT-Repair
Messages: 14
Registered: March 2008
Location: Belgium
Karma: 0
Recruit
Eternal gratitude to CarrierII & AlmightyHydra for sorting this problem for me!!!

Thanks ever so much



Repair



Previous Topic: glitches glitches glitches
Next Topic: More tuts please.
Goto Forum:
  


Current Time: Sat Dec 21 00:04:05 MST 2024

Total time taken to generate the page: 0.01150 seconds