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 02-08-11, 10:42 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Akula4745 View Post
TDW - I must be the only one using them because no one else has ever mentioned it near as I can tell... but the rudder angle indicator (American version) is upside down (inverted). I swapped the German rudder angle indicator onto my American dials to fix my own... but you might want to change it in your files.

American dials:
can you send me the revised files and I'll update the mod
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 01:45 AM   #2
Akula4745
Convicted Ship Killer
 
Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 374
Uploads: 1
Default

Quote:
Originally Posted by TheDarkWraith View Post
can you send me the revised files and I'll update the mod
Will do, TDW... its as good as on its way.
__________________
Akula4745



"If you sit by the river long enough... the body of your enemy will float by -- SunTzu"
Akula4745 is offline   Reply With Quote
Old 02-12-11, 02:35 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

this may not prove interesting to about 99% of you but I did find a way to manipulate menu items in C# Basically anything that you have access to in the Script Editor can be accessible in C#, C++, Visual Basic, etc. All you have to do is add a reference to the ScriptManagerWrappers.dll file to your project

Once you've done that you can pass ANY of those items to your application and perform work on them

This is great because now one can hide all their code in a .dll file so no one with prying eyes can look it over to see how you did something Code protection, it's a great thing
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 03:44 AM   #4
panosrxo
Planesman
 
Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
this may not prove interesting to about 99% of you but I did find a way to manipulate menu items in C# Basically anything that you have access to in the Script Editor can be accessible in C#, C++, Visual Basic, etc. All you have to do is add a reference to the ScriptManagerWrappers.dll file to your project

Once you've done that you can pass ANY of those items to your application and perform work on them

This is great because now one can hide all their code in a .dll file so no one with prying eyes can look it over to see how you did something Code protection, it's a great thing
Plus it is going to be faster right?

Would it be possible to convert the whole game? Eliminate python? (Thats just a theoretical question)
panosrxo is offline   Reply With Quote
Old 02-12-11, 07:46 AM   #5
Stormfly
Serial Port Protector
 
Stormfly's Avatar
 
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
Default

Quote:
Originally Posted by panosrxo View Post
Plus it is going to be faster right?

Would it be possible to convert the whole game? Eliminate python? (Thats just a theoretical question)
nice would also be accessing the sub engine / physics using external code like A2A Simulation did with their new ACCUSIM Spitfire for FSX
__________________
Stormy......

Stormfly is offline   Reply With Quote
Old 02-12-11, 12:23 PM   #6
HUNterkarabiner
Watch
 
Join Date: Jan 2010
Location: Hungary
Posts: 17
Downloads: 103
Uploads: 0
hi!
Torpedo door opening problem is the proposal? I have not noticed, maybe?
HUNterkarabiner is offline   Reply With Quote
Old 02-12-11, 12:27 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by panosrxo View Post
Plus it is going to be faster right?

Would it be possible to convert the whole game? Eliminate python? (Thats just a theoretical question)
well I'm going to convert as much of the code I wrote as possible into .dlls so that 1) game loads faster and 2) no one can copy it

Finally my ideas will be safe and I won't have to worry about others 'stealing' it This last point is especially important with the new finds I made!

Successfully subscribed to game events in C# code now Wow, this is whole new world opening up.....
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 12:38 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

so here's something I've done that is pretty cool:

I took the high precision timer code that I wrote in Python, converted it to C#, subscribed to the game's TimeCompressionChanged event (so that the high precision timer can update itself with the current TC level) in the C# code (), had the high precision timer start a new thread to continuously update itself at 10ms intervals (so that I don't have to rely on the game's Animation timer which is very unstable).....result: a completely autonomous high precision timer completely independent from the game now THIS ROCKS!

SOAN has been converted to a .dll
The radio messages feature is being converted to a .dll to protect new features I'm adding to it at a later date
I made a new .dll that encloses all my file utils for the game
I made a new .dll that encloses all my utils for the game
I made a new .dll that allows new sounds to be added to the game without registering with Sh.sdl (TDWSound.dll)
I made a new .dll that allows the capturing of mouse parameters (buttons pushed, scroll wheel moved, mouse position, etc.) (TDWMouse.dll)

Things are starting to get really interesting now......
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 12:46 PM   #9
panosrxo
Planesman
 
Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
Default

You are creating a whole new game. You should consider a career in game development.
panosrxo is offline   Reply With Quote
Old 02-12-11, 03:14 PM   #10
marleymen
Planesman
 
Join Date: Apr 2005
Location: Con dos cojones, ESPAÑA
Posts: 192
Downloads: 126
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
so here's something I've done that is pretty cool:

I took the high precision timer code that I wrote in Python, converted it to C#, subscribed to the game's TimeCompressionChanged event (so that the high precision timer can update itself with the current TC level) in the C# code (), had the high precision timer start a new thread to continuously update itself at 10ms intervals (so that I don't have to rely on the game's Animation timer which is very unstable).....result: a completely autonomous high precision timer completely independent from the game now THIS ROCKS!

SOAN has been converted to a .dll
The radio messages feature is being converted to a .dll to protect new features I'm adding to it at a later date
I made a new .dll that encloses all my file utils for the game
I made a new .dll that encloses all my utils for the game
I made a new .dll that allows new sounds to be added to the game without registering with Sh.sdl (TDWSound.dll)
I made a new .dll that allows the capturing of mouse parameters (buttons pushed, scroll wheel moved, mouse position, etc.) (TDWMouse.dll)

Things are starting to get really interesting now......
I have 1 question. About that .dll that allows new sounds to be added, Can someone that it´s not you (because noone can see the .dll code) add new sounds easily?

I say because of this MOD: Stormy´s DBSM Collection.

If no one but you can add more sounds to the game you should work togheter with Stormfly to add (battlestations, radiosounds, etc)

Thanks and sorry for my bad english TDW, maybe my grammar is very bad and doesn´t understand anything.
marleymen is offline   Reply With Quote
Old 02-12-11, 06:42 PM   #11
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

any possibility to have the compass heading box display when the curser is over the compass like it happens on the heading bar ?
THE_MASK is offline   Reply With Quote
Old 02-12-11, 08:28 PM   #12
7thSeal
Samurai Navy
 
Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I made a new .dll that allows new sounds to be added to the game without registering with Sh.sdl (TDWSound.dll)
I made a new .dll that allows the capturing of mouse parameters (buttons pushed, scroll wheel moved, mouse position, etc.) (TDWMouse.dll)

Things are starting to get really interesting now......
Does this mean that we'll likely have a working volume knob for the sonar soon?
7thSeal is offline   Reply With Quote
Old 02-14-11, 10:29 AM   #13
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
so here's something I've done that is pretty cool:

I took the high precision timer code that I wrote in Python, converted it to C#, subscribed to the game's TimeCompressionChanged event (so that the high precision timer can update itself with the current TC level) in the C# code (), had the high precision timer start a new thread to continuously update itself at 10ms intervals (so that I don't have to rely on the game's Animation timer which is very unstable).....result: a completely autonomous high precision timer completely independent from the game now THIS ROCKS!

SOAN has been converted to a .dll
The radio messages feature is being converted to a .dll to protect new features I'm adding to it at a later date
I made a new .dll that encloses all my file utils for the game
I made a new .dll that encloses all my utils for the game
I made a new .dll that allows new sounds to be added to the game without registering with Sh.sdl (TDWSound.dll)
I made a new .dll that allows the capturing of mouse parameters (buttons pushed, scroll wheel moved, mouse position, etc.) (TDWMouse.dll)

Things are starting to get really interesting now......
sounds promising, tdw!!! great stuff.

for all your nice work, you should open single threads. as i see now, here are 4 mods, or more in one thread. hard to scroll through all the pages, to know which is the newest stuff from you
__________________


urfisch is offline   Reply With Quote
Old 02-12-11, 01:24 PM   #14
Silent Steel
Sea Lord
 
Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
Mayday!

Hi mates
Up to now SH5 has thanks to TDW just become more and more immersive and running better and better but now I've run into something strange.

As soon as I order "scope depth", or any other depth, I get:

"Runtime Error"
"This application has requested the Runtime to terminate it in an unusual way"

That's all it says.

I have updated Java and I have run every available anti-virus software I have but nothing was to be found there...

Maybe it isn't related to SH5 but something completely different.

I'm currently running NewUIs_TDC_6_3_7_ByTheDarkWraith
OS Windows7 64 bits

Has anyone of you an idea why this happens and maybe a suggestion what to do?



//
Silent Steel is offline   Reply With Quote
Old 02-12-11, 01:54 PM   #15
naights
Sparky
 
Join Date: Mar 2008
Location: Spain
Posts: 154
Downloads: 384
Uploads: 7
Default

TDW = SHV GOD
naights is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 02:23 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.