Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

JP IFF files are not working - System.InvalidCastException #36

Description

@aleksandarstojkovski

Description: I am trying to load a Caddie.iff (from pangya_jp).

  • Binding ID: 0
  • Version: 13

Problem: I get "System.InvalidCastException: 'The record length (248) mismatches the length of the passed structure (260)'"

Code snippet used:

static int Main(String[] args)
{

    IFFFile<Caddie> IFF = new IFFFile<Caddie>(File.Open("Caddie.iff", FileMode.Open));

    Console.ReadKey();

    return 0;

}

Here the Caddie.iff file I am trying to load: Caddie.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions