(adsbygoogle = window.adsbygoogle || []).push({});
Hey NGU,
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).
Screenshot:
You must login or register to view this content.
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.
For bl instructions, just do:
bl (address to bl to)
For example:
bl 0x248FA4
For conditional branching instructions, just do the instruction followed by the distance to branch. For example:
bdnz -0x14
beq 0x14
bne 0x2C
Download
Download the tool here:
You must login or register to view this content.
View a virus scan here:
You must login or register to view this content.
(Sorry about the false positives, the app has been protected to prevent reverse engineering
)
Credits:
-BuC-Shotz for some help and some code
-The makers of MinGW
-xSonoro for packing
-iMCSx for some C# help
Enjoy guys, hopefully this will be useful to some of you!