xautob v0.4 - 271se autoboot plugin (by mov)

This is a plugin for autostarting eboots under firmware 2.71se (tested only under se-C)

Features:

- cheesy fix allowing cpu speed changes (amongst other things?) for autostarted
  iR Shell 3.0 under 2.71 kernel (not sure if the problem affects apps besides iR Shell
  - haven't checked - but the workaround is enabled for all 2.71 apps anyway).

- support for associating the following buttons with apps: triangle, circle, cross,
  square, ltrigger, rtrigger, up, down, left, right, select, start, hold, wlanon &
  wlanoff.

- config file support (psp/system/xautob.cfg); format: `button=ms0:/path/to/eboot'.
  includes basic comment support (lines prefixed with #), kernel specification,
  pretty loose button/kernel reading (ltrigger is the same as LtRiGgEr is the same as
  ltrig, 150 cross = cross_150, etc.). blank or invalid path entries in the config are
  interpreted as "load the XMB"; if multiple entries for the same button are found the
  last one is used. example config:


# wlan switch on? start irshell under kernel 2.71..
wlanon=ms0:/psp/game271/irshell271/eboot.pbp

# wlan switch off? start irshell under kernel 1.5..
wlanoff_150=ms0:/psp/game150/irshell150/eboot.pbp

# load xmb..
ltrig=

# start umd game..
triangle=disc0:/PSP_GAME/SYSDIR/EBOOT.BIN

# start game (iso/cso)..
circle=ms0:/iso/foo.iso


Installation:

  - copy xautob.prx to the seplugins/ directory on your memory stick.
  - add the path to the prx (ms0:/seplugins/xautob.prx) to `seplugins/vsh.txt'.
  - create `psp/system/xautob.cfg' (or use inc.) on the ms and add desired entries.
  - boot into 271se recovery mode (hold rtrigger when turning the psp on) and enable
    xautob.prx under `Plugins'.
  - exit recovery mode and hopefully everything will be working as it should. :)

Changes:

  v0.1 (10/12/2006):
    - initial release
  v0.2 (11/12/2006):
    - stupid bug that led to 271 apps being loaded under 150.. FIXED
  v0.3 (13/12/2006):
    - cleaned things up a bit generally
    - problem causing last config entry to be ignored when not newline-terminated.. FIXED
    - added support for loading UMD games (see example config)
  v0.4 (19/12/2006):
    - added support for loading ISOs/CSOs (see example config)

Thanks:

  - suloku, for the first 2.71 autoboot plugin.
  - Dark_AleX, for his great custom firmware.
  - ahman, for the amazing iR Shell!

That's it!

  - mov
