benilla-re systems structs docs

s_textWrongColumns

global · unassigned

Address
0x82e490 · 55 bytes, up to 0x82e4c6
Type
char[55]
Meaning
Holds the message %s has wrong number of columns (found %i, expected %i)
Confidence
verified, proof one
Finding
console/hardware#hardware-table

Finding: Hardware table in console: hardware

0x641260 loads the table on its first call and is called each start-up. The file is DBFilesClient\VideoHardware.dbc (22 fields, 0x58 bytes a row; tables/dbc_schemas.tsv). The loader checks the WDBC magic, the field count and the row size, reads the rows and the string block, and builds an index by row id. A file that will not open, or whose field count or row size differs, is reported through the fatal-error function 0x64cf80; a bad magic or an empty table leaves the table empty, and a failed string read is reported through 0x64d0e0. The store is five words at 0xc518c8: the rows, their count, the id index, the largest id and the loaded flag.

The derivation is in the doc.