The PSX-EXE executable file format is a format similar to the standard UNIX ELF format. It is used on the Sony Playstation 1 and it is a MIPS 32-bit executable. It contains both code and data.
In order to use tools like the RetDec decompiler we need to convert the exe format into elf, and in order to run on the playstation we need to convert compiled elf files into exe files.
This document will contain my findings with regards to the PSX-EXE format.
Some Information about the format:
Name | Length | Description |
---|---|---|
PSX Magic Number | 8 | Spells out ‘PS-X EXE’ |
Unknown | 16 | ??? |
Initial Program Counter | 4 | e.g 0x80010000 (stored opposite way around due to little endian) |
Global Pointer | 4 | e.g 0x0009B000 |
https://www.linux-mips.org/wiki/PS1 ↩