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-12-11, 12:23 PM   #6256
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   #6257
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   #6258
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   #6259
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, 12:50 PM   #6260
Paris_England
Soundman
 
Join Date: Aug 2010
Posts: 144
Downloads: 79
Uploads: 0
Default

This is truly amazing! Fantastic work Thanks!
Paris_England is offline   Reply With Quote
Old 02-12-11, 12:52 PM   #6261
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by panosrxo View Post
You are creating a whole new game. You should consider a career in game development.
I've though about it but I like what I do now for a living. This 'game stuff' is just a hobby to kill idle time

The one problem I don't like with Python is that you can't protect your code. Anything you write is visible to anyone which is not good. Python has the ability to compile .py files into .pyc and .dll but the game won't recognise them. So I had to find an alternate route and I finally did. Now I don't have to worry about others stealing/using my work anymore
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 12:56 PM   #6262
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

So you are doing 2 things in the same time: protect your work and make game faster and opend for new interesting improvements?
stoianm is offline   Reply With Quote
Old 02-12-11, 01:03 PM   #6263
panosrxo
Planesman
 
Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I've though about it but I like what I do now for a living. This 'game stuff' is just a hobby to kill idle time

The one problem I don't like with Python is that you can't protect your code. Anything you write is visible to anyone which is not good. Python has the ability to compile .py files into .pyc and .dll but the game won't recognise them. So I had to find an alternate route and I finally did. Now I don't have to worry about others stealing/using my work anymore
I have to agree with you about python and code protection. The good thing is that you have something to start with. Python made modding easier!

One more thing. SH5 uses a version of IronPython. There have been updates to the sdk. Those updates include increases in speed. (http://ironpython.net/) Would it be possible to update the game?? (ironmath, and other python dll?)
panosrxo is offline   Reply With Quote
Old 02-12-11, 01:24 PM   #6264
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   #6265
naights
Sparky
 
Join Date: Mar 2008
Location: Spain
Posts: 154
Downloads: 384
Uploads: 7
Default

TDW = SHV GOD
naights is offline   Reply With Quote
Old 02-12-11, 03:08 PM   #6266
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by panosrxo View Post
One more thing. SH5 uses a version of IronPython. There have been updates to the sdk. Those updates include increases in speed. (http://ironpython.net/) Would it be possible to update the game?? (ironmath, and other python dll?)
Have no idea. Sounds like you need to give a try and see what happens The only way you discover new things is by saying what if I try this.....
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 03:14 PM   #6267
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, 03:20 PM   #6268
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default more precise bearing indicator

Hi tdw,

can you add in yours UIs to have 1 degree scope bearing - i saw that somewhere on the sh4 forum

thanks!
stoianm is offline   Reply With Quote
Old 02-12-11, 04:06 PM   #6269
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by marleymen View Post
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.
Ask Stormfly how easy it is to add new sounds....he has a copy of the new version (as of now) for testing
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 04:07 PM   #6270
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by stoianm View Post
Hi tdw,

can you add in yours UIs to have 1 degree scope bearing - i saw that somewhere on the sh4 forum

thanks!
don't understand
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui


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 10:04 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.