PS3 PS3 4k Pro Mod

Hey, can i install Ps3 pro mod on 4.89 CFW Evilnat?
Resized_01198834-63a9-4ced-82e5-d0a4212ff7e1_10266875186841.gif

Sure no problem if you are on CFW:D
 
Also would you loose ps3 pro mod if you updated from 4.88?

Yes, as @Coro said, all files in flash will be overwritten by a firmware update, the installer is hidden when the mod is installed, if the user change the firmware it will be displayed on the XMB again for easy re-installation (only the flash files).

Also, in the recent builds, if user format the system, an icon will be shown on the xmb to re-downloads missing files to the hard drive.
 
Oops sorry @LuanTeles , I thought it works on all CFW.

I thought so too, but sony ruined it :P

I'm using 4.88 layout files to make it compatible with older/newer firmware, i couldn't fix all the problems on 4.89, the web browser pointer is completely broken even with the 4.88/rco/sprx layout.

I found the line in the layout files where it is being read, but on 4.89 this value is also used as a notification multiplier, so if I fix this, the notifications appears out of place.

I hope sony fixes it in 4.90 as everything is a mess on this fw.
 
Last edited:
This is the web browser on 4.89 using the 4.88 layout files

E3bTqb9.png


I found the line (3495) and fixed using the 4.89 value

but the notifications got affected

XkY4Dt4.png


but better than a not working web browser pointer.
Hope you get it all to work, very cool mod!, awhile back I copied all the pro files to flash and when you did a system restore pro mod was installed also,but I remember it took a little effort to sort out the files.the console died of a rsx failure. It was a cechg01. Also bad blocks in nand0. Would have replaced nand but rsx is dead. It is now a parts donor. :grenade:
 
@LuanTeles I recently found your mod and am interested in what all it does and was wondering if you have Telegram or Discord community for the mod.

Sent from my moto g stylus (2021) using Tapatalk
 
@LuanTeles cant you u se some syscall to identify ps3 fw version, in the installer, to allow the installation of the mod only on compatible firmware (to avoid users to install it on a non compatible firmware and having issues)?

Something like sys_sm_get_system_info (sc 387) or just by checking some files on the devflash (but you may encounter problems by looking on version.txt, index.dat and vsh.self if there is a spoof applyed).

Probably some devs could help u
 
@LuanTeles cant you u se some syscall to identify ps3 fw version, in the installer, to allow the installation of the mod only on compatible firmware (to avoid users to install it on a non compatible firmware and having issues)?

Something like sys_sm_get_system_info (sc 387) or just by checking some files on the devflash (but you may encounter problems by looking on version.txt, index.dat and vsh.self if there is a spoof applyed).

Probably some devs could help u

The installer I am using by the XMBM+ team has a firmware detector feature but I am only using it for the HFW version because 4.90 .BIN is different from 4.84-4.89 due to lv2 kernel offsets and setting it for each firmware requires to make a copy of the main mod files for each version, increasing the pkg file which is 3.05GB now.

The way I tried was to make it compatible with all fw versions 4.82-4.90, maybe it works on lower versions too, but I haven't tested it, so for this i'm still using 4.88 rcos/sprx, so i just patched the layout files to work on 4.89+. I didn't rebase the files with 4.90 due to OFW layout issues, I'm afraid when sony fixes it they might change the layout files again and that's over 2k rcos that I wouldn't need to redo.

I'm using webman mod to apply the layout files in two ways.

1. If the user launches the installer with webMAN MOD it will run the ingame script that you apply the version patches (layout files that are not perfect yet and cex vsh.self as the dex one doesn't support github SSL anymore) and some others

Code:
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    goto end
else
end if

/dev_blind?1
/mkdir.ps3

if PS3HEN
    /popup.ps3/Caution!%0AYour jailbreak type is HEN%0AYou must select the%0AHybrid Firmware (HFW) version!&icon=7&snd=2
    /popup.ps3/Caution!%0AYour jailbreak type is HEN%0AYou must select the%0AHybrid Firmware (HFW) version!
    /popup.ps3/Caution!%0AYour jailbreak type is HEN%0AYou must select the%0AHybrid Firmware (HFW) version!
    md /dev_blind/hen/xml
    md /dev_blind/vsh/resource/AAA
    map /dev_hdd0/hen/hen_enable.xml,/dev_flash/vsh/resource/explore/xmb/category_game.xml
    wait 2
    /remap.ps3
else
    /popup.ps3/Caution!%0AYour jailbreak type is CFW%0AYou must select the%0ACustom Firmware (CFW) version!&icon=7&snd=2
    /popup.ps3/Caution!%0AYour jailbreak type is CFW%0AYou must select the%0ACustom Firmware (CFW) version!
    /popup.ps3/Caution!%0AYour jailbreak type is CFW%0AYou must select the%0ACustom Firmware (CFW) version!
end if

/xmb.ps3$xregistry(/setting/bddvd/bnrForDvdRom)=1
/xmb.ps3$xregistry(/setting/bddvd/dvdUpConvert)=3
/xmb.ps3$xregistry(/setting/bddvd/fnrForDvdRom)=1
/xmb.ps3$xregistry(/setting/bddvd/mnr)=2
/xmb.ps3$xregistry(/setting/bddvd/mnrForDvdRom)=1
/xmb.ps3$xregistry(/setting/display/0/crossColorReduction)=1
/xmb.ps3$xregistry(/setting/display/colorSpace)=1
/xmb.ps3$xregistry(/setting/display/rgbOutputRange)=1
/xmb.ps3$xregistry(/setting/display/yuvSuperWhite)=1
/xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=1
/xmb.ps3$xregistry(/setting/game/emuSmoothing)=1
/xmb.ps3$xregistry(/setting/game/emuUpConvert)=2
/xmb.ps3$xregistry(/setting/game/minisUpConvert)=2
/xmb.ps3$xregistry(/setting/game/ps2BgCaution)=1
/xmb.ps3$xregistry(/setting/game/ps2emuSaveUtility)=1
/xmb.ps3$xregistry(/setting/game/ps2softemuFunc)=1
/xmb.ps3$xregistry(/setting/game/pspemu3dMenu)=1
/xmb.ps3$xregistry(/setting/game/pspemuAdhocModeWlan)=1
/xmb.ps3$xregistry(/setting/game/pspemuViewmode)=1
/xmb.ps3$xregistry(/setting/music/atracActivation)=1
/xmb.ps3$xregistry(/setting/music/dynamicNormalizer)=1
/xmb.ps3$xregistry(/setting/music/wmaActivation)=1
/xmb.ps3$xregistry(/setting/net/dnsFlag)=1
/xmb.ps3$xregistry(/setting/pad/vibrationEnable)=1
/xmb.ps3$xregistry(/setting/sound/1/usbHeadsetSound)=2
/xmb.ps3$xregistry(/setting/system/crashreport/crepo)=0
/xmb.ps3$xregistry(/setting/system/debugSystemUpdate)=1
/xmb.ps3$xregistry(/setting/system/dispHddSpace)=1
/xmb.ps3$xregistry(/setting/system/fakePlus)=1
/xmb.ps3$xregistry(/setting/system/fakeSavedataOwner)=0
/xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
/xmb.ps3$xregistry(/setting/user/$USERID$/browser/cookieMode)=1
/xmb.ps3$xregistry(/setting/user/$USERID$/browser/dpi)=0
/xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
/xmb.ps3$xregistry(/setting/user/$USERID$/browser/fontSize)=0
/xmb.ps3$xregistry(/setting/user/$USERID$/browser/interlaceFilter)=1
/xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
/xmb.ps3$xregistry(/setting/user/$USERID$/browser/overscan)=1
/xmb.ps3$xregistry(/setting/user/$USERID$/input/keyLayoutType)=1
/xmb.ps3$xregistry(/setting/user/$USERID$/npaccount/autoSignInEnable)=0
/xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
/xmb.ps3$xregistry(/setting/user/defaultLoginUserId)=$USERID$
/xmb.ps3$xregistry(/setting/video/upConvert)=2
/xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
/popup.ps3?Internet Speed Booster
/netstatus.ps3?dns1=1.1.1.1
/netstatus.ps3?dns2=1.0.0.1
/delete.ps3/dev_hdd0/game/PS34KPROL/USRDIR/backups/Before the installation of PS3 4K Pro/PS3~dev_blind~vsh~resource~theme
/delete.ps3/dev_hdd0/game/PS34KPROL/USRDIR/backups/Before the installation of PS3 4K Pro/PS3~dev_hdd0/hen
copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/web_browser/debug/setting.xml&to=/dev_hdd0/home/$USERID$/webbrowser/setting.xml
/write.ps3/dev_hdd0/home/$USERID$/webbrowser/setting.xml&t=%3Cmotion_type%3E1%3C/motion_type%3E&line=8
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=32&pos=0x30
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x377
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x249
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x157
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x147
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x40
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x25E
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x27
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x28
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x0E
/write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x253

if firmware 4.90
    copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/dev_hdd0/,/dev_hdd0/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=2
else if firmware 4.89
    copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/dev_hdd0/,/dev_hdd0/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=2
else
    copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/layout_fix/legacy_firmwares/dev_hdd0/,/dev_hdd0/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=0
end if

if noCobra
    move /dev_blind/sys/stage2.bak,/dev_blind/sys/stage2.bin
    move /dev_blind/rebug/cobra/stage2.bak,/dev_blind/rebug/cobra/stage2.bin
else if PS3HEN
    md /dev_blind/hen/xml
    /unloadprx.ps3/dev_hdd0/plugins/fps_counter.sprx
end if
   
if exist /dev_flash/rebug
    goto Rebug
else if exist /dev_flash/vsh/module/vsh.self.dex
    goto EvilNat
else if exist /dev_flash/vsh/module/vsh.self.cex
    goto EvilNat
else
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/regular_4.88_or_lower/dev_hdd0/,/dev_hdd0/
    goto SSL
end if
   
:Rebug
if exist /dev_flash/vsh/module/vsh.self.cex
    move /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.off,/dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.xml
     copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/explore_plugin/rebug_4.84/dev_hdd0/,/dev_hdd0/
    goto SSL
else if exist /dev_flash/vsh/module/vsh.self.dex
    move /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.off,/dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.xml
     copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/explore_plugin/rebug_4.84/dev_hdd0/,/dev_hdd0/
    goto SSL
else
    move /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.off,/dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.xml
     copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/explore_plugin/regular_4.88_or_lower/dev_hdd0/,/dev_hdd0/
    goto SSL
end if

:EvilNat
if exist /dev_flash/vsh/module/vsh.self.cex
    move /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.xml,/dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.off
     copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/explore_plugin/evilnat_4.90/dev_hdd0/,/dev_hdd0/
    goto SSL
else if exist /dev_flash/vsh/module/vsh.self.dex
    move /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.xml,/dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.off
     copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/explore_plugin/evilnat_4.90/dev_hdd0/,/dev_hdd0/
    goto SSL
else
    move /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.xml,/dev_hdd0/game/PS34KPROL/USRDIR/toolbox/xmls/WebMan_Rebug_Features.off
     copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/explore_plugin/regular_4.88_or_lower/dev_hdd0/,/dev_hdd0/
    goto SSL
end if

:SSL
if firmware 4.90
    copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/welcome_screen/evilnat_4.90/,/
else if firmware 4.89
    copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/welcome_screen/evilnat_4.89/enable/,/
else if firmware 4.88
    copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/welcome_screen/evilnat_4.88/enable/,/
else if firmware 4.84
    copy /dev_hdd0/game/PS34KPROL/USRDIR/toolbox/patches/welcome_screen/rebug/enable/,/
else
end if
   
:end
/delete.ps3/dev_hdd0/game/PS34KPROL/USRDIR/backups/Before the installation of PS3 4K Pro/PS3~dev_blind~vsh~resource~theme
/delete.ps3/dev_hdd0/game/PS34KPROL/USRDIR/backups/Before the installation of PS3 4K Pro/PS3~dev_hdd0/hen
/unlockhdd.ps3?enable

2. These patches are applied in case the first one fails, the mod installs the webMAN MOD, so now the script runs for sure

Code:
     wait 9
    wait 5
    /delete.ps3/dev_hdd0/tmp/explore/nsx
    /delete.ps3/dev_hdd0/tmp/explore/xil2
    /dev_blind?1
   
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    goto Installed
else
    /delete.ps3/dev_hdd0/boot_plugins.txt;/delete_ps3/dev_hdd0/tmp/wm_icons/icon_wm_root.png;/refresh.ps3;/delete.ps3/dev_hdd0/tmp/canyon;/delete.ps3/dev_hdd0/tmp/canyon.off;/delete.ps3/dev_hdd0/tmp/coldboot;/delete.ps3/dev_hdd0/tmp/coldboot.off;/delete.ps3/dev_hdd0/tmp/earth;/delete.ps3/dev_hdd0/tmp/earth.off;/delete.ps3/dev_hdd0/tmp/gameboot;/delete.ps3/dev_hdd0/tmp/gameboot.off;/delete.ps3/dev_hdd0/tmp/gameboot_logo;/delete.ps3/dev_hdd0/tmp/gameboot_logo.off;/delete.ps3/dev_hdd0/tmp/impose;/delete.ps3/dev_hdd0/tmp/impose.off;/delete.ps3/dev_hdd0/tmp/lines;/delete.ps3/dev_hdd0/tmp/lines.off;/delete.ps3/dev_hdd0/tmp/psn_icons;/delete.ps3/dev_hdd0/tmp/psn_icons.off;/delete.ps3/dev_hdd0/tmp/theme;/delete.ps3/dev_hdd0/tmp/theme.off;/delete.ps3/dev_hdd0/tmp/wallpaper;/delete.ps3/dev_hdd0/tmp/wallpaper.off;/delete.ps3/dev_hdd0/tmp/system_music;/move.ps3/dev_hdd0/xmlhost.off&to=/dev_hdd0/xmlhost;/move.ps3/dev_hdd0/boot_plugins_firmware_change.txt&to=/dev_hdd0/boot_plugins.txt;/delete_ps3/dev_hdd0/theme/CD_*.p3t;/delete_ps3/dev_hdd0/autoexec.bat;/delete_ps3/dev_hdd0/boot_init_swap.txt;/delete_ps3/dev_hdd0/onxmb.bat;/delete_ps3/dev_hdd0/patches.bat;/delete_ps3/dev_hdd0/ingame.bat;/delete_ps3/dev_hdd0/home/$USERID$/webbrowser/setting.xml;/delete.ps3/dev_hdd0/PROISO;/delete_ps3/dev_blind/vsh/resource/theme/01.p3t;/write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x253;/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x27;/write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x28;/xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0;/xmb.ps3$xregistry(/setting/net/dnsFlag)=1;/netstatus.ps3?dns1=1.1.1.1;/netstatus.ps3?dns2=1.0.0.1;/delete_ps3/dev_hdd0/boot_init.txt;/reboot.ps3?quick
end if  

:Installed
if exist /dev_hdd0/home/$USERID$/localusername
    wait 2
    popup PS3™ Pro
    beep3
    /delete_ps3/dev_hdd0/theme/CD_*.p3t
    wait 2
    /install.ps3/dev_flash/vsh/resource/theme/01.p3t
    /move.ps3/dev_hdd0/boot_init_swap.txt|/dev_hdd0/boot_init.txt
    /browser.ps3?http://localhost/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/htmls/welcome.html
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=32&pos=0x30
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x377
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x249
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x157
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x147
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x40
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x25E
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x27
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x28
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x0E
    wait 7
    /netstatus.ps3?dns1=1.1.1.1
    /netstatus.ps3?dns2=1.0.0.1
    /xmb.ps3$xregistry(/setting/bddvd/bnrForDvdRom)=1
    /xmb.ps3$xregistry(/setting/bddvd/dvdUpConvert)=3
    /xmb.ps3$xregistry(/setting/bddvd/fnrForDvdRom)=1
    /xmb.ps3$xregistry(/setting/bddvd/mnr)=2
    /xmb.ps3$xregistry(/setting/bddvd/mnrForDvdRom)=1
    /xmb.ps3$xregistry(/setting/display/0/crossColorReduction)=1
    /xmb.ps3$xregistry(/setting/display/colorSpace)=1
    /xmb.ps3$xregistry(/setting/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/display/yuvSuperWhite)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=1
    /xmb.ps3$xregistry(/setting/game/emuSmoothing)=1
    /xmb.ps3$xregistry(/setting/game/emuUpConvert)=2
    /xmb.ps3$xregistry(/setting/game/minisUpConvert)=2
    /xmb.ps3$xregistry(/setting/game/ps2BgCaution)=1
    /xmb.ps3$xregistry(/setting/game/ps2emuSaveUtility)=1
    /xmb.ps3$xregistry(/setting/game/ps2softemuFunc)=1
    /xmb.ps3$xregistry(/setting/game/pspemu3dMenu)=1
    /xmb.ps3$xregistry(/setting/game/pspemuAdhocModeWlan)=1
    /xmb.ps3$xregistry(/setting/game/pspemuViewmode)=1
    /xmb.ps3$xregistry(/setting/music/atracActivation)=1
    /xmb.ps3$xregistry(/setting/music/dynamicNormalizer)=1
    /xmb.ps3$xregistry(/setting/music/wmaActivation)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=1
    /xmb.ps3$xregistry(/setting/pad/vibrationEnable)=1
    /xmb.ps3$xregistry(/setting/sound/1/usbHeadsetSound)=2
    /xmb.ps3$xregistry(/setting/system/crashreport/crepo)=0
    /xmb.ps3$xregistry(/setting/system/debugSystemUpdate)=1
    /xmb.ps3$xregistry(/setting/system/dispHddSpace)=1
    /xmb.ps3$xregistry(/setting/system/fakePlus)=1
    /xmb.ps3$xregistry(/setting/system/fakeSavedataOwner)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/account/avatarurl)=/dev_flash/vsh/resource/explore/user/141.png
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/cookieMode)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/dpi)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/fontSize)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/interlaceFilter)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/overscan)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/input/keyLayoutType)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/video/upConvert)=2
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/web_browser/debug/setting.xml,/dev_hdd0/home/$USERID$/webbrowser/setting.xml
else
    /pad.ps3?accept
    /pad.ps3?accept
    wait 4
    popup PS3™ Pro
    beep3
    /delete_ps3/dev_hdd0/theme/CD_*.p3t
    wait 2
    /install.ps3/dev_flash/vsh/resource/theme/01.p3t
    /move.ps3/dev_hdd0/boot_init_swap.txt|/dev_hdd0/boot_init.txt
    /browser.ps3?http://localhost/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/htmls/welcome.html
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=32&pos=0x30
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x377
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x249
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x157
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x147
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x40
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x25E
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x27
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=00&pos=0x28
    /write.ps3/dev_hdd0/tmp/wm_config.bin&t=01&pos=0x0E
    wait 7
    /netstatus.ps3?dns1=1.1.1.1
    /netstatus.ps3?dns2=1.0.0.1
    /xmb.ps3$xregistry(/setting/bddvd/bnrForDvdRom)=1
    /xmb.ps3$xregistry(/setting/bddvd/dvdUpConvert)=3
    /xmb.ps3$xregistry(/setting/bddvd/fnrForDvdRom)=1
    /xmb.ps3$xregistry(/setting/bddvd/mnr)=2
    /xmb.ps3$xregistry(/setting/bddvd/mnrForDvdRom)=1
    /xmb.ps3$xregistry(/setting/display/0/crossColorReduction)=1
    /xmb.ps3$xregistry(/setting/display/colorSpace)=1
    /xmb.ps3$xregistry(/setting/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/display/yuvSuperWhite)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=1
    /xmb.ps3$xregistry(/setting/game/emuSmoothing)=1
    /xmb.ps3$xregistry(/setting/game/emuUpConvert)=2
    /xmb.ps3$xregistry(/setting/game/minisUpConvert)=2
    /xmb.ps3$xregistry(/setting/game/ps2BgCaution)=1
    /xmb.ps3$xregistry(/setting/game/ps2emuSaveUtility)=1
    /xmb.ps3$xregistry(/setting/game/ps2softemuFunc)=1
    /xmb.ps3$xregistry(/setting/game/pspemu3dMenu)=1
    /xmb.ps3$xregistry(/setting/game/pspemuAdhocModeWlan)=1
    /xmb.ps3$xregistry(/setting/game/pspemuViewmode)=1
    /xmb.ps3$xregistry(/setting/music/atracActivation)=1
    /xmb.ps3$xregistry(/setting/music/dynamicNormalizer)=1
    /xmb.ps3$xregistry(/setting/music/wmaActivation)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=1
    /xmb.ps3$xregistry(/setting/pad/vibrationEnable)=1
    /xmb.ps3$xregistry(/setting/sound/1/usbHeadsetSound)=2
    /xmb.ps3$xregistry(/setting/system/crashreport/crepo)=0
    /xmb.ps3$xregistry(/setting/system/debugSystemUpdate)=1
    /xmb.ps3$xregistry(/setting/system/dispHddSpace)=1
    /xmb.ps3$xregistry(/setting/system/fakePlus)=1
    /xmb.ps3$xregistry(/setting/system/fakeSavedataOwner)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/account/avatarurl)=/dev_flash/vsh/resource/explore/user/141.png
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/cookieMode)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/dpi)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/fontSize)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/interlaceFilter)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/overscan)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/input/keyLayoutType)=1
    /xmb.ps3$xregistry(/setting/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/video/upConvert)=2
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/web_browser/debug/setting.xml,/dev_hdd0/home/$USERID$/webbrowser/setting.xml
end if

if firmware 4.90
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/dev_hdd0/,/dev_hdd0/
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/welcome_screen/evilnat_4.90/,/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=2
else if firmware 4.89
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/dev_hdd0/,/dev_hdd0/
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/welcome_screen/evilnat_4.89/enable/,/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=2
else if firmware 4.88
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/legacy_firmwares/dev_hdd0/,/dev_hdd0/
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/welcome_screen/evilnat_4.88/enable/,/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=0
else if firmware 4.84
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/legacy_firmwares/dev_hdd0/,/dev_hdd0/
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/welcome_screen/rebug/enable/,/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=0
else
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/legacy_firmwares/dev_hdd0/,/dev_hdd0/
    /xmb.ps3$xregistry(/setting/user/$USERID$/theme/endarkbg)=0
end if

if noCobra
    move /dev_blind/sys/stage2.bin.bak,/dev_blind/sys/stage2.bin
    move /dev_blind/sys/stage2.cex.bak,/dev_blind/sys/stage2.cex
    move /dev_blind/sys/stage2.dex.bak,/dev_blind/sys/stage2.dex
    move /dev_blind/rebug/cobra/stage2.cex.bak,/dev_blind/rebug/cobra/stage2.cex
    move /dev_blind/rebug/cobra/stage2.dex.bak,/dev_blind/rebug/cobra/stage2.dex
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.xml
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.off
    /reboot.ps3
else if PS3HEN
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.off
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.off
    /unloadprx.ps3/dev_hdd0/plugins/fps_counter.sprx
else if Mamba
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.off
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.xml
else if Debug
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.xml
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.off
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/on.png,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/payloads/cobra/debug_mode.png
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/off.png,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/payloads/cobra/release_mode.png
else if Cobra
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Cobra_Tools.xml
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Mamba_Tools.off
end if

if DEX
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/off.png,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/system_mode/cex.png
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/on.png,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/system_mode/dex.png
else
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/on.png,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/system_mode/cex.png
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/off.png,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/system_mode/dex.png
end if

if exist /dev_usb000
     copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb000/
else if exist /dev_usb001
     copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
end if
 
if exist /dev_flash/rebug
    goto Rebug
else if exist /dev_flash/vsh/module/vsh.self.dex
    goto EvilNat
else if exist /dev_flash/vsh/module/vsh.self.cex
    goto EvilNat
else
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/regular_4.88_or_lower/,/
    goto end
end if
    goto end

:Rebug
if exist /dev_flash/vsh/module/vsh.self.cex
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.xml
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.off
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/rebug_4.84/,/
else if exist /dev_flash/vsh/module/vsh.self.dex
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.xml
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.off
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/rebug_4.84/,/
else
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.off
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.off
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/regular_4.88_or_lower/,/
end if

:EvilNat
if exist /dev_flash/vsh/module/vsh.self.cex
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.off
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/evilnat_4.90/,/
else if exist /dev_flash/vsh/module/vsh.self.dex
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.off
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/evilnat_4.90/,/
else
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Rebug_Tools.off
    move /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.xml,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.off
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/regular_4.88_or_lower/,/
end if

:end
/delete.ps3/dev_hdd0/game/PS34KPROX/USRDIR/backups/Before the installation of PS3 4K Pro/PS3~dev_blind~vsh~resource~theme
/delete.ps3/dev_hdd0/game/PS34KPROX/USRDIR/backups/Before the installation of PS3 4K Pro/PS3~dev_hdd0/hen
/unlockhdd.ps3?enable


I would need some help modding the installer to detect HEN payload and to a add an version range.

the installer supportes [fw_version-target_id], example

4.89-CEX-Name of the MOD
4.90-DEX-Name of the MOD
or All-All-Name of the MOD to instalo on any firmware and TargetID.

I would like to support version range like

4.82-4.89-All

and

4.82-4.89-HEN

maybe @aldostools, @bguerville can help me? i don't know coding language, i just made some modifications by looking at the code and trying to reproduce it

btw here is the source PS3-4K-Pro/installer at main · PS3-4K-Pro/PS3-4K-Pro (github.com)
 
You could use those 2 syscalls for detection.


s32 lv2_ishen()
{
lv2syscall1(8, (uint64_t) 0x1337);
return_to_user_prog(s32);
}

s32 lv2_gethenrev()
{
lv2syscall1(8, (uint64_t) 0x1339);
return_to_user_prog(s32);
}


Calling lv2_ishen will return 0x1337 if hen is found running on system.


if(lv2_ishen==0x1337){
//HEN is found
}
else{
//HEN not found
}

Calling lv2_gethenrev() gets the HEN revision.

s32 henrev = lv2_gethenrev();
if(henrev==0x322){
//Current HEN version found...

}
else{
//Test for other revs if needed
}

As to supporting different versions for HEN than for others, at 1st glance the easiest way might be to use a separate folder for HEN files and modify the mainfolder variable (line 568) to use it if the separate folder exists and if HEN is detected.
Something along those lines, quick and dirty, more akin to hacking code than building upon it.
Otherwise you have to dig into the logic itself and it becomes a bigger job.
 
You could use those 2 syscalls for detection.


s32 lv2_ishen()
{
lv2syscall1(8, (uint64_t) 0x1337);
return_to_user_prog(s32);
}

s32 lv2_gethenrev()
{
lv2syscall1(8, (uint64_t) 0x1339);
return_to_user_prog(s32);
}


Calling lv2_ishen will return 0x1337 if hen is found running on system.


if(lv2_ishen==0x1337){
//HEN is found
}
else{
//HEN not found
}

Calling lv2_gethenrev() gets the HEN revision.

s32 henrev = lv2_gethenrev();
if(henrev==0x322){
//Current HEN version found...

}
else{
//Test for other revs if needed
}

As to supporting different versions for HEN than for others, at 1st glance the easiest way might be to use a separate folder for HEN files and modify the mainfolder variable (line 568) to use it if the separate folder exists and if HEN is detected.
Something along those lines, quick and dirty, more akin to hacking code than building upon it.
Otherwise you have to dig into the logic itself and it becomes a bigger job.

Thanks, i'll try it and report back when i get the chance.
 
I am using Evilnat cfw for 4.90. Do you have a link for this, please? Before I am had downloaded a PS3 4K Pro Mod via GitHub, but this version damaged my OS. So I am had to reset my PS3. This is why I am asking you.( I am a noob on PS3) and I am do not want to make this mistake again.

What do you mean with "it damaged my OS"? it works on EvilNat 4.90 without any problems.
 
Back
Top