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 06-28-11, 02:13 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


[TEC] Sh.sdl (game's master sound mixer) Editor/Viewer

v1.2.0

This is a little app I've been working on to make editing/viewing/comparing of the SH3/4/5 SDL file easier and more importantly in human readable form. You can open and compare SDL files (compare splits the window in two and opens the other SDL file in the second pane) and also add new records to an SDL file. As I continue working on it you'll be able to do much more with the SDL file.

When you open an SDL file the app checks the file to verify it's integrity/correctness. If it finds any errors it will tell you what and where the problem is so you can correct it (you can now edit all entries). You have the option of verifying that the .wav file exists for each WaveName entry in the SDL file. A search function is available that allows you to search for items.

You can also jump to each error, caution, duplicate, and folder by using the menu.

The options file is updated when the app is closed.

Fixed some logic errors found.

Added the ability to view each individual field of SDL file.

There is an options file that the user can edit (SDL_Editor.cfg)

This can be used with SH3/4/5 SDL files



v1.2.0: https://www.mediafire.com/?xdyb36gwe1vhxwa
v1.2.0 Subsim downloads: http://www.subsim.com/radioroom/down...o=file&id=3298


Last edited by TheDarkWraith; 03-25-14 at 08:46 AM.
TheDarkWraith is offline   Reply With Quote
Old 06-28-11, 03:00 AM   #2
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Q: If a sdl have included Stormy sound files but the player is not using that mod, what happens? Will the sdl file keep looking for those sound files and eventually crash the game if it fails to localize them?
Zedi is offline   Reply With Quote
Old 06-28-11, 03:10 AM   #3
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44ŽN 129°40ŽE
Posts: 665
Downloads: 124
Uploads: 7
Default

Very nice!
It would be nice if the difference is highlighted, as in other comparators.
__________________
Speed squadron is the speed of the slowest ship ... but only so long as on the trail of the squadron did not sit submarines ...
Obelix is offline   Reply With Quote
Old 06-28-11, 06:20 AM   #4
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

interesting stuff! thanks!
__________________


urfisch is offline   Reply With Quote
Old 06-28-11, 07:28 AM   #5
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,688
Downloads: 171
Uploads: 0
Default

I assume that S3D doesn't work with SH5's version?
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 06-28-11, 07:56 AM   #6
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44ŽN 129°40ŽE
Posts: 665
Downloads: 124
Uploads: 7
Default

Quote:
Originally Posted by Reece View Post
I assume that S3D doesn't work with SH5's version?
S3D is working with a version of SH5.
But the chances of the current version TDW_SDL_Editor already a little wider, and in the future will be even more opportunities.
__________________
Speed squadron is the speed of the slowest ship ... but only so long as on the trail of the squadron did not sit submarines ...
Obelix is offline   Reply With Quote
Old 06-28-11, 09:00 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Reece View Post
I assume that S3D doesn't work with SH5's version?
I don't use S3D so I couldn't tell you
TheDarkWraith is offline   Reply With Quote
Old 06-28-11, 09:01 AM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Obelix View Post
Very nice!
It would be nice if the difference is highlighted, as in other comparators.
I'm not done with the app yet
TheDarkWraith is offline   Reply With Quote
Old 06-28-11, 09:04 AM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Zedi View Post
Q: If a sdl have included Stormy sound files but the player is not using that mod, what happens? Will the sdl file keep looking for those sound files and eventually crash the game if it fails to localize them?
It shouldn't. The sdl file is the game's master sound mixer and it just tells the game how to use the sound files and what sounds are associated with what names. If the defined names are never used then there shouldn't be a problem. If a defined name is used and a sound file isn't found then there could be a problem.
TheDarkWraith is offline   Reply With Quote
Old 06-28-11, 09:06 AM   #10
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44ŽN 129°40ŽE
Posts: 665
Downloads: 124
Uploads: 7
Default

Quote:
Originally Posted by TheDarkWraith View Post
I'm not done with the app yet
I noticed this during testing. We are waiting for final release!
__________________
Speed squadron is the speed of the slowest ship ... but only so long as on the trail of the squadron did not sit submarines ...
Obelix is offline   Reply With Quote
Old 06-28-11, 11:40 AM   #11
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
It shouldn't. The sdl file is the game's master sound mixer and it just tells the game how to use the sound files and what sounds are associated with what names. If the defined names are never used then there shouldn't be a problem. If a defined name is used and a sound file isn't found then there could be a problem.
Ok, thanks. This is an important note for everyone working on compatibility issues.
Zedi is offline   Reply With Quote
Old 06-28-11, 11:27 PM   #12
Vorkapitan
Samurai Navy
 
Join Date: May 2006
Posts: 594
Downloads: 1367
Uploads: 0
Default

TDW,

What took you so long .

I've been waiting SOOooo long for this.

Thank you TDWizard!
__________________
__________________________________________________ ________
__________________________________________________ ________



Joe
Vorkapitan is offline   Reply With Quote
Old 06-29-11, 09:57 AM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Added compare function. This compare function works like WinMerge in that differences are highled in red on both sides. You can then merge from 1-->2 or 2-->1 to automatically add the missing entries. You can also merge single entries.

The delete function now works. You can select an entry and remove it from the file.

Currently coding in the add functions.

Save and Save as functions now save the file.

Still have to code in the edit functions to allow you to edit individual fields of an entry.

Added in the ability to have the app check to see if the sound files are present for each entry that defines a sound file (WaveFile has an entry in it)

App now checks for duplicate entries in the file. If some are found they are highlighted in cyan. You cannot save the file until all errors are removed (including duplicate entries). Duplicate entries are defined as 'Name' being equal on two or more entries.

Have plans to further this to also check .dsd files.

Last edited by TheDarkWraith; 06-29-11 at 10:08 AM.
TheDarkWraith is offline   Reply With Quote
Old 06-29-11, 02:44 PM   #14
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

if there is one file for controlling the sounds...is there also one file, that controls the ai in sh5 or also in sh3? as you might saw, in sh3 they are trying to add a new version of wolfpacks. but there are problems in understanding the ai, as the ai-uboat does not work properly.

__________________


urfisch is offline   Reply With Quote
Old 06-29-11, 04:53 PM   #15
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

Thank you TheDarkWraith
__________________
What we do in life echoes in Eternity
tonschk 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 08:56 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.