LegendaryExplorer icon indicating copy to clipboard operation
LegendaryExplorer copied to clipboard

Switch to Wwiser.NET implementation for all Wwise bank parsing

Open henbagle opened this issue 5 months ago • 1 comments

Gets rid of existing WwiseBank ObjectBinary implementation, new ObjectBinary is a wrapper around Wwiser.NET. Everywhere that ObjectBinary has been used has been converted to use the Wwiser.NET types.

WwiseGraphEditor Changes:

  • Port to Wwiser.NET
  • Add graph item for Random Sequence Container HIRC type

Soundpanel changes

  • Port to Wwiser.NET
  • HIRC tab shows all HIRC item types
  • HIRC editor extracted into it's own UserControl
  • Bottom status bar removed, we no longer need to guess at ints or floats, all the data is parsed in the hex editor
  • The hex editor uses the same code as BinaryInterpreter to parse the binary for HIRC items

BinaryInterpreter Changes:

  • Add a BinInterpNode subclass that adds a context menu item to go to a specific offset in the binary. WwiseBank uses this to help users jump around to different referenced HIRC items.
  • Binary node creation split out into a static class full of factory methods. Any of these nodes that depend on a IMEPackage to be created (for example to pull name data) now require that file to be passed in on creation.
  • BinaryInterpreterScans.cs has been split up into a bunch more files

I think there was some more I was going to update with HIRC editing here but I have since forgotten.

Fix #437, fix #438

henbagle avatar Aug 19 '25 02:08 henbagle

Tests are gonna fail for a while because I don't have the Init bank reserializing properly in Wwiser.NET

henbagle avatar Aug 19 '25 03:08 henbagle