From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:PS2 EE executable (ELF)" |
|---|
| claim | "splat's PS2 ELF reader (Ps2Elf.get_info, used by create_config) returns nothing, with a warning, unless the ELF is e_type EXEC, e_machine 8 and has the R5900 (5900) CPU code in e_flags; then it keeps only ALLOC sections of type PROGBITS, NOBITS or MIPS_REGINFO (any other ALLOC type aborts with a warning), skips zero-size sections, reads $gp from the MIPS reginfo section when non-zero, and uses the compiler EEGCC unless a section named .mwcats exists (then MWCCPS2). Relocatable ELFs are not supported." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PS2 EE executable (ELF)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "python3 -m splat create_config <file> where the file starts with 7F 45 4C 46" |
|---|
| effect | "Ps2Elf description (entry point, segments, compiler, gp) or an "Unsupported elf file" error" |
|---|
| condition | "splat at the cited commit; spimdisasm Elf32File parsing not read in full" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "get_info: type != EXEC -> warn/None; machine != 8 -> warn/None; _5900 not in elfFlags -> "Missing 5900 flag"; section loop skips size 0, .mwcats (compiler MWCCPS2), non-ALLOC, handles PROGBITS/NOBITS/MIPS_REGINFO and rejects other types; compiler default "EEGCC"" |
|---|
| repo | "ethteck/splat" |
|---|
| commit | "7548b9771e6f8418507b23434187fb07741af6d4" |
|---|
| path | "src/splat/util/ps2/ps2elfinfo.py" |
|---|
| lines | "63-138" |
|---|
|
| type | "source" |
|---|
| detail | "create_config: file_bytes[0:4] == b"\x7fELF" -> do_elf; do_elf logs "Unsupported elf file" when get_info returns None; Quickstart-Elf.md notes relocatable ELFs are not supported" |
|---|
| repo | "ethteck/splat" |
|---|
| commit | "7548b9771e6f8418507b23434187fb07741af6d4" |
|---|
| path | "src/splat/scripts/create_config.py" |
|---|
| lines | "34-36, 377-381" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "splat accepts only PS2 EXEC ELFs" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T17:45:05.084Z" |
|---|
| verifications | |
|---|