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

Popup Message Icons not working

Open PS3-4K-Pro opened this issue 2 years ago • 9 comments

Aldo, seems like the popup commands with icons stopped to work

/popup.ps3?Test&icon=20

/popup.ps3?Test2&icon=item_tex_NewAvc&rco=explore_plugin

they both shows the default notification icon

Edit: /popup.ps3?&snd=

Sounds works up to 3 (1- one beep, 2- double beep and 3- tripple beep) , the others (4-9) are silent

image

PS3-4K-Pro avatar May 17 '22 06:05 PS3-4K-Pro

Would be possible to load texts from rcos and sounds?

something like /popup.ps3?msg=<rsc_msg> and /popup.ps3?snd=<rsc_snd>&<rco_name>=

PS3-4K-Pro avatar May 17 '22 06:05 PS3-4K-Pro

Please check if your rco files are corrupted. The web command is working fine on my side. Tested on Evilnat 4.88.2

The sounds are working fine and the textures are showing too.

it was already possible to play sounds from rco adding &snd=<sound>|<rco_name>

In the latest build I added support to show text from RCO. Examples:

/popup.ps3?message&icon=item_tex_cam_facebook&rco=explore_plugin
/popup.ps3?msg_psn&rco=explore_plugin&icon=5
/popup.ps3?msg_error_hdd_full&rco=system_plugin&icon=item_tex_cam_facebook&rco=explore_plugin&snd=5

aldostools avatar May 17 '22 12:05 aldostools

Those from the webman wiki

  1. /popup.ps3?&icon= - show message with RCO icon (id=0-50) - I'm using /popup.ps3?Hi&icon=6 (The icon does not work, it loads the default one)

  2. /popup.ps3?&icon=<0-50>&snd=<0-9> - show message with RCO icon & sound - I'm trying /popup.ps3?Hi&icon=20&snd=4 (The icon does not work, it loads the default one)

  3. /popup.ps3?&icon=<rsc_icon> (e.g. /popup.ps3?Hello&icon=item_tex_cam_facebook) - Your example does not work (it uses the default info icon)

  4. /popup.ps3?&icon=<rsc_icon>&rco=<plugin_name> (e.g. /popup.ps3?Hello&icon=item_tex_NewAvc&rco=explore_plugin) - Your example does not work ( it uses the default info icon)

About the new examples

  1. /popup.ps3?message&icon=item_tex_cam_facebook&rco=explore_plugin ( it uses the default info icon)

  2. /popup.ps3?msg_psn&rco=explore_plugin&icon=5 (only the icon worked) i also tried /popup.ps3?msg_memory_card_utility&rco=explore_plugin&icon=5, but same thing just the icon showed, this case the icon changes just fine

  3. /popup.ps3?msg_error_hdd_full&rco=system_plugin&icon=item_tex_cam_facebook&rco=explore_plugin&snd=5 - this one WORKS :)

Edit: using the same msg as i tried on item 6 (msg_memory_card_utility and others, works using the complete command 7 but not on 6)

/popup.ps3?msg_memory_card_utility&icon=5 (nothing works, no message and default icon) /popup.ps3?msg_memory_card_utility&rco=system_plugin&icon=5 (it does not read the MSG only the icon 5 (network)) /popup.ps3?msg_memory_card_utility&rco=system_plugin&icon=item_tex_cam_facebook (it completely works)

PS3-4K-Pro avatar May 18 '22 06:05 PS3-4K-Pro

  1. It works here. Check that you really are using &icon= (if you use ?icon= it shows the default icon)
  2. It works here.
  3. It works here.
  4. It works here.
  5. It works here.
  6. Fixed. It was truncating the rco parameter before read it.
  7. It works here.

The text msg_memory_card_utility is not found in system_plugin. It is found in explore_plugin. /popup.ps3?msg_memory_card_utility&rco=explore_plugin&icon=5

I added support for message names up to 63 bytes. Before it only suppoted names up to 23 bytes.

The fixed build is now online.

aldostools avatar May 18 '22 09:05 aldostools

i just tried your example

/popup.ps3?msg_memory_card_utility&rco=explore_plugin&icon=5

it works fine on XMB, but not in-game, only normal popup.ps3?&icon= works

on in-game xmb, only the icon works.

PS3-4K-Pro avatar Jun 21 '22 01:06 PS3-4K-Pro

That's normal. For some reason couldn't get NotifyWithTexture show in-game.

So when in-game is detected, vshtask_notify is used instead of NotifyWithTexture.

aldostools avatar Jun 21 '22 01:06 aldostools

That's normal. For some reason couldn't get NotifyWithTexture show in-game.

So when in-game is detected, vshtask_notify is used instead of NotifyWithTexture.

Got it, I was trying this for multi-language purposes but I'll leave it in English then

PS3-4K-Pro avatar Jun 21 '22 01:06 PS3-4K-Pro

@aldostools I finally found the cause of the icons are not showing for me.

If the icon checkbox is disabled, it won't show even if we use the webcommand to show it. image

is there a workaround? I disabled it on my side, because the non-standard ones that webman mod uses don't fit my modified notifications.

Non standard icons used by webman

image

I just modded the ones used by the system (about 10 or so) as the other icons are not showed by any notification.

examples

image image image

and etc

PS3-4K-Pro avatar Jul 05 '22 07:07 PS3-4K-Pro

I guess that it would be easier if you modify the source code of webMAN to fit your needs.

The script commands are intended to perform casual tasks, not to replace the internal functions permanently.

aldostools avatar Jul 05 '22 11:07 aldostools