| View previous topic :: View next topic |
| Author |
Message |
Gordon Freeman
Joined: 10 Jul 2005 Posts: 3
|
Posted: Sun Jul 10, 2005 9:12 am Post subject: SDK |
|
|
| excuse me,but how you guys buit your own unofficial PS2 SDK withouth the console technical specification? for building an sdk you first had to discover the machine internals,how did you do it ? |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Sun Jul 10, 2005 11:39 am Post subject: |
|
|
A quick and dirty overview would go like this:
- The psp package format (pbp) was dissected for months earlier this year.
- It was discovered that the relocation technique used by prx (psp executable) is similar to irx (ps2 iop executable), through identifiers known as nids.
- The psp primary cpu (allegrex) is mips and mips architectures are well documented.
- Official function names can be found in commercial binaries and generating the nids is straightforward. Also, many function names have been found by using by brute force dictionary attacks against lists of extracted nids.
edit: and i'm sure ps2 was very similar |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Sun Jul 10, 2005 10:28 pm Post subject: |
|
|
Heh.
Two big pits to know about ps2:
-) the linux kit provides lots of informations about the machine
-) lots of games (and even some parts of the bios I guess) have debug symbols in. _________________ pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department. |
|
| Back to top |
|
 |
Gordon Freeman
Joined: 10 Jul 2005 Posts: 3
|
Posted: Mon Jul 11, 2005 6:48 am Post subject: |
|
|
ok you read the debug symbols for finding out what are the function names and their respective addresses...but how did you know in which format they are stored debug symbols in the ps2 executables?
...and the format of ps2 executables itself,that surely is not PE like the Windows' one |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Mon Jul 11, 2005 11:45 am Post subject: |
|
|
ELFs. _________________ pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department. |
|
| Back to top |
|
 |
|