SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Map Colors (https://www.subsim.com/radioroom/showthread.php?t=186996)

Hans Witteman 08-24-11 10:44 PM

Hi mate,

4 but with German text :Kaleun_Salute:

Best regards Hans

makman94 08-25-11 03:05 AM

Quote:

Originally Posted by TheDarkWraith (Post 1735815)
almost complete:

............

If you double click the values under red, green, or blue you can adjust the value (possible values of 0-255). Gradient and map will be updated to show change. Here you can see I adjusted the Red value for Index 4 to 255. Notice the current gradient and map.

You can pan map with mouse.
Zoom/unzoom with keyboard (going to change to mousewheel)

Have to add/code in ability to save changes
You'll have the ability to save as a different file so you can scroll through different gradients and see what they look like without having to enter the game.

Works with SH5 also (originally made for SH5 but I ported it over so it can be used with SH3)
:|\\

fantastic work TDW ! :up:
would we be able (with your tool) to SAVE the changes DIRECTLY to terain.act file (and not only to a gradient image) ? saving the changes only to a gradient image will help in sh3 only for viewing the colors (through your tool) but in order to see these colors in game we have to save these colors DIRECTLY to terain.act file !
you think that is possible for you to make it save the changes directly to terain.act ?
i mean that the best is to make it able to 'read' the colors from a gradient image(can be worked all colors together through graphics programmes) and to make it able to import these colors from gradient image directly to the terain.act file


Quote:

Originally Posted by Hans Witteman (Post 1735831)
Hi mate,

4 but with German text :Kaleun_Salute:

Best regards Hans

ahoy 'teacher' !! :Kaleun_Salute:

don't worry....text is not a 'problem' at all ,german text will always be availiable

TheDarkWraith 08-25-11 05:20 AM

Quote:

Originally Posted by makman94 (Post 1735903)
fantastic work TDW ! :up:
would we be able (with your tool) to SAVE the changes DIRECTLY to terain.act file (and not only to a gradient image) ? saving the changes only to a gradient image will help in sh3 only for viewing the colors (through your tool) but in order to see these colors in game we have to save these colors DIRECTLY to terain.act file !
you think that is possible for you to make it save the changes directly to terain.act ?

yes it will save changes directly to terrain.act file for SH3 :up: You'll be able to create 'gradient' files for SH3 by creating multiple terrain.act files (terrain1.act, terrain2.act, terrain3.act, etc. and then you can cycle through these by pressing G. These files will be located in the folder where the app is located)

postalbyke 08-25-11 08:06 PM

So we can change the gradient for the water depth, also?

TheDarkWraith 08-25-11 11:22 PM

Quote:

Originally Posted by postalbyke (Post 1736470)
So we can change the gradient for the water depth, also?

If by water depth you mean the colors used for the water on the map then yes. If you are referring to the color of the water when you use external cam then no.

makman94 has a test version of the app. It's not complete yet but it's close (few little logic errors to correct and have to code in the saving of the gradients). Works with SH5 or SH3 :up:

Magic1111 08-26-11 03:22 AM

Quote:

Originally Posted by TheDarkWraith (Post 1735815)
almost complete:
http://www.subsim.com/radioroom/pict...pictureid=4789

If you double click the values under red, green, or blue you can adjust the value (possible values of 0-255). Gradient and map will be updated to show change. Here you can see I adjusted the Red value for Index 4 to 255. Notice the current gradient and map.

You can pan map with mouse.
Zoom/unzoom with keyboard (going to change to mousewheel)

Have to add/code in ability to save changes
You'll have the ability to save as a different file so you can scroll through different gradients and see what they look like without having to enter the game.

Works with SH5 also (originally made for SH5 but I ported it over so it can be used with SH3)
:|\\

Hi !

Can someone please explain me how this tool works and for what this is ? :oops:

I mean, I start the .exe and after loading I see an empty navmap. And now ? :06:

Best regards,
Magic

makman94 08-26-11 03:46 AM

Quote:

Originally Posted by Magic1111 (Post 1736587)
Hi !

Can someone please explain me how this tool works and for what this is ? :oops:

I mean, I start the .exe and after loading I see an empty navmap. And now ? :06:

Best regards,
Magic

hi Magic,

the tool is not ready for sh3 but also is not released yet .

about what .exe are you talking about ?

Magic1111 08-26-11 05:46 AM

Quote:

Originally Posted by makman94 (Post 1736595)
hi Magic,

the tool is not ready for sh3 but also is not released yet .

about what .exe are you talking about ?

Hi makman !

The .exe from this SH5 Thread:

http://174.123.69.202/~subsimc/radio...postcount=7746

Download Link at the end from the post !

But in my opinion it´s the same for SH3, or ? :hmmm:

Best regards,
Magic:salute:

TheDarkWraith 08-26-11 06:43 AM

Quote:

Originally Posted by Magic1111 (Post 1736626)
Hi makman !

The .exe from this SH5 Thread:

http://174.123.69.202/~subsimc/radio...postcount=7746

Download Link at the end from the post !

But in my opinion it´s the same for SH3, or ? :hmmm:

Best regards,
Magic:salute:

I have revised that app to also work with SH3. It's not complete yet but should be soon. makman94 found some issues I need to fix and I also need to let SH3 read .bmp files for the gradients (currently it reads .act files) :up:

TheDarkWraith 08-27-11 12:01 AM

Test version (v0.0.2) of the map viewer/gradient editor ready for public testing: http://www.megaupload.com/?d=CO0PRX7D

:|\\

SquareSteelBar 08-27-11 03:15 AM

THX mate.

Doesn't work for me [OS: WinXP Home SP3]

Error message:

Code:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
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.
Dateiname: System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  bei TheDarkWraith.SilentHunter5.SH5MapViewer.SHGradient..ctor(Device& dv, enumgradienttype gt, Boolean sh5, Boolean useactfile, Boolean showwarnings)
  bei TheDarkWraith.SilentHunter5.SH5MapViewer.SHMap..ctor(ShowInformationDialog sid, Device& d3dd, Control cf, Int32 mw, Int32 mh, Boolean uSH5, Boolean umap1)
  bei TheDarkWraith.SilentHunter5.SH5MapViewer.SH5MapViewer_Shown(Object sender, EventArgs e)
  bei System.Windows.Forms.Form.OnShown(EventArgs e)
  bei System.Windows.Forms.Form.CallShownEvent()
  bei System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
  bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
  bei System.Threading.ExecutionContext.runTryCode(Object userData)
  bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
  bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()

=== Zustandsinformationen vor Bindung ===
LOG: Benutzer = PC\xxxxx
LOG: DisplayName = System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
 (Fully-specified)
LOG: Appbase = file:///D:/Downloads/SHMapViewer_0_0_2_by_TheDarkWraith/
LOG: Ursprünglicher PrivatePath = NULL
Aufruf von Assembly : SHMapViewer, Version=0.0.2.0, Culture=neutral, PublicKeyToken=null.
===
LOG: Diese Bindung startet im default-Load-Kontext.
LOG: Es wurde keine Anwendungskonfigurationsdatei gefunden.
LOG: Die Computerkonfigurationsdatei von C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config wird verwendet.
LOG: Verweis nach der Richtlinie: System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
LOG: Download von neuem URL file:///D:/Downloads/SHMapViewer_0_0_2_by_TheDarkWraith/System.Core.DLL.
LOG: Download von neuem URL file:///D:/Downloads/SHMapViewer_0_0_2_by_TheDarkWraith/System.Core/System.Core.DLL.
LOG: Download von neuem URL file:///D:/Downloads/SHMapViewer_0_0_2_by_TheDarkWraith/System.Core.EXE.
LOG: Download von neuem URL file:///D:/Downloads/SHMapViewer_0_0_2_by_TheDarkWraith/System.Core/System.Core.EXE.



************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3623 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
SHMapViewer
    Assembly-Version: 0.0.2.0.
    Win32-Version: 0.0.2.0.
    CodeBase: file:///D:/Downloads/SHMapViewer_0_0_2_by_TheDarkWraith/SHMapViewer.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3623 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3624 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
Microsoft.DirectX.Direct3D
    Assembly-Version: 1.0.2902.0.
    Win32-Version: 9.05.132.0000.
    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll.
----------------------------------------
Microsoft.DirectX
    Assembly-Version: 1.0.2902.0.
    Win32-Version: 5.04.00.2904.
    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3623 (GDR.050727-3600).
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.3082 (QFE.050727-3000).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.42 (RTM.050727-4200).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

Maybe I need another .NET Framework?




.

makman94 08-27-11 05:09 AM

Same here TDW , doesn't working. unable to see any adjusters or different gradients.bmp or different Terrain.act files

Lucky07 08-27-11 05:37 AM

Pic 2 is so nice !! :yeah::yeah:

TheDarkWraith 08-27-11 10:01 AM

Quote:

Originally Posted by makman94 (Post 1737196)
Same here TDW , doesn't working. unable to see any adjusters or different gradients.bmp or different Terrain.act files

There are no more different .act files. Everything is done using either tgas or SH3's .act file.

Very baffling to me as I have no problems on Win 7 64bit. When asked I can use SH3 or SH5 and I can use the gradients or the .act file :hmmm:

test version 0.0.3: http://www.megaupload.com/?d=2GSORUUP

run the Dbgview app first then the SHMapViewer app. This way I have some debug feedback to see what's going on.

SquareSteelBar 08-27-11 11:13 AM

Doesn't work... :hmmm:

http://img854.imageshack.us/img854/6484/000xu.jpg http://img15.imageshack.us/img15/8517/001wmt.jpg

http://img190.imageshack.us/img190/2243/002kx.jpg http://img809.imageshack.us/img809/6125/003dw.jpg


All times are GMT -5. The time now is 06:41 PM.

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.