PSX: Difference between revisions

From Decompedia
Jump to navigation Jump to search
Line 10: Line 10:
===Tools===
===Tools===
====Decompilers====
====Decompilers====
*Ghidra
 
*m2c
===== [[mips2c]] =====
 
The most reliable way to get the closest C output to the original source. The decompiler is open source.
 
===== [[Ghidra]] =====
 
A fully-fledged executable analysis tool. It is open source.
 
You may want to use the [ghidra_psx_ldr https://github.com/lab313ru/ghidra_psx_ldr] plugin, which automatically creates the right memory regions and comes with a way to regonize the right [[PSY-Q]] SDK by matching the libraries with their signatures.
 
The decompiler produces noisy but somewhat reliable output.
 
===== [[IDA Pro]] =====
 
Paid product. A MIPS decompiler was introduced starting from IDA Pro 7.5. The output looks clean but often over-simplified. Certain instructions are completely absent from the output. You may want to use the [psxida https://github.com/lab313ru/psxida/] plugin. Not recommended other than very specific scenario.
 
====Disassemblers====
====Disassemblers====
*[[splat]]
*[[splat]]
*[[spimdisasm]]
*[[spimdisasm]]

Revision as of 17:18, 25 March 2023

Projects

Compilers

Tools

Decompilers

mips2c

The most reliable way to get the closest C output to the original source. The decompiler is open source.

Ghidra

A fully-fledged executable analysis tool. It is open source.

You may want to use the [ghidra_psx_ldr https://github.com/lab313ru/ghidra_psx_ldr] plugin, which automatically creates the right memory regions and comes with a way to regonize the right PSY-Q SDK by matching the libraries with their signatures.

The decompiler produces noisy but somewhat reliable output.

IDA Pro

Paid product. A MIPS decompiler was introduced starting from IDA Pro 7.5. The output looks clean but often over-simplified. Certain instructions are completely absent from the output. You may want to use the [psxida https://github.com/lab313ru/psxida/] plugin. Not recommended other than very specific scenario.

Disassemblers