Random Homebrew: Mega A** Hole
the drinking game Mega A** Hole
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

Real SDK

Open discussions on programming specifically for the PS Vita. The Playstation Suite SDK can be downloaded here: http://www.playstation.com/pss
Forum rules
No security discussions in here, we have another subforum for that, thanks.

Real SDK

Postby Quaeton » Thu May 03, 2012 6:10 pm

Obviously the PSSuite C# SDK isn't the real native programming enviroment for big game developers and the Vita firmware. So, my question is how does this 'real' SDK get released into the public like the PSP C SDK? Is it by a leak from a developer?

Is it just a case of decrypting the firmware and seeing how the different functions are defined? For example if the native programming language for Vita is C then usual functions: if while for etc. will apply and will form the basics of the SDK. Then extensions on the SDK will include finding other functions like sceTouchScreen sceRearTouchScreen or something like that?
Quaeton
 
Posts: 32
Joined: Mon Mar 05, 2012 9:37 pm

Re: Real SDK

Postby m0skit0 » Fri May 04, 2012 8:32 am

AFAIK the PSPSDK was not leaked. It was made from scratch using information gathered from PSP, and specially (IIRC) the Bubble Bobble game with debug info on the retail version helped a lot to make a working SDK and figuring out the functions names used by the official SDK.

Quaeton wrote:Is it just a case of decrypting the firmware and seeing how the different functions are defined?

You actually don't need anything from the firmware. If you are able to RE the executables (e.g. PRXs on PSP) then you can create tools to make your own.

Quaeton wrote:For example if the native programming language for Vita is C

Common mistake: programming languages are not native to anything. ALL devices have only ONE native language: machine code. Anything else (.e.g assembly, C, C#, Java, whatever) is for us humans. Machines do not understand a thing about that.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: Real SDK

Postby jrbo » Fri May 04, 2012 12:34 pm

m0skit0 wrote:AFAIK the PSPSDK was not leaked. It was made from scratch using information gathered from PSP, and specially (IIRC) the Bubble Bobble game with debug info on the retail version helped a lot to make a working SDK and figuring out the functions names used by the official SDK.

Quaeton wrote:Is it just a case of decrypting the firmware and seeing how the different functions are defined?

You actually don't need anything from the firmware. If you are able to RE the executables (e.g. PRXs on PSP) then you can create tools to make your own.

Quaeton wrote:For example if the native programming language for Vita is C

Common mistake: programming languages are not native to anything. ALL devices have only ONE native language: machine code. Anything else (.e.g assembly, C, C#, Java, whatever) is for us humans. Machines do not understand a thing about that.



If we were to somehow obtain the Vita SDK (real sdk) then wouldn't trying to break into the system using mod chips or hacks be useless since you have the full sdk?
jrbo
 
Posts: 163
Joined: Wed Apr 04, 2012 7:56 pm

Re: Real SDK

Postby Quaeton » Fri May 04, 2012 12:52 pm

m0skit0 wrote:AFAIK the PSPSDK was not leaked. It was made from scratch using information gathered from PSP, and specially (IIRC) the Bubble Bobble game with debug info on the retail version helped a lot to make a working SDK and figuring out the functions names used by the official SDK.


So the debug information was a 'sort of' leak?

So what about the complier? How did developers get to understand the structure of an EBOOT.PBP since this is specific to the PSP not the C language?

jrbo wrote:If we were to somehow obtain the Vita SDK (real sdk) then wouldn't trying to break into the system using mod chips or hacks be useless since you have the full sdk?


Even with the full SDK you would still need to hack into the system to find an exploit. Programs made from the real SDK can only be executed through an exploit, or with the official key to sign it.
Quaeton
 
Posts: 32
Joined: Mon Mar 05, 2012 9:37 pm

Re: Real SDK

Postby m0skit0 » Fri May 04, 2012 1:16 pm

Depends on what SDK we're talking about: if the game developer's SDK or Sony's internal PSV development SDK (e.g. kernel SDK and such). For the first, then no, you'll most likely still need a hardware hack for a more advanced control.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: Real SDK

Postby Yoti » Mon May 07, 2012 7:46 pm

Quaeton wrote:So what about the complier? How did developers get to understand the structure of an EBOOT.PBP since this is specific to the PSP not the C language?

1) PSP ELFs are similar to plain Linux ELFs
2) .PBP is a very simple container, just look and try to change something here and there
User avatar
Yoti
VIP
 
Posts: 246
Joined: Sun Oct 17, 2010 4:49 am
Location: Russia

Re: Real SDK

Postby m0skit0 » Tue May 08, 2012 12:02 pm

Quaeton wrote:So the debug information was a 'sort of' leak?

Kind of...

Quaeton wrote:How did developers get to understand the structure of an EBOOT.PBP since this is specific to the PSP not the C language?

No structure is specific to C language. C is a multi-purpose programming language and as such it doesn't define anything related to file structure. As Yoti said above, PBP is a mere Sony-specific ELF container.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: Real SDK

Postby WeThrowPSPs » Mon Jun 18, 2012 12:57 am

I believe some people are working to get a dev kit to run unsigned arm assembly language. Like on the original Japanese psp firmware when we were able to run unsigned MIPS elfs
WeThrowPSPs
Banned
 
Posts: 7
Joined: Sat Jun 16, 2012 9:58 pm

Re: Real SDK

Postby wololo » Mon Jun 18, 2012 1:26 am

jrbo wrote:If we were to somehow obtain the Vita SDK (real sdk) then wouldn't trying to break into the system using mod chips or hacks be useless since you have the full sdk?

No. The SDK helps you building binaries, but will not contain anything related to encrypting/signing them. So, you would create binaries that can potentially run on the Vita, but they would need to go through Sony to get signed.

Mod chips and hacks are usually here to bypass the verification process for signatures/encryption.
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4642
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests