SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-03-07, 11:46 PM   #1
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default Button Mod Help

I am working on a mod that gives extra command buttons on the Orders Bar
Ive come accross a problem converting back into the dds format.

Ill explain what ive done and hope someone can help me out


Ive taken the TGA fille for the orders buttons
using the dds converter ive changed it to a bitmap
ive added new icons using ms paint as an editor
Ive converted the bitmap into a TGA and DDS file then saved in the correct folder

Now it all seems to work except for one thing
all the icons appear but instead of being transparent and showing the button colour , green or yellow they are black.
I still get the icons detail in grey and you can see the button colour , green or yellow , as a thin boarder around the outside.

Can anybody shed some light on what Im missing in the editing procedure.
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-03-07, 11:53 PM   #2
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by Stew U-582
I am working on a mod that gives extra command buttons on the Orders Bar
Ive come accross a problem converting back into the dds format.

Ill explain what ive done and hope someone can help me out


Ive taken the TGA fille for the orders buttons
using the dds converter ive changed it to a bitmap
ive added new icons using ms paint as an editor
Ive converted the bitmap into a TGA and DDS file then saved in the correct folder

Now it all seems to work except for one thing
all the icons appear but instead of being transparent and showing the button colour , green or yellow they are black.
I still get the icons detail in grey and you can see the button colour , green or yellow , as a thin boarder around the outside.

Can anybody shed some light on what Im missing in the editing procedure.
Could you upload the file somewhere, I could have a look at it. Also PM if you want.
__________________
CaptainCox is offline   Reply With Quote
Old 06-04-07, 12:03 AM   #3
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

Quote:
Could you upload the file somewhere, I could have a look at it. Also PM if you want.

I cant seem to at the moment file front is all screwed up and I cant upload any photo's
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-04-07, 12:06 AM   #4
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by Stew U-582
Quote:
Could you upload the file somewhere, I could have a look at it. Also PM if you want.

I cant seem to at the moment file front is all screwed up and I cant upload any photo's
:p tricky then hey But I suspect it could have something to do with the alpha channel...or use http://www.mediafire.com/
Its almost as good as filefront.

Edit: just checked FF my end, seems to work fine here.
__________________
CaptainCox is offline   Reply With Quote
Old 06-04-07, 12:11 AM   #5
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

Ok I looked at the file hosting and created an account,

this should link to a screenshot

http://www.mediafire.com/imageview.p...mkwmuy&thumb=4
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-04-07, 12:13 AM   #6
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Yea got it. Will have a look at the original file...just a min
__________________
CaptainCox is offline   Reply With Quote
Old 06-04-07, 12:16 AM   #7
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

What I can see that file uses the Alpha channel. Did you manage to work with the alpha using MS Paint...I think not as that prog don't have that function or?
__________________
CaptainCox is offline   Reply With Quote
Old 06-04-07, 12:19 AM   #8
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

RGB Channels (Colors)


Alpha Channels
__________________
CaptainCox is offline   Reply With Quote
Old 06-04-07, 12:21 AM   #9
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

Your over my head allready.
I dont know what an alpha ch. is.

I converted the DDS file in sh4 to a bitmap then used windows paint to edit it
then changed back to dds.
when I opened it in paint all the backgrounds were black , i imagine they are ment to be transparent.

So im using the wrong editor i spose

If this is too complicated dont worry about it , im not a garphics expert and i was just tinkering.
But if im on yhe right track id love some advice
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-04-07, 12:23 AM   #10
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

I see now,

is there a progarm to edit the channels seperatly
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-04-07, 12:25 AM   #11
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Ok I show you something.
http://www.subsim.com/radioroom/showthread.php?t=112868
In this case its about the transparency. But I think if you simply delete the Alpha ( I think that happened in your case, not 100 % here but) you might end up with it loosing the color. The best would be if you upload that DDS image you worked on to
http://www.mediafire.com/ Zipped of course and I could have a look at it, don't take more then 3 min to fix I think. Well there is a free prog called GIMP
Its almost as good as Photoshop, check it out!
http://www.gimp.org/
__________________
CaptainCox is offline   Reply With Quote
Old 06-04-07, 12:29 AM   #12
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

Ok ill get organised and finish making the new icons

its a wip at the moment

then ill upload what ive done.

Thanks for all your help
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-04-07, 12:31 AM   #13
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

If you chose to try out GIMP you might need this
http://registry.gimp.org/plugin?id=4816
or
http://www.utzone.de/include.php?pat...contentid=4069
Its a DDS plug in for it, then you wont need to convert to another format etc.

Hope it works out
__________________
CaptainCox is offline   Reply With Quote
Old 06-04-07, 04:26 AM   #14
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

ive just downloaded the gimp software so ill give it a go
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 06-04-07, 04:54 AM   #15
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

ok got the gimp installed,

now im downloading the help files

a bit more complicated that the old Paint

Thankyou Captain Cox , again
for all your help.
Ive now got the correct tools to do some good modding
so I wont be bothering you for a while ,
I think it will take some time to work all this new software out.

thanks
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.