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

View Poll Results: Which colors for map ,do you prefer ?
i like the colors at pic 1 13 24.53%
i like the colors at pic 2 11 20.75%
i like the colors at pic 3 20 37.74%
i like the colors at pic 4 20 37.74%
Multiple Choice Poll. Voters: 53. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 08-27-11, 12:02 PM   #31
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

interesting...

test version v0.0.4: http://www.megaupload.com/?d=3A6F25NA

now I should see why it's not creating the gradients

run the Dbgview app first then the SHMapViewer app. This way I have some debug feedback to see what's going on. Send me output of Dbgview app if doesn't work.
TheDarkWraith is offline   Reply With Quote
Old 08-27-11, 12:13 PM   #32
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
...run the Dbgview app first then the SHMapViewer app...
I did that [v0.0.3] but nothing happened [no output]...

____________________________

Same with v0.0.4 - no luck
SquareSteelBar is offline   Reply With Quote
Old 08-27-11, 12:17 PM   #33
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SquareSteelBar View Post
I did that [v0.0.3] but nothing happened [no output]...
use the new version 0.0.4 and under Dbgview-->Capture ensure:
- Capture Win32 is checked
- Pass-Through is checked
- Capture events is checked
TheDarkWraith is offline   Reply With Quote
Old 08-27-11, 12:21 PM   #34
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Capture Win32 wasn't checked. Now DebugView works at least.

Log file for v0.0.4:

Code:
00000000    0.00000000    [3992] workingfolder=D:\Downloads\SHMapViewer_0_0_4_by_TheDarkWraith     
00000001    0.03987956    [3992] DirectX initialized     
00000002    2.45530152    [3992] using Silent Hunter III     
00000003    2.45592070    [3992] 32bit Key found. Value='W:\SilentHunterIII\'     
00000004    2.45594144    [3992] \ found as last character in install path from registry!     
00000005    2.45596075    [3992] InstallPath=W:\SilentHunterIII     
00000006    3.41812611    [3992] using Map1     
00000007    3.41866851    [3992] gradient filename=gradient.tga     
00000008    3.41868949    [3992] creating the map     
00000009    3.42153192    [3992] gradientx.tga's were found     
00000010    4.37000322    [3992] map: creating gradients     
00000011    4.37176704    [3992] Error creating the map gradient     
00000012    5.26326323    [3992] Error creating the editing gradient     
00000013    5.71093035    [3992] Error creating the selected gradient     
00000014    6.51549768    [3992] Unable to generate gradients     
00000015    7.38776684    [3992] failed to create map     
00000016    7.38811398    [3992] closing     
00000017    7.38871384    [3992] destroying map
SquareSteelBar is offline   Reply With Quote
Old 08-27-11, 12:49 PM   #35
HW3
Navy Seal
 
Join Date: Apr 2005
Location: Gresham Oregon
Posts: 6,551
Downloads: 487
Uploads: 0


Default

When I tried it I noticed the install path listed for SH3, was not the same as my SH3 install path.
__________________


"Some ships are designed to sink...others require our assistance." Nathan Zelk
HW3 is offline   Reply With Quote
Old 08-27-11, 12:55 PM   #36
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SquareSteelBar View Post
Capture Win32 wasn't checked. Now DebugView works at least.

Log file for v0.0.4:

Code:
00000000    0.00000000    [3992] workingfolder=D:\Downloads\SHMapViewer_0_0_4_by_TheDarkWraith     
00000001    0.03987956    [3992] DirectX initialized     
00000002    2.45530152    [3992] using Silent Hunter III     
00000003    2.45592070    [3992] 32bit Key found. Value='W:\SilentHunterIII\'     
00000004    2.45594144    [3992] \ found as last character in install path from registry!     
00000005    2.45596075    [3992] InstallPath=W:\SilentHunterIII     
00000006    3.41812611    [3992] using Map1     
00000007    3.41866851    [3992] gradient filename=gradient.tga     
00000008    3.41868949    [3992] creating the map     
00000009    3.42153192    [3992] gradientx.tga's were found     
00000010    4.37000322    [3992] map: creating gradients     
00000011    4.37176704    [3992] Error creating the map gradient     
00000012    5.26326323    [3992] Error creating the editing gradient     
00000013    5.71093035    [3992] Error creating the selected gradient     
00000014    6.51549768    [3992] Unable to generate gradients     
00000015    7.38776684    [3992] failed to create map     
00000016    7.38811398    [3992] closing     
00000017    7.38871384    [3992] destroying map
thanks for taking the time to test and help me figure out why some users are having problems

test version 0.0.5: http://www.megaupload.com/?d=W0N9I8WM

Still trying to figure out why can't create gradients for some Hopefully this sheds more light on it
TheDarkWraith is offline   Reply With Quote
Old 08-27-11, 12:56 PM   #37
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by HW3
When I tried it I noticed the install path listed for SH3, was not the same as my SH3 install path.
Maybe there's an entry of an older SH3 installation in registry?

Look for this hive key:

HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft\Silent Hunter III
InstalledPath...... REG_SZ -> ????
Path ................ REG_SZ -> ????


???? = entries of an old installation ?


Did you move or copy the SH3 installation folder to a different path?



.

Last edited by SquareSteelBar; 08-27-11 at 01:08 PM.
SquareSteelBar is offline   Reply With Quote
Old 08-27-11, 12:59 PM   #38
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by HW3 View Post
When I tried it I noticed the install path listed for SH3, was not the same as my SH3 install path.
I'm reading the registry to get this info. What does your registry key say the install path is? I'm looking for this key:

HKEY_LOCAL_MACHINE\Software\Ubisoft\Silent Hunter III

could also be:

HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ubisoft\Si lent Hunter III

and I'm looking for the value of InstalledPath
TheDarkWraith is offline   Reply With Quote
Old 08-27-11, 01:04 PM   #39
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Two fewer lines in v0.0.5:

Code:
00000000    0.00000000    [2296] workingfolder=D:\Downloads\SHMapViewer_0_0_5_by_TheDarkWraith     
00000001    0.03920336    [2296] DirectX initialized     
00000002    2.21269226    [2296] using Silent Hunter III     
00000003    2.21332407    [2296] 32bit Key found. Value='W:\SilentHunterIII\'     
00000004    2.21334338    [2296] \ found as last character in install path from registry!     
00000005    2.21336269    [2296] InstallPath=W:\SilentHunterIII     
00000006    2.78954148    [2296] using Map1     
00000007    2.79008770    [2296] gradient filename=gradient.tga     
00000008    2.79010868    [2296] creating the map     
00000009    2.79309416    [2296] 6 gradientx.tga's were found     
00000010    3.56502461    [2296] map: creating gradients     
00000011    3.56692958    [2296] Error creating the map gradient     
00000012    4.70796585    [2296] Unable to generate gradients     
00000013    5.68955231    [2296] failed to create map     
00000014    5.68991041    [2296] closing     
00000015    5.69051790    [2296] destroying map
SquareSteelBar is offline   Reply With Quote
Old 08-27-11, 01:20 PM   #40
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SquareSteelBar View Post
Two fewer lines in v0.0.5:

Code:
00000000    0.00000000    [2296] workingfolder=D:\Downloads\SHMapViewer_0_0_5_by_TheDarkWraith     
00000001    0.03920336    [2296] DirectX initialized     
00000002    2.21269226    [2296] using Silent Hunter III     
00000003    2.21332407    [2296] 32bit Key found. Value='W:\SilentHunterIII\'     
00000004    2.21334338    [2296] \ found as last character in install path from registry!     
00000005    2.21336269    [2296] InstallPath=W:\SilentHunterIII     
00000006    2.78954148    [2296] using Map1     
00000007    2.79008770    [2296] gradient filename=gradient.tga     
00000008    2.79010868    [2296] creating the map     
00000009    2.79309416    [2296] 6 gradientx.tga's were found     
00000010    3.56502461    [2296] map: creating gradients     
00000011    3.56692958    [2296] Error creating the map gradient     
00000012    4.70796585    [2296] Unable to generate gradients     
00000013    5.68955231    [2296] failed to create map     
00000014    5.68991041    [2296] closing     
00000015    5.69051790    [2296] destroying map
okay this finally tells me something.
you see the 'map: creating gradients' which is good. The next entry should be 'Gradient: creating gradient'. This entry is the first thing the class's constructor does but since it doesn't show up then during class initialization it's failing (variable initialization)
What version of DirectX do you have installed on your computer? What OS are you using?

test version 0.0.6: http://www.megaupload.com/?d=O624VRC2

this will give me info on the exception being raised when it tries to create the gradients

Gotta love these problems that only some people experience Nature of the beast I guess

Does this app work for anyone here in SH3? I know it works for me but that does me no good.

Last edited by TheDarkWraith; 08-27-11 at 01:31 PM.
TheDarkWraith is offline   Reply With Quote
Old 08-27-11, 01:49 PM   #41
Magic1111
Silent Hunter
 
Join Date: Sep 2008
Location: Germany - Sailing on U-96 in North Atlantic
Posts: 4,518
Downloads: 784
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
Does this app work for anyone here in SH3? I know it works for me but that does me no good.
...I would like to test when anybody answered me my question from post #23 here...

I don´t know furthermore the sense behind this tool, sorry !

For what is it ? What can I do with this tool ? How I see this tool work when I start the game ?

Sorry folks, but what are "gradients" ?

Hope I become a longer clearify, then I will test...!

Best regards,
Magic
__________________
Magic1111 is offline   Reply With Quote
Old 08-27-11, 01:52 PM   #42
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
...What version of DirectX do you have installed on your computer? What OS are you using?...
DirectX 9.0c (4.09.0000.0904) from June 2010
WinXP Home SP3

Code:
00000000    0.00000000    [3056] workingfolder=D:\Downloads\SHMapViewer_0_0_6_by_TheDarkWraith     
00000001    0.04085844    [3056] DirectX initialized     
00000002    1.23838973    [3056] using Silent Hunter III     
00000003    1.23901415    [3056] 32bit Key found. Value='W:\SilentHunterIII\'     
00000004    1.23903477    [3056] \ found as last character in install path from registry!     
00000005    1.23905444    [3056] InstallPath=W:\SilentHunterIII     
00000006    2.09912920    [3056] using Map1     
00000007    2.09968209    [3056] gradient filename=gradient.tga     
00000008    2.09970760    [3056] creating the map     
00000009    2.10310245    [3056] 6 gradientx.tga's were found     
00000010    3.17238021    [3056] map: creating gradients     
00000011    3.23547411    [3056] Error creating the map gradient.     
00000012    3.23547411    [3056]  Exception=System.IO.FileNotFoundException: Die Datei oder Assembly System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.     
00000013    3.23547411    [3056] Dateiname: System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089     
00000014    3.23547411    [3056]    bei TheDarkWraith.SilentHunter5.SH5MapViewer.SHGradient..ctor(String installpath, String workfolder, String fn, String fnextension, Device& dv, enumgradienttype gt, Boolean sh5, Boolean useactfile, Boolean showwarnings)     
00000015    3.23547411    [3056]    bei TheDarkWraith.SilentHunter5.SH5MapViewer.SHMap..ctor(String installpath, String workfolder, String fn, String fnextension, ShowInformationDialog sid, Device& d3dd, Control cf, Int32 mw, Int32 mh, Boolean uSH5, Boolean umap1)     
00000016    3.23547411    [3056]      
00000017    3.23547411    [3056] WRN: Protokollierung der Assemblybindung ist AUS.     
00000018    3.23547411    [3056] Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.     
00000019    3.23547411    [3056] Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.     
00000020    3.23547411    [3056] Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.     
00000021    3.23547411    [3056]      
00000022    3.23547411    [3056] Die Datei oder Assembly System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.     
00000023    12.76314163    [3200] 26   50    
00000024    12.76336098    [3200] 54   78    
00000025    12.76352310    [3200] 78   102    
00000026    12.76367378    [3200] 102   126    
00000027    12.76382351    [3200] 126   150    
00000028    12.76408863    [3200] 150   174    
00000029    12.76424026    [3200] 174   198    
00000030    12.76438999    [3200] 198   222    
00000031    12.76453972    [3200] 222   246    
00000032    12.76475143    [3200] 250   274    
00000033    12.76489449    [3200] 274   298    
00000034    13.04039764    [3200] 250   274    
00000035    13.07571411    [3200] 250   274    
00000036    13.08507347    [3200] 222   246    
00000037    13.11180782    [3200] 222   246    
00000038    13.11268616    [3200] 198   222    
00000039    13.13058472    [3200] 198   222    
00000040    13.13143921    [3200] 174   198    
00000041    13.17606068    [3200] 174   198    
00000042    13.17696857    [3200] 150   174    
00000043    13.22222519    [3200] 150   174    
00000044    13.22309303    [3200] 126   150    
00000045    13.26051903    [3200] 126   150    
00000046    13.26139164    [3200] 102   126    
00000047    13.31892490    [3200] 102   126    
00000048    13.31979942    [3200] 78   102    
00000049    13.39695072    [3200] 78   102    
00000050    13.39783192    [3200] 54   78    
00000051    13.49793148    [3200] 54   78    
00000052    13.52020264    [3200] 26   50    
00000053    13.89844894    [3200] 26   50    
00000054    13.92071152    [3200] 54   78    
00000055    18.25417900    [3200] 54   78    
00000056    28.34757805    [3056] Unable to generate gradients     
00000057    30.67541122    [3056] failed to create map     
00000058    30.67577553    [3056] closing     
00000059    30.67642403    [3056] destroying map
SquareSteelBar is offline   Reply With Quote
Old 08-27-11, 02:04 PM   #43
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magic1111 View Post
...I would like to test when anybody answered me my question from post #23 here...

I don´t know furthermore the sense behind this tool, sorry !

For what is it ? What can I do with this tool ? How I see this tool work when I start the game ?

Sorry folks, but what are "gradients" ?

Hope I become a longer clearify, then I will test...!

Best regards,
Magic
You know the map that shown in game? This lets you change the colors of it. Plain and simple. SH5 uses a .tga file that specifies the gradient (a list of colors in a line) for the map. SH3 uses an .act file to specify them. This will let you make custom gradients and see what they look like before applying them to the SH3 .act file.
TheDarkWraith is offline   Reply With Quote
Old 08-27-11, 02:13 PM   #44
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SquareSteelBar View Post
DirectX 9.0c (4.09.0000.0904) from June 2010
WinXP Home SP3
see if the following files exist on your computer:
C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.dll

C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll

C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3DX.dll

C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.DirectInput.dll
TheDarkWraith is offline   Reply With Quote
Old 08-27-11, 02:29 PM   #45
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Yep, all these files exist.

SquareSteelBar 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 11:25 PM.


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.