Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Iff 1.0 to Volcanic for SPR# Chunks #277

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JDrocks450
Copy link
Contributor

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.

 * 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
 * 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
Remove BMP debug window code that was dummied out (for now)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant