webMAN-MOD icon indicating copy to clipboard operation
webMAN-MOD copied to clipboard

[Question] webMAN lite

Open LuanTeles opened this issue 3 years ago • 36 comments

Aldo, i have a switch to change between webman full and lite

eg:

Full /dev_blind?1/copy.ps3/dev_hdd0/plugins/webman/webftp_server_full.sprx|/dev_hdd0/plugins/webman/webftp_server.sprx;/copy.ps3/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/on.png&to=/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/plugins_icons/plugin_webman_full.png;/copy.ps3/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/off.png&to=/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/plugins_icons/plugin_webman_lite.png;/unloadprx.ps3?prx=WWWD;/loadprx.ps3/dev_hdd0/plugins/webftp_server_full.sprx;/popup.ps3?webMAN MOD Full;/browser.ps3$close_all_list

Lite /dev_blind?1;/copy.ps3/dev_hdd0/plugins/webman/webftp_server_lite.sprx|/dev_hdd0/plugins/webman/webftp_server.sprx;/copy.ps3/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/on.png&to=/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/plugins_icons/plugin_webman_lite.png;/copy.ps3/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/off.png&to=/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/plugins_icons/plugin_webman_full.png;/unloadprx.ps3?prx=WWWD;/loadprx.ps3/dev_hdd0/plugins/webman/webftp_server_lite.sprx;/popup.ps3?webMAN MOD Lite;/browser.ps3$close_all_list

image

It unloads the webMAN mod and loads the webMAN MOD Lite just fine, but i can't do the oppositive way, seems it requires PS3MAPI features that are not present in the lite version, is there any way to load it back?

i also tried the pad combo /pad.ps3?l1_r1_triangle_hold but this pad combo doesn't work via web command

image

LuanTeles avatar Nov 09 '22 04:11 LuanTeles

Edit: seems like many of the web commands i use does not work while in the lite version, so i'll leave it as a temporary toggle for the lite version.

Is there any web command for while on lite version to load the full one?

LuanTeles avatar Nov 09 '22 05:11 LuanTeles

webMAN Lite has very limited features in order to reduce the memory footprint.

You can load the full edition using: /quit.ps3<prx-path>

aldostools avatar Nov 09 '22 12:11 aldostools

I tried but it didn't work, it only unloads webMAN Mod

/quit.ps3/dev_flash/vsh/module/webftp_server_lite.sprx

I tried from full to lite and vice-versa but it didn't work

image image

LuanTeles avatar Nov 13 '22 06:11 LuanTeles

Try /quit.ps3<prx-path> alone. Also try loading the prx from the internal HDD.

That was the way that I tested the command when I was developing it.

Also try an older version, just in case the feature was broken in recent versions.

aldostools avatar Nov 13 '22 13:11 aldostools

Yeap, it works if the sprx is located in dev_hdd0 but not in flash.

Thanks Aldo, i'll move it to the standart location when the New Evilnat CFW comes out, i'm using it in dev_flash due to the cobra safefail feature that disables cobra if the recovery menu is accessed making the user to lose cobra features without knowing why , so i made a webman script if no cobra payload is detected it enables it back and reboot the console

LuanTeles avatar Nov 13 '22 17:11 LuanTeles

Hey Aldo,

Regarding the memory issues, I've been experimenting with a per-title script to switch to lite mode. I've found that /quit.ps3/dev_hdd0/plugins/webftp_server_lite.sprx works successfully switching to the lite version.

However, when attempting to switch back to the standard mode using /quit.ps3/dev_hdd0/plugins/webftp_server.sprx, I encounter an issue. Webman stops working and displays an error message "webMAN not ready."

Any tips?

LuanTeles avatar May 14 '24 07:05 LuanTeles

Does it only happen switching back to standard? I normally use full edition and I haven't had issues.

Please confirm me to verify if it's some bug in standard edition. It also could be related to your environment (mods, other plugins) or some background process consuming resources at the moment of the change.

aldostools avatar May 14 '24 11:05 aldostools

I just formatted my system and i tested it

I tried

Full version to lite >>> Works >>> reverting back to full version >>> webMAN not ready Standard version to lite >>>> Works >>> reverting to full version >>>webMAN not ready

Now using lite as the default one

Lite version to full >>> Works >>> reverting back to lite version >>> webMAN not ready Lite to standard version >>> Works >>> reverting back to lite version >>> webMAN not ready

Note: After switing back no webman combo will work, the proxy plugin will not work, you'll only get the message that webMAN is not ready, if a webcommand is called via XMBML

It's the same behaviour i get when exiting a PS2 game or trying a No-BD firmware

LuanTeles avatar May 14 '24 19:05 LuanTeles

I don't know if my PS3 is special, but I just tested webMAN MOD 1.47.46d updated online (Sunday's build) on Evilnat 4.91.2 BETA3

Full to Lite >> works >> Lite back to Full >> works >> Full to Lite again >> still works

Every time that I switched I tested mounting one random game from my list. They mounted without issues.

After press L1+R1+△ you must wait until the unload notification shows followed by another notification showing the version of the switched plugin.

aldostools avatar May 14 '24 21:05 aldostools

I'm not using combos.

BTW I just needed to format my system again, and I realized that the other versions are not being installed to the plugins folder. Isn't it meant to install the lite one too?

Also, I manually added the webftp_server_lite.sprx to the plugins folder, and after using L1+R1+△, the system freezes after the beep

EDIT: i'll format it again. now even the /quit.ps3/dev_hdd0/plugins/webftp_server_lite.sprx is freezing my system lol

Edit 2: Yeap the installer is not installing the lite version anymore to be able to switch

image

Edit 3: Using /quit.ps3/dev_hdd0/plugins/webftp_server_lite.sprx with the manually addition of the plugin is still crashing now, that's strange lol

Maybe my ssd is causing issues? dunno, i will switch to HDD to test it again

LuanTeles avatar May 15 '24 00:05 LuanTeles

I just converted from DEX to CEX and now it is not freezing anymore

The combo is working fine from Full >>> Lite >>>> Full >>> Lite

I'll try via webMAN command now and go back to DEX to see if it is a DEX issue only

LuanTeles avatar May 15 '24 00:05 LuanTeles

Use the online installer... it will install all the required sprx for sure.

aldostools avatar May 15 '24 01:05 aldostools

Use the online installer... it will install all the required sprx for sure.

Looks like the issue is only using the web command

Full >> Lite >>> Full = webMAN not ready

LuanTeles avatar May 15 '24 01:05 LuanTeles

I just converted from DEX to CEX and now it is not freezing anymore

This is a detail that you didn't mentioned. I test in CEX all the time.

aldostools avatar May 15 '24 01:05 aldostools

I just converted from DEX to CEX and now it is not freezing anymore

This is a detail that you didn't mentioned. I test in CEX all the time.

Yeap, i forgot that after formating my system i went to DEX to test if my explorer_plugin hashes are working

But the issue Full >> Lite >>> Full = webMAN not ready is still happening on CEX, only by using the web command to switch the versions.

The combo is working fine.

Now i'm going back to DEX to test the freezes

LuanTeles avatar May 15 '24 01:05 LuanTeles

Oh, after switching to DEX now, my console can't boot anymore. This issue used to happen to me in the past. Is it related to webMAN somehow? When I press to turn it on, the console tries to boot, the LED blinks in yellow, and then a black screen appears.

Maybe webMAN is applying the wrong patches?

LuanTeles avatar May 15 '24 01:05 LuanTeles

I don't recall webMAN applying DEX patches. Does it boot if you enter to recovery to delete boot_plugins.txt ?

BTW I never switch to DEX. All my developments are done in CEX only.

aldostools avatar May 15 '24 01:05 aldostools

This is a test build with some changes to check if that fixes the plugin swap using the web command /quit.ps3 webMAN-MOD_test_web_command_quit.zip

aldostools avatar May 15 '24 01:05 aldostools

I don't recall webMAN applying DEX patches. Does it boot if you enter to recovery to delete boot_plugins.txt ?

BTW I never switch to DEX. All my developments are done in CEX only.

Luckly i formated the system and not made a boot_init_nocobra.txt, as i can see, cobra doesnt delete the boot_plugins.txt but rename its to boot_plugins.bak and disable cobra.

When i enter recovey mode i can boot again without webMAN, if i enable cobra again, blackscreen so looks like it renamed back the boot_plugins.back to .txt

LuanTeles avatar May 15 '24 01:05 LuanTeles

This is a test build with some changes to check if that fixes the plugin swap using the web command /quit.ps3 webMAN-MOD_test_web_command_quit.zip

K, just lemme manually delete my boot_plugins and try again

LuanTeles avatar May 15 '24 01:05 LuanTeles

I don't recall webMAN applying DEX patches. Does it boot if you enter to recovery to delete boot_plugins.txt ? BTW I never switch to DEX. All my developments are done in CEX only.

Luckly i formated the system and not made a boot_init_nocobra.txt, as i can see, cobra doesnt delete the boot_plugins.txt but rename its to boot_plugins.bak and disable cobra.

When i enter recovey mode i can boot again without webMAN, if i enable cobra again, blackscreen so looks like it renamed back the boot_plugins.back to .txt

That's interresting, it indeed deleted the boot_plugins.txt and i manually deleted the nocobra one and enabled cobra again, same thing, leds blinks in yellow then black screen

So how is webMAN loading? or is it a cobra thing and not webMAN?

I have this random issue for years switching back and forth from CEX to DEX, so it looks like it is not webMAN at all, but a cobra thing.

Anyway, i'll reinstall the PUP and install your new build from scratch

LuanTeles avatar May 15 '24 01:05 LuanTeles

Make sure that you deleted: /dev_hdd0/boot_plugins.txt /dev_hdd0/boot_plugins_kernel_nocobra.txt /dev_hdd0/boot_plugins_kernel_nocobra_dex.txt /dev_hdd0/plugins/webftp_server.sprx /dev_hdd0/plugins/webftp_server_lite.sprx /dev_hdd0/plugins/webftp_server_nocobra.sprx /dev_hdd0/plugins/kernel <= this folder and all the content

aldostools avatar May 15 '24 01:05 aldostools

Make sure that you deleted: /dev_hdd0/boot_plugins.txt /dev_hdd0/boot_plugins_kernel_nocobra.txt /dev_hdd0/boot_plugins_kernel_nocobra_dex.txt /dev_hdd0/plugins/webftp_server.sprx /dev_hdd0/plugins/webftp_server_lite.sprx /dev_hdd0/plugins/webftp_server_nocobra.sprx /dev_hdd0/plugins/kernel <= this folder and all the content

i just disabled cobra again to deleted everything and yeap, it is not webman, the yellow led is not blinking anymore but i'm still getting black screen when cobra is enabled.

At least now i know that this issue is not related in anyway to webman (Later i'll try it to find what triggers it and report to Nat)

I'm flashing the pup again to test the new build

LuanTeles avatar May 15 '24 01:05 LuanTeles

@aldostools

It's crashing on DEX via web command and via combo.

Now i'm going back to CEX again.

LuanTeles avatar May 15 '24 01:05 LuanTeles

Thanks @aldostools , it's now fixed on CEX!

Now i can go from full to lite back and forth without any issue

LuanTeles avatar May 15 '24 01:05 LuanTeles

Excellent!

aldostools avatar May 15 '24 01:05 aldostools

Excellent!

About the issue on DEX, do you have any idea?

LuanTeles avatar May 15 '24 01:05 LuanTeles

No idea. You can test in Rebug 4.84 to verify if it's some issue with PEX.

As I commented earlier I only have tested the code in CEX, since I never use DEX.

aldostools avatar May 15 '24 02:05 aldostools

No idea. You can test in Rebug 4.84 to verify if it's some issue with PEX.

As I commented earlier I only have tested the code in CEX, since I never use DEX.

Got it. I don't use DEX either; when I switch to DEX, it's just to test if my things are working there too. Anyways, I'll test it on Rebug 4.84 and let you know.

LuanTeles avatar May 15 '24 02:05 LuanTeles

@aldostools Freezes on Rebug D-REX 4.84.2 too.

LuanTeles avatar May 15 '24 02:05 LuanTeles