From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Dreamcast IP.BIN" |
|---|
| claim | "KallistiOS makeip embeds the boot logo (an 'MR' image, .mr) into IP.BIN at offset 0x3820 (MR_OFFSET). Its README says the image must be at most 320x90, fewer than 128 colours and under 8192 bytes, with #C0C0C0 as the transparent colour, but in mr.c the only hard check is the palette (a 129th distinct colour is an error, so 128 colours pass); MR data over MR_MAX_SIZE (8192) only logs a warning ('may corrupt bootstrap') and is still memcpy'd to IP+0x3820, and mr.c has no width/height check or #C0C0C0 handling." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Dreamcast IP.BIN" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "makeip -l logo" |
|---|
| effect | "MR image written at IP.BIN+0x3820; errors only when more than 128 distinct colours; larger than 8192 bytes warns and copies anyway" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "MR_MAX_SIZE 8192, MR_MAX_PALETTE_COLORS 128, MR_OFFSET 0x3820; palette loop errors only when c == MR_MAX_PALETTE_COLORS for a new colour; size > MR_MAX_SIZE only log_warn; mr_inject memcpy(ip + MR_OFFSET, output.data, output.size). grep of mr.c finds no 320/90 or 0xC0 check; other makeip files not searched." |
|---|
| repo | "KallistiOS/KallistiOS" |
|---|
| commit | "8e704086ecd4990627b85fb4905770dfffe29c00" |
|---|
| path | "utils/makeip/src/mr.c" |
|---|
| lines | "36-39, 118-165, 395-440" |
|---|
|
| type | "documentation" |
|---|
| detail | "README states the constraints (320*90 or less, less than 128 colors, less than 8192 bytes) and the transparent colour #c0c0c0" |
|---|
| repo | "KallistiOS/KallistiOS" |
|---|
| commit | "8e704086ecd4990627b85fb4905770dfffe29c00" |
|---|
| path | "utils/makeip/README.md" |
|---|
| lines | "136-145" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "MR logo limits in makeip" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T00:08:08.308Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:28:13.270Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read KallistiOS utils/makeip/src/mr.c lines 36-40, 118-165, 240-340, 395-440 at 8e70408: only palette overflow (new colour when 128 used) is an error, size > 8192 only log_warn, memcpy at MR_OFFSET, no width/height or C0C0C0 handling in mr.c; other makeip files not read." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T04:03:24.171Z" |
|---|
| summary | "README limits are not what mr.c enforces: palette 128 allowed, size over 8192 only warns, no dimension or transparency check in mr.c. Read mr.c lines 36-39, 118-165, 395-440 and README 136-145." |
|---|
| changed | | "claim" |
| "data" |
| "evidence replaced" |
|
|---|
|
|
|---|