Skip to content

Commit

Permalink
fixed idstorage ( Create New IdStorage ) option as well as ( Fix MAC …
Browse files Browse the repository at this point in the history
…address ) not able to find real mac. Thank you meetpatty for helping out ;-)
  • Loading branch information
krazynez committed Nov 24, 2024
1 parent 62ae825 commit 29775e6
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 79 deletions.
154 changes: 77 additions & 77 deletions loader/dc/btcnf/pspbtcnf_02g_dc.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion loader/dc/btcnf/pspbtcnf_dc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion loader/dc/dcman/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions loader/dc/installer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ OBJS = \
intrafont.h \
resurrection.h \
vlf.h \
idsregen.h \
main.o \
pspDecrypt.o \
pspPSAR.o \
Expand Down Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions loader/dc/installer/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 29775e6

Please sign in to comment.