1 : if you change the loadexec.prx and the pspcnf_xxx.txt your psp never boot anything from the ms so you cant updated to 1.51 or 1.52 for restore your flash you is f**ck*d .
2 : if you change all files from flash0:/ your psp never boot only you see the green led 10 second and shutdown .
3 : if you replace the flash0:/ and flash1:/ it's same your psp turn on 10 second and shutdown .
if you whant downgrade for win an brick you can continue to play with your lflash .
" it's very Dangerous Never use this code "
Code: Select all
#include "string.h"
#include "pg.h"
/////////////////
//
// Sample
//
/////////////////
#define RGB(r,g,b) ((((b>>3) & 0x1F)<<10)|(((g>>3) & 0x1F)<<5)|(((r>>3) & 0x1F)<<0)|0x8000)
ctrl_data_t paddata;
bool activate = 0;
#define BUFSIZE 65536
char buf[BUFSIZE];
int exit_callback(void)
{
// Exit game
sceKernelExitGame();
return 0;
}
// Thread to create the callbacks and then begin polling
int CallbackThread(void *arg)
{
int cbid;
pgaTerm();
cbid = sceKernelCreateCallback("Exit Callback", exit_callback);
sceKernelRegisterExitCallback(cbid);
sceKernelPollCallbacks();
}
/* Sets up the callback thread and returns its thread id */
int SetupCallbacks(void)
{
int thid = 0;
thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
if(thid >= 0)
{
sceKernelStartThread(thid, 0, 0);
}
return thid;
}
void CopyExecute(const char* zFileSrc , const char* zFileDest) {
int fd1,fd2,len;
//Read
fd1 = sceIoOpen(zFileSrc, O_RDONLY, 0);
//Write
fd2 = sceIoOpen(zFileDest,O_WRONLY | O_CREAT | O_TRUNC, 0777);
if(fd1 < 0)
{
pgPrint(2,8,RGB(255,0,0),"err Files no found");
}else{
while(1) {
len = sceIoRead(fd1, buf, BUFSIZE);
if (len == 0) break;
sceIoWrite(fd2,buf,len);
}
}
sceIoClose(fd1);
sceIoClose(fd2);
}
int Message()
{
pgPrint(2,1,RGB(255,0,0),"Welcome to Downgrader v0.2");
pgPrint(2,3,RGB(255,0,0),"Use this tool at your risk !!!!!!!");
pgPrint(2,6,RGB(255,0,0),"by Yoshihiro");
pgPrint(2,8,RGB(255,0,0),"Press X for start the write or poweroff for quit");
}
int xmain()
{
int i;
int ret;
static struct dirent data;
sceDisplaySetMode(0,480,272);
sceCtrlInit(0);
sceCtrlSetAnalogMode(0);
pgScreenFrame(1,0);
SetupCallbacks();
pgaInit();
pgFillvram(0);
pgScreenFlipV();
pgFillvram(0);
pgScreenFlipV();
while(1)
{
// From vampire post
// Flash0:/ Main Files
sceIoUnassign("flash0:");
sceIoAssign("flash0:", "lflash0:0,0", "flashfat0:", 0, NULL, 0);
//
// Flash1:/ Register From Files
//sceIoUnassign("flash1:");
//sceIoAssign("flash1:", "lflash0:0,1", "flashfat1:", 0, NULL, 0);
//
//
sceCtrlRead(&paddata, 1);
Message();
if(paddata.buttons & CTRL_CROSS)
{
// Flash0:/
pgPrint(2,10,RGB(255,0,0),"Copy to flash0:/data/cert/");
//Make dir
sceIoMkdir("flash0:/data", 0);
sceIoMkdir("flash0:/data/cert", 0);
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class1_PCA_G2_v2.cer","flash0:/DATA/CERT/Class1_PCA_G2_v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class1_PCA_G3v2.cer","flash0:/DATA/CERT/Class1_PCA_G3v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class1_PCA_ss_v4.cer","flash0:/DATA/CERT/Class1_PCA_ss_v4.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class2_PCA_G2_v2.cer","flash0:/DATA/CERT/Class2_PCA_G2_v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class2_PCA_G3v2.cer","flash0:/DATA/CERT/Class2_PCA_G3v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class2_PCA_ss_v4.cer","flash0:/DATA/CERT/Class2_PCA_ss_v4.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class3_PCA_G2_v2.cer","flash0:/DATA/CERT/Class3_PCA_G2_v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class3_PCA_G3v2.cer","flash0:/DATA/CERT/Class3_PCA_G3v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class3_PCA_ss_v4.cer","flash0:/DATA/CERT/Class3_PCA_ss_v4.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class4_PCA_G2_v2.cer","flash0:/DATA/CERT/Class4_PCA_G2_v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/Class4_PCA_G3v2.cer","flash0:/DATA/CERT/Class4_PCA_G3v2.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/RSA1024_v1.cer","flash0:/DATA/CERT/RSA1024_v1.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/RSA2048_v3.cer","flash0:/DATA/CERT/RSA2048_v3.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/RSA_SecureServer.cer","flash0:/DATA/CERT/RSA_SecureServer.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/SCE_CA01.cer","flash0:/DATA/CERT/SCE_CA01.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/SCE_CA02.cer","flash0:/DATA/CERT/SCE_CA02.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/SCE_CA03.cer","flash0:/DATA/CERT/SCE_CA03.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/SCE_CA04.cer","flash0:/DATA/CERT/SCE_CA04.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/SCE_CA05.cer","flash0:/DATA/CERT/SCE_CA05.cer");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/DATA/CERT/VeriSign_TSA_CA.cer","flash0:/DATA/CERT/VeriSign_TSA_CA.cer");
//Make dir
sceIoMkdir("flash0:/dic", 0);
pgPrint(2,12,RGB(255,0,0),"Copy to flash0:/dic/");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/dic/apotp.dic","flash0:/dic/apotp.dic");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/dic/atokp.dic","flash0:/dic/atokp.dic");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/dic/aux0.dic","flash0:/dic/aux0.dic");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/dic/aux1.dic","flash0:/dic/aux1.dic");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/dic/aux2.dic","flash0:/dic/aux2.dic");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/dic/aux3.dic","flash0:/dic/aux3.dic");
//Make dir
//sceIoMkdir("flash0:/font", 0);
pgPrint(2,14,RGB(255,0,0),"Copy to flash0:/font/");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/jpn0.pgf", "flash0:/font/jpn0.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn0.pgf", "flash0:/font/ltn0.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn1.pgf", "flash0:/font/ltn1.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn10.pgf", "flash0:/font/ltn10.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn11.pgf", "flash0:/font/ltn11.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn12.pgf", "flash0:/font/ltn12.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn13.pgf", "flash0:/font/ltn13.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn14.pgf", "flash0:/font/ltn14.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn15.pgf", "flash0:/font/ltn15.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn2.pgf", "flash0:/font/ltn2.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn3.pgf", "flash0:/font/ltn3.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn4.pgf", "flash0:/font/ltn4.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn5.pgf", "flash0:/font/ltn5.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn6.pgf", "flash0:/font/ltn6.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn7.pgf", "flash0:/font/ltn7.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn8.pgf", "flash0:/font/ltn8.pgf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/font/ltn9.pgf", "flash0:/font/ltn9.pgf");
//Make dir
//sceIoMkdir("flash0:/kd", 0);
pgPrint(2,16,RGB(255,0,0),"Copy to flash0:/KD/");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/ata.prx","flash0:/KD/ata.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/audio.prx","flash0:/KD/audio.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/audiocodec.prx","flash0:/KD/audiocodec.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/blkdev.prx","flash0:/KD/blkdev.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/chkreg.prx","flash0:/KD/chkreg.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/clockgen.prx","flash0:/KD/clockgen.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/codec.prx","flash0:/KD/codec.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/ctrl.prx","flash0:/KD/ctrl.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/display.prx","flash0:/KD/display.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/dmacman.prx","flash0:/KD/dmacman.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/dmacplus.prx","flash0:/KD/dmacplus.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/emc_ddr.prx","flash0:/KD/emc_ddr.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/emc_sm.prx","flash0:/KD/emc_sm.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/exceptionman.prx","flash0:/KD/exceptionman.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/fatmsmod.prx","flash0:/KD/fatmsmod.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/ge.prx","flash0:/KD/ge.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/gpio.prx","flash0:/KD/gpio.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/hpremote.prx","flash0:/KD/hpremote.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/i2c.prx","flash0:/KD/i2c.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/idstorage.prx","flash0:/KD/idstorage.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/ifhandle.prx","flash0:/KD/ifhandle.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/impose.prx","flash0:/KD/impose.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/init.prx","flash0:/KD/init.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/interruptman.prx","flash0:/KD/interruptman.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/iofilemgr.prx","flash0:/KD/iofilemgr.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/isofs.prx","flash0:/KD/isofs.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/lcdc.prx","flash0:/KD/lcdc.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/led.prx","flash0:/KD/led.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/lfatfs.prx","flash0:/KD/lfatfs.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/lflash_fatfmt.prx","flash0:/KD/lflash_fatfmt.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/libatrac3plus.prx","flash0:/KD/libatrac3plus.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/libhttp.prx","flash0:/KD/libhttp.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/libparse_http.prx","flash0:/KD/libparse_http.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/libparse_uri.prx","flash0:/KD/libparse_uri.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/loadcore.prx","flash0:/KD/loadcore.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/loadexec.prx","flash0:/KD/loadexec.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/me_for_vsh.prx","flash0:/KD/me_for_vsh.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/me_wrapper.prx","flash0:/KD/me_wrapper.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mebooter.prx","flash0:/KD/mebooter.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mebooter_umdvideo.prx","flash0:/KD/mebooter_umdvideo.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mediaman.prx","flash0:/KD/mediaman.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mediasync.prx","flash0:/KD/mediasync.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/memab.prx","flash0:/KD/memab.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/memlmd.prx","flash0:/KD/memlmd.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mesg_led.prx","flash0:/KD/mesg_led.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mgr.prx","flash0:/KD/mgr.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/modulemgr.prx","flash0:/KD/modulemgr.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mpeg_vsh.prx","flash0:/KD/mpeg_vsh.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mpegbase.prx","flash0:/KD/mpegbase.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/msaudio.prx","flash0:/KD/msaudio.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/mscm.prx","flash0:/KD/mscm.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/msstor.prx","flash0:/KD/msstor.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/openpsid.prx","flash0:/KD/openpsid.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/peq.prx","flash0:/KD/peq.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/power.prx","flash0:/KD/power.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspbtcnf.txt","flash0:/KD/pspbtcnf.txt");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspbtcnf_game.txt","flash0:/KD/pspbtcnf_game.txt");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspbtcnf_updater.txt","flash0:/KD/pspbtcnf_updater.txt");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspcnf_tbl.txt","flash0:/KD/pspcnf_tbl.txt");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet.prx","flash0:/KD/pspnet.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_adhoc.prx","flash0:/KD/pspnet_adhoc.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_adhoc_auth.prx","flash0:/KD/pspnet_adhoc_auth.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_adhoc_download.prx","flash0:/KD/pspnet_adhoc_download.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_adhoc_matching.prx","flash0:/KD/pspnet_adhoc_matching.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_adhocctl.prx","flash0:/KD/pspnet_adhocctl.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_ap_dialog_dummy.prx","flash0:/KD/pspnet_ap_dialog_dummy.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_apctl.prx","flash0:/KD/pspnet_apctl.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_inet.prx","flash0:/KD/pspnet_inet.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pspnet_resolver.prx","flash0:/KD/pspnet_resolver.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/pwm.prx","flash0:/KD/pwm.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/reboot.prx","flash0:/KD/reboot.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/registry.prx","flash0:/KD/registry.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/rtc.prx","flash0:/KD/rtc.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/semawm.prx","flash0:/KD/semawm.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/sircs.prx","flash0:/KD/sircs.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/stdio.prx","flash0:/KD/stdio.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/sysclib.prx","flash0:/KD/sysclib.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/syscon.prx","flash0:/KD/syscon.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/sysmem.prx","flash0:/KD/sysmem.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/sysmem_uart4.prx","flash0:/KD/sysmem_uart4.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/sysreg.prx","flash0:/KD/sysreg.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/systimer.prx","flash0:/KD/systimer.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/threadman.prx","flash0:/KD/threadman.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/uart4.prx","flash0:/KD/uart4.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/umd9660.prx","flash0:/KD/umd9660.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/umdman.prx","flash0:/KD/umdman.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/usb.prx","flash0:/KD/usb.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/usbstor.prx","flash0:/KD/usbstor.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/usbstorboot.prx","flash0:/KD/usbstorboot.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/usbstormgr.prx","flash0:/KD/usbstormgr.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/usbstorms.prx","flash0:/KD/usbstorms.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/usersystemlib.prx","flash0:/KD/usersystemlib.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/utility.prx","flash0:/KD/utility.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/utils.prx","flash0:/KD/utils.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/vaudio.prx","flash0:/KD/vaudio.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/vaudio_game.prx","flash0:/KD/vaudio_game.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/videocodec.prx","flash0:/KD/videocodec.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/vshbridge.prx","flash0:/KD/vshbridge.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/KD/wlan.prx","flash0:/KD/wlan.prx");
//Make dir
//sceIoMkdir("flash0:/vsh", 0);
//sceIoMkdir("flash0:/vsh/ect", 0);
pgPrint(2,18,RGB(255,0,0),"Copy to flash0:/vsh/ect/");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/index.dat","flash0:/vsh/etc/index.dat");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/jis2ucs.bin","flash0:/vsh/etc/jis2ucs.bin");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/jis2ucs.cbin","flash0:/vsh/etc/jis2ucs.cbin");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/ucs2jis.bin","flash0:/vsh/etc/ucs2jis.bin");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/ucs2jis.cbin","flash0:/vsh/etc/ucs2jis.cbin");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/ucs2jis.bin","flash0:/vsh/etc/ucs2jis.bin");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/ucs2jis.cbin","flash0:/vsh/etc/ucs2jis.cbin");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/etc/version.txt","flash0:/vsh/etc/version.txt");
//Make dir
///sceIoMkdir("flash0:/vsh/module", 0);
pgPrint(2,20,RGB(255,0,0),"Copy to flash0:/vsh/module/");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/auth_plugin.prx","flash0:/vsh/module/auth_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/chnnlsv.prx","flash0:/vsh/module/chnnlsv.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/common_gui.prx","flash0:/vsh/module/common_gui.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/common_util.prx","flash0:/vsh/module/common_util.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/dialogmain.prx","flash0:/vsh/module/dialogmain.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/game_plugin.prx","flash0:/vsh/module/game_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/heaparea1.prx","flash0:/vsh/module/heaparea1.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/heaparea2.prx","flash0:/vsh/module/heaparea2.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/impose_plugin.prx","flash0:/vsh/module/impose_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/msgdialog_plugin.prx","flash0:/vsh/module/msgdialog_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/msvideo_plugin.prx","flash0:/vsh/module/msvideo_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/music_plugin.prx","flash0:/vsh/module/music_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/netconf_plugin.prx","flash0:/vsh/module/netconf_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/netplay_client_plugin.prx","flash0:/vsh/module/netplay_client_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/netplay_server_utility.prx","flash0:/vsh/module/netplay_server_utility.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/opening_plugin.prx","flash0:/vsh/module/opening_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/osk_plugin.prx","flash0:/vsh/module/osk_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/paf.prx","flash0:/vsh/module/paf.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/pafmini.prx","flash0:/vsh/module/pafmini.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/photo_plugin.prx","flash0:/vsh/module/photo_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/savedata_auto_dialog.prx","flash0:/vsh/module/savedata_auto_dialog.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/savedata_plugin.prx","flash0:/vsh/module/savedata_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/savedata_utility.prx","flash0:/vsh/module/savedata_utility.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/sysconf_plugin.prx","flash0:/vsh/module/sysconf_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/update_plugin.prx","flash0:/vsh/module/update_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/video_plugin.prx","flash0:/vsh/module/video_plugin.prx");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/module/vshmain.prx","flash0:/vsh/module/vshmain.prx");
//Make dir
//sceIoMkdir("flash0:/vsh/resource", 0);
pgPrint(2,22,RGB(255,0,0),"Copy to flash0:/vsh/resource/");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/01.bmp","flash0:/vsh/resource/01.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/02.bmp","flash0:/vsh/resource/02.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/03.bmp","flash0:/vsh/resource/03.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/04.bmp","flash0:/vsh/resource/04.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/05.bmp","flash0:/vsh/resource/05.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/06.bmp","flash0:/vsh/resource/06.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/07.bmp","flash0:/vsh/resource/07.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/08.bmp","flash0:/vsh/resource/08.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/09.bmp","flash0:/vsh/resource/09.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/10.bmp","flash0:/vsh/resource/10.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/11.bmp","flash0:/vsh/resource/11.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/12.bmp","flash0:/vsh/resource/12.bmp");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/auth_plugin.rco","flash0:/vsh/resource/auth_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/game_plugin.rco","flash0:/vsh/resource/game_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/gameboot.pmf","flash0:/vsh/resource/gameboot.pmf");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/impose_plugin.rco","flash0:/vsh/resource/impose_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/msgdialog_plugin.rco","flash0:/vsh/resource/msgdialog_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/msvideo_plugin.rco","flash0:/vsh/resource/msvideo_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/music_plugin.rco","flash0:/vsh/resource/music_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/netconf_dialog.rco","flash0:/vsh/resource/netconf_dialog.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/netplay_plugin.rco","flash0:/vsh/resource/netplay_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/opening_plugin.rco","flash0:/vsh/resource/opening_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/osk_plugin.rco","flash0:/vsh/resource/osk_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/osk_utility.rco","flash0:/vsh/resource/osk_utility.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/photo_plugin.rco","flash0:/vsh/resource/photo_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/savedata_plugin.rco","flash0:/vsh/resource/savedata_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/savedata_utility.rco","flash0:/vsh/resource/savedata_utility.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/sysconf_plugin.rco","flash0:/vsh/resource/sysconf_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/system_plugin.rco","flash0:/vsh/resource/system_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/system_plugin_bg.rco","flash0:/vsh/resource/system_plugin_bg.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/system_plugin_fg.rco","flash0:/vsh/resource/system_plugin_fg.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/topmenu_plugin.rco","flash0:/vsh/resource/topmenu_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/update_plugin.rco","flash0:/vsh/resource/update_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/video_plugin.rco","flash0:/vsh/resource/video_plugin.rco");
CopyExecute("ms0:/PSP/GAME/downgrader/flash0/vsh/resource/video_plugin_videotoolbar.rco","flash0:/vsh/resource/video_plugin_videotoolbar.rco");
// Flash1:/
pgPrint(2,24,RGB(255,0,0),"Copy to flash1:/ Registery");
//Make dir
//sceIoMkdir("flash1:/dic", 0);
CopyExecute("ms0:/PSP/GAME/downgrader/flash1/dic/atokl0.dat","flash1:/dic/atokl0.dat");
//Make dir
//sceIoMkdir("flash1:/registry", 0);
CopyExecute("ms0:/PSP/GAME/downgrader/flash1/registry/system.dreg","flash1:/registry/system.dreg");
CopyExecute("ms0:/PSP/GAME/downgrader/flash1/registry/system.ireg","flash1:/registry/system.ireg");
// added but is free
sceIoMkdir("flash1:/vsh", 0);
sceIoMkdir("flash1:/vsh/theme", 0);
pgPrint(2,26,RGB(255,0,0),"All is done !!!!!!");
pgPrint(2,28,RGB(255,0,0),"PowerOFF for Quit the Downgrader");
}
}
pgScreenFlipV();
scedowngraderSleepThread();
}
..:::Yoshihiro:::..