	__   ___    _              ___                 ____  __  
	\ \ / (_)__| |___ ___ _ __/ __|_ __ _  _  __ _|__ / /  \ 
	 \ V /| / _` / -_) _ \ '_ \__ \ '_ \ || | \ V /|_ \| () |
	  \_/ |_\__,_\___\___/ .__/___/ .__/\_, |  \_/|___(_)__/ 
	       by transce080 |_|      |_|   |__/               
	
						A spy leaves no trace behind



Introduction

Let's face it - sometimes there reasons you'd like to keep some videos and/or 
pictures private on your PSP.  VideopSpy lets you keep your sensitive media 
hidden from prying eyes as inconspicuously as possible.  



Summary

The problem with blocking your media directories is that it looks suspicious 
(not to mention it's inconvenient).  That's is the same problem if you have a 
program that asks for a password.  A plugin works but then there's a chance 
it could be triggered accidentally.  The solution is to create a harmless 
looking application which is, in reality, an application waiting for your 
password to unlock your hidden videos and/or pictures.  The program will 
appear in your XMB as a calculator application with the name "BASIC 
Calculator".  The calculator program is fully functional and will stand up to 
inspection.  The codes must be entered with a specific key sequence preventing 
accidental activation.  This version features an (optional) Instant Access 
mode, bypassing the password and unlocking your media immediately.



How to use it

The only way to see your private media is to enter the correct code sequence 
into the calculator (or bypass the code with Instant Access).  The program 
swaps an alternate directory with the regular media directory, which can have 
the effect of replacing your regular media or just adding the hidden files to 
your regular media, depending on the organization of your memory card.  
Running the program again reverses the process, restoring your memory card to 
the state it was before.  The advantage of this renaming trick as opposed to 
moving the files is that the former method is drastically faster.



Controls

Cross				Push a key
Left|Right|Up|Down		Select another key
Square				Quick [+]
Triangle			Quick [-]
Circle				Quick [=]
Start 				Exit program
LTrig+RTrig+Select		Activate Instant Access



Installation

1.  Copy the Calculator folder to your homebrew directory (probably \PSP\GAME, 
depending on your firmware flavor and settings).  The software is designed to 
be run on custom firmware or 1.0.  It can be run on 1.5 firmware, however you 
must convert the eboot to 1.5-compatible format using a program like PSP Brew.
An alternate eboot is provided which does not display any icons in the menu if 
you want it to be less noticeable.  

2.  Choose the folders you will be using, and create the alternate 
directories.  Use as many or as few as you like.  I recommend using 100MNV01&2 
and 101ANV01&2 and/or PHOTO&2 because they are slightly more secure as they 
don't reside on the root and therefore are less likely to be stumbled upon.

Mode:		If you're using:	Create:

(1)		\MP_ROOT\100MNV01	\MP_ROOT\100MNV02	(mp4s)
(2)		\MP_ROOT\100ANV01	\MP_ROOT\100ANV02	(h264 mp4s)
(3)		\MP_ROOT\101ANV01	\MP_ROOT\101ANV02	(h264 mp4s)
(4)		\VIDEO			\VIDEO2 		(both)
(5)		\PSP\PHOTO		\PSP\PHOTO2
(6)		\PICTURE		\PICTURE2

3.  Put the files you want hidden into the new directories you just made.

4.  Open the "program.dat" file with any basic text editor.  This is the 
configuration file.  This is where you chose what modes you want to use and 
the pass codes you want.  The comments will guide you where to edit.  After 
you've set up your modes, you can delete the comments for increased security, 
though you might want to keep a backup.  There are also two additional modes 
with affect the behavior of the program:

(7) Instant Access Mode - Allows the user to press L Trigger + R Trigger + 
Select simultaneously instead of entering the code.
(8) Authentic Mode - Uses a more authentic display for the calculator.  



Usage - To hide (or unhide) your private media

1.  Run the program
2a. (Optional) Activate Instant Access and skip to step 6
2b. Enter the first code, for example "420"
3.  Hit the [=] button
4.  Enter the second code, for example "80"
5.  Hit the [=] button a second time.  
6.  A fake error message will flash on the screen for a second.  Below the 
error message, at the bottom of the screen, it will show the numbers one 
through six.  The active modes will show up blue, inactive as grey.  After a 
short delay, the program will exit back to the xmb.  Run the program and enter 
the code sequence again to re-hide your private media.



Note

Obviously, if someone goes looking for your hidden media in a file manager, it 
won't be too hard to find. However, the private folders are harmless-looking 
so they are unlikely to cause suspicion if someone accidentally stumbles 
across one of them.  Also, the program is designed to look like a harmless 
calculator so it's unlikely anyone will go looking at your memory card unless 
you given them a reason to.



Changelog


3.0	-Rewritten from scratch in C
	-Major graphical face-lift
	-New Instant Action mode
	-Expanded to include more directories
2.0+ 	-Fixed a bug and several typos
2.0 	-Expanded to include more directories
1.0	-Initial release in LUA



What happened in 2.0?

There were a few bugs in the initial release of 2.0.  This was my fault 
because I worked on it without enough sleep and released it without proper 
testing.  There were a lot of people asking for new features so I was in a 
hurry.  I found the bugs and within a day, I had updated the program and 
explained what happened on the release threads.  Unfortunately, most of the 
PSP sites never noticed this and never updated the program.  So if you 
downloaded it anywhere but one of the release threads, chances are you got the 
buggy version.  I apologize for this.  Looking back, I should have re-released 
it as version 2.1 but what's done is done.  I hope this new and vastly 
improved version will make up for the inconvenience.  :)



Troubleshooting

1.  This mp4 won't play in the 100MNV01&2 or 101ANV01&2 directory.

Unlike the VIDEO directory, the files in these two directories must be named 
according to a strict naming theme.  For the 100MNV01 folder which plays 
regular mp4s, it must be "M4V#####.MP4" where # corresponds to numbers of your 
choosing.  For the 101ANV01 folder which plays h254 mp4s, it must be 
"MAQ#####".  Renaming your files this way might be a pain but it makes them 
more inconspicuous.  


2.  It's named properly, but it still won't play!

Move the file to your ms0:\VIDEO directory.  If it won't play from there then 
it isn't in a PSP-compatible format.  There are many variations on the mp4 
format.  The PSP can only play those that "conform with the Memory Stick 
video format" (PSP manual).  If it will play from VIDEO, then you just had it 
in the wrong folder, if you were using 100MNV01 then try 101ANV01 and vice
versa.

3.  I'm getting an error message when I run the program.

The error message will direct you what need to be fixed.  A real error message 
will stay on the screen until you hit the [X] button, after which it will 
exit back to the xmb.  (As opposed to the fake error message that is displayed 
when you activate the program with the code or Instant Access).



Thanks to

* Calculator design based on the 1967 Sharp Compet 16.
* Psp2dev.org and everyone who contributed to making the PSP SDK & toolchain.
* Ahman, danny_kay1710, and Tyranid for IRShell, PSPHost, and usbhostfs.
* Team t0c & friends for helping out when I get stuck.
* QJ, dcEmu, and MaxConsole for having great PSP forums.
* Dentaku Museum for providing the original pictures used.
* Beta testers CoderRyan, cory1492, Harley, Nicodemus82, peza16, Th3SMS, and 
	VagrantWalker.


'||'  '|'  ||       '||                            .|'''.|                    
 '|.  .'  ...     .. ||    ....    ...   ... ...   ||..  '  ... ...  .... ... 
  ||  |    ||   .'  '||  .|...|| .|  '|.  ||'  ||   ''|||.   ||'  ||  '|.  |  
   |||     ||   |.   ||  ||      ||   ||  ||    | .     '||  ||    |   '|.|   
    |     .||.  '|..'||.  '|...'  '|..|'  ||...'  |'....|'   ||...'     '|    
                                          ||                 ||      .. |     
                                         ''''               ''''      ''      