Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Battery icon PSP: Difference between revisions

From GameBrew
(Created page with "{{Infobox PSP Homebrews |title=battery_icon |image=batteryiconpsp.png |description=Shows a blinking indicator when the battery is low. |author=nuxa17 |lastupdated=2024/10/12 |type=Plugins |format= |version=1.0 |license=Mixed |download=https://dlhb.gamebrew.org/psphomebrew/battery_icon1.0.zip |website=https://github.com/nuxa17/battery_icon |source=https://github.com/nuxa17/battery_icon }}{{lowercase title}} This plugin will show a blinking low battery indicat...")
 
(got it working, fix typo)
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:


Edit game.txt, vsh.txt, pop.txt and add the following line
Edit game.txt, vsh.txt, pop.txt and add the following line
  ms0:/seplugins/battery_icon.prx.prx
  ms0:/seplugins/battery_icon.prx
Enable the plugin from the Recovery Menu and restart the device.


Enable the plugin from the Recovery Menu and reset VSH.
For ARK-4 users, place the plugin under ms0:/seplugins/. Then add the path in your PLUGINS.txt.
 
'''Note:''' Use the provided PLUGINS.txt instead if you have ARK-4 CFW installed.


== Screenshots ==
== Screenshots ==

Latest revision as of 06:07, 14 October 2024

battery_icon
Batteryiconpsp.png
General
Authornuxa17
TypePlugins
Version1.0
LicenseMixed
Last Updated2024/10/12
Links
Download
Website
Source

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 made as an exercise for learning how to use PSPSDK, as well as a way to practice C.

Installation

Copy the battery_icon.prx to ms0:/seplugins/.

Edit game.txt, vsh.txt, pop.txt and add the following line

ms0:/seplugins/battery_icon.prx

Enable the plugin from the Recovery Menu and restart the device.

For ARK-4 users, place the plugin under ms0:/seplugins/. Then add the path in your PLUGINS.txt.

Screenshots

batteryiconpsp2.png

Changelog

v1.0

  • First release.

Credits

Cool projects used for research:

Documentation:

Thanks to:

  • Gamebrew for being my starting point.
  • uOFW Team for the hooking libraries (see LICENSE_uOFW).
  • PSP Homebrew Community Discord for helping out.
  • Everyone who makes homebrew possible!

External links

Advertising: