forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to identify custom firmware

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Thu Aug 16, 2007 6:08 am    Post subject: How to identify custom firmware Reply with quote

Is there a way to identify that a custom firmware is currently
installed in a PSP ?

I have a program that enables network support on 1.50, but
when the user uses a PSP with custom firmware and 1.50
emulation, the program hangs itself.

So, I must choose the correct initialization procedure, on the
basis of the firmware that is currently installed.

I have tried sceKernelGetDevkitVersion, but when the firmware
is in 1.50 emulation, the code returned is 1.50 and the program
cannot recognize that it is a custom firmware and not a real
1.50 firmware.

Thanks in advance.
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Thu Aug 16, 2007 9:06 am    Post subject: Reply with quote

from SDK of the past OE/SE firmwares

if user has Homebrew Enabler running
Code:
/**
 * Gets the HEN version
 *
 * @returns - The HEN version
 *
 * HEN D / SE-C :  0x00000400
 */
int sctrlHENGetVersion();


if user has Special Editions | Open Editions and NOT running HEN
Code:
/**
 * Gets the SE/OE version
 *
 * @returns the SE version
 *
 * 3.03 OE-A: 0x00000500
*/
int sctrlSEGetVersion();

_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
kururin



Joined: 05 Jul 2006
Posts: 36

PostPosted: Thu Aug 16, 2007 3:37 pm    Post subject: Reply with quote

Read the file /vsh/etc/version.txt. It is always plain text, and version code is there. If is something different to the 1.50 code, it is probably a custom firmware.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group