Page 4 of 5 FirstFirst 12345 LastLast
Results 61 to 80 of 85

Thread: Symphony (sound unpacker/packer)

  1. #61

    Default Re: Symphony (sound unpacker/packer)

    Update pending... (post 25 of 25 needed to re-enable post editing).

  2. #62

    Default Re: Symphony (sound unpacker/packer)

    Sigh. Still can't edit my original post.

    Symphony now has partial support for Shogun 2 formats.

  3. #63

    Default Re: Symphony (sound unpacker/packer)

    Thanks Crux, hopefully this helps with the Shogun 2 custom unit sound issue.
    ----------------------
    Shameless DarthMod Fanatic

  4. #64

    Default Re: Symphony (sound unpacker/packer)

    Daniu asked for technical details on the formats Symphony processes. So, the game engine contains two binary sound files: sounds_packed/sound_events and sounds_packed/sound_bank_database. The formats differ slightly between games (and often with patches), but for the current version of Shogun 2 the sounds_packed/sound_events contains:

    1 4-byte floating point master volume
    1 4-byte unsigned integer number of categories
    number of categories variable length category records
    1 4-byte unsigned integer number of unknown data items
    number of unknown data items 4-byte signed integer unknown data items
    1 4-byte unsigned integer number of unknown data items
    number of unknown data items 8-byte pair of signed integer unknown data items
    2 4-byte unsigned integer unknown data items
    19 4-byte floating point unknown data items
    31 4-byte unsigned integer unknown data items
    7 4-byte floating point unknown data items
    1 4-byte unsigned integer unknown data item
    7 4-byte floating point unknown data items
    15 4-byte unsigned integer unknown data items
    1 4-byte unsigned integer number of event datas
    number of event datas 188-byte event data records
    1 4-byte unsigned integer number of events
    number of events variable length event records
    1 4-byte unsigned integer number of ambience maps
    number of ambience maps variable length ambience map records
    1 4-byte unsigned integer number of unknown data items
    number of unknown data items 4-byte signed integer unknown data items
    1 4-byte unsigned integer number of movie volumes
    number of movie volumes variable length movie volume records
    1 4-byte unsigned integer number of unknown data items
    number of unknown data items variable length unknown data records

    a category record is:
    1 variable length wide string name
    1 4-byte floating point value

    an event data record is:
    47 4-byte floating point values

    an event record is:
    1 4-byte unsigned integer index into categories
    2 4-byte signed integer unknown data items
    1 4-byte unsigned integer index into event data records
    *1 variable length wide string event name (only if the associated data record's 29th element is equal to 1.0f)
    1 4-byte unsigned integer number of sound files
    number of sound files variable length wide string sound filenames
    1 1-byte unsigned integer unknown data item

    an ambience map record is:
    1 variable length wide string map name
    1 4-byte unsigned integer number of ambiences
    number of ambiences 20-byte ambience records

    a movie volume record is:
    1 variable length wide string name
    1 4-byte floating point volume

    an unknown data record is:
    1 variable length wide string unknown data item
    1 4-byte signed integer unknown data item

    a wide string is:
    1 2-byte unsigned integer length
    length 2-byte wide character characters

    an ambience record is:
    1 4-byte unsigned integer identifier
    1 4-byte unsigned integer index into event records
    1 4-byte floating point y position
    1 4-byte floating point distance
    1 4-byte floating point x position

    And sounds_packed/sound_bank_database contains:

    266 4-byte floating point unknown setting
    25 variable length sound bank records
    297 variable length unknown data records

    a sound bank record is:
    1 4-byte unsigned integer number of bank events
    number of events variable length bank event records

    an unknown data record is:
    1 4-byte unsigned integer number of events
    number of events 4-byte unsigned integer indices into event records

    a bank event record is:
    1 4-byte unsigned integer index into event records
    bank-specific number of variable length parameter block records

    a parameter block record is:
    1 4-byte unsigned integer number of parameters
    number of parameters parameter-specific sized parameters

    The current Shogun 2 files contain 25 sound banks:

    1: 4 parameter blocks each of 4-byte unsigned integers
    2: 5 parameter blocks each of 4-byte unsigned integers
    3: 4 parameter blocks each of 4-byte unsigned integers
    4: 3 parameter blocks each of 4-byte unsigned integers
    5: 2 parameter blocks each of 4-byte unsigned integers
    6: 4 parameter blocks each of 4-byte unsigned integers
    7: 4 parameter blocks each of 4-byte unsigned integers, then 2 parameter blocks each of 1-byte unsigned integers, then 1 parameter block of 4-byte unsigned integers
    8: 5 parameter blocks each of 4-byte unsigned integers
    9: 4 parameter blocks each of 4-byte unsigned integers
    10: 2 parameter blocks each of 4-byte unsigned integers
    11: 2 parameter blocks each of 4-byte unsigned integers
    12: 1 parameter blocks each of 4-byte unsigned integers
    13: 6 parameter blocks each of 4-byte unsigned integers
    14: 4 parameter blocks each of 4-byte unsigned integers
    15: 4 parameter blocks each of 4-byte unsigned integers
    16: 6 parameter blocks each of 4-byte unsigned integers
    17: 2 parameter blocks each of 4-byte unsigned integers
    18: 3 parameter blocks each of 4-byte unsigned integers
    19: 3 parameter blocks each of 4-byte unsigned integers
    20: 2 parameter blocks each of 4-byte unsigned integers
    21: 2 parameter blocks each of 4-byte unsigned integers
    22: 2 parameter blocks each of 4-byte unsigned integers
    23: 2 parameter blocks each of 4-byte unsigned integers
    24: 2 parameter blocks each of 4-byte unsigned integers
    25: 2 parameter blocks each of 4-byte unsigned integers

    Only the second sound bank is at all known so far. This is the projectile fire parameter block. The first parameter block is probably the gun type and is probably an index into an unknown list of gun types. The second parameter block is probably the shot type and is probably an index into an unknown list of shot types. The third parameter is probably the size and is probably an index into the list {small, medium, large}. The fourth parameter is unknown. The fifth parameter is an index into the hashed units table from the database.

  5. #65

    Default Re: Symphony (sound unpacker/packer)

    Crux thank you for trying to fix this annoying issue.
    I have tried to use your exe file but it did not open, and tried many things.
    The CMD Dialog windows opens for 1/3 second and shuts down.
    I have Windows 7 Ultimate 64Bit.

  6. #66
    The Hedge Knight's Avatar Fierce When Cornered
    Artifex

    Join Date
    Oct 2009
    Location
    England
    Posts
    5,875

    Default Re: Symphony (sound unpacker/packer)

    You don't double click the file, you run it like a ruby file using command prompt Darth.

  7. #67

  8. #68

    Default Re: Symphony (sound unpacker/packer)

    Probably it needs a new version because the unit_tables checksum does not match. This is the error I got when I tried to extract:

    Code:
    An error has occured:
    Database table version unknown in table C:\Program Files (x86)\Steam\steamapps\common\total war shogun 2\data\db\units_tables\units.  
    Expected 4294770429, got 4294901244

  9. #69
    Flikitos's Avatar Campidoctor
    Join Date
    Dec 2009
    Location
    France
    Posts
    1,661

    Default Re: Symphony (sound unpacker/packer)

    Hi there guys!

    I have that error when I try to pack the uncompiled files:


    What I do not understand is that I do not have any conflict with the faction table... I do not understand why it is incompatible with the patch2.pack.

    Any idea guys?

    PS: Sorry, I found the answer to my question: The problem doest not come from Symphony but from DBEditor, it is an incompatible format for Symphony, we have to make the tables with PFM. It is not the easiest thing as you can imagine.
    Last edited by Flikitos; May 30, 2012 at 09:54 AM.

  10. #70
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    8,767

    Default Re: Symphony (sound unpacker/packer)

    Can you explain how the unit_voice specifier, or unit_group can be used?

    I tried adding a new <unit_voice> specificer in my unit table (French_Grenadier), and then edit the sound bank XML so all the French units are using this specifier, but when I compile Symphony says the parameters has no value...

    Before, I use a <unit> specifier . It works, but as I have many units, it gives a very large XML files.

    Unit_voice seem find to solve that.

    I did some test this morning, with only a few units. I thought it worked, but when I tried to extend it to other units it doesn't work.

    I saved my work before I started a long edition session, so I can always go back to the <unit> method, but unfortunately I did not save the initial test, so I cannot check what I did and if it really worked.

    Are you seeking the unit_voice in a fixed list? Can it be epxanded? How?
    Last edited by Steph; June 24, 2012 at 01:22 PM.

  11. #71
    Johan217's Avatar Campidoctor
    Join Date
    Jan 2005
    Location
    Gent, Belgium
    Posts
    1,965

    Default Re: Symphony (sound unpacker/packer)

    Quote Originally Posted by crux3D View Post
    1. Disable all mods (including loose files).
    2. Run: Symphony extract <path to root total war folder> <path to unpacked sound folder>
    (i.e. Symphony extract "c:\Program Files\Steam\SteamApps\common\total war shogun 2" "c:\symphony")
    3. Enable all mods.
    4. Run: Symphony pack <path to root total war folder> <path to unpacked sound folder> <path to user script> <path to output packfile>
    (i.e. Symphony pack "c:\Program Files\Steam\SteamApps\common\total war shogun 2" "c:\symphony" "%appdata%\The Creative Assembly\Shogun2\scripts\user.script.txt" "c:\Program Files\Steam\SteamApps\common\total war shogun 2\data\sounds.pack")
    5. Edit your user script and add "mod sounds.pack;"
    I am clearly doing something whrong, but I don't know what. I follow these steps, Symphony reports no errors, but when I use the newly created sound_bank_database and sound_events, the menu music as well as the units' drums/fifes disappear. This is in ETW.

    Anyone have an idea what may be wrong?
    Rock 'n' roll is the only religion that will never let you down

  12. #72

    Default Re: Symphony (sound unpacker/packer)

    Is this Sinfonia Semplice for ETW and NTW?

  13. #73

    Default Re: Symphony (sound unpacker/packer)

    How exactly do I run Symphony?

  14. #74
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    8,767

    Default Re: Symphony (sound unpacker/packer)

    Any chance to get an update?

  15. #75

    Default Re: Symphony (sound unpacker/packer)

    Can someone give me an explanation on how i have to run it ? Because everytime i doubleclick it the command prompt flashes for some miliseconds the disappears. How do i start it in a command prompt ?

  16. #76

    Default Re: Symphony (sound unpacker/packer)

    Hi GD10,

    In your Windows start menu you'll see a small box at the bottom which says 'search programs and files'. In this box type in 'cmd' and it will bring up command prompt.

    This is the process I had to follow in order to extract Empire: total war sounds.

    1. Once you are in command prompt type in cd "C:\Program Files (x86)\Steam\SteamApps\common\Empire Total War\data" then press enter.

    2. Now type in symphony extract "C:\Program Files (x86)\Steam\SteamApps\common\Empire Total War" "C:\Program Files (x86)\Steam\SteamApps\common\Empire Total War\data"

    Symphony should now extract all the sound files into your Empire: total war data folder where all the pack files are kept.

  17. #77

    Default Re: Symphony (sound unpacker/packer)

    Hi Crux,

    Here are the sound files I mentioned earlier

    Dave08 Sound files.zip

  18. #78
    Rafkos's Avatar Senator
    Join Date
    Sep 2013
    Location
    Poland, Dolny Śląsk (Lower Silesia)
    Posts
    1,011

    Default Re: Symphony (sound unpacker/packer)

    Is this program still working? The extracted files are really messed up, units seem to be randomly pasted into the file, I can see some artillery units in the general unit section.
    Cheers

  19. #79

    Default Re: Symphony (sound unpacker/packer)

    There's no download.

  20. #80

    Default Re: Symphony (sound unpacker/packer)

    I require an download for this too.

Page 4 of 5 FirstFirst 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •