Hello all,

I'm new to the forum (check post count ) but i'v been reading alot and have learned alot.
After reading Hercules guide and successfuly modding my psp i wanted to fill in the gaps and make things easier so i wrote a batch file that automated the creation of the magic memory stick.

it assumes that the msint,mspformat, despertar_V3 folders are all in a folder named install_files. Note desperatr v3 was renamed to despertar_v3 to remove the space.

I have tried it myself (a million times lol) and it works, i was just looking for some input. I also posted a guide at tweaksandprojects.blogspot.com to go along with the batch file.

Thanks!

ECHO OFF
CLS
TITLE PSP MAGIC MEMORY STICK CREATOR
@REM -----------------------------------------------------
@REM TITLE
@REM -----------------------------------------------------
ECHO ========================================
ECHO PSP MAGIC MEMORY STICK CREATOR
ECHO tweaksandprojects.blogspot.com
ECHO ========================================
ECHO.


@REM -----------------------------------------------------
@REM INTRO
@REM -----------------------------------------------------
ECHO THIS BATCH FILE WILL ASSIST YOU IN CREATING
ECHO A PSP MAGIC MEMORY STICK
ECHO.
ECHO You will need:
ECHO - A PSP
ECHO - USB Cable
Echo - Memory Stick (1GB or bigger)
ECHO.
PAUSE


@REM -----------------------------------------------------
@REM BOOT DRIVE DETECTION
@REM -----------------------------------------------------
CLS
ECHO ========================================
ECHO PSP MAGIC MEMORY STICK CREATOR
ECHO tweaksandprojects.blogspot.com
ECHO ========================================
ECHO.
SET OLDDIR=%CD%
CHDIR /D %WINDRV% \
SET BOOTDRV=%CD%
ECHO The boot drive detected is: %BOOTDRV%
SET /P ANS1=Is this correct? (Y/N):
IF %ANS1%==Y GOTO INITIAL_COPYING
IF %ANS1%==y GOTO INITIAL_COPYING
IF %ANS1%==n GOTO CHANGE_BOOTDRV
IF %ANS1%==N GOTO CHANGE_BOOTDRV

:CHANGE_BOOTDRV
SET /P BOOTDRV_TEMP=Pleast enter boot drive letter (C,D,E, ETC...):
SET SUFFIX=:\
SET BOOTDRV=%BOOTDRV_TEMP%%SUFFIX%
ECHO %BOOTDRV%
GOTO INITIAL_COPYING


@REM -----------------------------------------------------
@REM INITIAL COPYING
@REM -----------------------------------------------------
:INITIAL_COPYING
ECHO.
ECHO COPYING . . .
ECHO.
CHDIR /D %BOOTDRV%
MKDIR MSINST
MKDIR MSPFORMAT
CHDIR /D %OLDDIR%
COPY Install_Files\MSINST\*.* %BOOTDRV%\MSINST\
COPY Install_Files\MSPFORMAT\*.* %BOOTDRV%\MSPFORMAT\
ECHO.
PAUSE


@REM -----------------------------------------------------
@REM RUNNING MSPFORMAT
@REM -----------------------------------------------------
CLS
ECHO ========================================
ECHO PSP MAGIC MEMORY STICK CREATOR
ECHO tweaksandprojects.blogspot.com
ECHO ========================================
ECHO.
ECHO Format the memory stick using your PSP
ECHO Settings - System Settings - Format Memory Stick
ECHO.
ECHO Connect your PSP
ECHO.
ECHO Enable USB mode
ECHO.
SET /P PSPDRV=Enter your PSP drive letter (F,G,H,I, ETC...):
CHDIR /D %BOOTDRV%
CALL mspformat\mspformat.exe %PSPDRV%
PAUSE

@REM -----------------------------------------------------
@REM Copying Despertar V3
@REM -----------------------------------------------------
CLS
ECHO ========================================
ECHO PSP MAGIC MEMORY STICK CREATOR
ECHO tweaksandprojects.blogspot.com
ECHO ========================================
ECHO.
ECHO Copying Despertar V3 to PSP (Might take some time)
ECHO.
CHDIR /D %OLDDIR%
XCOPY Install_Files\Despertar_v3 /e /y %PSPDRV%%SUFFIX%
ECHO.
PAUSE


@REM -----------------------------------------------------
@REM RUNNING MSINST
@REM -----------------------------------------------------
CLS
ECHO ========================================
ECHO PSP MAGIC MEMORY STICK CREATOR
ECHO tweaksandprojects.blogspot.com
ECHO ========================================
ECHO.
ECHO Disable USB mode on your PSP
ECHO.
ECHO Remove memory stick and re-insert it
ECHO.
ECHO Enable USB mode
ECHO.
PAUSE
CHDIR /D %BOOTDRV%
CALL msinst\msinst.exe %PSPDRV% msinst\msipl.bin
PAUSE


@REM -----------------------------------------------------
@REM CLEANING UP
@REM -----------------------------------------------------
CLS
ECHO ========================================
ECHO PSP MAGIC MEMORY STICK CREATOR
ECHO tweaksandprojects.blogspot.com
ECHO ========================================
ECHO.
SET /P ANS2=Do you want to delete the installation files? (Y/N):
IF %ANS2%==Y GOTO DELETE_INSTALL
IF %ANS2%==y GOTO DELETE_INSTALL
IF %ANS2%==N GOTO DONE
IF %ANS2%==n GOTO DONE
ELETE_INSTALL
ECHO DELETING . . .
ECHO.
RD %BOOTDRV%\MSINST /S /Q
RD %BOOTDRV%\MSPFORMAT /S /Q
PAUSE
GOTO DONE


ONE
@REM -----------------------------------------------------
@REM CLEANING UP
@REM -----------------------------------------------------
CLS
ECHO ========================================
ECHO PSP MAGIC MEMORY STICK CREATOR
ECHO tweaksandprojects.blogspot.com
ECHO ========================================
ECHO.
ECHO CONGRATULATIONS YOU NOW HAVE A MAGIC MEMORY STICK
ECHO ENJOY ....
ECHO.
PAUSE