PS3 webMAN MOD - Web Commands

@aldostools I made a whole system to toggle diferent leds but it does not work

i'm writting the code via write.ps3/ to an autoexe.bat and playing it with play.ps3/

but it seems to now work this way

any advice?

The easiest way is to put the files ready to run in a folder, copy the one that the user selects to /dev_hdd0/autoexec.bat or /dev_hdd0/boot_init.txt then reboot or tell the user that the changes will take effect the next time the system starts.
 
The easiest way is to put the files ready to run in a folder, copy the one that the user selects to /dev_hdd0/autoexec.bat or /dev_hdd0/boot_init.txt then reboot or tell the user that the changes will take effect the next time the system starts.


@aldostools

I'm testing the new version

1.) Leds aren't working using boot.init.txt neither dev_hdd0/autoexec.bat

using a simple

/led.ps3mapi?color=1&mode=0

to turn off the green light. HAS NO EFFECT, via WEB BROWSER i need to CLICK SET, so I THINK IT NEEDS A DIRECT COMMAND via SCRIPT


2) The write command with /play that used to work is not working anymore

/write.ps3/dev_hdd0/autoexec.bat&t=/led.ps3mapi?color=1&mode=0&line=2;/play.ps3/dev_hdd0/autoexec.bat

it is writting the file just fine ( NOT replacing )

but intead of run the autoexec.bat like before it is running the game mounted on the xmb,

Note: THE PS3 WEB BROWSER HANGS When NO autoexec.bat exists on the hdd


Note: when installing the webman in the ITEM 5, it got replaced with the first version of ,27 it doesn't had the line option BUT IT DOES WRITE AND CREATE A FILE EVEN IF IT DOESNT EXISTS ON HDD unlike the NEW VERSION


3.) I tried the /write.ps3?f=<file>&t=<text>&line=<num> that you posted that overwrites the line,

Makes the browser busy but does nothing

Note: Strange thing that i tried it on an other version that is not supposed to have this command but it writes just fine, but it ignored the line option and write it as a text.

4.) Some users reported me and i tried just right now

When updating the webman via the INSTALLER the CATEGORY_GAME.xml is beeing replaced REMOVING MY Entries ofc but the problem is I'M ON HEN AND IT INSTALLED THE CFW CATEGORY_GAME.

is it REALLY NEEDED? since every CFW and HEN has webman entry as default.

5.) i'm using /play in the boot_init.plugins.txt to load the remaps on the xmb, i feel the mouting process to the launch a bit slow, can the delay be reduced?
 
Last edited:
@aldostools if you already read the previous post, make sure to read again because i edited it :P

Seems somethings worked in the first .27 releases and the latest one are broken
 
@aldostools if you already read the previous post, make sure to read again because i edited it :P

Seems somethings worked in the first .27 releases and the latest one are broken

The /write.ps3 & /write_ps3 commands changed to make them consistent.
This is the internal documentation:
// /write.ps3<path>&t=<text> use | for line break (create text file)
// /write_ps3<path>&t=<text> use | for line break (add text to file)
// /write_ps3<path>&t=<text>&line=<num> insert line(s) to text file in line position
// /write.ps3<path>&t=<text>&line=<num> replace line of text file in line position
// /write.ps3<path>&t=<hex>&pos=<offset> (patch file)
// /write.ps3?f=<path>&t=<text> use | for line break (create text file)
// /write_ps3?f=<path>&t=<text> use | for line break (add text to file)
// /write_ps3?f=<path>&t=<text>&line=<num> insert line(s) to text file in line position
// /write.ps3?f=<path>&t=<text>&line=<num> replace line of text file in line position
// /write.ps3?f=<path>&t=<hex>&pos=<offset> (patch file)

Your category_game.xml is replaced because you probably edited the original category_game.xml included in Rebug.

The updater searches for specific bytes. If you changed the query for the fb.xml in some way, the updater will not find it and assumes that the category_game.xml is not the correct.

On CFW, the command /play.ps3 shouldn't be used in the boot_init,txt . The script is executed as soon as the console turns.
Trying to execute /play.ps3 will make the plugin enter in a loop waiting for the explore_plugin.

Instead you should try entering the web command directly or using a .bat file in the autoboot configured in /setup.ps3
(.bat is the extension used to execute scripts through /mount.ps3 command)
 
Last edited:
The /write.ps3 & /write_ps3 commands changed to make them consistent.
This is the internal documentation:
// /write.ps3<path>&t=<text> use | for line break (create text file)
// /write_ps3<path>&t=<text> use | for line break (add text to file)
// /write_ps3<path>&t=<text>&line=<num> insert line(s) to text file in line position
// /write.ps3<path>&t=<text>&line=<num> replace line of text file in line position
// /write.ps3<path>&t=<hex>&pos=<offset> (patch file)
// /write.ps3?f=<path>&t=<text> use | for line break (create text file)
// /write_ps3?f=<path>&t=<text> use | for line break (add text to file)
// /write_ps3?f=<path>&t=<text>&line=<num> insert line(s) to text file in line position
// /write.ps3?f=<path>&t=<text>&line=<num> replace line of text file in line position
// /write.ps3?f=<path>&t=<hex>&pos=<offset> (patch file)

Oh thanks, i will test them out

Your category_game.xml is replaced because you probably edited the original category_game.xml included in Rebug.

The updater searches for specific bytes. If you changed the query for the fb.xml in some way, the updater will not find it and assumes that the category_game.xml is not the correct.

There is any ways to bypass it?

hm.... Should commenting work?

<!-- Webman Query --> ,

so the checker will see it and not replace it?, because i made a different structure for it, separated folders on the xmb

QHKLmj9.png


On CFW, the command /play.ps3 shouldn't be used in the boot_init,txt . The script is executed as soon as the console turns.
Trying to execute /play.ps3 will make the plugin enter in a loop waiting for the explore_plugin.

Instead you should try entering the web command directly or using a .bat file in the autoboot configured in /setup.ps3
(.bat is the extension used to execute scripts through /mount.ps3 command)

I'm just using /play on hen just to load my remaps after hen being enabled
i direct made the remaps on HEN payload to work even if people uninstall webman


popup PS3™ Pro
beep2
/delete.ps3/dev_hdd0/tmp/explore/nsx
wait 2
popup Boost Mode
wait 2
beep3
wait 2
/play.ps3/dev_hdd0/PROISO/RELOADXMB.iso

it works just fine

the only thing is that the operation between showing monting RELOADXMB to RELOADXMB mounted and play, is taking a while, not much about 8 seconds
 
Last edited:
hm.... Should commenting it work?

<!-- Webman Query --> ,

Try keeping the query in the exact way it is in rebug. Place the <!-- and --> in different lines above and below.

Code:
<!--
<Query class="type:x-xmb/folder-pixmap"
key="xmb_app3"
attr="xmb_app3"
src="xmb://localhost/dev_hdd0/xmlhost/game_plugin/fb.xml#seg_fb"
/>
-->

These are the exact bytes that are searched (don't change any):
upload_2020-5-25_20-58-15.png
[/code]
 
i want to ask, how to reset all webman mod webftp settings at once ? bcz normal delete via game data, xml host, plugins, tmp, and uninstall doesnt reset all the settings to default
 
@aldostools

Thanks for all your efforts and listening to me :)

The write commands are working really great


I just have some questions

Does the /play.ps3 for scripts been changed? it only launches the game that is already monted now

/play.ps3/dev_hdd0/autoexec.bat

( its usefull for me to test the leds (and other commands) on the fly and for the user test it just after choosing an action, not needing to reboot after every led choice, since i made one option to each command, so they can be combined and tested on the fly)

And the LEDS are working really good

but if a GAME are monted e.g via the option to mount the last game played on boot or mounting it manually

the GREEN led command are being overwritten, i tested many combinations, but when a game is monted it got replaced by an ALWAYS ON green led,

E,g if all leds set to off, when a game is monted the GREEN one will turn on

i also tried Blinking Fast Red with Blinking Slow Green, so it will have the 3 colors

and when a game is monted it will be Blinking fast YELLOW due to the GREEN is setting it self to ALWAYS ON
 
Last edited:
I recorded a video showing how it got replaced when a game is mounted

See the leds before and after


 
@aldostools

Thanks for all your efforts and listening to me :)

The write commands are working really great


I just have some questions

Does the /play.ps3 for scripts been changed? it only launches the game that is already monted now

/play.ps3/dev_hdd0/autoexec.bat

( its usefull for me to test the leds (and other commands) on the fly and for the user test it just after choosing an action, not needing to reboot after every led choice, since i made one option to each command, so they can be combined and tested on the fly)

And the LEDS are working really good

but if a GAME are monted e.g via the option to mount the last game played on boot or mounting it manually

the GREEN led command are being overwritten, i tested many combinations, but when a game is monted it got replaced by an ALWAYS ON green led,

E,g if all leds set to off, when a game is monted the GREEN one will turn on

i also tried Blinking Fast Red with Blinking Slow Green, so it will have the 3 colors

and when a game is monted it will be Blinking fast YELLOW due to the GREEN is setting it self to ALWAYS ON

webMAN MOD (and other backup managers too) change the led when the games are mounted or scanned.
After the operation, the led returns to the default green (always on).

https://github.com/aldostools/webMAN-MOD/blob/master/include/games_xml.h#L271
https://github.com/aldostools/webMAN-MOD/blob/master/include/games_xml.h#L748

https://github.com/aldostools/webMAN-MOD/blob/master/include/stealth.h#L225
https://github.com/aldostools/webMAN-MOD/blob/master/include/stealth.h#L270

In my tests /play.ps3<path of game> works with a game not mounted.

For autoexec.bat it's better that you use /mount_ps3 or /mount.ps3 since the .bat file is not an ISO or folder game that is launched.
/play.ps3<path of game> is a combination of /mount.ps3<path of game>;/play.ps3
 
For autoexec.bat it's better that you use /mount_ps3 or /mount.ps3 since the .bat file is not an ISO or folder game that is launched.
/play.ps3<path of game> is a combination of /mount.ps3<path of game>;/play.ps3

/mount.ps3/dev_hdd0/autoexec.bat just gives me an error

TKKwcqg.png
 

Attachments

  • upload_2020-6-1_17-40-31.png
    upload_2020-6-1_17-40-31.png
    171 KB · Views: 51
Sir @aldostools, i think i'm having the same issue as the above guy said

i'm new to modding stuff, but i'm learning slowly and trying to do my best, currently i'm making some xml mods like changing categories, one think that got my attention is the possibility to make auto executables, just like i use in my PC.

In the main thread i saw this

play.ps3/<script-path> - execute script. path must be a .txt or .bat file, and i used it to make some notifications about the things being done in the xmb item via autoexec.bat, when i try to execute the script manually via this command, it returns me "ERROR!" i saw the other user here, reported it too and you adviced him to use mount.ps3, but i got the same thing,

@LuanTeles did you sir managed to fix it? i sent you a direct message, i saw you know something about xml mods, if you can help me with things will be very appreciated.
 
Sir @aldostools, i think i'm having the same issue as the above guy said

i'm new to modding stuff, but i'm learning slowly and trying to do my best, currently i'm making some xml mods like changing categories, one think that got my attention is the possibility to make auto executables, just like i use in my PC.

In the main thread i saw this

play.ps3/<script-path> - execute script. path must be a .txt or .bat file, and i used it to make some notifications about the things being done in the xmb item via autoexec.bat, when i try to execute the script manually via this command, it returns me "ERROR!" i saw the other user here, reported it too and you adviced him to use mount.ps3, but i got the same thing,

@LuanTeles did you sir managed to fix it? i sent you a direct message, i saw you know something about xml mods, if you can help me with things will be very appreciated.


Yeap the same issue i got, i hope @aldostools fixes it, i got curious what are you trying to do, send me a message.


@aldostools

I have one thing to report to you

On HEN to mount games you are using idle_plugin that does not opens the web browser

but on CFW it is still using the webrender_plugin


Also i have an idea the same as i'm using

As many people removes the APP_HOME and HEN does not use it

How about using this to reload the xmb after the refresh xml?

<Pair key="module_name"><String>idle_plugin</String></Pair>
<Pair key="module_action"><String>/refresh.ps3;/play.ps3/dev_hdd0/PROISO/RELOADXMB.iso</String></Pair>
<Pair key="bar_action"><String>none</String></Pair>

it will work in both cfw/hen without the need of APP HOME, just transform the RELOADXMB into a ISO.
 
Yeap the same issue i got, i hope @aldostools fixes it, i got curious what are you trying to do, send me a message.


@aldostools

I have one thing to report to you

On HEN to mount games you are using idle_plugin that does not opens the web browser

but on CFW it is still using the webrender_plugin


Also i have an idea the same as i'm using

As many people removes the APP_HOME and HEN does not use it

How about using this to reload the xmb after the refresh xml?

<Pair key="module_name"><String>idle_plugin</String></Pair>
<Pair key="module_action"><String>/refresh.ps3;/play.ps3/dev_hdd0/PROISO/RELOADXMB.iso</String></Pair>
<Pair key="bar_action"><String>none</String></Pair>

it will work in both cfw/hen without the need of APP HOME, just transform the RELOADXMB into a ISO.

1- idle_plugin is used in both systems (CFW & HEN) to enable wm_proxy receive XMB actions and pass them to webMAN.
2- It is an option in /setup.ps3 to use wm_proxy (your CFW probably have the option unchecked)
3- All these workarounds are unnecessary. Just add /app_home to category_game.xml and end all your headaches.
As I answered in Github, /app_home is required by webMAN for other purposes not only RELOADXMB
4- While adding /app_home you can also add your module action.
Just make sure that you inclide http://127.0.0.1 or http://localhost
http://127.0.0.1/refresh.ps3;/play.ps3/dev_hdd0/PROISO/RELOADXMB.iso
 
@aldostools

Other question i don't know if this is how the system loads or webman

I'm editing the disc images and realized that when a PS2 game is mounted the icon showed in the xmb is the DVD one Instead of THE PS2 one
 
Am new to the ps3 custom firmware, thanks for great work, am using latest hen on super slim with webman mod to control the fan. with artumis I can load cheats and play until exiting the game will crash or just freeze requiring power off, can I unmount webman from memory when using artumis and keep fan control and remount after quiting back to xmb? thanks
 
Am new to the ps3 custom firmware, thanks for great work, am using latest hen on super slim with webman mod to control the fan. with artumis I can load cheats and play until exiting the game will crash or just freeze requiring power off, can I unmount webman from memory when using artumis and keep fan control and remount after quiting back to xmb? thanks
you cant use auto fan on hen. it will cause freeze when starting/stopping game/app if fan speed changes. use manual 35% or syscon.
 
you cant use auto fan on hen. it will cause freeze when starting/stopping game/app if fan speed changes. use manual 35% or syscon.
thanks for your , I have it on auto because multiman gets black screen on default fan settings. webman and artumis can conflict with each other when on memory, thats why I was wondering if I can unmount webman and keep fan control,thanks
 
Back
Top