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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-05-07, 04:15 PM   #1
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default [WIP] Radio Station Manager

V1.0 released. See http://www.subsim.com/radioroom/show...020#post623020



Beta version 0.9 (last Beta) now available. It has all of the editing functions enabled and you can now save your changes. It also now has data checking functions such as verifying that media files for events exist and checking event date/time order. About all that's left to do is the nag screens for saving changes before exiting the program and the documentation. Thanks to Misfit138's testing all the bugs should be worked out now.

It's available at http://files.filefront.com/RSM090Bet.../fileinfo.html


Based on Misfit138's Workaround for radio repeating the broadcasts when loading a save and the discussions in his thread http://www.subsim.com/radioroom/showthread.php?t=119443 , I have begun development of a "RadioStationManager" application.

This application would allow you to create and add radio stations in an automated fashion and solve the problems with the scripted radio broadcasts being repeated when you reload a saved game in the middle of a patrol.

This is the basic layout I have in mind for the app (with a description following the screeny). Any suggestions or comments would be greatly appreciated.


  1. In this area, all of the information for the radio stations defined in your radio.ini file would be displayed for editing.
  2. In this area, all of the scripted events (if any) contained in the events.ini file would be displayed and available for edit.
  3. This button would allow for the importation of new radio stations. Basically, you would create (or download) a radio station folder with the music and scripted events (if any), place it in the blah,blah,blah\Data\Sounds\Radio folder then press this button. You would be presented with a dialog to allow the selection of the folder containing the new radio station. Then you would fill in the required information (start and end dates and so on) and the station would be entered into your radio.ini file automatically.
  4. This button would allow you to delete a radio station from the radio.ini file.
  5. This button would save changes made to the currently selected station.
  6. This button would perform the necessary operations to prepare all radio stations for the reloading of a game. It would first present you with a dialog allowing you to specify which saved game you were going to load. Then, if the game that you select was not saved while on patrol, all events in the events.ini files for all radio stations would be uncommented (many thanks to JScones for the idea on how to handle the replay problem) so that your radio will start on the correct date. If the saved game you select is one that was saved while on patrol, then the SaveData.crp file will be examined to find the last command issued while on that patrol and that date/time will be used to determine which events are commented out to prevent their replay. In order to insure that the correct date/time is used, you would only need to issue an order (of any kind) immediately before saving your game.
  7. This button would allow you to choose a media file for the event that you are entering/editing. You would be presented with a dialog to select a media file from the events folder in your radio station. No more having to type (or even copy/paste) the name of the media file when creating/editing an event.
  8. This button would allow you to add an event at the end of the events list for the current radio station you are working on.
  9. This button would allow you to delete the currently selected event in area 2.
  10. This button would allow you to insert an event in front of the currently selected event in area 2.
Before I start actually coding this app, I'd like to get a little feedback on any operations y'all might like to see added to it, or any changes in the layout that you think would be an improvement.

Last edited by Digital_Trucker; 08-16-07 at 02:05 PM.
Digital_Trucker is offline   Reply With Quote
 

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 06:40 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.