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 

fx_powerspoof

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



Joined: 27 Nov 2008
Posts: 108

PostPosted: Sun Jan 25, 2009 10:45 am    Post subject: fx_powerspoof Reply with quote

Yeah yeah, fx prefix, just happened to be the name of the folder, because powerspoof was taken in my archives of source(tried making it a while back and failed).

I somehow misplaced my battery and needed to install a game patch, so I cooked this up, and installed some patch without a battery, that normally requires like 75% battery, which is 100% pointless. It even unloads itself after patching the functions.

Readme:
Quote:
Quite simple, just stick it in seplugins, than add it to your game.txt and/or vsh.txt, then watch your system settings always think you have a battery at 100%, when it reality, you (probably) do not.

The main use for this is those games that install updates sony-style, and require 75% or so battery, when that is totally unnecessary and a waste of your time, because if you run out of battery - oh well, start over, nothing harmed, as it does not flash a thing.

How NOT to use:
During flashing(specifically flash0) things that require 75% battery. Not a bright idea. You can, but if you screw up, not my problem :).

How it works:
Patches
1. scePowerGetBatteryPercent to always return 100 via jr ra->addiu $v0, $zero, 100
2. scePowerIsLowBattery to always return 0 via jr ra->addu $v0, $zero, $zero
3. scePowerIsBatteryExist to always return 1 via jr ra->addiu $v0, $zero, 0x0001

THEN

Unloads itself, so it won't make your kernel memory all lame and sliced up


Download:
http://www.sendspace.com/file/ero9ji
_________________
Programming with:
Geany + Latest PSPSDK from svn
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