FreeSO icon indicating copy to clipboard operation
FreeSO copied to clipboard

Add support for Iff 1.0 to Volcanic for SPR# Chunks

Open JDrocks450 opened this issue 1 year ago • 0 comments

Brief Add support for viewing IFF v1.0 in Volcanic. Supported chunk types are: SPR#, BHAV (wip), STR.

Sprites image Z-Buffers image

Sprites that are not inherently objects can also be viewed by using the 'Frames/Rotations' button on SPRResourceControl to view them as frames and not interpreted as an object image

Exported Sprites image

BHAV (wip) image

Video Here is a recorded video demonstrating how the submission works (OneDrive)

Changes Summary

  • Add support for IFF 1.0 Header
  • Add SPFResControl for viewing SPF# chunks
  • Modified STR chunk reader to use parent IFF file version to read strings from Steering Commitee IFF files
  • Add Grayscale PALT by default instead of all black
    • Add contructor overload for PALT to allow for manually-built color palettes (unused as of now)
  • Modified Toolstrip Items for loading External Iff in MainWindow.cs to support Iff & Spf and added a special dialog for loading both at once into a GameObject.
  • Modified IFFResComponent to support SPR# resources using the SPRResControl
  • Added methods in SpriteEncoderUtils to support SPR# resources

All of these changes isolate themselves from any existing functionality and use the existing functionality as a baseline to implement the new features to remain consistent.

JDrocks450 avatar Dec 26 '23 01:12 JDrocks450