Skip to content

PSP plugin that shows a blinking indicator when the battery is low.

Notifications You must be signed in to change notification settings

nuxa17/battery_icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battery_icon

About

This plugin will show a blinking low battery indicator. It works by hooking the sceDisplay syscall and patching sceDisplaySetFrameBuffer(), instead of simply modifying the content of the buffer (flickering may show up). It was an exercise for learning how to use PSPSDK, as well as a way to practice C. For that matter, I have used code for other projects as a way to understand what I was doing.

Some options can be changed on the .ini file, which must be on the same folder with the plugin. If the file cannot be found, it will be generated automatically. The image resizing is a bit odd, it will be changed in the future (probably).

PSPSDK needs to be installed for building, run make and you are ready to go!

Installation

Put battery_icon.prx and battery_icon.ini in the seplugins directory on your PSP Memory Stick.

On ARK

Open PLUGINS.txt in the same seplugins folder and append this line to the text file: all, ms0:/seplugins/battery_icon.prx, on

For PSP Go, add this line instead: all, ef0:/seplugins/battery_icon.prx, on

Reboot your PSP to take effect.

Other CFW

Open game.txt, vsh.txt, pops.txt in the same seplugins folder and append this line to the text files: ms0:/seplugins/battery_icon.prx 1

For PSP Go, add this line instead to the text files: ef0:/seplugins/battery_icon.prx 1

Reboot your PSP to take effect.

Screenshots

Cool projects used for research

Documentation

Thanks to

LICENSE

Do whatever you want with my code as long as you credit me!

About

PSP plugin that shows a blinking indicator when the battery is low.

Resources

Stars

Watchers

Forks

Packages

No packages published