Np.[emoji6]
Do you remember where you provided me the code to detect the payload? if its hen or cfw, i couldn't find it
People was selecting the wrong version when installing my Pro Mod (I was using webman to detect the payload and display a notification and a lot of warning to select the right version, but people still was selecting CFW instead of HFW on HEN) , so i'm using a simple trick for it:
Code:
if (exists("/dev_flash/hen/PS3HEN.BIN")==0)
{
sysLv2FsRename("/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/hfw","/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/current");
//Mess.Dialog(MSG_OK,"HEN jaibreak detected!");
}
else if (exists("/dev_flash/hen/HENPLUS.BIN")==0)
{
sysLv2FsRename("/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/hfw","/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/current");
//Mess.Dialog(MSG_OK,"HEN Pro/Plus jaibreak detected!");
}
else if (exists("/dev_usb000/PS3HEN.BIN")==0)
{
sysLv2FsRename("/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/hfw","/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/current");
//Mess.Dialog(MSG_OK,"USB HEN jaibreak detected!"");
}
else if (exists("/dev_usb001/PS3HEN.BIN")==0)
{
sysLv2FsRename("/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/hfw","/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/current");
//Mess.Dialog(MSG_OK,"USB HEN jaibreak detected!"");
}
else
{
sysLv2FsRename("/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/cfw","/dev_hdd0/game/PS34KPROX/USRDIR/apps/install/current");
//Mess.Dialog(MSG_OK,"CFW jaibreak detected!");
}
It's not ideal, but is doing the job, the only scenario that it can install the wrong version is if the cfw user have the bin in flash or in a usb device, at least now it avoid soft-bricks,
Last edited:
