User User name Password  
   
Wednesday 10.9.2025 / 12:32
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > consoles > sony psp - mod and firmware discussion > can somebody help me combine these two source codes?
Show topics
 
Forums
Forums
Can somebody help me combine these two source codes?
  Jump to:
 
Posted Message
PSPDDD
Newbie
_
7. May 2006 @ 13:30 _ Link to this message    Send private message to this user   
Can some body help me combine these source codes into a single .bat file that will autorun when U connect PSP to PC. I already got the thing that starts ONE .bat file when PSP starts working but can somebody combine these 2 into 1 working .bat file for me. neither of these are copyrighted so its OK to combine! *=ingnore


*start of source one*
@xcopy "e:\psp\savedata" "c:\psp savedata" /e /i /h /y /q /d
*end of source 1*

*begin of source 2*
@echo off
cls
echo *************************************************************
echo ********************** PSP Backup v1.0 **************************
echo ************* by BP (PSP@comix.freesurf.fr)******************


REM ---------------- DO NOT MODIFY ANYTHING BELOW THIS LINE ------------------

REM -- INIT
cd \_PSPbackup


REM -- FIND RAR

SET rar=rar.exe
IF EXIST rar.exe GOTO rarok
IF EXIST "C:\Program Files\WinRAR\rar.exe" GOTO :winrar
echo.
echo **** ERROR : RAR is not available ! ****
echo.
echo PSP Backup requires RAR (or Winrar) to be installed.
echo.
echo To repair, you have 2 choices :
echo 1) Copy rar.exe to Psp Backup directory ( _PSPBackup )
echo 2) Install WinRAR from http://www.rarsoft.Com to your computer
echo.
echo PSPBackup will now exit.
echo.
pause
exit
:winrar
SET rar="C:\Program Files\WinRAR\rar.exe"
:rarok

REM -- Find "my documents"

SET outdir="%USERPROFILE%\Mes Documents"
IF EXIST %outdir% GOTO :dirok
SET outdir="%USERPROFILE%\My Documents"
IF EXIST %outdir% GOTO :dirok
SET outdir="%USERPROFILE%\My Dokuments"
echo.
echo **** ERROR : "My Documents" directory not found ! ****
echo.
echo PSP Backup requires RAR (or Winrar) to be installed.
echo.
echo To repair, please send email to author.
echo.
echo PSPBackup will now exit.
echo.
pause
exit
:dirok

REM -- Debug info
REM echo.
REM echo Debug : Will use this rar.exe : %rar%
REM echo Debug : OutputDir : %outdir%
REM echo.

echo.
echo Your Games Saves will now be backuped to your PC : My Documents\PSP_saves.rar
echo (including supported homebrew software )
echo.

REM -- Launch Archive

%rar% u -EThumbs.db -ed -r -s -m5 -isnd -mdG -u -ts %outdir%\PSP_saves.rar \PSP\SAVEDATA \PSP\GAME\hiscr.bej \PSP\GAME\save.plg \squarez.*.tga

if errorlevel 2 goto error

echo.
echo.
echo --- Save Done SUCCESSFULLY (%ERRORLEVEL%)-- Press a key to exit.
echo.
pause
exit

:error

echo Error Level : %ERRORLEVEL%
echo.
echo.
echo *** There was an ERROR while archiving, please report error to author. ***
echo.
pause
exit
*end of source 2*

THE DOCSDOWNGRADER FOR 2.01+ IS SO FAKE IT'S A SCAM IT DOESN'T WORK AT ALL. IT'S JUST THE MPH DOWNGRADER WITH A NEW NAME. FACE IT TIFF HAS BEEN CRUELY PATCHED!
afterdawn.com > forums > consoles > sony psp - mod and firmware discussion > can somebody help me combine these two source codes?
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork