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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-16-10, 10:52 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
What programs and setting are ye guys using to create a .dds file from scratch.
I have been messing about in Photoshop and Gimp and creating a 512x512 RGB/8 bit image, on this I place a simple dial pic of 128x128 select it as a selection and create an alpha channel from it.
Alpha looks good (Dial is solid white - Background Solid Black).
Save it to .dds from within both programmers an a DXT3 no mipmaps.
Now Going into the editor and bringing up a page e.g Page TDC and selecting a dial face I can import an image from other .dds files no problem but as soon as I try to crop the image from my file the Editor crashes.
I've been trying this for 3 days solid and can't get any further.
I really want to create my own .dds files rather that using other peoples from mods or from stock images with SH5.

Any suggestion's. Its most likely something I'm doing wrong creating the image. Either with the attributes of the image or the settings when exporting to .dds.
Have you tried using the Microsoft DirectX texture tools from the DirectX SDK (DxTex.exe)? You can use it to create .dds files and to view the alpha channels. See if you can load your created image using that SDK application.
TheDarkWraith is offline   Reply With Quote
Old 03-17-10, 08:42 AM   #2
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
Have you tried using the Microsoft DirectX texture tools from the DirectX SDK (DxTex.exe)? You can use it to create .dds files and to view the alpha channels. See if you can load your created image using that SDK application.

Yes, Yes, Yes finally figured out what the problem was.
My images and Alpha channels were fine all along. The problem was my file location, as I was creating my own images from scratch I had saved them into My Documents folder. SH5 Editor does NOT like this, once saved into the data/Menu/GUI/ folder in the SH5 director it loaded up ok 'No crash'.
Hence the reason it would load dds files from other mods and not mine.

Finally.
reaper7 is offline   Reply With Quote
Old 03-17-10, 05:01 PM   #3
etheberge
Watch Officer
 
Join Date: Nov 2007
Location: Montreal, QC
Posts: 345
Downloads: 614
Uploads: 10
Default

Guys,

I'm trying to find a way to edit/change the location names on the nav map and also the icons representing the contacts (merch, warships, planes,etc). The main idea would be to do something like TMO plot to remove the course tails, contact types, etc.

With SH4 all these used to be DDS files but now it seems all or most of it has been replaced with .shp files. My googling indicates that these are shapefiles, a standard used to draw shapes and polygons with spatial coordinates "http://en.wikipedia.org/wiki/Shapefile".

Code:
1 
TexturaGreyTarget.dds
88
0.0510535 0.935238 0.0
-5.72205e-006 0.935238 0.0
-5.72205e-006 0.571359 0.0
0.0510664 0.571359 0.0
0.0510592 0.694062 0.0
0.195963 0.66889 0.0
0.329418 0.616365 0.0
0.448348 0.539564 0.0
0.549675 0.441557 0.0
0.630332 0.325429 0.0
0.687236 0.194242 0.0
0.717314 0.0510774 0.0
0.571348 0.0510802 0.0
0.571363 -0.0510654 0.0
0.720862 -0.0510654 0.0
0.698918 -0.204501 0.0
0.646484 -0.345749 0.0
0.567108 -0.471264 0.0
0.46433 -0.577504 0.0
0.341703 -0.660914 0.0
0.202766 -0.717956 0.0
0.0510664 -0.745081 0.0
0.0510693 -0.571348 0.0
Does anyone know how to open and edit these types of files? I've found a few editors on line but I couldn't open the SHV files with any of them.

I also looked at the Goblin editor, the mission editor and the menu editor just in case but I didn't find anything related.

Any information would be appreciated.
__________________

11 War Patrols / 56 ships sunk or damaged for 212,022 tons
Zero casualties throughout the war
Scuttled on 8 May, 1945 in Sonderburg Bay, after German surrender
etheberge is offline   Reply With Quote
Old 03-17-10, 05:12 PM   #4
Safe-Keeper
Ocean Warrior
 
Join Date: Dec 2005
Location: Norway
Posts: 3,231
Downloads: 11
Uploads: 0
Default

Okay, I don't know what I'm doing wrong, but this is all I get:

Running XP, with skin reverted to Windows standard, and I know I've edited the main.cfg file because I've checked twenty times by now. Is it important which folder I isntall the game to? Because my install is in D:\Ubisoft\Silent Hunter 5\data\Cfg.

Either way, my "Developing" entry looks like this:
[DEVELOPING]
Modding=Yes
MenuEditor=Yes
DebugScripts=Yes
I'm an expert at missing tiny little things, so please point out to me what I've managed to overlook this time.
Safe-Keeper is offline   Reply With Quote
Old 03-17-10, 05:15 PM   #5
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,147
Downloads: 38
Uploads: 0
Default

Quote:
Originally Posted by Safe-Keeper View Post
Okay, I don't know what I'm doing wrong, but this is all I get:

Running XP, with skin reverted to Windows standard, and I know I've edited the main.cfg file because I've checked twenty times by now. Is it important which folder I isntall the game to? Because my install is in D:\Ubisoft\Silent Hunter 5\data\Cfg.

Either way, my "Developing" entry looks like this:
[DEVELOPING]
Modding=Yes
MenuEditor=Yes
DebugScripts=Yes
Done both main cfgs ?
My documents\SH5 AND Data\Cfg

And game has to load fully before available
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 03-17-10, 05:24 PM   #6
Safe-Keeper
Ocean Warrior
 
Join Date: Dec 2005
Location: Norway
Posts: 3,231
Downloads: 11
Uploads: 0
Default

There's two of them?

Right, see what I mean? Thank you for pointing that out to me, anyhow.
Safe-Keeper is offline   Reply With Quote
Old 03-17-10, 05:14 PM   #7
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,147
Downloads: 38
Uploads: 0
Default

When the tails were removed in SH3 it was using either the Contline or Dashline tgas
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 04:09 AM.


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