Skip to content
NFSU2 Save EditorBAYVIEW / SYSTEMS
en

03 / 20CM format

Inside a 20CM career save

Decode the 54,966-byte PC career file: header lengths, the three MSB-first CRCs, cash and driver-name offsets, and all five garage records.

File boundaries and byte order

The Windows career save uses a fixed total size of 54,966 bytes (0xD6B6). The first bytes are 32 30 43 4D. Read the size, lengths and stored checksums as 32-bit little-endian values, even though the CRC algorithm shifts from the most significant bit. These are two independent choices: storage order and bit processing order.

Block A begins at 0x1C, immediately after the header. Block B begins at 0x1C + lenA. Its exclusive end must equal the total file size. The reference file has lenA = 8 and lenB = 0xD692; the parser still reads the lengths from the file. The compatibility descriptor starts with 0x10D, followed by a repeated body size. Do not interpret the tag’s decimal value as a marketed game version.

How all three CRCs are computed

The polynomial is 0x04C11DB7, MSB-first and unreflected. The implementation complements the initial big-endian four-byte word, shifts in the remaining bytes and complements the result. This is not an interchangeable “CRC32” setting from a ZIP utility. Hash A over [0x1C, 0x1C + lenA) and B over [0x1C + lenA, end). Write the results at 0x10 and 0x14; only then hash [0x00, 0x18) and write that result at 0x18. The header hash includes the updated block CRCs, but not its own field.

Follow the native record, not a look-alike table

The five career records start at 0x5868, 0x7F2 bytes apart. For record index i from zero to four, use 0x5870 + i × 0x7F2 as the base for the field offsets: type hash +0x014, flags starting at +0x310, lock +0x428 and purchase +0x429. The counter includes ordinary performance IDs 0–55, excluding 33 and 34; it excludes bytes 56–67 associated with visual refresh. The separate garage record count sits at 0x8022. The stage at 0xA175 is an unsigned index, not a count.

The name at 0xD225 is a fixed 32-byte Latin-1 field, so changing it must never shift later bytes. Cash at 0xA16A is signed. Limit writes to the selected fields and checksums; unresolved ranges must remain intact. Cross-check the upstream implementation and its accompanying technical notes before extending the writer.

Verified PC save offsets

Offset Field File size
0x00–0x1B Header including signature, file length, block ranges and saved CRCs 28 B
0x04 Total career file size, exactly 54,966 bytes uint32 LE
0x08 / 0x0C Length of Block A and then Block B uint32 LE × 2
0x10 / 0x14 / 0x18 Stored checksums of Block A, Block B and the updated header CRC-32 LE × 3
0x1C Compatibility marker, expected to be 0x10D uint32 LE
0x5868 First of five native career garage records, not the generic configurations 5 × 0x7F2 B
0x8022 Count of native garage records; not the current career stage uint32 LE
0xA16A Editable signed bank balance int32 LE
0xA175 Current career stage, preserved on save uint32 LE
0xD225 Driver name, with at least one terminating zero byte 32 B / Latin-1
20CM byte map
20CM byte map
Block and header CRC calculation order
Block and header CRC calculation order

Questions and answers

Are the CRC fields big-endian?

No. The algorithm shifts MSB-first, but stored results use little-endian.

Is Block A always eight bytes?

The reference uses eight. Read both header lengths and verify the exclusive end.

Why is the header computed last?

Its byte range includes the newly stored A and B CRCs.

Does 0xA175 count garage records?

No. It holds the current stage. The garage-record count is at 0x8022.