13w ago - Today PlayStation 3 homebrew developer Choco made available a PPC Compiler for compiling PowerPC (Performance Optimization With Enhanced RISC Performance Comp) instructions to OpCodes for PS3 development and modding with details below.
To quote: This is a tool I created for compiling PowerPC instructions into OpCodes. This is EXTREMELY useful for PS3 modding, as all PS3 .elfs are PowerPC. This is a PPU compiler, so it will compile opcodes that will work for any PS3 game application (or xbox .xex files).
How to use:
1. Enter your instructions in the box on the left.
2. Enter the address that you will be injecting the opcodes at in the Start Address box (note, this is the address from IDA/Memory, not the HxD address).
3. Click the compile button.
4. Copy the opcodes from the rightmost box and paste them into your elf at the appropriate address.
To designate a register, put a "%" symbol in front of it. For example:
li r3, 0 <--this will not work.
li %r3, 0 <--this will work.
To quote from his blog (linked above): I have just released a tool to let you build under Osx Mountain Lion:
Sony binutils and toolchain gcc 4.1.1 for SDK 3.60. Don't ask about how to get SDK 3.60
ps3dev binutils, toolchain, psl1ght and ps3libraries
What does this do?
This program will automatically build and install a compiler and other tools official and homebrew used in the creation of official and homebrew software for the Sony PlayStation 3 videogame system using Osx Mountain Lion
What do I need ?
You will need a few tool installed before:
1) Your mac with Osx Mountain Lion. All was tested with mac mini late 2012
2) Enable root account. Ref support.apple.com/kb/PH11331
3) Install xquartz (x11) Ref...