diff --git a/loader/dc/btcnf/pspbtcnf_02g_dc.txt b/loader/dc/btcnf/pspbtcnf_02g_dc.txt index ce3c6859..ec3b2ede 100644 --- a/loader/dc/btcnf/pspbtcnf_02g_dc.txt +++ b/loader/dc/btcnf/pspbtcnf_02g_dc.txt @@ -1,77 +1,77 @@ -0x06060110 -$/kd/sysmem.prx VGUPADM -$/kd/loadcore.prx VGUPADM -$/kd/exceptionman.prx VGUPADM -$/kd/interruptman.prx VGUPADM -$/kd/threadman.prx VGUPADM -$/kd/dmacman.prx VGUPADM -$/kd/systimer.prx VGUPADM -$/kd/iofilemgr.prx VGUPADM -$/kd/memlmd_02g.prx VGUPADM -$/kd/modulemgr.prx VGUPADM -$/kd/init.prx VGUPADM -$/kd/loadexec_02g.prx VGUPADM -$/kd/lowio.prx VGUPADM -$/kd/ge.prx VGUPADM -$/kd/idstorage.prx VGUPADM -$/kd/syscon.prx VGUPADM -$/kd/rtc.prx VGUPADM -$/kd/lfatfs.prx VGUPADM -$/kd/clockgen.prx VGUADM -$/kd/mediaman.prx VGUA -$/kd/ata.prx VGU -$/kd/umdman.prx VGU -$/kd/umdcache.prx G -$/kd/umd9660.prx VGU -$/kd/isofs.prx VGU -$/kd/display_02g.prx VGUPADM -$/kd/ctrl.prx VGUPADM -$/kd/led.prx VGUPADM -$/kd/power_02g.prx VGUPADM -$/kd/msstor.prx VGUPADM -$/kd/codepage.prx VGUPADM -$/kd/fatms.prx VGUPADM -$/kd/clockgen.prx P -$/kd/codec_02g.prx VGUPADM -$/kd/audio.prx VGUADM -$/kd/hpremote_02g.prx VGUPADM -$/kd/openpsid.prx VGUPADM -$/kd/usb.prx VGADM -$/kd/wlan.prx VGUADM -$/kd/wlanfirm_02g.prx VGUADM -$/kd/registry.prx VGUPADM -$/kd/mgr.prx VPDM -$/kd/msaudio.prx V -$/kd/chkreg.prx VUP -$/kd/mesg_led_02g.prx VGUPADM -$/kd/semawm.prx V -$/kd/amctrl.prx VGPADM -$/kd/npdrm.prx VPDM -$/kd/iofilemgr_dnas.prx VGPADM -$/kd/np9660.prx DM -$/kd/isofs.prx DM -$/kd/chnnlsv.prx VP -$/kd/utility.prx VGUPADM -$/kd/popsman.prx P -$/kd/me_wrapper.prx VGUADM -$/kd/vaudio.prx VU -$/kd/impose_02g.prx VGUPADM -$/kd/vshbridge_msapp.prx A -$/kd/avcodec.prx V -$/kd/dcman.prx VU -$/kd/iop.prx V -$/kd/mediasync.prx VGUPADM -$/kd/mlnbridge.prx M -$/kd/mlnbridge_msapp.prx M -$%/kd/usersystemlib.prx VGUPADM -$%/vsh/module/mlncmn.prx M -$%/vsh/module/mcore.prx M -$%/vsh/module/mlnapp_proxy.prx M -$%/vsh/module/libfont_hv.prx P -$%/vsh/module/pafmini.prx VP -%%/kd/dummy_anchor_IhariUafaayk98.prx GUADM -$%/kd/libatrac3plus.prx V -$%/vsh/module/paf.prx V -$%/vsh/module/libpspvmc.prx P -%%/kd/dummy_anchor_IhariUafaayk98.prx P -$%%/vsh/module/resurrection.prx V +0x06060110 +$/kd/sysmem.prx VGUPADM +$/kd/loadcore.prx VGUPADM +$/kd/exceptionman.prx VGUPADM +$/kd/interruptman.prx VGUPADM +$/kd/threadman.prx VGUPADM +$/kd/dmacman.prx VGUPADM +$/kd/systimer.prx VGUPADM +$/kd/iofilemgr.prx VGUPADM +$/kd/memlmd_02g.prx VGUPADM +$/kd/modulemgr.prx VGUPADM +$/kd/init.prx VGUPADM +$/kd/loadexec_02g.prx VGUPADM +$/kd/lowio.prx VGUPADM +$/kd/ge.prx VGUPADM +$/kd/idstorage.prx VGUPADM +$/kd/syscon.prx VGUPADM +$/kd/rtc.prx VGUPADM +$/kd/lfatfs.prx VGUPADM +$/kd/clockgen.prx VGUADM +$/kd/mediaman.prx VGUA +$/kd/ata.prx VGU +$/kd/umdman.prx VGU +$/kd/umdcache.prx G +$/kd/umd9660.prx VGU +$/kd/isofs.prx VGU +$/kd/display_02g.prx VGUPADM +$/kd/ctrl.prx VGUPADM +$/kd/led.prx VGUPADM +$/kd/power_02g.prx VGUPADM +$/kd/msstor.prx VGUPADM +$/kd/codepage.prx VGUPADM +$/kd/fatms.prx VGUPADM +$/kd/clockgen.prx P +$/kd/codec_02g.prx VGUPADM +$/kd/audio.prx VGUADM +$/kd/hpremote_02g.prx VGUPADM +$/kd/openpsid.prx VGUPADM +$/kd/usb.prx VGADM +$/kd/dcman.prx VU +$/kd/wlan.prx VGUADM +$/kd/wlanfirm_02g.prx VGUADM +$/kd/registry.prx VGUPADM +$/kd/mgr.prx VPDM +$/kd/msaudio.prx V +$/kd/chkreg.prx VUP +$/kd/mesg_led_02g.prx VGUPADM +$/kd/semawm.prx V +$/kd/amctrl.prx VGPADM +$/kd/npdrm.prx VPDM +$/kd/iofilemgr_dnas.prx VGPADM +$/kd/np9660.prx DM +$/kd/isofs.prx DM +$/kd/chnnlsv.prx VP +$/kd/utility.prx VGUPADM +$/kd/popsman.prx P +$/kd/me_wrapper.prx VGUADM +$/kd/vaudio.prx VU +$/kd/impose_02g.prx VGUPADM +$/kd/vshbridge_msapp.prx A +$/kd/avcodec.prx V +$/kd/iop.prx V +$/kd/mediasync.prx VGUPADM +$/kd/mlnbridge.prx M +$/kd/mlnbridge_msapp.prx M +$%/kd/usersystemlib.prx VGUPADM +$%/vsh/module/mlncmn.prx M +$%/vsh/module/mcore.prx M +$%/vsh/module/mlnapp_proxy.prx M +$%/vsh/module/libfont_hv.prx P +$%/vsh/module/pafmini.prx VP +%%/kd/dummy_anchor_IhariUafaayk98.prx GUADM +$%/kd/libatrac3plus.prx V +$%/vsh/module/paf.prx V +$%/vsh/module/libpspvmc.prx P +%%/kd/dummy_anchor_IhariUafaayk98.prx P +$%%/vsh/module/resurrection.prx V diff --git a/loader/dc/btcnf/pspbtcnf_dc.txt b/loader/dc/btcnf/pspbtcnf_dc.txt index b68846f5..071a24b9 100644 --- a/loader/dc/btcnf/pspbtcnf_dc.txt +++ b/loader/dc/btcnf/pspbtcnf_dc.txt @@ -36,6 +36,7 @@ $/kd/audio.prx VGUADM $/kd/hpremote_01g.prx VGUPADM $/kd/openpsid.prx VGUPADM $/kd/usb.prx VGADM +$/kd/dcman.prx VU $/kd/wlan.prx VGUADM $/kd/wlanfirm_01g.prx VGUADM $/kd/registry.prx VGUPADM @@ -57,7 +58,6 @@ $/kd/vaudio.prx VU $/kd/impose_01g.prx VGUPADM $/kd/vshbridge_msapp.prx A $/kd/avcodec.prx V -$/kd/dcman.prx VU $/kd/iop.prx V $/kd/mediasync.prx VGUPADM $/kd/mlnbridge.prx M diff --git a/loader/dc/dcman/main.c b/loader/dc/dcman/main.c index cdfb6f68..a115dbf2 100644 --- a/loader/dc/dcman/main.c +++ b/loader/dc/dcman/main.c @@ -533,7 +533,7 @@ int dcIdStorageCreateAtomicLeaves(u16 *leaves, int n) int k1 = pspSdkSetK1(0); int level = sctrlKernelSetUserLevel(8); - int res = -1;//sceIdStorageCreateAtomicLeaves(leaves, n); + int res = sceIdStorage_driver_99ACCB71(leaves, n); //sceIdStorageCreateAtomicLeaves(leaves, n); sctrlKernelSetUserLevel(level); pspSdkSetK1(k1); @@ -762,6 +762,7 @@ void OnModuleStart(SceModule2 *mod) WlanFunc = (void *)(mod->text_addr+0xCD5C); ClearCaches(); } + else if (strcmp(mod->modname, "sceNAND_Updater_Driver") == 0) { int i; diff --git a/loader/dc/installer/Makefile b/loader/dc/installer/Makefile index 06e20cc3..ca4eeecf 100644 --- a/loader/dc/installer/Makefile +++ b/loader/dc/installer/Makefile @@ -19,6 +19,7 @@ OBJS = \ intrafont.h \ resurrection.h \ vlf.h \ + idsregen.h \ main.o \ pspDecrypt.o \ pspPSAR.o \ @@ -113,6 +114,9 @@ intrafont.h: vlf.h: $(Q)bin2c $(ARKROOT)/contrib/PSP/GAME/ARK_DC/vlf.prx vlf.h vlf +idsregen.h: + $(Q)bin2c $(ARKROOT)/extras/modules/idsregeneration/idsregeneration.prx idsregen.h idsregen + distclean: make clean diff --git a/loader/dc/installer/main.c b/loader/dc/installer/main.c index 4328008e..8b4513ba 100644 --- a/loader/dc/installer/main.c +++ b/loader/dc/installer/main.c @@ -59,6 +59,7 @@ #include "intrafont.h" #include "resurrection.h" #include "vlf.h" +#include "idsregen.h" PSP_MODULE_INFO("VResurrection_Manager", 0x800, 2, 0); PSP_MAIN_THREAD_ATTR(0); @@ -906,6 +907,9 @@ static void WriteDCFiles() if (WriteFile(ARK_DC_PATH "/vsh/module/vlf.prx", vlf, size_vlf) != size_vlf) ErrorExit(1000, "Error writing vlf.prx"); + + if (WriteFile(ARK_DC_PATH "/kd/idsregeneration.prx", idsregen, size_idsregen) != size_idsregen) + ErrorExit(1000, "Error writing idsregeneration.prx"); } int ReadSector(int sector, void *buf, int count)