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

Reply
 
Thread Tools Display Modes
Old 08-16-07, 02:04 PM   #1
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default [REL] RadioStationManager V1.0

RadioStationManager
February 15, 2008 : Version 1.2 now available. This version is to squash a bug that caused data in added event entries to be corrupted.


Now available only in the smaller footprint version. Download at Subsim Downloads or at Downunder.net




Purpose : Complete management of the radio station functions of Silent Hunter IV.

It allows the editing/addition/removal of radio stations including scripted events.

Data verification in all fields. This application verifies that the media files specified in the scripted events do exist and therefore eliminates the crash to desktop caused by a missing (or misnamed media file). This app also verifies that all events are in the correct chronological order.

It has a function to work-around the save date/time bug in the scripted events (i.e. no more listening to events that go back to your patrol start date when you restart a game in the middle of a patrol).



Credits

Many thanks to Misfit138 for serving as “guinea pig” and doing testing, and starting the whole process with his idea.

Thanks, too, to JScones for the “real estate” advice and operational advice.

I'd also like to thank the Academy, and all my fans..... oh.. wait... wrong speech

Hi, Mom!


Requirements

Windows XP/Vista?/2000? (not certain about Vista or 2000 and have no way of testing at the moment)
Microsoft .Net Framework 2.0


Limitations

50 Radio Stations
1500 events per station
1 media file per event

Installation


With JSGME : Put the folder RadioStationManager into your MODS folder and enable it with JSGME.
Without JSGME : Place the executable (RadioStationManager.exe) in the same folder as sh4.exe.
Either way, create a shortcut on your desktop for the RadioStationManager.exe file.



If there are any problems, feel free to post here or to email me at the address in the documentation. I hope this app makes your radio experience with SH4 an enjoyable one!



__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.


Last edited by Digital_Trucker; 03-26-09 at 03:41 PM. Reason: New download location
Digital_Trucker is offline   Reply With Quote
Old 08-16-07, 02:59 PM   #2
wovik
Torpedoman
 
Join Date: Mar 2006
Location: Arizona
Posts: 115
Downloads: 272
Uploads: 0
Default

Downloaded and tried this version and it works great.
wovik is offline   Reply With Quote
Old 08-16-07, 05:13 PM   #3
chris455
A-ganger
 
Join Date: Jul 2007
Posts: 71
Downloads: 97
Uploads: 0
Default

Looks like a great mod, but I keep getting an error message "Event date/Time out of sequence; please correct"
Everything looks in sequence to me.
Ideas?
chris455 is offline   Reply With Quote
Old 08-16-07, 05:15 PM   #4
Misfit138
Lieutenant
 
Join Date: Apr 2005
Location: Finland
Posts: 267
Downloads: 80
Uploads: 0
Default

Quote:
Originally Posted by chris455
Looks like a great mod, but I keep getting an error message "Event date/Time out of sequence; please correct"
Everything looks in sequence to me.
Ideas?
This could be pretty much anything. An event in a wrong place or two different events set to happen on excatly same date and time

On which station you get this error?
Misfit138 is offline   Reply With Quote
Old 08-16-07, 05:22 PM   #5
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default

When that error is displayed, the line causing the error should appear at the top of the data grid area for the events. If you scroll up at least one line and look at the dates and times of the events, they should be out of chronological order. Don't forget that the dates are in day, month, year order. After looking at the line above the highlighted line, if they are still in order, please zip the events.ini file that is causing the problem up and email it to the address in the ReadMe pdf and give me the date on the line that is highlighted. I'll try to recreate the problem and correct it.

Edit : Hey, Misfit, you snuck in there while I was typing :rotfl:
__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.

Digital_Trucker is offline   Reply With Quote
Old 08-16-07, 05:29 PM   #6
chris455
A-ganger
 
Join Date: Jul 2007
Posts: 71
Downloads: 97
Uploads: 0
Default

I think I'm getting it on NBC. I will check it out and submit it for your review if I can't figure it out. Thanks, great mod looking forward to using it
chris455 is offline   Reply With Quote
Old 08-16-07, 05:32 PM   #7
Misfit138
Lieutenant
 
Join Date: Apr 2005
Location: Finland
Posts: 267
Downloads: 80
Uploads: 0
Default

Quote:
Originally Posted by Digital_Trucker
Edit : Hey, Misfit, you snuck in there while I was typing :rotfl:
Hey, what can you do if you have no life :p

Quote:
I think I'm getting it on NBC
Umm, which one of those NBC stations?
Misfit138 is offline   Reply With Quote
Old 08-16-07, 06:19 PM   #8
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: The one and only East Coast
Posts: 10,773
Downloads: 946
Uploads: 5


Default

Nice work, great to see this released


RDP
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 08-16-07, 06:41 PM   #9
chris455
A-ganger
 
Join Date: Jul 2007
Posts: 71
Downloads: 97
Uploads: 0
Default

Quote:
I think I'm getting it on NBC
Umm, which one of those NBC stations?[/quote]

I beleive the download was called "Just40sNBC"

I got the problem figured out, this is a great mod.
chris455 is offline   Reply With Quote
Old 08-16-07, 06:22 PM   #10
Bill Nichols
Master of Defense
 
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
Default

Quote:
Originally Posted by Digital_Trucker
When that error is displayed, the line causing the error should appear at the top of the data grid area for the events. If you scroll up at least one line and look at the dates and times of the events, they should be out of chronological order. Don't forget that the dates are in day, month, year order. After looking at the line above the highlighted line, if they are still in order, please zip the events.ini file that is causing the problem up and email it to the address in the ReadMe pdf and give me the date on the line that is highlighted. I'll try to recreate the problem and correct it.

Edit : Hey, Misfit, you snuck in there while I was typing :rotfl:
I found that quite a few of my stations had events out of order, file names different from what was in the event list ( like using '-' instead of '_' ), etc. I was able to fix them all and (hopefully) avoid some radio-created crash.

Great mod/utility this
__________________
My Dangerous Waters website:
Bill Nichols is offline   Reply With Quote
Old 12-11-07, 11:05 AM   #11
Gato
Swabbie
 
Join Date: May 2005
Location: South Florida,USA
Posts: 6
Downloads: 45
Uploads: 0
Default Media file does not exist,please correct... message

Aloha,this seems like a great mod,but when I try to use it with CBS News I get the media file does not exist message.I select the station,press the apply changes button and get the above message.All the media files are displayed in correct order in the events window,so they ARE in there! I'm pretty confused(not an uncommon situation!) Ideas? Thanks
Gato is offline   Reply With Quote
Old 12-11-07, 11:28 AM   #12
swdw
Grey Wolf
 
Join Date: Sep 2007
Posts: 921
Downloads: 75
Uploads: 0
Default

Start a career and save while in the office view- don't go out to sea yet. Then run RSM.

DT, please correct me if I'm wrong. It seems RSM needs to know what dates you're playing to get everything set up correctly. Since there are different career start dates, you have to have a career ready to go first for it to look at.
__________________
"There are only two types of ships- submarines...... and targets" Unknown

"you wouldn't catch me on a ship that deliberately sinks itself"- comment to me from a surface sailor.

System:
AMD 6300 3.5 GHz | 32GB DDR3 | SATA 300 320GB HD, SATA III 1TB HD, SATA III 1.TB HD | ASUS Sonar DS sound card
NVIDIA 1660 Super OC | Windows 10
swdw is offline   Reply With Quote
Old 12-11-07, 02:24 PM   #13
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default

Quote:
Originally Posted by Gato
Aloha,this seems like a great mod,but when I try to use it with CBS News I get the media file does not exist message.I select the station,press the apply changes button and get the above message.All the media files are displayed in correct order in the events window,so they ARE in there! I'm pretty confused(not an uncommon situation!) Ideas? Thanks

Slight misconception here. What shows in the window is the name of the media file that SHOULD be played at the event time. When a media file does not exist in the EXACT name that is listed in the window, the program will highlight it and redisplay the section of the events file that is in error (sometimes you have to scroll up one lor two lines to find the offending line, but you will see that it is selected for you. Then press the "Browse" button and you will be offered a list of the media files for the radio station. For the offending entry, you won't find the EXACT name of the media file anywhere in that list, but you may find the one that was originally intended to be played. If so, then select it like you would normally select a file and the program will change the data in the radio station events file to match the media file name and your error will be corrected.

When most of the radio station mods were created, there was no way to automatically check to make sure that the name of the file was correct. If a media file does not exist at the time and date that the event is supposed to occur, a CTD will occur (whether you are listening to that station or not). That is why my program checks to make sure that the exact file exists to be played.



Quote:
Originally Posted by swdw
Start a career and save while in the office view- don't go out to sea yet. Then run RSM.

DT, please correct me if I'm wrong. It seems RSM needs to know what dates you're playing to get everything set up correctly. Since there are different career start dates, you have to have a career ready to go first for it to look at.
There was (and possibly still is) a problem with the date of a saved game not being correctly recorded. When the radio station would start it's events, it would go back to the date that you last left port and replay all the events between the "port" date and the current in-game date. What I did with the prepare stations button was to accomplish a workaround for that problem. Every time you see a text message in-game (i.e. all stop, torpedo in the water, etc.) the time and date is recorded in one of the save game files. My program reads through that file to the end, determines the correct date/time for a saved game (as of the last message entry) and comments out all events prior to that date/time. In that way, the events don't get replayed. To be honest with you, I don't know of the incorrect save game date/time bug still exists or not. I believe it was supposed to be fixed in the 1.4 patch. If so, then this option isn't necessary any more. If the problem still exists, you only need to run the "prepare" function when you are getting ready to load a saved game that was in mid patrol, or if you are starting a new career.
__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.

Digital_Trucker is offline   Reply With Quote
Old 12-12-07, 09:58 PM   #14
Fish40
The Old Man
 
Join Date: Aug 2006
Location: Yonkers, NY U.S.A.
Posts: 1,507
Downloads: 142
Uploads: 0
Default

DT, I just want to say I enjoy useing your mod. It's great not to have to listen to the same news, over and over and over and over, well you get the picture. Great job
Fish40 is offline   Reply With Quote
Old 12-16-07, 10:05 AM   #15
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 27,339
Downloads: 90
Uploads: 0


Default

DT, trying to figure this out. So I start a career and save? Then go out of game and fire up the manager via the exe?

So far I can bring up the program and see the files, etc. Do I press prepare for game?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Reply

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 04:35 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.