PS3 webMAN MOD - Web Commands

I don't think so, for my tests i'm running

Boot_init.txt

wait 1
popup PS3[emoji769] Pro
beep3

Autoexec.bat

/write.ps3/dev_hdd0/tmp/wm_config.bin&t=12&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=0x25
wait 5
/play.ps3/dev_hdd0/PROISO/RELOADXMB.iso
wait 9
wait 9
wait 9
/mount.ps3/unmount
wait 2
/insert.ps3

Onxmb.bat

copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/hfw/,/dev_blind/vsh/resource/explore/xmb/
/led.ps3mapi?color=1&mode=2
/led.ps3mapi?color=0&mode=3


Note i'm using copy because /copy.ps3 and /copy_ps3/ are not working via script, and the timings is for HEN.



EDIT:

I tried before without boot_init.txt and same issue, but with your new test build it worked
Try with only the beep3 in boot init, remove the wait & popup instructions..
 
Aldo could you not use semaphores or whatever locks to synchronise the 3 script threads rather than sleep calls & cancelling script parsing altogether if previous scripting task is not complete?
 
I just removed the wait 1 now is working
It's no surprise, your wait instruction makes the boot init last too long & autoexec gets cancelled because of it..
I think the algo would need rewritten to synchronise threads, at the condition of course that such changes do not mess with the rest of wMM loading.. We have to consider what would happen if someone uses scripts that last 15s or more?
 
I don't think so, for my tests i'm running

Boot_init.txt

wait 1
popup PS3™ Pro
beep3

Autoexec.bat

/write.ps3/dev_hdd0/tmp/wm_config.bin&t=12&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=0x25
wait 5
/play.ps3/dev_hdd0/PROISO/RELOADXMB.iso
wait 9
wait 9
wait 9
/mount.ps3/unmount
wait 2
/insert.ps3

Onxmb.bat

copy /dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/game_column_fix/hfw/,/dev_blind/vsh/resource/explore/xmb/
/led.ps3mapi?color=1&mode=2
/led.ps3mapi?color=0&mode=3


Note i'm using copy because /copy.ps3 and /copy_ps3/ are not working via script, and the timings is for HEN.



EDIT:

I tried before without boot_init.txt and same issue, but with your new test build now autoexec.bat ran

If boot_init.txt is working, move the autoexec code. There is not need for 2 scripts.

I don't see anything wrong code... this specific issue would require a good amount of time to setup and debug.
 
It's no surprise, your wait instruction makes the boot init last too long & autoexec gets cancelled because of it..

Seems Aldo made some changes then, back in the time i was using webman .32 i had boot_init.txt with a lot of commands and wait intervals, all working.
 
If boot_init.txt is working, move the autoexec code. There is not need for 2 scripts.

I don't see anything wrong code... this specific issue would require a good amount of time to setup and debug.

I just removed the "wait 1" command and now everything is working, i was using this time interval to the pop up appears on the xmb, without it, the popup is shown while the web browser is still closing. I can live with it :P

Thanks for the help guys
 
@aldostools is there any command like copy <path>=<path> or copy <path>,<path> similar to /copy.ps3?

both /copy.ps3 and /copy_ps3 are not working via scripts but copy is.

I like copy <path>=<path> because it's silent, without notifications but it overwrites the files every time.

EDIT:

Aldo i always forget to tell you, but for example

popup PS3™ Pro
beep3

the beep won't work if I don't add an extra blank line at the end of the script, some other commands too, but I can't remember now which ones.
 
Last edited:
@aldostools is there any command like copy <path>=<path> or copy <path>,<path> similar to /copy.ps3?

both /copy.ps3 and /copy_ps3 are not working via scripts but copy is.

I like copy <path>=<path> because it's silent, without notifications but it overwrites the files every time.

EDIT:

Aldo i always forget to tell you, but for example

popup PS3™ Pro
beep3

the beep won't work if I don't add an extra blank line at the end of the script, some other commands too, but I can't remember now which ones.

I updated the script so copy now will skip the files that already exist with the same file size.
Added the command fcopy to replace the files with the same file size.

This change applies to autoexec.bat, boot_init.ini and onxmb.bat

You can use the test build in the attachment or update using the online updater or from github or brewology.

The blank line is required at the end of the script. Otherwise the last line will be ignored.
 

Attachments

Last edited:
@aldostools

How do webman games appears only when hen is enabled? what it remaps? when uninstalling my mod using the official hfw files, the webman games is always on, what can it be? i realized that there is fb.xml and fb-hen.xml, but both of them are identical
 
dont even know how feasible this is but, would it be possible to have some sort of S.M.A.R.T viewing and/or APM-AAM control within wmm ?
 
If I am not mistaken, someone correct me if I am wrong, on BSD the SMART status is monitored with a configurable daemon called smartd.
I haven't checked but I would assume that the SMART status is obtained either via a scsi command or via ioctl, that can be confirmed by looking at the smartd source. If it's the case, it should be possible to implement a wMM feature to get the status, at worst with a lv1/lv2 patch and/or Cobra's help.

SMART, TRIM, boot mode & partition management tools etc.. are things we would really need in a custom emer_init.
 
Last edited:
@aldostools i realized if fb_hen.xml is found it is remaped as fb.xml, but if the user somehow have it while on hen (like going from CFW to hFW), it will always be shown on the xmb, i think webman should always remap fb_something to fb.xml (and not generate it) when it is loaded,it would be useful when somehow the user remove webftp_server.sprx manually or when boot_plugins.txt is deleted, avoiding having webman folder on xmb (CFW).

So webMAN games will only be shown on the XMB when webMAN is properly loaded.
 
Last edited:
@aldostools i realized if fb_hen.xml is found it is remaped as fb.xml, but if the user somehow have it while on hen (like going from CFW to hFW), it will always be shown on the xmb, i think webman should always remap fb_something to fb.xml (and not generate it) when it is loaded,it would be useful when somehow the user remove webftp_server.sprx manually or when boot_plugins.txt is deleted, avoiding having webman folder on xmb (CFW).

So webMAN games will only be shown on the XMB when webMAN is properly loaded.

I have commented out a few conditions, so now fb.xml is always mapped in CFW and HEN. Previously only HEN mapped it.

You can test the package attached and provide your feedback before I publish it in the release page.
 

Attachments

@aldostools , @bucanero

Je viens de remarquer que deux fichiers "ps3savepatch" ont les mêmes codes d'exécution, ce sont les fichiers :
--> BLES01160 "de Blob - 2" et BLES01195 "Tomb Raider - Trilogy", les codes sont tous ceux de "de Blob - 2".

Est-il possible de corriger cette erreur SVP ?

Nota : je m'adresse à vous deux car vous êtes tous les deux impactés.


I just noticed that two "ps3savepatch" files have the same execution codes, these are the files:
--> BLES01160 "de Blob - 2" and BLES01195 "Tomb Raider - Trilogy", the codes are all those of "de Blob - 2".

Is it possible to fix this error please?

Note: I am speaking to you both because you are both affected.
 
I just noticed that two "ps3savepatch" files have the same execution codes, these are the files:
--> BLES01160 "de Blob - 2" and BLES01195 "Tomb Raider - Trilogy", the codes are all those of "de Blob - 2".

Is it possible to fix this error please?

ps3savepatch has no relation with webman mod or web commands.

That error must be something wrong in your files. The ps3savepatch files in my PC look fine:

; BLES01195
; The Tomb Raider Trilogy
; By Dark Nacho
[Group:Tomb Raider Legend]
:PROFILE.DAT
[Unlock All]
42000160 FFFFFFFF
409B0004 00000000
420003D0 FFFFFFFF
40160004 00000000
[Group:Tomb Raider Anniversary]
:PROFILE.DAT
[Unlock Almost All *This Don't Unlock The cheats from the game]
42000040 FFFFFFFF
40D90004 00000000

;de Blob 2
;
;From chaoszage
:SAVEDATA
[999 Bulbs]
20000160 03E703E7
[All Stages Score 9999999]
420000D8 0098967F
400C0004 00000000
;From aldostools
[Update CRC32:0 (Required)]
write at 0x000008:00000000
set pointer:eof+1
set range:0x0,pointer
set [hash]:CRC32:0
write at 0x000008:[hash]

EDIT:
They are fine also on bucanero's repository:
https://github.com/bucanero/apollo-ps3/blob/master/appdata/BLES01195.ps3savepatch
https://github.com/bucanero/apollo-ps3/blob/master/appdata/BLES01160.ps3savepatch
 
Last edited:
OK, donc j'ai un souci avec mes DATAs, je vais revoir cela ...

OK, so I have a problem with my DATAs, I'll review that...
 
I just noticed that two "ps3savepatch" files have the same execution codes, these are the files:
--> BLES01160 "de Blob - 2" and BLES01195 "Tomb Raider - Trilogy", the codes are all those of "de Blob - 2".

Is it possible to fix this error please?

Note: I am speaking to you both because you are both affected.

I don't know about Aldos, but the files on Apollo are totally different:

Code:
BLES01160.ps3savepatch

Edit: removed codes since @aldostools already posted it :)
 
Back
Top