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!

[UPDATE] Hold+ v3.2 - Battery Saver Plugin

This is a discussion on [UPDATE] Hold+ v3.2 - Battery Saver Plugin within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Finally nailed that bug which was causing the battery icon to disappear! It was due to a SysCon dependent function ...

Reply
 
LinkBack Thread Tools
Old 10-31-2008, 01:24 AM   #1

¡Éste es Spartaaaaaaa!
 
Torch's Avatar
 
Join Date: Jun 2007
Posts: 2,472
Trader Feedback: 0
Post [UPDATE] Hold+ v3.2 - Battery Saver Plugin

Finally nailed that bug which was causing the battery icon to disappear! It was due to a SysCon dependent function being called from within the SysCon callback function..DOH!

Changelog v3.2
----------------------------------
Fixed a bug where after you exit a Photo or the Browser, the battery icon would keep disappearing and reappearing.

Fixed a bug where each time you exit a Photo or the Browser, the first time you turn on Hold after that it would only go to Normal Hold mode.

Download: http://forums.**********.net/showthread.php?t=220

Changelog v3.1
----------------------------------
Reduced CPU usage by delaying longer in main loop. Since v3.0 the main loop doesn't do much so it needn't run as fast as before. This *should* alleviate problems with the battery icon.

Now its not possible to accidently press 'other' buttons in hold mode while holding Select button. Ex: If you are holding Select + VolUp to increase volume, and you accidently press X, the X button will not have effect.

Changelog v3.0
----------------------------------
Completely overhauled the plugin to work using only the SysCon functions based on Booster's example.

The prevention of accidental suspend was changed to Booster's method as that is more efficient.

In Display Off mode, pressing the Screen button to return to normal no longer causes the firmware's internal brightness variable to become one step higher and the original screen brightness.

Added the ability to use some of the buttons while in hold mode, by holding the Select button first.
__________________
You didn't hear it.
You didn't see it.
You won't say nothing to no one, never in your life.
You never heard it.
How absurd it all seems without any proof.

Last edited by Torch; 10-31-2008 at 01:37 PM.. Reason: Updated to v3.2
Torch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-31-2008, 03:47 AM   #2
 
Tets's Avatar
 
Join Date: Jan 2008
Posts: 34
Trader Feedback: 0
Default

While playing around with the new version, I encountered a really weird bug. I've been able to reproduce it, but haven't pinpointed the sequence of events that triggers it. All I know is that at some point Hold+ seems to cause the firmware to repeatedly change which power source it reports as being in use. I noticed this when the battery level icon kept disappearing, regardless of the fact that my PSP was clearly running on battery power. I confirmed this by going to battery information in the XMB, where I saw it switching between battery and external every couple of seconds.

This is on an original model PSP with a clean installation of 5.00 M33-3, and I tested without any other vsh plugins active. There don't seem to be any negative side effects of the bug as far as I can tell.
Tets is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-31-2008, 04:00 AM   #3

¡Éste es Spartaaaaaaa!
 
Torch's Avatar
 
Join Date: Jun 2007
Posts: 2,472
Trader Feedback: 0
Default

Quote:
Originally Posted by Tets View Post
While playing around with the new version, I encountered a really weird bug. I've been able to reproduce it, but haven't pinpointed the sequence of events that triggers it. All I know is that at some point Hold+ seems to cause the firmware to repeatedly change which power source it reports as being in use. I noticed this when the battery level icon kept disappearing, regardless of the fact that my PSP was clearly running on battery power. I confirmed this by going to battery information in the XMB, where I saw it switching between battery and external every couple of seconds.

This is on an original model PSP with a clean installation of 5.00 M33-3, and I tested without any other vsh plugins active. There don't seem to be any negative side effects of the bug as far as I can tell.
This is due to the SysCon choking on too many packets being generated by function calls to it (its efficiency is reduced because Hold+ hooks and intercepts all its packets using its debug callbacks). I encountered it while developing the plugin.

It must be caused by some other plugin that is polling the controller too fast or something. Disable all other plugins and try.
EDIT...K you've already done that. I dunno, I'll have to see if it happens to me.
__________________
You didn't hear it.
You didn't see it.
You won't say nothing to no one, never in your life.
You never heard it.
How absurd it all seems without any proof.
Torch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-31-2008, 04:23 AM   #4
 
Tets's Avatar
 
Join Date: Jan 2008
Posts: 34
Trader Feedback: 0
Default

Ah, it looks like I was actually wrong about the plugins. I thought I had PSP HUD disabled a week ago, but I evidently I just set it to not display. I never even looked at the plugin list in the recovery menu since I just copied this version of Hold+ over the old one.

I'm not a big programmer myself, but I imagine PSP HUD, being as responsive as it is with updating the CPU clock and usage counter, might be polling syscon at a fairly fast rate. I'm going to try testing now with everything else properly disabled.

Update: I've managed to trigger it again, sort of. When the screen turned on again the battery level indicator was missing, but it reappeared soon after and stayed there.

Last edited by Tets; 10-31-2008 at 04:39 AM..
Tets is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-31-2008, 06:41 AM   #5

¡Éste es Spartaaaaaaa!
 
Torch's Avatar
 
Join Date: Jun 2007
Posts: 2,472
Trader Feedback: 0
Default

Updated to v3.1
-=Double Post Merge =-
Updated to v3.2. Battery Icon bugfix.
__________________
You didn't hear it.
You didn't see it.
You won't say nothing to no one, never in your life.
You never heard it.
How absurd it all seems without any proof.

Last edited by Torch; 10-31-2008 at 01:27 PM.. Reason: Automerged Doublepost
Torch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-01-2008, 05:53 AM   #6
 
Join Date: Apr 2008
Posts: 23
Trader Feedback: 0
Default

Hey,Torch,It seems the hold plugin doesn't work any more after I updated my phat psp to 5.00m33-3,I don't know why,please help me handle this problem,this plugin is pretty useful,i like it so much,thanks,I really appreciate that.
ApolloMars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-01-2008, 05:58 AM   #7

¡Éste es Spartaaaaaaa!
 
Torch's Avatar
 
Join Date: Jun 2007
Posts: 2,472
Trader Feedback: 0
Default

Quote:
Originally Posted by ApolloMars View Post
Hey,Torch,It seems the hold plugin doesn't work any more after I updated my phat psp to 5.00m33-3,I don't know why,please help me handle this problem,this plugin is pretty useful,i like it so much,thanks,I really appreciate that.
The format of the txt files in seplugins has changed since 5.00M33-2. Just go to recovery and disable and enable all the plugins again.
__________________
You didn't hear it.
You didn't see it.
You won't say nothing to no one, never in your life.
You never heard it.
How absurd it all seems without any proof.
Torch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-01-2008, 06:28 AM   #8
 
Join Date: Apr 2008
Posts: 23
Trader Feedback: 0
Default

Thanks,I tried,but it still can't work.
ApolloMars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-01-2008, 06:31 AM   #9

¡Éste es Spartaaaaaaa!
 
Torch's Avatar
 
Join Date: Jun 2007
Posts: 2,472
Trader Feedback: 0
Default

Create a new vsh.txt like this.
ms0:/seplugins/hold.prx 1

Make sure that XMB plugins are enabled under Advanced Configuration in Recovery.
__________________
You didn't hear it.
You didn't see it.
You won't say nothing to no one, never in your life.
You never heard it.
How absurd it all seems without any proof.
Torch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-01-2008, 06:34 AM   #10
 
Join Date: Apr 2008
Posts: 23
Trader Feedback: 0
Default

Still cannot work,i updated to the latest version.im upset.
ApolloMars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-01-2008, 11:29 AM   #11

¡Éste es Spartaaaaaaa!
 
Torch's Avatar
 
Join Date: Jun 2007
Posts: 2,472
Trader Feedback: 0
Default

Do any other plugins work?
__________________
You didn't hear it.
You didn't see it.
You won't say nothing to no one, never in your life.
You never heard it.
How absurd it all seems without any proof.
Torch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-03-2008, 08:09 AM   #12

¡Éste es Spartaaaaaaa!
 
Torch's Avatar
 
Join Date: Jun 2007
Posts: 2,472
Trader Feedback: 0
Default

Updated to v3.3
Check the new thread.
__________________
You didn't hear it.
You didn't see it.
You won't say nothing to no one, never in your life.
You never heard it.
How absurd it all seems without any proof.
Torch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
battery , hold , plugin , saver , update , v32

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 12:10 PM.



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