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

Missyhud.prx: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
Line 13: Line 13:
}}
}}
{{lowercase title}}
{{lowercase title}}
missyhud.prx is a plugin to display a simple HUD.
missyhud.prx is a plugin to display a simple HUD (named after the author's cat).


== Features ==
== Features ==
* Stupidly simple black UI (yes, the best one).
* Stupidly simple black UI (yes, the best one).
** Cycle position (START + Analog left/right).
* Compatible with VSH, GAME and POPS.
* Compatible with VSH, GAME and POPS.
* RAM usage indicator.
* RAM usage indicator.
Line 54: Line 55:
== Changelog ==
== Changelog ==
'''v0.6 2024/10/23'''
'''v0.6 2024/10/23'''
* Implemented position cycling by using <code>START + Analog left/right</code>
* Implemented position cycling by using <code>START + Analog left/right</code>.
* Fixed PSP Go battery life indicator
* Fixed PSP Go battery life indicator.
** The PSP Go battery circuit is different from older models. It doesn't contain a controller to have the exact current state of the battery capacity
** The PSP Go battery circuit is different from older models. It doesn't contain a controller to have the exact current state of the battery capacity.
** <code>High</code>, <code>Medium</code> and <code>Low</code> values replaced the percentage approach for this model
** <code>High</code>, <code>Medium</code> and <code>Low</code> values replaced the percentage approach for this model.
** Implemented <code>isPSPGo</code> utility function, checking for Tachyon version <code>0x00720000</code> and <code>0x00810000</code>
** Implemented <code>isPSPGo</code> utility function, checking for Tachyon version <code>0x00720000</code> and <code>0x00810000</code>.


'''v0.5 2024/06/07'''
'''v0.5 2024/06/07'''
Line 78: Line 79:


'''v0.3 2024/06/04'''
'''v0.3 2024/06/04'''
* Implemented <code>printFps</code> to get the actual frame-rate by hooking <code>sceDisplaySetFrameBuf</code> to increment <code>fps_counter</code>.
* Implemented <code>printFps</code> to get the actual frame-rate by hooking <code>sceDisplaySetFrameBuf</code> to increment <code>fps_counter</code>.
** <code>hook.c</code> implementation thanks to Alexander &quot;Raphael&quot; Berl.
** <code>hook.c</code> implementation thanks to Alexander &quot;Raphael&quot; Berl.
Line 84: Line 84:


'''v0.2 2024/06/04'''
'''v0.2 2024/06/04'''
* <code>scePowerGetBatteryLifePercent</code> crash the PSP when waking up from standby. Replaced it by manually calculating the remaining capacity percentage.
* <code>scePowerGetBatteryLifePercent</code> crash the PSP when waking up from standby. Replaced it by manually calculating the remaining capacity percentage.
* Added <code>scePowerIsBatteryExist</code> in <code>printPowerInfo</code>.
* Added <code>scePowerIsBatteryExist</code> in <code>printPowerInfo</code>.


'''v0.1 2024/06/04'''
'''v0.1 2024/06/04'''
* Showing CPU/BUS frequencies with <code>printCpuBusFrequencies</code>.
* Showing CPU/BUS frequencies with <code>printCpuBusFrequencies</code>.
* Showing Power information with <code>printPowerInfo</code>.
* Showing Power information with <code>printPowerInfo</code>.

Latest revision as of 02:44, 27 October 2024

missyhud.prx
Missyhudpsp.png
General
Authorpebeto
TypePlugins
Version0.6
LicenseMixed
Last Updated2024/10/23
Links
Download
Website
Source

missyhud.prx is a plugin to display a simple HUD (named after the author's cat).

Features

  • Stupidly simple black UI (yes, the best one).
    • Cycle position (START + Analog left/right).
  • Compatible with VSH, GAME and POPS.
  • RAM usage indicator.
  • Power percentage indicator.
    • Duration minutes.
    • Charging detection.
    • No battery detection.
  • CPU indicators:
    • CPU Usage.
    • CPU clock speed.
    • BUS clock speed.
  • FPS indicator.
  • Key combination to turn on and off (Hold L + R + Start for 1 second).

Installation

Download the latest release.

Place missyhud.prx into:

  • ms0:/seplugins/ for PSP 1000, 2000, 3000 and Street
  • ef0:/seplugins/ for PSP Go

Open (or create) game.txt, vsh.txt and/or pop.txt in the seplugins folder, then add the following path to the test files.

For PSP 1000, 2000, 3000 and Street

ms0:/seplugins/missyhud.prx 1

For PSP Go

ef0:/seplugins/missyhud.prx 1

Screenshots

missyhudpsp2.png

Known issues

  • According to the PSPSDK documentation, sceKernelTotalFreeMemSize returns a different value than pspSdkTotalFreeUserMemSize
  • The FPS indicator does not work with double buffering. Follow-up on this issue is ongoing.

Changelog

v0.6 2024/10/23

  • Implemented position cycling by using START + Analog left/right.
  • Fixed PSP Go battery life indicator.
    • The PSP Go battery circuit is different from older models. It doesn't contain a controller to have the exact current state of the battery capacity.
    • HighMedium and Low values replaced the percentage approach for this model.
    • Implemented isPSPGo utility function, checking for Tachyon version 0x00720000 and 0x00810000.

v0.5 2024/06/07

  • Implemented Globals structure containing all shared project variables.
  • The declaration of Globals fields is done in their respective threads.
  • Defined macros to improve readability.
  • Improved getFPS function by removing overhead.
  • Implemented getCpuUsage and printCpuIndicators.
    • getCpuUsage implementation thanks to darko79.

v0.4 2024/06/06

  • Improved getFps function by changing sceKernelGetSystemTime with sceKernelGetSystemTimeLow (reduced overhead).
  • Implemented key combo (L + R + Start) to show/hide the HUD.
  • The plugin logic was separated into three different threads.
    • missyhud_worker_thread is in charge of system calls and computations.
    • missyhud_gui_thread is in charge of drawing the HUD.
    • missyhud_control_thread is in charge of reading user input.

v0.3 2024/06/04

  • Implemented printFps to get the actual frame-rate by hooking sceDisplaySetFrameBuf to increment fps_counter.
    • hook.c implementation thanks to Alexander "Raphael" Berl.
    • getFps implementation thanks to darko79.

v0.2 2024/06/04

  • scePowerGetBatteryLifePercent crash the PSP when waking up from standby. Replaced it by manually calculating the remaining capacity percentage.
  • Added scePowerIsBatteryExist in printPowerInfo.

v0.1 2024/06/04

  • Showing CPU/BUS frequencies with printCpuBusFrequencies.
  • Showing Power information with printPowerInfo.
  • Showing Memory usage with printMemoryUsage.

External links

Advertising: