PS3 webMAN MOD - Web Commands

@aldostools webman can't take screenshot in game ? i have a game to do some calc on pc and i needed screenshots but when i press ps button the moment when xmb appear the image in the game disappear
The screenshot command only works on XMB. To take screenshots in game you have to press PS, select the command from the Photo column.
 
Kind of related, but it would be great if there was a way to trigger the XMB screenshot function without going to XMB. Some games don't allow in game XMB in certain places, but if the screenshot was triggered via a button combo or URL the screenshot function would probably work, and even when it does work its really slow to use waiting for XMB icons to load, then going back to the game, then it takes you back to the XMB again after taking it. takes over 20 seconds just to take one screenshot.
 
Kind of related, but it would be great if there was a way to trigger the XMB screenshot function without going to XMB. Some games don't allow in game XMB in certain places, but if the screenshot was triggered via a button combo or URL the screenshot function would probably work, and even when it does work its really slow to use waiting for XMB icons to load, then going back to the game, then it takes you back to the XMB again after taking it. takes over 20 seconds just to take one screenshot.

Yes, it would be great if we could call the XMB screenshot function directly without having to access the XMB.
The problem is that I don't know how to call that function directly from the plugin.

This plugin is supposed to allow to take screenshots in-game, but for some reason it only works in XMB for me.
https://www.psx-place.com/resources/ps3-in-game-menu.487/
 
@aldostools I remember that webMAN supports compressed games, but I can't find it documented on the webMAN wiki, what compression formats does it support? and for what types of games? (PS3.PS2,PSX AND PSP?)
 
Aldo since @OsirisX is around, maybe he can help?
He seems busy working on RetroArch. I am busy these days too. You could ask. Maybe some collaborator could post a PR.

@aldostools I remember that webMAN supports compressed games, but I can't find it documented on the webMAN wiki, what compression formats does it support? and for what types of games? (PS3.PS2,PSX AND PSP?)
I posted in this forum all the details. In summary you compress the ISO in zip, 7zip or rar and put it in the corresponding folder for PSPISO, PSXISO, PS2ISO, etc.

webMAN MOD mounts PKGLAUNCH in app_home, it extracts the archived ISO to a temporary folder, then the ISO is mounted as a Disc icon.

If the archive is too big, it will take various minutes to decompress making the feature impractical. Mainly PSP and PSX have some use.
 
@aldostools i'm trying to make a check for EvilNAT PEX and Rebug Full, but the script is returning me both Rebug Lite and Regular Evilnat, any clue?

Code:
if exist /dev_flash/rebug
    goto Rebug
else if exist /dev_flash/module/vsh.self.cex
    goto EvilNat
else
end if
   
:Rebug
if exist /dev_flash/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/,/
    popup Rebug Full
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
    popup Rebug Lite
end if


:EvilNat
if exist /dev_flash/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/regular/,/
popup EvilNat PEX
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.off,/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/xmls/CFW_Evilnat_PEX_Tools.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/explore_plugin/regular/,/
    popup Regular EvilNat
end if
 
Last edited:
Maybe i need to add a goto end

Code:
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    /delete.ps3/dev_hdd0/tmp/explore/nsx
    /delete.ps3/dev_hdd0/tmp/explore/xil2
    wait 9
    wait 7
    popup PS3™ Pro
    beep3
    wait 1
    /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=01&pos=0x0E
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/boot_plugins/cfw/,/dev_hdd0/
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_friend.xml,/dev_blind/vsh/resource/explore/xmb/category_friend.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_game.xml,/dev_blind/vsh/resource/explore/xmb/category_game.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_game_tool2.xml,/dev_blind/vsh/resource/explore/xmb/category_game_tool2.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_music.xml,/dev_blind/vsh/resource/explore/xmb/category_music.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network.xml,/dev_blind/vsh/resource/explore/xmb/category_network.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network_tool2.xml,/dev_blind/vsh/resource/explore/xmb/category_network_tool2.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_photo.xml,/dev_blind/vsh/resource/explore/xmb/category_photo.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_psn.xml,/dev_blind/vsh/resource/explore/xmb/category_psn.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_tv.xml,/dev_blind/vsh/resource/explore/xmb/category_tv.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_user.xml,/dev_blind/vsh/resource/explore/xmb/category_user.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_user_login.xml,/dev_blind/vsh/resource/explore/xmb/category_user_login.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_video.xml,/dev_blind/vsh/resource/explore/xmb/category_video.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network_service_mode_tools.xml,/dev_blind/vsh/resource/explore/xmb/category_network_service_mode_tools.xml
else
    /move.ps3/dev_hdd0/boot_plugins_firmware_change.txt&to=/dev_hdd0/boot_plugins.txt;/move.ps3/dev_hdd0/xmlhost.off&to=/dev_hdd0/xmlhost;/delete_ps3/dev_hdd0/boot_init.txt;/reboot.ps3?quick
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_flash/rebug
    goto Rebug
else if exist /dev_flash/module/vsh.self.cex
    goto EvilNat
else
    goto end
end if
    goto end
 
:Rebug
if exist /dev_flash/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/,/
    popup Rebug Full
    goto end
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
    popup Rebug Lite
    goto end
end if
    goto end

:EvilNat
if exist /dev_flash/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/regular/,/
    popup EvilNat PEX
    goto end
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/,/
    popup Regular EvilNat
    goto end
end if
    goto end
 
if exist /dev_usb000
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb000/
else if  /dev_usb001
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
end if

:end


EDIT: I got no notification now lol, what is wrong?
 
Last edited:
@aldostools seems the issue is here

Code:
if exist /dev_flash/rebug
    popup going to Rebug
    goto Rebug
else if exist /dev_flash/module/vsh.self.cex
    popup going to EvilNat
    goto EvilNat
else
    popup None
    goto end
end if
    goto end

The popup is saying NONE, the same issue i reported on your github, "if exist" doesnt work with "else exist", it always go to "else"
 
@aldostools seems the issue is here

Code:
if exist /dev_flash/rebug
    popup going to Rebug
    goto Rebug
else if exist /dev_flash/module/vsh.self.cex
    popup going to EvilNat
    goto EvilNat
else
    popup None
    goto end
end if
    goto end

The popup is saying NONE, the same issue i reported on your github, "if exist" doesnt work with "else exist", it always go to "else"

Your path is wrong:
else if exist /dev_flash/vsh/module/vsh.self.cex
 
Your path is wrong:
else if exist /dev_flash/vsh/module/vsh.self.cex

What a silly mistake LOL, i can't believe i'm wainting two weeks to fix it and my path was wrong :ashamed:

Thanks a ton Aldo hahah, working now

I always say, don't trust me late at night and I never learn haha every time I mess with the ps3 late at night I make mistakes
 
@aldostools here are my scripts, they are working good, i just want to know if there is a way to optimize them or they are ok as they are, i am about to relase a new version of PS3 Pro and want to know if it is ok.

boot_init.txt

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
    /move.ps3/dev_hdd0/boot_plugins_firmware_change.txt&to=/dev_hdd0/boot_plugins.txt;/move.ps3/dev_hdd0/xmlhost.off&to=/dev_hdd0/xmlhost;/delete_ps3/dev_hdd0/boot_init.txt;/reboot.ps3?quick
    goto end
end if  
    goto end

: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/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=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/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/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=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/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=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/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/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=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/,/
else if firmware 4.89
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/,/
else
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/legacy_firmwares/,/
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  /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.cex
    goto EvilNat
else
    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/,/
    goto end
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
    goto end  
end if
    goto end

: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/regular/,/
    goto end
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/,/
    goto end
end if
    goto end
   
:end

onxmb.bat (the blank lines is because some options can write to it)
Code:
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_friend.xml,/dev_blind/vsh/resource/explore/xmb/category_friend.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_game.xml,/dev_blind/vsh/resource/explore/xmb/category_game.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_game_tool2.xml,/dev_blind/vsh/resource/explore/xmb/category_game_tool2.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_music.xml,/dev_blind/vsh/resource/explore/xmb/category_music.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network.xml,/dev_blind/vsh/resource/explore/xmb/category_network.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network_tool2.xml,/dev_blind/vsh/resource/explore/xmb/category_network_tool2.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_photo.xml,/dev_blind/vsh/resource/explore/xmb/category_photo.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_psn.xml,/dev_blind/vsh/resource/explore/xmb/category_psn.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_tv.xml,/dev_blind/vsh/resource/explore/xmb/category_tv.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_user.xml,/dev_blind/vsh/resource/explore/xmb/category_user.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_user_login.xml,/dev_blind/vsh/resource/explore/xmb/category_user_login.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_video.xml,/dev_blind/vsh/resource/explore/xmb/category_video.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network_service_mode_tools.xml,/dev_blind/vsh/resource/explore/xmb/category_network_service_mode_tools.xml
    /led.ps3mapi?color=1&mode=2
    /led.ps3mapi?color=0&mode=3
   
    /xmb.ps3$focus_category game
    /xmb.ps3$focus_index 2
    /xmb.ps3$focus_index 2
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/boot_plugins/cfw/,/dev_hdd0/
end if

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
elseif 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
elseif 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 exist /dev_usb000
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb000/
else if  /dev_usb001
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
end if

ingame.bat

Code:
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    wait 5
    popup Supersampling mode is enabled
    /xmb.ps3$ingame_screenshot
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/boot_plugins/cfw/,/dev_hdd0/
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_friend.xml,/dev_blind/vsh/resource/explore/xmb/category_friend.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_game.xml,/dev_blind/vsh/resource/explore/xmb/category_game.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_game_tool2.xml,/dev_blind/vsh/resource/explore/xmb/category_game_tool2.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_music.xml,/dev_blind/vsh/resource/explore/xmb/category_music.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network.xml,/dev_blind/vsh/resource/explore/xmb/category_network.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_network_tool2.xml,/dev_blind/vsh/resource/explore/xmb/category_network_tool2.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_photo.xml,/dev_blind/vsh/resource/explore/xmb/category_photo.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_psn.xml,/dev_blind/vsh/resource/explore/xmb/category_psn.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_tv.xml,/dev_blind/vsh/resource/explore/xmb/category_tv.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_user.xml,/dev_blind/vsh/resource/explore/xmb/category_user.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_user_login.xml,/dev_blind/vsh/resource/explore/xmb/category_user_login.xml
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/cfw/category_video.xml,/dev_blind/vsh/resource/explore/xmb/category_video.xml
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
end if
 

Attachments

Last edited:
I added notifications for all functions and the only one that didn't work is

Code:
if exist /dev_usb000
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb000/
    popup USB000
else if  /dev_usb001
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
    popup USB001
else
    popup NO USB!
end if


what i did wrong hahah, it is returning me NO USB!
 
I added notifications for all functions and the only one that didn't work is

if exist /dev_usb000
copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb000/
popup USB000
else if /dev_usb001
copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
popup USB001
end if

what i did wrong hahah
You should go to sleep :troutslap:
else if exist /dev_usb001
copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/, /dev_usb001/

or
/copy .ps3/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
 
Last edited:
You should go to sleep :troutslap:
else if exist /dev_usb001
copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/, /dev_usb001/

or
/copy .ps3/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/

Oh my god I really need to sleep or I'm going to kill myself, damn!, Thanks Aldo

I'm using just copy because it is silent instead of /copy.ps3/
 
Last edited:
@aldostools

I improved my script but some part of it stopped to work, so i made it sequencial and with popups to see where it is getting stuck

its stops in the popup Installed (before goto Layout), any clue?

Code:
#Commom
    wait 9
    wait 5
    /delete.ps3/dev_hdd0/tmp/explore/nsx
    /delete.ps3/dev_hdd0/tmp/explore/xil2
    /dev_blind?1

#Conditions 
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    goto Installed
else
    /move.ps3/dev_hdd0/boot_plugins_firmware_change.txt&to=/dev_hdd0/boot_plugins.txt;/move.ps3/dev_hdd0/xmlhost.off&to=/dev_hdd0/xmlhost;/delete_ps3/dev_hdd0/boot_init.txt;/reboot.ps3?quick
    goto End
end if 
    goto End

: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/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=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/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/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=1
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/web_browser/debug/setting.xml,/dev_hdd0/home/$USERID$/webbrowser/setting.xml
    popup Installed
    goto Layout
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/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=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/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/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=1
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/web_browser/debug/setting.xml,/dev_hdd0/home/$USERID$/webbrowser/setting.xml
    popup User
    goto Layout
end if
    goto End

:Layout
if firmware 4.90
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/,/
    popup Layout 4.90
    goto Payload
else if firmware 4.89
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/,/
    popup Layout 4.89
    goto Payload
else
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/legacy_firmwares/,/
    goto Payload
end if
    goto End

:Payload
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
    goto System
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
    goto System
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
    goto System
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
    popup Cobra
    goto System
end if
    goto End

:System
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
    popup DEX
    goto Firmware
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
    popup CEX
    goto Firmware
end if
    goto End
 
:Firmware
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
    goto Security
end if
    goto End

#Firmware Types 
: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/,/
    goto Security
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/,/
    goto Security
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/,/
    goto Security
end if
    goto End

: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.89/,/
    goto Security
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.89/,/
    goto Security
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/,/
    goto Security
end if
    goto End

:Security 
if exist /dev_usb000
     copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb000/
    goto End
else if exist /dev_usb001
     copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
    goto End
end if
    goto End

:End
 
@aldostools seems like only the first goto is working, if i remove them the code goes up to
Code:
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
    goto end
end if

So this confirms my previous post, that after the first goto (goto Installed) i can't use other goto, that's why goto Layout is not executed and the others too.

Code:
#Commom
    wait 9
    wait 5
    /delete.ps3/dev_hdd0/tmp/explore/nsx
    /delete.ps3/dev_hdd0/tmp/explore/xil2
    /dev_blind?1

#Conditions
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    goto Installed
else
    /move.ps3/dev_hdd0/boot_plugins_firmware_change.txt&to=/dev_hdd0/boot_plugins.txt;/move.ps3/dev_hdd0/xmlhost.off&to=/dev_hdd0/xmlhost;/delete_ps3/dev_hdd0/boot_init.txt;/reboot.ps3?quick
end if
    goto end

: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/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=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/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/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=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/display/rgbOutputRange)=1
    /xmb.ps3$xregistry(/setting/dlna/dlnaFlag)=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/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/user/$USERID$/npaccount/autoSignInEnable)=0
    /xmb.ps3$xregistry(/setting/system/turnOffWarning)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/wboard/enable)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/exitConfirmation)=0
    /xmb.ps3$xregistry(/setting/user/$USERID$/browser/javascript)=1
    /xmb.ps3$xregistry(/setting/xmb/tvCategory)=1
    /xmb.ps3$xregistry(/setting/net/dnsFlag)=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/,/
    popup Layout 4.90
else if firmware 4.89
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/latest_firmwares/web_browser_pointer/,/
    popup Layout 4.89
else
    copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/layout_fix/legacy_firmwares/,/
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
    popup Cobra
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
    popup DEX
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
    popup CEX
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
    goto end
end if

: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/,/
    popup Rebug
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/,/
    popup Rebug
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.89/,/
    popup Evilnat CEX
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.89/,/
    popup Evilnat DEX
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/,/
    popup Evilnat Lite
end if

if exist /dev_usb000
     copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb000/
     popup usb0000
else if exist /dev_usb001
     copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/security_key/cfw/on/&to=/dev_usb001/
end if

:end
 
Last edited:
@aldostools besides the other problem in the previous posts

If i use these two commands before the conditional, it is returning me Installed, and this condition is not true as the pro.xml is not in the path

Code:
/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
if exist /dev_flash/vsh/resource/explore/xmb/pro.xml
    popup Installed
else
    popup Not Installed
end if


but if i remove these lines it works as expected and returns Not Installed, any clue?

I didn't include it in the installed conditional code because it won't work so I had to use it before the conditional checks and i want it to be performanced in both cases
 
Back
Top