Pergame PSP

From GameBrew
Pergame
Pergame.png
General
AuthorAtomicDryad
TypePlugins
Version0.4.0
LicenseMixed
Last Updated2010/07/30
Links
Download
Website
Source

Pergame is a small module that loads other modules as if they were in /seplugins/game.txt The difference here is that pergame.prx loads on a per-eboot basis. This is done via a central pergame.txt or individual EBOOT.plugins files.

The configuration system (pergame.txt) aims to be versatile; filenames, partial paths, and umdIDs can be used as matching criteria. Also, each ISO or eboot may have a configuration file named FILENAME.plugins that contains plugins to load (one per line).

Installation

Place the prm folder, pergame.prx file and pergame.txt to the seplugin folder in the root of your Memory Stick.

Open game.txt (create it if you do not have it) in ms0:/seplugins/ and add either one of the following statement, based on your device.

For PSP add this line to the text file

ms0:/seplugins/pergame.prx 1

For PSPgo add this line to the text file

ef0:/seplugins/pergame.prx 1

User guide

How to use

Modify pergame.txt and examples following its structure/syntax. Each line represents an instruction, comprises of 2 parts: module and identifier.

Module:

  • Path to a plugin.
  • No spaces. Case insensitive. "ms0:" is not required.
  • Put "!" in the beginning will disable the plugin (for the matching homebrews/games).
  • Example "ms0:/path/to/a/plugin.prx" (without quotes).
  • Put "#" in the beginning of the line to comment (disable the single line).

Identifier:

  • Matching application/homebrew/game for the specific plugin/module (on the same line).
  • Can contain spaces. Case insensitve. "ms0:" is not required.
  • ISO example "/iso/name_of_game.cso".
  • EBOOT example "/psp/game/filer/eboot.pbp".
  • Partial match example "/psp/game/cat_internet/".
  • UMDID example "JPJP65535" or "usls-99999".
  • All physical UMDs write "umd".
  • All ISOs or CSOs write "iso".

Additional

  • Autosort - Enabling it will move eboot to the top of XMB's game list whenever it is launched.
  • Logging - For debugging. Please refer to readme for more details.

Examples

Scenario 1:

# Applying the CFE plugin to the Gran Turismo game.
ms0:/seplugins/CFE/cfe_loader.prx ms0:/ISO/CAT_Games/GT.cso

Scenario 2:

# Making a blacklist from the CWCheat to the Gran Turismo game.
!ms0:/seplugins/CWCheat.prx /ISO/CAT_Games/GT.cso

Scenario 3:

# Using the UMD ID instead of the game path.
/seplugins/CFE/cfe_loader.prx ULUS-65465

Scenario 4:

# Applying the plugin to all the UMD that you play.
ms0:/seplugins/CFE/cfe_loader.prx UMD

Scenario 5:

# Applying the plugin to all ISOs and CSOs games.
ms0:/seplugins/CFE/cfe_loader.prx iso

Compatibility

Tested with: CFW 5.00m33, m33_620.prx, stargate.prx, freecheat, tons of games.

Changelog

v0.4

  • Major fix. ISO detection more reliable; using an m33 function now, direct memory reading by address depricated. umdID is still detected via memory read until/unless a better means is found.
  • Feature. Blacklisting modules with "!/seplugins/mod.prx". Blacklists must be before the entries they blacklist. The top of local .plugins conf file is best.
  • Fix. PSP type and Firmware version now detected, and memory addresses are adjusted accordingly.
  • Debugging. pergame.txt options added: "oldisopath=1" (use old memory-read isofinder), umdaddr=0x880137B0 (mem addr where UMDID is found).

v0.3.3

  • Fix. Memory string reader now only accepts 7bit strings. ISO path finder no longer returns success if it doesn't find "ms0:/...". This should fix problems with pergame assuming the game is an ISO instead of a physical UMD.
  • Debugging. isoaddr config entry will force pergame to look at the specified address for the iso's path, for example: isoaddr=0x88072408 (no spaces between ...=...)

v0.3.2

  • Feature. Putting autosort=1 in pergame.txt will cause launched homebrews/iso to move to the top of the XMB menu.

v0.3.1

  • Fix. Fixed issue with config parser croaking with too many #comments.

v0.3

  • Feature. Now loads GAME.iso.plugins, GAME.plugins, EBOOT.pbp.plugins, EBOOT.plugins and launches module entries within.
  • Fix. Pergame.txt now handles umdID's with dashes, and paths that start with "/".
  • Feature. "umd" now matches physical UMDs only, "iso" now matches iso/cso only.
  • Fix/debugging. Logging function is less crappy.
  • Debugging. Spammy verbose logging with logging=2.

v0.2

  • Fix. UMDID detection now works via direct memory read.
  • Feature. Relevant modules from 5.03 prometheus, altered to load entirely from MS, are now included default settings in pergame.txt will now cause prometheus to load for any ISO beginning with "prm" in the following folders: /iso, /iso/cat_game, /iso/cat_mini.

External links

Advertising: