Team Export Format


Introduction

HardBall 5 allows you to import and export team data. All HardBall 5 team export files use a .HB5 extension.

Team data consists of various components, including the team name, current manager (if any), logo, home stadium, cap and trim colors, star player, team summary, and the players themselves.


Team Information

The first part of the file deals with general team information.

  • Offset 0: Team Name (20 bytes maximum, not including 0x00 terminator)
  • Offset 0x18: Team Owner (15 bytes maximum, not including 0x00 terminator); If first byte is 0x00, team has no owner.
  • Offset 0x28: Cap Color (1 byte)
  • Offset 0x29: Trim Color (1 byte)
  • Offsets 0x2A-0x32: Batting order vs. Right Hand Pitchers (9 bytes)
  • Offsets 0x33-0x3B: Batting order vs. Left Hand Pitchers (9 bytes)
  • Offsets 0x3C-0x45: Fielding positions vs. Right Hand Pitchers (10 bytes)
  • Offsets 0x46-0x4F: Fielding positions vs. Left Hand Pitchers (10 bytes)
  • Offset 0x50: used, but currently unknown. (1 byte)
  • Offset 0x51: Home Stadium (1 byte)
  • Offset 0x52: Star Player index (1 byte)
  • Offset 0x53: Number of starting pitchers (1 byte; max value 6)
  • Offsets 0x54-0x59: Starting Pitcher Rotation list (6 bytes)
  • Offsets 0x5A-0x6B are used, but currently unknown.
  • Offset 0x6C: Team Summary text (160 bytes, including null terminator)
  • Offset 0x10C: Team Logo (0x600 (1536) bytes)
  • Offsets 0x70C-0x77B are used, but currently unknown.
  • Offsets 0x77C-0x77F: Manager Sliders

Cap and Trim Colors

All previews are approximations; in-game representation may vary.

  • 0x00   Dark Blue
  • 0x01   Dark Red
  • 0x02   Dark Green
  • 0x03   Purple
  • 0x04   Orange
  • 0x05   Yellow
  • 0x06   Light Green
  • 0x07   Black
  • 0x08   Brown
  • 0x09   Blue
  • 0x0A   Light Red
  • 0x0B   Teal
  • 0x0C   Purplish Blue (Not normally selectable)

Values 0x0D and up are untested; use at your own risk.

Stadium Values

Important Note: These values are for the original HardBall 5 releases (v5.00-v5.12). Later releases removed the classic stadiums (and the old Colorado field), so values 0x1C and higher are invalid in those versions.

  • 0x00: Anaheim
  • 0x01: Atlanta
  • 0x02: Baltimore
  • 0x03: Boston
  • 0x04: Chicago (A)
  • 0x05: Chicago (N)
  • 0x06: Cincinnati
  • 0x07: Cleveland
  • 0x08: Colorado [Colorado 95 in HB5 v5.13 and later]
  • 0x09: Detroit
  • 0x0A: Florida
  • 0x0B: Houston
  • 0x0C: Kansas City
  • 0x0D: Los Angeles
  • 0x0E: Milwaukee
  • 0x0F: Minnesota
  • 0x10: Montreal
  • 0x11: New York (A)
  • 0x12: New York (N)
  • 0x13: Oakland
  • 0x14: Philadelphia
  • 0x15: Pittsburgh
  • 0x16: San Diego
  • 0x17: San Francisco
  • 0x18: Seattle
  • 0x19: St. Louis
  • 0x1A: Texas
  • 0x1B: Toronto
  • 0x1C: Unknown (no matching files in archives)
  • 0x1D: Unknown (no matching files in archives)
  • 0x1E: Unknown (no matching files in archives)
  • 0x1F: Unknown (no matching files in archives)
  • 0x20: Baker Bowl
  • 0x21: Braves Field
  • 0x22: Colorado 95
  • 0x23: Ebbets Field
  • 0x24: Forbes Field
  • 0x25: Griffith
  • 0x26: League Park
  • 0x27: 1919 Boston
  • 0x28: 1927 New York
  • 0x29: Polo Grounds
  • 0x2A: Seals Stadium
  • 0x2B: Shibe Park
  • 0x2C: Sportsman's

Manager Sliders

Manager sliders are stored as nibbles (4 bits). This gives values of 0 to 0xF. 0 is the leftmost point on the slider, and 0xF is the rightmost point.

  • Offset 0x77C, byte mask 0xF0: slider #2 – Don't Steal/Steal Lots
  • Offset 0x77C, byte mask 0x0F: slider #1 – Slow/Quick Hook
  • Offset 0x77D, byte mask 0xF0: slider #4 – Sacrifice/Hit Away
  • Offset 0x77D, byte mask 0x0F: slider #3 – Hold/Push Runners
  • Offset 0x77E, byte mask 0xF0: slider #6 – Favor Speed/Power
  • Offset 0x77E, byte mask 0x0F: slider #5 – Defense/Offense
  • Offset 0x77F, byte mask 0x0F: slider #7 – Rookies/Veterans

Player Information

Player information starts at offset 0x780. Each player entry is 0x194 bytes long, and largely follows the same format as player exports, sans the two header bytes at the beginning.