Team file (first generation)

From Worms Knowledge Base

Revision as of 22:51, 23 August 2023 by Squirminator2k (Talk | contribs) (Worms: The Director's Cut)

Jump to: navigation, search
(Up to File formats)

Worms

PC MS-DOS

Amiga and Amiga CD32

Worms: The Director's Cut

In WormsDC, teams are stored as individual files containing the names and stats of up to eight worms on the team (four for the A-TEAM, four for the B-TEAM). The team name can be no longer than 8 characters in length, and is identical to the file name, which has no extension. They are stored in the "TWTEAMS" drawer. The upper limit for teams in Worms was 16. This limit has been removed from WormsDC.

Team files store the following data:

  • The value "WRM2TEAM", which occupies the first few bytes of the file.
  • Team type - HUMAN, or CPU level 0-9 (0 being lowest difficulty, 9 being highest).
  • Health (either 75, 100, 150, 200, or 250)
  • Number of games played
  • Number of team victories
  • Kills for
  • Kills against

The file does not itself store the team name. This is instead derived from the filename itself.

The file has slots for up to eight worms - an A-TEAM and a B-TEAM of four worms each. These bytes are allocated even if no worm exists for that slot in the team. Each worm has additional data stored:

  • Number of games played
  • Number of worms killed

An additional byte is used as padding following a worms' name if that name is made up of an even number of characters (for example, "SHEEPISH", which uses 8 characters, will have a byte of padding, while "PINKY", which uses 5 characters, will not).

Despite adding options to differentiate between Worms on different teams, WormsDC still does not allow more than one Worm to have the same name, regardless of team. This means, for example, that you can't have a Worm named "JERRY" in a team called "SEINFELD" and another in a team called "ICECREAM".

To do: Research what happens if two team files with one or more identical worm names are loaded into the game.

You do not need to name all four Worms on a team - leaving the B-team blank will not allow you to select a B-team on the team select screen. You can also leave names blank on your A-team if desired, allowing you to have teams with one, two or three worms on it.

WormsDC does not have a built-in function to delete or remove individual teams from the game - this must be done by deleting the team manually via Workbench or AmigaDOS. It does provide the option to delete all teams, and to clear all team stats.

If playing via emulation, older versions of WinUAE may experience problems as the Amiga is capable of supporting some non-standard characters in its filename, which can result in a loss of team data. The most recent versions get around this by giving the file a name using the format "__uae___{teamname}", which is then parsed by WinUAE as the appropriate filename when viewed in Workbench. Note that moving this file within Windows can result in the team name being altered in WormsDC, so it becomes necessary to go back and rename the team from within the game if this occurs.

Personal tools