Official download: http://code.google.com/p/cxmb-override/downloads/list?q=label:Pergame

Desc:
  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. Thus one doesn't need
    to toggle a specific module on or off if they only need it to make one game run in m33, and
    cheat programs that break some homebrew can be told only to load for isos/umds.
  Games that require m33_620.prx/etc run successfully when using this loader instead of
    /seplugins/game.txt.

- NOT COMPATIBLE WITH SONY NP9660 ISO DRIVER -

Changelog:
0.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 ...=.. )
0.3.2: * feature * Putting autosort=1 in pergame.txt will cause launched homebrews/iso to move to the top of the xmb menu. 
0.3.1: * fix * Fixed issue with config parser croaking with too many #comments.
  0.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
  0.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.
  
Installation/usage:
  Throw the prx anywhere and add to ms0:/seplugins/game.txt. put pergame.txt In the same folder
  and edit. Syntax is (per line):
    module identifier
  where 'module' = 'ms0:/path/to/a/plugin.prx'. No spaces. Case insensitive. If path stats with '/', assumes
    ms0:/PATH
  and 'identifier' = ms0:/path/, /path/, gameid (ie jpjp65535), or 'umd'. Spaces allowed. Case insensitive.
    GameID can contain a dash, or not.
  Examples:
    /seplugins/cwcheat/cwcheat.prx	ms0:/iso/cat_game/name_of_game.cso
    ms0:/freecheat/fc_3xx.prx           usls-99999
    /seplugins/m33_620.prx              /iso/cat_newgames/
    /seplugins/lolmodule.prx            /psp/game/cat_testing/lolhomebrew/eboot.pbp
    /seplugins/lolmodule.prx            /psp/game/cat_testing/lolhomebrew/eboo
    See pergame.txt for more examples.
  Also, the module will attempt to load the following files, which can contain one module name per line:
    /iso/name_of_game.iso.plugins, /iso/name_of_game.plugins, /psp/game/name_of_homebrew/eboot.pbp.plugins,
    /psp/game/name_of_homebrew/eboot.plugins
  Examples:
    /iso/flow.cso.plugins or /iso/flow.plugins
    /psp/game/filer/eboot.plugins or /psp/game/filer/eboot.pbp.plugins


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

License: 
  GPL. Feel free to distribute, alter, or mutiliate - but you must distribute the source code
    of any derivative works.

Caveats:
  This is written for CFW 5.00m33 (primarily for selective use of m33_620). Determining
    which iso is being launched is done by reading SystemController's memory. The ISOOFFSET
    (0x0000B108) defined at the top of main.c is where one can adjust this. If you can
    provide an offset for a particular firmware I'll include it in a future version - 
    which will have version detection. 
  This uses a StartModuleHandler, and I have yet to determine how to turn it off.

Todo:
  DONE: Fix UMD-IDs and real UMDs.
  Fix np9660 compatibility.
  Maybe? Automatic on-the-fly prometheus patching via temporary SceIO hooks.

