ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Sound Attribute Viewer and Tweaker (SAVandT)

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  18:59:52  18 August 2011
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
 

Message edited by:
Lijenstina
08/18/2011 20:53:55
Messages: 1902
Thanks NatVac I'll test it out.

EDIT: Works fine. Added some songs to the Bar no error messages.
  12:14:11  18 August 2011
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
 

Message edited by:
NatVac
08/18/2011 12:20:39
Messages: 4286
Sound Attribute Viewer and Tweaker (SAVandT)

SAVandT is a small piece of software that can make a STALKER sound modder's life much easier. You can easily see and adjust the game sound type which affects how sounds are treated by NPCs, as well as the base volume, the sound range for the player and the maximum sound perception distance for NPCs.

  • Easy viewing and editing of STALKER .ogg sound file "comments"
  • Changes will automatically have an adjusted CRC-32 checksum added
  • Automatic conversion of standard Ogg Vorbis sounds to STALKER sounds
  • Should work with sounds for all current STALKER games

With this program and a good sound editor like Audacity 1.3.13 (as of this post) which can import and export Ogg Vorbis files, there is:

No more need to use the SDK to generate STALKER-compatible sound files.

No more hex-editing followed by a separate program to adjust checksums.

No more "Invalid ogg-comment version" errors.

No more time spent converting .wav to .ogg in the SDK just to change a single value.

Credits:

Primary author:
    NatVac (Metacognix)
Public domain CRC-32 implementation:
    Ross N. Williams
Reference material sources:
    {imperialreign}
    Darius6
    nihilant (comment structure)
    Xiph.org (Ogg Vorbis specs)


The software is available from the download page at Metacognix near the bottom (at the time of this post):

http://www.metacognix.com/files/stlkrsoc/

The end of this thread is likely to contain the most recent information on this utility and others like it. Normal forum members cannot edit posts after a couple of days, so the info above may be out of date at the time you read this.

(Please, no direct linking to the file as updates will likely make such links useless.)

¯¯¯¯¯¯¯¯¯¯
About a week ago, I saw the thread titled "Questions on sound editing"*, with folks wishing for a tool like this. I was going to link to an old thread where I asked for info about the data structure used by the sounds (to enable me to create such a program), but I started searching first. I was stunned to find an old thread on a German forum where nihilant (of fixoggcs fame) had posted info on the comment structure of STALKER sound files in May 2007 -- before I had even started considering modding. And I had seen the thread before! I just didn't know it for what it was at the time.

So I followed some leads: Xiph.org led me to Ross Williams; together they gave me the understanding of Ogg data streams and Vorbis sound structures, with checksumming for file transport reliability. With the STALKER sound attribute structure and constants provided, I had a program in beta-test three part-time days later. The rest of the time was spent on refining the interface a bit based on feedback. (It still stinks but it works well enough.)

No one complained about the basic functionality, but I don't have the SDK installed to know about the validity of the structures. I do know that it took me less than five minutes to load ghost_pda.ogg into Audacity, trim Ghost's redundant grinching about Vasiliev, export to .ogg, copy/paste the original comment parameters with SAVandT, and then test it out.

Yes, the five minutes included running STALKER, loading a save made before searching Ghost, and listening to the shortened PDA recording.

---QUOTATION---
*"Questions on sound editing"
https://www.gsc-game.com/main.php?t=community&s=forums&s_game_type=xr&thm_id=20925&sec_id=16
---END QUOTATION---

 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2020 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.