From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:Nintendo 64 ROM image" |
|---|
| claim | "mupen64plus-core recognises an N64 image by its first 4 bytes: 80 37 12 40 (z64), 37 80 40 12 (v64, size even, converted by 16-bit swaps) or 40 12 37 80 (n64, size multiple of 4, converted by 32-bit swaps)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Nintendo 64 ROM image" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "first word" |
|---|
| indicator | "80371240 / 37804012 / 40123780" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "is_valid_rom and swap_copy_rom" |
|---|
| repo | "https://github.com/mupen64plus/mupen64plus-core" |
|---|
| commit | "902bc60f561570bb3480d76910258b9afa10bafd" |
|---|
| path | "src/main/rom.c" |
|---|
| lines | "75-136" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Byte order detection (mupen64plus)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:18:07.724Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:48:18.628Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched src/main/rom.c at the cited commit: Z64/V64/N64 signatures 80 37 12 40, 37 80 40 12, 40 12 37 80 (lines 75-77); is_valid_rom requires size%2==0 for v64 and size%4==0 for n64; swap_copy_rom does 16-bit swaps for V64 and 32-bit swaps for N64. Matches." |
|---|
|
|
|---|