QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[Release]Power Management Plugin

This is a discussion on [Release]Power Management Plugin within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi folks, some days ago I thought on beginning with plugins, and I coded this plugin in a few hours ...

Reply
 
LinkBack Thread Tools
Old 08-08-2007, 01:24 PM   #1
 
Join Date: Oct 2006
Posts: 19
Trader Feedback: 0
Default [Release]Power Management Plugin

Hi folks, some days ago I thought on beginning with plugins, and I coded this plugin in a few hours expecting this can be useful for someone, for using it or simply for learning on how to code a plugin, because sources are bundled.

This plugin has been designed and coded to optimize the energy consumption of
the PSP while we stay in the XMB.

This plugin has 4 main functions described here.

-Music Mode: To activate this mode you have to press L+R, this performs an
underclock to 60Mhz for the CPU and 30 Mhz for the main system bus, suitable
to listen to your Mp3 and even ATRAC music files. Pressing again L+R will set
the CPU/Bus speeds to the ones you had previously configured.

-ToggleIdle: This mode disables the autoidle feature of the console (not of the screen)
this mode can be toggled on/off by pressing R+START, useful when watching pictures of any kind
(even porn! xD).

-PowerLock: Pressing R+NOTE you will block the console power switch in order to prevent an accidental
turn off of the system, if you toggled it on and you attempted to turn off the console it will simply
don't, but when you unlock it, the console automatically will turn off (if you did not touch the power switch
it will unlock but it won't turn off the system).

-Software full power off: Pressing R+SELECT, the system will turn off totally, something like this was done by
Test30 in his fastpower plugin, and this is what i've done in 4-5 Hours...

To prevent issues like console hang ups, execute all the modes in the root of the XMB.

Last edited by 3r Ch4mp1; 05-21-2008 at 08:10 AM..
3r Ch4mp1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 01:37 PM   #2
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

sorry everyone this looks ok and i didnt see the point but i do now

sorry if i affended someone
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).

Last edited by FaT3oYCG; 08-08-2007 at 09:52 PM..
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 01:41 PM   #3

Avada Kedavra
 
Join Date: May 2007
Location: Spain
Posts: 703
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
this is useless, pointless and no one will use it

people prefer to play homebrew on their psp and use useful plugins why would you either want to underclock ur psp or mess with power off functions as the psp does not consume much battery while in the xmb anyway ????

load of c,. R., a,.P
Are you retarded?
Coolj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 01:44 PM   #4
 
Join Date: Jul 2006
Location: USA SC/NC
Posts: 699
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
this is useless, pointless and no one will use it

people prefer to play homebrew on their psp and use useful plugins why would you either want to underclock ur psp or mess with power off functions as the psp does not consume much battery while in the xmb anyway ????

load of c,. R., a,.P
You are an idiot. This plugin is very useful. You can save the battery life when you are listening to music and whatnot. If the CPU is set to around 30MHZ, you can squeeze around 18-24 hours out of the battery which is something I tested back when 2.71 HEN was around.
__________________
[CODE]Random Facts:
irc://irc.malloc.us #wtf #**********
[/CODE]

[SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]
Moca is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 01:45 PM   #5
 
Korlithiel's Avatar
 
Join Date: Aug 2006
Posts: 454
Trader Feedback: 0
Default

Since the irsmp3 can be used for changning clock speeds that feature may not be so useful for me.

The toggle idle and the powerlock though are useful features. I would like to see most of this implemented into the next version of mp3prx v04f since I use that rather often and it is a better choice overall but this is a nice plug-in for the features it has.

Before I use it I have to ask, are you sure it's stable?
Korlithiel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 01:47 PM   #6
 
Join Date: Aug 2007
Posts: 2
Trader Feedback: 0
Default

Quote:
Originally Posted by Coolj
Are you retarded?
You're certainly right there!!!

As for underclocking the xmb - the more battery you can get out of your psp so you can listen to music the better, especially when your out and can't charge it! I happen to think this is a great plugin, especially since the source was also provided so anyone can customize it (for instance i'm running 3.40* LE firmware and the combo select + r trigger of this plugin conflicts with the xmb recovery but the source is there so it can be altered)!
xfile087 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 02:05 PM   #7
 
Join Date: Oct 2006
Posts: 19
Trader Feedback: 0
Default

Quote:
this is useless, pointless and no one will use it

people prefer to play homebrew on their psp and use useful plugins why would you either want to underclock ur psp or mess with power off functions as the psp does not consume much battery while in the xmb anyway ????

load of c,. R., a,.P
People enjoys trolling, and i'm happy if it is useful for someone, it was designed to work with 3.52 M33-2 but, if you have another firmware, as said by xfile087 you only need to adapt and recompile sources...
3r Ch4mp1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 02:08 PM   #8
Enter Custom Title
 
Join Date: Feb 2006
Location: National Front Disco
Posts: 13,063
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
pointless and no one will use itP
Like your homebrew then?

Very nice release, thanks.
Moose is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 02:12 PM   #9
 
ghostENVY's Avatar
 
Join Date: Jul 2005
Location: California
Posts: 2,408
Trader Feedback: 0
Default

im using it
__________________
"The True Master Paralyzes His Opponent Leaving Him Vulnerable to Attack"
M.Shinoda
V.3.52 M33
[B][FONT="Times New Roman"]Thanks Deturb For Premium.[/FONT][/B]
[IMG]http://i118.photobucket.com/albums/o106/ghostENVY/Untitled-2.jpg[/IMG]
ghostENVY is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 02:24 PM   #10
 
Join Date: Jan 2007
Location: Nova Scotia, Canada
Posts: 702
Trader Feedback: 0
Default

Awesome, good job although I use light mp3 for my music. keep up the good work.
__________________
[B]pie[/B]
HippyG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 02:33 PM   #11
Overlord
 
haru3173's Avatar
 
Join Date: Jun 2007
Real First Name: haru
Location: Netherworld
Just Played: Disgaea 3
Posts: 416
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
this is useless, pointless and no one will use it

people prefer to play homebrew on their psp and use useful plugins why would you either want to underclock ur psp or mess with power off functions as the psp does not consume much battery while in the xmb anyway ????

load of c,. R., a,.P
I'm using it. Its actually a useful plugin cause it saves some battery power.
haru3173 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 03:14 PM   #12
 
radioactive_X's Avatar
 
Join Date: Apr 2007
Location: Relative
Posts: 135
Trader Feedback: 0
Default

Listen only to constructive criticism, forget about flamers, don't let them bother you.

Keep up the good work!
radioactive_X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 03:44 PM   #13
 
Join Date: Oct 2006
Posts: 2
Trader Feedback: 0
Default

Quote:
Originally Posted by xfile087
You're certainly right there!!!

As for underclocking the xmb - the more battery you can get out of your psp so you can listen to music the better, especially when your out and can't charge it! I happen to think this is a great plugin, especially since the source was also provided so anyone can customize it (for instance i'm running 3.40* LE firmware and the combo select + r trigger of this plugin conflicts with the xmb recovery but the source is there so it can be altered)!
@xfile087: can you post the modified files?!

i find this plugin very useful, and i´m using the 3.40LE too..
madmarf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 03:45 PM   #14
 
Join Date: Oct 2006
Posts: 19
Trader Feedback: 0
Default

Quote:
@xfile087: can you post the modified files?!

i find this plugin very useful, and i´m using the 3.40LE too..
Just tell me what button combos you want and i'll make an 3.40LE build of the plugin

Finally I'll follow your advice radioactive_X
3r Ch4mp1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 03:50 PM   #15

Avada Kedavra
 
Join Date: May 2007
Location: Spain
Posts: 703
Trader Feedback: 0
Default

Quote:
Originally Posted by 3r Ch4mp1
Finally I'll follow your advice radioactive_X
Sure!Don't listen to retards
Coolj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 04:32 PM   #16
 
LogiKz's Avatar
 
Join Date: Feb 2007
Location: OneHitGamer
Posts: 117
Trader Feedback: 0
Default

Lol Dont listen to anyone, this program is pretty cool man
I plan on learning how to make plugins within the next couple of months so I might run to you if i can't get something right :]
LogiKz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 04:44 PM   #17


Developer
 
bhunter's Avatar
 
Join Date: Dec 2006
Location: Sydney, Australia
Posts: 163
Trader Feedback: 0
Default

This is a great idea, I just wish I had it last weekend when I was on a 22 hour flight to the USA for work .

In music mode, does it kill the screen too?

And yes, before anyone says it I know you can hold the screen button to acheive this. I just thought it would be nice if this killed the screen and an accidental button press would not bring it back. I hate using the keylock because half the time you turn the keylock off you turn the damn PSP off
__________________
PSP History
Bought Dec 15th 2006 @ 2.6 -> 2.71 HEND -> 1.5 -> 3.02 OE-A -> 3.02 OE-B -> 3.03 OE-A -> 3.03OE-A' -> 3.03 OE-B -> 3.10 OE-A -> 3.10 OE-A' -> 3.30 OE-A.
bhunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 04:50 PM   #18
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

ok im sorry i didnt see the point but i do now sorry if i affended u or anyone else
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 08:41 PM   #19
 
Join Date: Dec 2006
Posts: 94
Trader Feedback: 0
Default

this plugin rocks.. but the problem is its getting in the way of my other plugin... (L and R moves the xmb thingie) is there any way i can change the button config...

can i hexedit this? ill try to practice with button change using hex only...
keedier is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 08:43 PM   #20
 
Join Date: Mar 2006
Posts: 698
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
this is useless, pointless and no one will use it

people prefer to play homebrew on their psp and use useful plugins why would you either want to underclock ur psp or mess with power off functions as the psp does not consume much battery while in the xmb anyway ????

load of c,. R., a,.P
saw your apology and thanks for doing that
__________________
[COLOR="red"]"Sometimes death is all you can see, its all around you, it consumes you, so you have to look it in the eye and bare you teeth!"[/COLOR]
Clan [COLOR="Red"]iD [/COLOR]
[COLOR="Lime"]Xbox 360[/COLOR]
[COLOR="Red"]PS3[/COLOR]
[COLOR="DarkOrange"]PSP -1000 (5.00 m33)[/COLOR]
PSPS1PS2PSPPS3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 08:58 PM   #21
 
ghostENVY's Avatar
 
Join Date: Jul 2005
Location: California
Posts: 2,408
Trader Feedback: 0
Default

Quote:
Originally Posted by 3r Ch4mp1
Just tell me what button combos you want and i'll make an 3.40LE build of the plugin

Finally I'll follow your advice radioactive_X
heres a request if u would love to improve ur plug-in i think its great by the way
maybe u should add an auto feature in which when u enter the music menu or play a song the mhz switch to a native lower speed to save enerygy and so fourth with the pictures and video .So that u dont have to worry about switching them (options)
__________________
"The True Master Paralyzes His Opponent Leaving Him Vulnerable to Attack"
M.Shinoda
V.3.52 M33
[B][FONT="Times New Roman"]Thanks Deturb For Premium.[/FONT][/B]
[IMG]http://i118.photobucket.com/albums/o106/ghostENVY/Untitled-2.jpg[/IMG]
ghostENVY is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2007, 09:10 PM   #22
 
Join Date: Mar 2006
Posts: 698
Trader Feedback: 0
Default

Quote:
Originally Posted by ghostENVY
heres a request if u would love to improve ur plug-in i think its great by the way
maybe u should add an auto feature in which when u enter the music menu or play a song the mhz switch to a native lower speed to save enerygy and so fourth with the pictures and video .So that u dont have to worry about switching them (options)
i agree
__________________
[COLOR="red"]"Sometimes death is all you can see, its all around you, it consumes you, so you have to look it in the eye and bare you teeth!"[/COLOR]
Clan [COLOR="Red"]iD [/COLOR]
[COLOR="Lime"]Xbox 360[/COLOR]
[COLOR="Red"]PS3[/COLOR]
[COLOR="DarkOrange"]PSP -1000 (5.00 m33)[/COLOR]
PSPS1PS2PSPPS3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 02:49 AM   #23
 
Join Date: Oct 2006
Posts: 19
Trader Feedback: 0
Smile

Quote:
Originally Posted by keedier
this plugin rocks.. but the problem is its getting in the way of my other plugin... (L and R moves the xmb thingie) is there any way i can change the button config...

can i hexedit this? ill try to practice with button change using hex only...
No need for hex editing, you only need to change the source code to your needs and then recompile it, just simple as that!

I'll try to improve the music mode with those suggestions you've made me, the screen kill and the auto underclocking. If the pspsdk is capable to do that i will do it.
3r Ch4mp1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 06:26 AM   #24
 
Join Date: Aug 2007
Location: Lithuania
Posts: 31
Trader Feedback: 0
Default

Quote:
Originally Posted by 3r Ch4mp1
-ToggleIdle: This mode disables the autoidle feature of the console (not of the screen)
this mode can be toggled on/off by pressing R+START, useful when watching pictures of any kind
(even porn! xD).
what does this function?
Nnemo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 07:36 AM   #25
 
Join Date: Oct 2006
Posts: 19
Trader Feedback: 0
Default

It avoids that the console shuts down, but it not avoids the screen turn off!
3r Ch4mp1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 10:12 AM   #26
 
Join Date: Oct 2006
Posts: 2
Trader Feedback: 0
Default

thanks a lot for the nice supply, i would like to change only the R & L Trigger Buttons..
found the line in the sourcecode and i think i know how change them but i didnt find any easy way to compile it without installing various SDKpackages etc.

is there any way to compile sources like this with a simple commandline-compiler, i am still a noob in compiler things..
and if no, do you know a small sized prog to compile or is there a recommended prog from your side?!

thanks a lot, and sorry for the little offtopic..
madmarf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 12:10 PM   #27
 
Join Date: Oct 2006
Posts: 19
Trader Feedback: 0
Default

You must use the psp toolchain for cygwin/linux to compile, but there are other alternatives like pspdev or devkitpro, tiem ago i saw precompiled toolchains too.

Google a bit about these ones and you'll be ready to compile the sources
3r Ch4mp1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2007, 08:38 PM   #28
 
madmax2's Avatar
 
Join Date: Aug 2006
Posts: 161
Trader Feedback: 0
Default

hey 3r_ch4mp
can you add this feature to bookr
so it doesn't dim the screen ever 2minutes?

Dimming only cause the screen to go darker but it doesn't turn the screen off.

Thus you can still read the words, but it is not good for the eyes.

I would like the screen to be constantly on the brightest level without it auto dim every 2 minutes.

Much appreciated if you can do this.
madmax2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-10-2007, 01:18 AM   #29
 
Join Date: Aug 2007
Posts: 3
Trader Feedback: 0
Default

sorry for this but how exactly do i install this plugin? no clue whatsoever on installing plugins and have tried to figure it out but its not working =\
(i just realized this is in the wrong forum, sorry)
doughboyy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-10-2007, 04:09 AM   #30
 
Join Date: Oct 2006
Posts: 19
Trader Feedback: 0
Default

Quote:
Originally Posted by doughboyy
sorry for this but how exactly do i install this plugin? no clue whatsoever on installing plugins and have tried to figure it out but its not working =\
(i just realized this is in the wrong forum, sorry)
Simply copy the contents of the binaries folder inside ms0:/seplugins, if you have an existing vsh.txt copy the line inside mine to the one you have, then activate the plugin inside the recovery menu.

Hope this helps you!

Quote:
can you add this feature to bookr
so it doesn't dim the screen ever 2minutes?
Currently this plugin only works in the XMB, but i'll try to improve it to work in game mode, but you'll have to activate deactivate it in recovery when you use homebrew, because it can interfere with games (when pressing L+R for example).

You all know i'm open to suggestions, and very happy of the welcome this plugin has received. If you can, post the suggestions on my new blog to centralize them in one place, thanks in advance
3r Ch4mp1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
management , plugin , releasepower

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 05:53 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us