Giter Club home page Giter Club logo

missyhud.prx's Introduction

missyhud.prx

Long time ago, when I was a little kid, I used to play a lot of games on my PSP. In my time at the university I abandoned it in my office drawer. Years later, as part of the Glorious PC Gaming Master Race, a HUD is something always necessary for me. Not long ago, my PSP was reborn from the ashes, and I haven't found a plugin that meets my metric needs. Here it is.

missyhud.prx is a plugin to display a simple HUD.

missyhud.prx working on a PSP 1000 XMB and PSP 2000 running Crisis Core: Final Fantasy VII

Features

Note

Unmarked are W.I.P features.

  • Stupidly simple black UI (yes, the best one)
    • UI customization
    • Color customization
  • 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
    • Support for double buffering games (i.e. GTA: LCS)
    • Support for POPS (PSX eboots)
  • Key combination to turn on and off (Hold L + R + Start for 1 second)

Installation

  1. Download the latest release missyhud.prx from Assets
  2. Copy missyhud.prx to
    • ms0:/seplugins/ for PSP 1000, 2000, 3000 and Street
    • ef0:/seplugins/ for PSP Go
  3. Add the plugin to your VSH, GAME and/or POPS environments
    • SEPLUGINS.TXT in ARK systems
      • PSP 1000, 2000, 3000 and Street
      game, ms0:/seplugins/missyhud.prx, on
      vsh, ms0:/seplugins/missyhud.prx, on
      pops, ms0:/seplugins/missyhud.prx, on
      
      • PSP Go
      game, ef0:/seplugins/missyhud.prx, on
      vsh, ef0:/seplugins/missyhud.prx, on
      pops, ef0:/seplugins/missyhud.prx, on
      
    • game.txt, vsh.txt and/or pops.txt in Non-ARK systems
      • PSP 1000, 2000, 3000 and Street
      ms0:/seplugins/missyhud.prx 1
      
      • PSP Go
      ef0:/seplugins/missyhud.prx 1
      
  4. Restart your device and enjoy your HUD!

Usage

Once the plugin is activated, the HUD will automatically appear in the left corner of the screen. To hide it, hold L + R + Start for 1 second. To show it again, repeat the same.

Known issues and doubts

  • 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.

Why missy?

Missy is the name of my cat.

missyhud.prx's People

Contributors

pebeto avatar

Stargazers

Jake Langford avatar Un Desarrollador Más avatar  avatar Alrizki Pasca avatar Jevin Sweval avatar  avatar

Watchers

Jevin Sweval avatar  avatar

missyhud.prx's Issues

`printPowerInfo` crashes when the PSP is turned on from standby

Function:

void printPowerInfo() {
    if (scePowerIsBatteryCharging()) {
        char percentMsgCharging[24];
        sprintf(percentMsgCharging, "Power: %u%% (charging...)",
            scePowerGetBatteryLifePercent());
        blit_string(0, 1, percentMsgCharging, 0xFFFFFF, 0x000000);
    }
    else {
        char percentMsgMinutes[19];
        sprintf(percentMsgMinutes, "Power: %u%% (%u mins)",
            scePowerGetBatteryLifePercent(), scePowerGetBatteryLifeTime());
        blit_string(0, 1, percentMsgMinutes, 0xFFFFFF, 0x000000);
    }
}

Some games show constant 0 fps

It seems that using the method defined in getFps we cannot calculate the frame-rate for [ULES00108] Midnight Club 3: DUB Edition. I don't know the reason, but I think it could be something related to the fact that it was designed with a vision to an old firmware (kernel 1.XX or 2.XX).

UI and color customization

  • Pre-configured component positions
    • top left corner
    • top right corner
    • bottom left corner
    • bottom right corner
    • middle left
    • middle right
    • middle top
    • middle bottom
  • Button combination to swap between pre-configured positions (maybe L + R + TRIANGLE)
  • If ms0:/seplugins/missyhud.config exists, load BG_COLOR and FG_COLOR, disable Pre-configured component positions, and disable components.
# missyhud.config sample
# BG/FG colors as 0xRRGGBB
POS_X=0
POS_Y=0
BG_COLOR=0x000000
FG_COLOR=0xFFFFFF
CPU_INDICATORS=1
POWER_INDICATORS=1
RAM_INDICATORS=1
FPS_INDICATOR=1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.