PowerFlashLight+.prx By MixeryM@xe 
v2.0
-------------------------------------------------------------------------------------------
This Homebrew is an entry for the PSP Genesis competition 2011, 
sponsored by npt, psp-hacks.com, pspgen.com, pspslimhacks.com, exophase.com, and wololo.net
-------------------------------------------------------------------------------------------

The plugin has been develops on a PSP Slim & Lite 2004, tested 5.00 M33-6, 5.50GEN-D3 and 6.20 TN-D.
Also its tested on 6.35 Pro/6.37ME-8 (thanks to "RUSTII", "Ragin Raiden" & "Me" :D )
and on PSP Phat(5.00M33-4) Thanks to "belzebub" (pspking.de) for testing.
Thanks to "Shin"(wololo.net) for testing beta, because of Bluetooth LED(PSP GO).
----------------------------------------------------------------------------------------------------

What can this plugin?

-Flashlight on XMB
-Pixel-Fixer on XMB
-Button-Tester on XMB
-LEDs on/off (Power,MS,WLAN)
-auto-disable LEDs on start up
-auto-disable LEDs while playing movies from MS
-Display on / off
-Display-Brightness-level min/max
-Battery Warning at 20/10/5 Percent
-Show some Hardeware/Plugin Info's in Menu-Mode (dis-enable it in PFLconfig.txt)
-AntiUser Mode ! Shock your friends :D (A fake "Blue Screen" after few seconds, with shutdown or back to XMB.Look at config.) 
-PSP shutdown (LEDs blimk one times.enable in config)
-PSP Coldreset (LEDs blink two times.enable in config)
-PSP Restart VSH (for HEN user (LEDs blink three times.enable in config))
-since v1.9 Menu available
-Launch two Eboot's direct and without Gameboot-Sequence from XMB
-Hide your MAC-Address and get a funny one :D
-----------------------------------------------------------------------------------------------------------------------------

You can run this Plugin without Configfile(PFLconfig.txt)
Default Control and Settings (without Confogfile)

//////////////
Button-Combos:
\\\\\\\\\\\\\\

LTRIGGER+UP       =  Flashlight on/off
LTRIGGER+RIGHT    =  Pixel-Fixer on/off
LTRIGGER+DOWN     =  Button-Tester on/off
LTRIGGER+SQUARE	=  Change Button-Tester-Color background 
LTRIGGER+CIRCLE	=  Change Button-Tester-Color text
LTRIGGER+LEFT    	=  LEDs on/off
RTRIGGER+UP       =  Display on/off
RTRIGGER+LEFT     =  Brightness min
RTRIGGER+RIGHT    =  Brightness max
RTRIGGER+DOWN     =  AntiUser Mode with shutdown (disable in PFLconfig.txt)
HOME+UP 		=  PSP ColdReset  
HOME+CIRCLE		=  VSH Restart
HOME+DOWN         =  PSP Shutdown

///////////////
Basic Settings:
\\\\\\\\\\\\\\\

Infotext = 1 (enable)
AutoDisableLED = 0 (disable)
VideoDisableLED = 0 (disable)
AntiUserShutdown = 1 (enable)
ShutdownBlinkLED = 0 (disable) 
AutoAntiUser = 0 (disable)
BattWarn20 = 0 (disable)
BattWarn10 = 0 (disable)
BattWarn5 = 0 (disable)
BTcolor_bg = 0 (black)
BTcolor_tx = 1 (white)
HideMAC = 0 (disable)

//////////////
Menu Settings:
\\\\\\\\\\\\\\
If PFLmenu enabled (1) and no buttons defined:

HOME			=  Menu open/close
SQUARE		=  Option enable
CIRCLE		=  Option disable
UP			=  Menu up
DOWN			=  Menu down

PFLmenu = 0 (disable)
PowerControl = 0 (disable)
MenuInfo = 1 (enable)


//////////////////////
EBOOT-Launch Settings:
\\\\\\\\\\\\\\\\\\\\\\
If EbootStartEN enabled (1) and no buttons defined:

SQUARE+LEFT  	=  StartEboot1
SQUARE+RIGHT	=  StartEboot2

EbootStartEN = 0 (disable)

Or you define/disable any option in the Configfile.
For more Information look at "PFLconfig.txt"
---------------------------------------------------------------------------

EBOOT-Path and possibility's


You have two Homebrews and three ways to start it!
(If EbootStartEN enabled -> PFLconfig.txt)

1.
  If you want to hide your HBs on XMB than you have to put your EBOOT to;

	"ms0:/PSP/MyEboot1/EBOOT.PBP"
	"ms0:/PSP/MyEboot2/EBOOT.PBP"
2.
  If they should not be hidden than put it to;

	"ms0:/PSP/GAME/MyEboot1/EBOOT.PBP"
	"ms0:/PSP/GAME/MyEboot2/EBOOT.PBP"

The third way is way to save disk space!Maybe the homebrew are anyway 
on the MS-Cards and it is widely used :)

3.
  Is neither 

	"ms0: / PSP/MyEboot1/EBOOT.PBP" 
  or 
	"ms0:/PSP/GAME/MyEboot1/EBOOT.PBP"

  found on her MS, than the Plugin go to start a Homebrew in:

	"ms0:/PSP/GAME/PSPFiler/EBOOT.PBP"


Its my favorite Homebrew :P
Currently i have only the first predefined homebrew.
The second comes after a survey ;)
-----------------------------------------------------------------------------

Installation

Copy PowerFlashLight+.prx to "ms0:/seplugins/PowerFlashLight+.prx"
Open the "vsh.txt" (if not available, create new) and add following line:

ms0:/seplugins/PowerFlashLight+.prx 1

For custom key-combo or disable any options, copy "PFLconfig.txt"
to "ms0:/seplugins/PFLconfig.txt"

Restart your PSP.
-------------------------------------------------------------------------

2.0
Add some Hardware/Config-Infos to PFLmenu(dis-enable "MenuInfo" in PFLconfig.txt)
Add Analog-Pad to ButtonTester again (some problems solved)
Change menu handling (especial Display handling)
Now you can change Display-Brightness in small steps
Add Eboot-Direct launch from XMB
Code cleaned  -> resource-saving
Add my favorite colors to Menu :D
Add HideMAC to config (get a funny one)

1.9.5
Add Battery warning at 20/10/5 Percent(look at PFLconfig.txt)
Add MenuUP & MenuDown to config(for Menu move)
Change Menu-style

1.9
Add Menu (enable it in config file)
Add PowerControl (only in Menu mode.Look at PFLconfig.txt))
Add Yellow to Buttontester
1.8.6
Add Bluetooth LED to LEDcontrol(for PSP GO user)

1.8.5
Add videoDisableLED to config (autoDisable LEDs while playing Videos)
Add shutdownBlinkLED to config (Power-LED blink, or not, when press the ColdReset-,VSH Restart-,Shutdown-Buttoncombo)
Fixed a little bug in Flashlight-Mode
One version for CFW/LCFW 5.00,5.50,6.20,6.35,6.37.

1.8.1
Removed Analog-Pad from Bottuntester
Fixed a bug in relation to config
now it works correctly on 5.00-5.50/6.20/6.35

1.8
Add AntiUser-Mode
Add AntiUserShutdown to config
Add autoAntiUser to config

1.7
Add VSH Restart for HEN user
LEDs blink one times at Shutdown
LEDs blink two times at Coldrestart
LEDs blink three times at VSH Restart
Flashlight blink one times at 10%/5% batt.
Add Analog-Pad to Bottuntester

1.6.7
Fixed a little bug in Buttontester
Add more colors to Buttontester(front & background)
Fixed a little bug in Pixelfixer
Change colors from Pixelfixer(R:255,G:255,B:255)

1.6.5
change Buttontester
bug fixed

1.6
Add Configfile
Add Buttontester
Add AutoDisableLEDs

1.5
not the first version :D (lost overview :P)
------------------------------------------------------------------------------------------------------------
############################################################################################################
------------------------------------------------------------------------------------------------------------

Das Plugin wurde auf einer PSP Slim&Lite 2004 enwickelt, getestet auf 5.00 M33-6, 5.50GEN-D3 and 6.20 TN-D.
Auch auf PSP Phat(5.00M33-4) getestet.Danke an "belzebub" (pspking.de) frs's testen.

-----------------------------------------------------------------------------------------------------------

Was kann dieses Plugin?

-Taschenlampe im XMB
-Pixel-Fixer im XMB
-Button-Tester im XMB
-LEDs an/ausschalten (Power,MS,WLAN)
-LEDs automatisch beim Start ausschalten
-LEDs automatisch, beim Abspielen von Videos von der Speicherkarte, ausschalten
-Display an/ausschalten
-Displayhelligtkeits-stufe min/mittel/max
-Battery Warnung bei 20/10/5 %
-Einige Hardware/Plugin Informationen im Men (De/Aktiviere es in PFLconfig.txt)
-AntiUser Modus ! Schockiere deine Freunde :D (Ein falscher "Blue Screen" dann PSP abschalten oder zurck ins XMB)
-PSP ausschalten (LEDs blinken 1 mal)
-PSP neustarten (LEDs blinken 2 mal)
-PSP VSH neustart (fr HEN nutzer(LEDs blinken 3 mal))
-seit v1.9 mit Men
-Starte zwei Homebrew's direkt und ohne Gameboot-Sequenz aus dem XMB
-Verstecke deine MAC-Addresse
------------------------------------------------------------------------------------------------------------------
Dieses Plugin luft auch ohne Configdatei(PFLconfig.txt)
Standart-Steuerung und Einstellungen (ohne Configdatei)

//////////////
Tasten-Combos:
\\\\\\\\\\\\\\

LTRIGGER+HOCH	=  Flashlight an/aus
LTRIGGER+RECHTS   =  Pixel-Fixer an/aus
LTRIGGER+RUNTER   =  Button-Tester an/aus
LTRIGGER+VIERECK	=  Button-Tester Hintergrund-Farbe wechseln
LTRIGGER+KREIS	=  Button-Tester Schrift-Farbe wechseln
LTRIGGER+LINKS   	=  LEDs an/aus
RTRIGGER+RUNTER   =  Display an/aus
RTRIGGER+LINKS    =  Brightness min
RTRIGGER+RECHTS   =  Brightness max
RTRIGGER+RUNTER   =  AntiUser Modus mit PSP abschalten (deaktiviere es in PFLconfig.txt)
HOME+HOCH 		=  PSP Kaltstart
HOME+KREIS  	=  VSH Neustart
HOME+RUNTER       =  PSP Ausschalten

////////////////////
Grund-Einstellungen:
\\\\\\\\\\\\\\\\\\\\

Infotext = 1 (aktiviert)
AutoDisableLED = 0 (deaktiviert)
VideoDisableLED = 0 (deaktiviert)
ShutdownBlinkLED = 0 (deaktiviert)
AntiUserShutdown = 1 (aktiviert)
AutoAntiUser = 0 (deaktiviert)
BattWarn20 = 0 (deaktiviert)
BattWarn10 = 0 (deaktiviert)
BattWarn5 = 0 (deaktiviert)
BTcolor_bg = 0 (schwarz)
BTcolor_tx = 1 (weiss)
HideMAC = 0 (deaktiviert)

///////////////////
Men-Einstellungen:
\\\\\\\\\\\\\\\\\\\
Wenn das PFLmenu aktiviert (1) ist und keine Tasten defeniert sind:


HOME			=  Men ffnen/schlieen
VIERECK		=  Option aktivieren
KREIS			=  Option deaktivieren
HOCH			=  Men hoch
RUNTER		=  Men runter

PFLmenu = 0 (deaktiviert)
PowerControl = 0 (deaktiviert)
MenuInfo	 = 1 (aktiviert)


//////////////////////////
EBOOT-Start Einstellungen:
\\\\\\\\\\\\\\\\\\\\\\\\\\
Wenn EbootStartEN aktiviert (1) ist und keine Tasten defeniert sind:

VIERECK+LINKS  	=  StartEboot1
VIERECK+RECHTS	=  StartEboot2

EbootStartEN = 0 (deaktiviert)

Alle Optionen knnen in der Configfile angepasst bzw. deaktiviert werden.
Fr mehr Information siehe "PFLconfig.txt". 
----------------------------------------------------------------------------------------

EBOOT-Verzeichnisse und mglichkeiten


Du hast 2 Homebrew's und 3 mglichkeiten sie zu starten!
(Nur wenn StartEbootEN aktiviert ist -> PFLconfig.txt)

1.
  Mchtest du deine Homebrew's im XMB verstecken dann kopiere sie nach:

	"ms0:/PSP/MyEboot1/EBOOT.PBP"
	"ms0:/PSP/MyEboot2/EBOOT.PBP"
2.
  Sollen sie sichtbar sein dann kopiere sie nach:

	"ms0:/PSP/GAME/MyEboot1/EBOOT.PBP"
	"ms0:/PSP/GAME/MyEboot2/EBOOT.PBP"

Die dritte mglichkeit bietet Speicherplatzt!Vielleicht
ist das Homebrew sowieso auf der MS-Karte und wird viel genutzt :D

3.
  Ist weder 

	"ms0: / PSP/MyEboot1/EBOOT.PBP" 
  noch
	"ms0:/PSP/GAME/MyEboot1/EBOOT.PBP"

  auf der MS-Karte zu finden, dann startet das Plugin ein Homebrew unter:

	"ms0:/PSP/GAME/PSPFiler/EBOOT.PBP"


Ist mein lieblings Homebrew :P
Im moment habe ich nur das eine HB vordefiniert.
Nach einer Umfrage werde ich dann auch das 2. vordefinieren ;)
-----------------------------------------------------------------------------

Installation

PowerFlashLight+.prx auf MS (Speicherkarte) nach "ms0:/seplugins/PowerFlashLight+.prx" kopieren.
Im ordner "seplugins" die "vsh.txt" ffnet (falls nicht vorhanden, neu erstellen) und folgen zeile hinzufgen:

ms0:/seplugins/PowerFlashLight+.prx 1

Fr eigene Tastenbelegung oder zum Deakivieren von Optionen kopiere "PFLconfig.txt"
nach "ms0:/seplugins/PFLconfig.txt"

PSP neustarten fertig !
--------------------------------------------------------------------------------------------------------------

Have Fun

MixeryM@xe
