difference between retail elf and PSPSDK

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
turkeyman
Posts: 75
Joined: Wed Oct 20, 2004 7:38 pm
Location: Brisbane, Australia
Contact:

difference between retail elf and PSPSDK

Post by turkeyman »

Hi people, i'm just wondering what differences, if any, there are between the elf found in a retail game, and the ones that the pspsdk generates?
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

retail are signed by sony
appossed to pspsdk eboots
that are not signed
10011011 00101010 11010111 10001001 10111010
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

Another difference is that retail games etc are not prerelocated, while PSPSDK generates elfs that are prerelocated to 0x08900000.
Last edited by ector on Fri Dec 16, 2005 4:35 am, edited 1 time in total.
http://www.dtek.chalmers.se/~tronic/PSPTexTool.zip Free texture converter for PSP with source. More to come.
Jabberwocky
Posts: 43
Joined: Wed Aug 03, 2005 6:58 pm

Post by Jabberwocky »

Just out of interest, why are the pspsdk elf's not relocatable?
User avatar
turkeyman
Posts: 75
Joined: Wed Oct 20, 2004 7:38 pm
Location: Brisbane, Australia
Contact:

Post by turkeyman »

ector: ah thanks, thats what i was interested in..

why are pspsdk elfs not relocatable? and out of curiosity, how would i make a common GCC compiler generate a fixed address elf given that specific address?
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

PSPSDK has support for building PRXs, which are relocatable, which are equivalent to the PRXs that retail games use (including the game itself).

As for your second question, usually you pass something like "-Ttext <address in hex>" to the linker.
rmedtx
Posts: 14
Joined: Tue Sep 13, 2005 11:44 pm
Location: USA
Contact:

Post by rmedtx »

If a game is developed using PSPSDK and let's say I buy the official dev kit. Can my game be converted (I don't know if this is the right word) to the official dev kit? What I mean is this. If I develop a game using PSPSDSK and I want to publish it commercially... Can I do it? (Getting Sony's License)
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

rmedtx wrote:If a game is developed using PSPSDK and let's say I buy the official dev kit. Can my game be converted (I don't know if this is the right word) to the official dev kit? What I mean is this. If I develop a game using PSPSDSK and I want to publish it commercially... Can I do it? (Getting Sony's License)
That's something that you need to discuss with Sony. As far as compatibility goes, there is no way to be 100% compatible with Sony's dev kit without having access to it, but all of the kernel libraries are mostly the same.
rmedtx
Posts: 14
Joined: Tue Sep 13, 2005 11:44 pm
Location: USA
Contact:

Post by rmedtx »

mrbrown wrote:
rmedtx wrote:If a game is developed using PSPSDK and let's say I buy the official dev kit. Can my game be converted (I don't know if this is the right word) to the official dev kit? What I mean is this. If I develop a game using PSPSDSK and I want to publish it commercially... Can I do it? (Getting Sony's License)
That's something that you need to discuss with Sony. As far as compatibility goes, there is no way to be 100% compatible with Sony's dev kit without having access to it, but all of the kernel libraries are mostly the same.
mrbown,
Sorry for the confusion I was talking about compatibility.
Thanks for answering my question.
Post Reply