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 08-20-12, 04:18 AM   #151
arleeds
Watch
 
Join Date: Aug 2012
Location: Jakarta, Indonesia
Posts: 22
Downloads: 86
Uploads: 0
Default Corrupted Automated File

Hi Guys,
Quick question.. why does all the tutorials in sobers mod list that i put in my mod folder (Trevally's auto script v0.6,Trevally's all tutorial for New UI etc), and enable it using JSGME, shows "Corrupted Automated File" on game play?
Need help please..

thanks in advance..

Solution: unable all mods.. go to silent hunter 5\data\Automation... erase every thing.. go back to JSGME, enable all trevally's auto script, harbour and kiel, tutorials all (OHII/new UI)...

hehehhe...

Last edited by arleeds; 08-20-12 at 07:58 AM.
arleeds is offline   Reply With Quote
Old 08-20-12, 02:54 PM   #152
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by arleeds View Post
Hi Guys,
Quick question.. why does all the tutorials in sobers mod list that i put in my mod folder (Trevally's auto script v0.6,Trevally's all tutorial for New UI etc), and enable it using JSGME, shows "Corrupted Automated File" on game play?
Need help please..

thanks in advance..

Solution: unable all mods.. go to silent hunter 5\data\Automation... erase every thing.. go back to JSGME, enable all trevally's auto script, harbour and kiel, tutorials all (OHII/new UI)...

hehehhe...
Hi arleeds
I am glad you got this fixed and I hope you enjoy the tutorials etc

The reason this happen is when a script is installed that has an error in it. Every script after it will also show as corrupt.
So by deleting all and installing my ones - the error was removed and all scripts could be read by TDWs script engine
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 08-20-12, 07:57 PM   #153
arleeds
Watch
 
Join Date: Aug 2012
Location: Jakarta, Indonesia
Posts: 22
Downloads: 86
Uploads: 0
Default

Quote:
Originally Posted by Trevally. View Post
Hi arleeds
I am glad you got this fixed and I hope you enjoy the tutorials etc

The reason this happen is when a script is installed that has an error in it. Every script after it will also show as corrupt.
So by deleting all and installing my ones - the error was removed and all scripts could be read by TDWs script engine
Hi Trevally,

I'm glad too... oh.. it's WONDERFUL...!!

Sober's mod list (for env mod soup, with out the OHII, wanted to finish the stock ver first) TDW's UI 7.1.0 + Your Scripts from All Tutorials (ver new ui), auto script to harbor and kiel Pilot + Miton's speech recognition New Ui 0.4.1 (english)...

SPECTACULAR GAME PLAY!!!

I could just play your tutorials all day long and forgetting the campaign

Thank you SO MUCH for Your contributions.. You Sir, are a dear asset to this community!!
arleeds is offline   Reply With Quote
Old 02-11-13, 07:17 PM   #154
yooth17
Bilge Rat
 
Join Date: Mar 2008
Posts: 1
Downloads: 25
Uploads: 0
Default

thanks a lot
yooth17 is offline   Reply With Quote
Old 03-08-13, 12:14 AM   #155
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Using the sobers mega mod with this mod . Couple of problems that i have with this mod combo . When the script goes to snorkel depth to do a scope search the view is under water in rough weather , havnt tried in calm weather . The surface cruising speed on search pattern script in a VIIB is 14 knots . Should be 7.5 to be the most fuel efficient maybe . cheers .
THE_MASK is offline   Reply With Quote
Old 03-27-13, 01:50 PM   #156
skip
Helmsman
 
Join Date: Jul 2004
Location: Aberdeen Scotland
Posts: 108
Downloads: 379
Uploads: 0
Default

Coming across a problem when I load a saved game and click on the scripts icon to open the scrips box no scripts show in the box.

Any ideas how to get em back with the current save game.

thanks
skip is offline   Reply With Quote
Old 03-27-13, 01:57 PM   #157
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by skip View Post
Coming across a problem when I load a saved game and click on the scripts icon to open the scrips box no scripts show in the box.

Any ideas how to get em back with the current save game.

thanks
You have a corrupted script or incompatible script somewhere then. That's the only reason none would show
TheDarkWraith is offline   Reply With Quote
Old 03-27-13, 04:05 PM   #158
skip
Helmsman
 
Join Date: Jul 2004
Location: Aberdeen Scotland
Posts: 108
Downloads: 379
Uploads: 0
Default

Funny though if I delete those .TDW files and restart a new campaign they show up again sometimes.. weird.


DarkWraith would I be best to just remove all mods, reinstall and start a new career ? Or is there anyway to just reinstall the scripts.

thanks
skip is offline   Reply With Quote
Old 03-30-13, 10:58 AM   #159
Pampero
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Hello and thanks Trevally for these automations, I find them very useful.

Hope you don't mind if I ask some questions. I'm making a small automation for the observation scope, the objective is to make a full turn with the scope to check the surface in a continuous and automatic sweep for different angular speeds.

Here is one example:

[AS]
Scope check. 3deg/sec.
[DESCRIPTION]
Make a full turn of observation periscope at 3 degrees per second. One full turn in 2 minutes.
[DESCRIPTION_END]
[CATEGORY]
Search
[SUBCATEGORY]
Scope Search
[COMMANDS]
Rise_whole_obs_periscope,0,0,0,0,0,0,1
Activate_Scope_Station,1,0,0,0,0,0,1
Sweep_Scope,1,0,360,120,0,0,4
Leave_Scope_Station,0,0,0,0,0,0,0.5
Lower_whole_obs_periscope,0,0,0,0,0,0,0
[COMMANDS_END]

My questions are:

Time t before next action starts when the current action is finished or when it starts? If it is the last I guess I have to let more time to periscope to fully raise.

Parameter c in Sweep Scope is determined by 9 digits in binary, I guess bit 0 corresponds to the 2^0 digit and bit 8 2^8 digit. Am I right or its the opposite?

Finally, what program may I use to save the file properly? I'm using notepad for writing it but I guess I won't be able to make it work with it.

Thanks in advance for your time.
  Reply With Quote
Old 03-30-13, 11:36 AM   #160
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Pampero View Post
Hello and thanks Trevally for these automations, I find them very useful.

Hope you don't mind if I ask some questions. I'm making a small automation for the observation scope, the objective is to make a full turn with the scope to check the surface in a continuous and automatic sweep for different angular speeds.

Here is one example:

[AS]
Scope check. 3deg/sec.
[DESCRIPTION]
Make a full turn of observation periscope at 3 degrees per second. One full turn in 2 minutes.
[DESCRIPTION_END]
[CATEGORY]
Search
[SUBCATEGORY]
Scope Search
[COMMANDS]
Rise_whole_obs_periscope,0,0,0,0,0,0,1
Activate_Scope_Station,1,0,0,0,0,0,1
Sweep_Scope,1,0,360,120,0,0,4
Leave_Scope_Station,0,0,0,0,0,0,0.5
Lower_whole_obs_periscope,0,0,0,0,0,0,0
[COMMANDS_END]

My questions are:

Time t before next action starts when the current action is finished or when it starts? If it is the last I guess I have to let more time to periscope to fully raise.

Parameter c in Sweep Scope is determined by 9 digits in binary, I guess bit 0 corresponds to the 2^0 digit and bit 8 2^8 digit. Am I right or its the opposite?

Finally, what program may I use to save the file properly? I'm using notepad for writing it but I guess I won't be able to make it work with it.

Thanks in advance for your time.
In the \Automation folder there is a txt file (TDW_Automation.txt) that details all the commands and how to make Automation files.

To answer your question about parameter C I copied this from that txt file:

; Sweep_Scope,x,y,a,b,c,0,t - sweep the scope from a start of y degrees to an end of a degrees. Time to sweep from y to a determined by b. Next command will be issued after time t (time t doesn't start until sweeping complete). x = the scope station number (0=attack, 1=obs, 2=UZO). c is a decimal number representing the bits set for the following options (use windows calc to input binary number then convert to decimal):
; this function will wait for scope station to be visible (will wait for 15 seconds and if not visible then a skip command will be issued)
; bit 0 = lock the contact on contact spotted (if bit 2,3,4, or 5 isn't set then contact will be immediately unlocked)
; bit 1 = set current heading for contact on contact spotted
; bit 2 = stop sweep on contact spotted
; bit 3 = stop sweep and follow target on contact spotted
; bit 4 = pause sweep on contact spotted
; bit 5 = pause sweep and follow target on contact spotted
; bit 6 = pause game (and either also pause sweep) on contact spotted
; bit 7 = abort script on contact spotted
; bit 8 = inform user that contact was detected

It's great to see someone else writing automation scripts

If you have any ideas on how to improve Automation or ideas for new commands please post them in my UIs thread
TheDarkWraith is offline   Reply With Quote
Old 03-30-13, 06:21 PM   #161
Pampero
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Thanks TheDarkWraith, I'm reading that document, it is a great help; now I'm getting the automation working, but I have to look on the options provided by parameter c more carefully.
  Reply With Quote
Old 03-31-13, 03:31 AM   #162
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Hi Pampero

Yes - its good to see others using this great automation tool
If you have any questions - just ask

Quote:
Time t before next action starts when the current action is finished or when it starts? If it is the last I guess I have to let more time to periscope to fully raise.
Yes - the t time is a wait before reading the next command line. So factor in the scope raise time before starting your search.

Quote:
Finally, what program may I use to save the file properly? I'm using notepad for writing it but I guess I won't be able to make it work with it.
I use notepad and sometimes notepad++
Save your file and then rename to ***.SHA
This SHA file then into the automation folder in your SH5

__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-31-13, 09:28 PM   #163
Pampero
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Thanks for the help! I'm testing the scripts right now.
  Reply With Quote
Old 09-22-13, 03:58 PM   #164
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Automation scripts
So I downloaded the UI updates and your automation scripts. But I cannot figure out how to USE your scripts. I've seen people use a UI for it to run the scripts but for the life of me I cannot find out how to launch it.

So how do I launch the script execution engine???
Hi Michael

To start the scripts - see these guides
Harbour Pilot http://www.subsim.com/radioroom/show...&postcount=201
TDC Helper http://www.subsim.com/radioroom/show...15&postcount=2
Tutorials http://www.subsim.com/radioroom/show...94&postcount=2
Auto Scripts Guide by Ruby http://forums-de.ubi.com/showthread....l=1#post730108


Code:
 MAGNUM OPUS -> AUTOMATION / AUTOPILOT


Automations are steps that can be executed automatically. Whether it is a simple turning maneuvers, navigation routes, chains of command, tutorial or auxiliary port exit, basically irrelevant.

Magnum Opus in various automations are already integrated. Also own automation scripts / autopilot can be created. The automation table, you will access the right toolbar. (Hotkey Ctrl + A)
 
To obtain a better overview of the automated systems, these were in

• Categories
• Sub-Categories

  divided.

  Under "available scripts" which is currently available automated systems are displayed.
  Activated activated automation scripts under the display.

  By background color is signaled if the script is started or not. An automation can only be started if this previously by LMB (left mouse button) is selected. A selection can be seen with an additional black border. Automation is deactivated by LMT.

  Green background = Automation is started
  Red background = automation is stopped
  Blue background = Automation has been paused / Pause



 

 

 

In "Silent Hunter 5 \ data \ navigation", the scripts for the autopilot to be stored.
  Ex enema or departs from a port!

  Under Silent Hunter 5 \ data \ Automation script files for automated systems are stored.

  Under Silent Hunter 5 \ data \ script files for the tutorials automations are stored.
  The tutorials can be accessed without problems during a mission at any time. Just try it ...
  However, it is recommended that the tutorials on how to MAGNUM OPUS -> How to start a tutorial described to start.

  In the documentation directory of TheDarkWraith are included on how to create automation itself.


  - TDW_Navigation.txt
  - TDW_Automation.txt
  - TDW_Tutorial.txt

IMPORTANT: Port automations for leakage should always be at the starting point (bunker) are started!


  Greeting Ruby
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 09-27-13, 07:23 AM   #165
Kroenen
Swabbie
 
Join Date: Sep 2013
Posts: 11
Downloads: 12
Uploads: 0
Default

Quote:
Originally Posted by arleeds View Post
Solution: unable all mods.. go to silent hunter 5\data\Automation... erase every thing.. go back to JSGME, enable all trevally's auto script, harbour and kiel, tutorials all (OHII/new UI)...

hehehhe...
Thanks for the info. I am suffering the very same issue, and followed these exact steps to try and fix it, however...now the list of tutorials shows 'missing' or corrupt automation file.

I tried removing all mods, and adding the Trevally ones first, but when I add in the rest of the mods (using volodya61 mega pack), it still tells me they're corrupt.

Any ideas?
Kroenen 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 04:10 AM.


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.