Skip to content

Web Commands

Aldo Vargas edited this page Jun 18, 2024 · 63 revisions

About

webMAN MOD allows to navigate the file system and receive remote commands sent through HTTP protocol. These commands can be sent through custom applications or any Internet browsers on PS3, PC, tablet or smartphone.

  • From the Internet browser execute http://<ip-address>/<web-commands>
  • Multiple commands can be executed in a single query. Separate them using a semicolon (;)
  • The maximum length allowed for a http request is 2KB.
  • The commands can be called through HTTP, PS3MAPI, FTP server (using SITE command), batch scripts or custom combos.

Short Paths

As a way to reduce considerably the time and effort needed to type the URLs and web commands in the browser, wMM implements a system of short paths and aliases. If only the folder name is entered, the path is searched in all mounted devices and in common directories (/dev_hdd0/game and /dev_hdd0/tmp)

Additionally DeViL303 found that just entering 0 in the PS3 browser acts as alias for http://localhost

Here are various examples of short paths:

0/res = http://localhost/dev_blind/vsh/resource
0/mod = http://localhost/dev_blind/vsh/module
0/xmb = http://localhost/dev_blind/vsh/resource/explore/xmb
0/xml = http://localhost/dev_hdd0/xmlhost/game_plugin
0/cov = http://localhost/dev_hdd0//game/BLES80608/USRDIR/covers
0/cvr = http://localhost/dev_hdd0//game/BLES80608/USRDIR/covers_retro/psx
0/pkg = http://localhost/dev_hdd0/packages
0/tmp = http://localhost/dev_hdd0/tmp
0/wmtmp = http://localhost/dev_hdd0/tmp/wmtmp
0/home = http://localhost/dev_hdd0/home
0/exdata = http://localhost/dev_hdd0/exdata (if not found, it will search usb0, usb1, etc.)
0/GAMES = http://localhost/dev_hdd0/GAMES
0/PS3ISO = http://localhost/dev_hdd0/PS3ISO
0/PS2ISO = http://localhost/dev_hdd0/PS2ISO
0/PSXISO = http://localhost/dev_hdd0/PSXISO
0/BLES80608 = http://localhost/dev_hdd0/game/BLES80608

IMPORTANT: The short paths work in the file manager, several web commands and FTP. However, in operations that write/delete/rename files the full path is required.

Use $USERID$ in the paths as placeholder to copy/rename/delete files in the current user home path.

Batch Scripts

The following commands are supported by webMAN's batch script files (text files with extension .bat) and the startup script commands: /dev_hdd0/boot_init.txt (runs when the plugin is loaded) and /dev_hdd0/autoexec.bat (runs after ftp/http servers)

Note: The batch script files can be launched manually or via combo with /play.ps3<path>.bat

The following script are executed automatically on events:

Script Event
/dev_hdd0/boot_init.ini plugin was loaded
/dev_hdd0/autoexec.bat services were started
/dev_hdd0/onxmb.bat VSH was loaded / returned to XMB
/dev_hdd0/ingame.bat Game was started
/dev_hdd0/tmp/wm_ingame/<titleid>.bat Game id was started

Script commands:

if/elseif/else/end - block of commands for conditional execution
  if exist <path>
  if not exist <path>
  if L1
  if R1
  if titleid <titleid / pattern>
  if firmware <version>
  if Cobra / noCobra / Mamba / PS3HEN / Debug / DEX
  abort if exist <path>
  abort if not exist <path>
:label
goto label
map <path>=<path> or map <path>,<path>
unmap <path>
md <path>
del <path>
copy <path>=<dest> or copy <path>,<dest> - skip the files that already exist with the same file size.
fcopy <path>=<dest> or fcopy <path>,<dest> - replace the files with the same file size.
cpbk <path>=<dest> or fcopy <path>,<dest> - rename source to source + .bak after copy to destination
move <path>=<dest> or move <path>,<dest>
swap <path1>=<path2> or swap <path1>,<dest2>
list <path>=<output-file> or list <path>,<output-file>
ren <path>=<path>
wait <1-999 secs>
wait <path> - wait for path. e.g. wait until file USB drive is mounted (timeout 5 secs)
lwait <path> - long wait (timeout 10 secs)
logfile <path> - Sets the file name for the log file
log <text> - Writes a text to the log file (use with @info tag)
popup <text>
beep1 / beep2 / beep3 / beep4 / ... / beep9
mute coldboot - mutes the cold boot sound

All web commands can be used in the script:

e.g. /mount.ps3<path>

copy, fcopy, move, del, ren now support wildcard like /dev_hdd0/folder/*.ext and recursive subfolders scan.

The batch script should be smaller than 64KB and less than 1000 lines.

The script requires a blank line at the end of the file. Otherwise the last line will be ignored.

List of Web Commands

General

/<full-path> - browse path in file manager

/<short-path> - shortcut to path in file manager (e.g. /BLES80608 browse multiMAN)

/<full-path>?<name> - browse path in file manager & list only files/folders having name
/<full-path>/*<name> - find all files in path and subdirs that contain the text <name> in the file name.

  • A text file with the list of files found will be created in /dev_hdd0/tmp/wmtmp/filelist.txt
    (until 2 wildcards can be used for file search)

/<folder-name> - Shortcut to /dev_hdd0/game/<folder> or /dev_hdd0/<folder>
(first search in path of current page, "home url" found in /setup.ps3 and in /dev_hdd0/xmlhost/game_plugin)

Both ftp and web services and many web commands support short path aliases. e.g:<br>
Use ftp://192.168.xx.xx/res to mount /dev_blind & access /dev_blind/vsh/resource<br>
Use ftp://192.168.xx.xx/tmp to go to folder /dev_hdd0/tmp<br>
Other aliases are: /cov, /cvr, /mod, /pkg, /xmb, /xml, /PS3ISO, /GAMES, /ROMS, /BLES80608, etc.<br>

/setup.ps3 - webMAN MOD settings
/setup.ps3? - reset settings

/index.ps3 - list games in an HTML grid
/index.ps3?<text> - list games containing the text
/index.ps3?<path> - list games stored on the specified path (e.g. /dev_hdd0/GAMES)
/index.ps3?<path>?<text> search game by path and name

/games.ps3 - list games in the Coverflow slider (mobile GUI or DeViL303's GUI for PS3)
/games.ps3?<text> - list games containing the text
/games.ps3?<path> - list games stored on the path (e.g. /dev_hdd0/GAMES)
/games.ps3?usr=<n> - list games for extended content profile <n> = 0, 1, 2, 3, 4, 5

/sman.ps3 - Show web interface using sMAN's GUI

/refresh.ps3 - rescan the games and refresh XML (restart VSH, return to XMB or restart the console to see the changes)
/refresh.ps3$ - rescan the games and refresh XML showing persistent notification about the scan progress
/index.ps3?html - rescan the games and refresh list in the HTML grid
/index.ps3?launchpad- rescan the games and refresh list in the LaunchPad list (XMB)

/refresh.ps3?cover=<mode> - same as /refresh.ps3 but specifying the cover type
/index.ps3?cover=<mode> - same as /index.ps3?html but specifying the cover type
/games.ps3?cover=<mode> - same as /games.ps3 but specifying the cover type

The cover modes are: icon0, online, mm, disc or none. The default is multiMAN mode.
Use ?cover=<mode> as the last parameter if other parameters are used.

/reloadxmb.ps3 - Reloads XMB by logging out the user & logging in again. From version 1.46.47f and later.
/reloadxmb.ps3? - Reloads XMB when the app RELOADXMB is installed & show /index.ps3
/refresh.ps3?xmb - Scan for content and reload XMB if the app is installed
(The app /dev_hdd0/game/RELOADXMB/USRDIR/EBOOT.BIN must exist / install Reload_XMB.pkg)

/refresh.ps3?ntfs - refresh NTFS volumes and show NTFS volumes
/refresh.ps3?prepntfs - refresh NTFS volumes & scan ntfs ISOs (clear cached files)
/refresh.ps3?prepntfs(0) refresh NTFS volumes & scan ntfs ISOs (keep cached files)

/restart.ps3 - restart the PS3 console (content is not scanned on startup)
/restart.ps3?0 - restart the PS3 console and allow scan content on startup
/restart.ps3?<mode>$ Sets the mode indicated as the default restart mode for /restart.ps3
/restart.ps3?min - restart the PS3 console and show the min version

/reboot.ps3 - hard reboot
/reboot.ps3?soft - soft reboot
/reboot.ps3?hard - hard reboot
/reboot.ps3?quick - quick reboot (load LPAR id 1)
/reboot.ps3?vsh - reboot using VSH command (same as /restart.ps3)

/shutdown.ps3 - shutdown the PS3 console

/quit.ps3 - Stops webMAN MOD and sets ps2 fan control mode (fixed fan speed set in setup.ps3)
/quit.ps3?0 - Stops webMAN MOD and restores syscon fan control mode
/quit.ps3?1 - Stops webMAN MOD and sets fan control to ps2 mode (manual speed)
/quit.ps3/<prx-path> - unloads webMAN MOD and loads another VSH plugin
/quit.ps3?unload - Stops webMAN MOD and force unload it from memory (may freeze some consoles)

Temperature Monitoring

/cpursx.ps3 - show system info (cpu/rsx temperature, free memory, idps, game title, etc.)

/cpursx.ps3?fan=<speed> - set the fan speed in % (0=SYSCON, 1=DYN/MANUAL, 2=AUTO)
/cpursx.ps3?max=<celcius> - set the target temperature for dynamic fan controller
/cpursx.ps3?man - set the fan controller to manual mode (fixed fan speed)
/cpursx.ps3?dyn - set the fan controller to dynamic fan mode (target temperature)
/cpursx.ps3?auto - set the fan controller to auto #2 mode
/cpursx.ps3?sys - set the fan controller to SYSCON mode
/cpursx.ps3?mode - switch the fan controller between manual mode and dynamic mode
/cpursx.ps3?up - increase fan speed (manual mode) or target temperature (auto mode)
/cpursx.ps3?dn - decrease fan speed (manual mode) or target temperature (auto mode)

/dev_hdd0/xmlhost/game_plugin/cpursx.html chart with CPU / RSX / FAN statistics for the session

/tempc.html - Web GUI for monitor temperatures in Celcius on smartphones / tablets
/tempf.html - Web GUI for monitor temperatures in Fahrenheit on smartphones / tablets

Mount & play

/mount.ps3/<path> - mount path or ISO as /dev_bdvd

/mount.ps3?<uri> - open an url in the PS3 browser (e.g. used to open page in autoboot)
/mount_ps3/<path> - mount path or ISO as /dev_bdvd and close response page (mount from XMB)
/mount.ps3/<path>?gm=<num> - Specify which folder PS3_GMxx to mount in /app_home for multi-game ISO
*mount_ps3 also bypasses the check that prevents the mounting files in-game

Hold to force auto-play the game mounted from XMB / Hold to cancel auto-play

/mount.ps3?<text> - search game by text & mount it if only 1 match is found
/mount.ps3?<path>?<text> - search game by path and name & mount it if only 1 match is found
/mount.ps3/<path>[?random=<x>[&emu={ ps1_netemu.self / ps1_emu.self / ps2_netemu.self / ps2_emu.self }][offline={0/1}]

File name TAG
[auto] Auto-play
[online] Auto-disable syscalls
[offline] Auto-disable network
[gd] Auto-enable external gameDATA
[raw] Use internal rawseciso to mount the ISO (ntfs) instead of the external plugin
[net] Use internal netiso to mount the ISO (netiso) instead of the external plugin
[PS2] PS2 game extracted into a folder in /PS2DISC (needs a physical PS2 disc for disc swap)
[netemu] Mount ps2/psx game using ps1_netemu or ps2_netemu
[psn] Auto-map /dev_hdd0/game/[GAME_ID] to /dev_bdvd/PS3_GAME (if the folder does not exist)
[bios] Use external `/dev_hdd0/tmp/wm_res/ps1_bios.bin` on PS1 emulators
[PAL] Forces PAL video mode on PS1 games NTSC (requires Cobra 8.4 or later)
[NTSC] Forces NTSC video mode on PS1 games PAL (requires Cobra 8.4 or later)
/mount.ps3/<dev-name>&name=CELL_FS_<device>&fs=CELL_FS_<file_system> - mounts new device

/mount.ps3/unmount - unmount game from /dev_bdvd
/mount.ps3/unmount/<dev-name> - unmount device

/mount.ps2/<path> - mount extracted PS2 game folder as /dev_ps2disc (for SingStar - req. real PS2 disc for disc swap)
/mount.ps2/unmount - unmount game from /dev_ps2disc

/fixgame.ps3/<path> - fix min system version in EBOOT and PARAM.SFO (fw 4.21+)
/fixgame.ps3$abort - abort a game fix in progress

/play.ps3 - start the game mounted on the disc icon from XMB (Game column)
/play.ps3/<path> - mount a game and start its disc icon from XMB (Game column)
/play.ps3/<script-path> - execute script. path must be a .txt or .bat file
/play.ps3?<titleid> - mount npdrm game and start game from app_home icon (e.g NPUB12345, etc.)
/play.ps3?<search-name> - start a game found by name or path
/play.ps3?<appname> - play movian, multiman, retroArch, rebug toolbox or remoteplay
/play.ps3?snd_<name> - play the rco sound in system_plugin

/eject.ps3 - eject physical disc from tray
/insert.ps3 - insert physical disc into bd drive

/xmb.ps3$eject - ejects emulated disc image
/xmb.ps3$insert - re-insert emulated disc image
/xmb.ps3$eject/dev_usb### - fake eject of usb device
/xmb.ps3$insert/dev_usb### - fake re-insert of usb device

/xmb.ps3$exit - exit game to XMB
/xmb.ps3$reloadgame - reload PS3 game

/extgd.ps3 - toggle external game data (map /dev_hdd0/game to /dev_usbxxx/GAMEI)
/extgd.ps3?status - show gameDATA status
/extgd.ps3?enable - enable external game data (map /dev_hdd0/game to /dev_usbxxx/GAMEI)
/extgd.ps3?disable - disable external game data (restore /dev_hdd0/game)

/remap.ps3 - clear all current mapped paths (except xmb proxy mapping)
/remap.ps3/<path>&to=<destination> - remap a file/folder to another path (cobra only)
/remap.ps3?src=<path>&to=<destination> - same as above (another syntax)
/unmap.ps3/<path> - unmap a remapped file/folder
/unmap.ps3?src=/<path> - unmap a remapped file/folder

/app_home.ps3?<path> - sets a path to ★ app_home/PS3_GAME or ★ PlayStation
/app_home.ps3 - resets ★ app_home/PS3_GAME to the default mappings (same as SELECT+🞅)

/net0 - remote shared folder of ps3netsrv (also /net1 to /net4)
/dev_hdd1 - mounts /dev_hdd1
/dev_ntfs0 - mounts ntfs device

Stealth & PSN

/setidps.ps3mapi - change idps/psid using ps3mapi

/idps.ps3 - dumps idps & act.dat of current user to root of /dev_usb000 or /dev_hdd0
/idps.ps3/<path> - dumps idps to the specified path & file name
/psid.ps3 - dumps psid & act.dat of current user to root of /dev_usb000 or /dev_hdd0
/psid.ps3/<path> - dumps psid to the specified path & file name
/consoleid.ps3 - dumps idps, psid & act.dat of current user to root of /dev_usb000 or /dev_hdd0

/xmb.ps3$show_idps - show idps/psid (same as R2+O)

/syscall8.ps3mapi - manage cobra & ps3mapi syscall modes
/syscall.ps3mapi - manage syscalls

/syscall.ps3?<syscall-number>|0x<hex-value>|<decimal-value>|<string-value>

http://localhost/syscall.ps3?392|0x1004|0x07|0x036 </b> - example of beep
http://localhost/syscall.ps3?837|CELL_FS_UTILITY:HDD1|CELL_FS_FAT|/dev_hdd1|0|0|0|0
http://localhost/syscall.ps3?838|/dev_hdd1|0|1 </b> - example of unmount hdd1

/xmb.ps3$disable_syscalls - disable CFW syscalls
/xmb.ps3$disable_syscalls?ccapi - disable CFW syscalls (keeping ccapi syscalls)
/syscall.ps3mapi?sce=1 - re-enable CFW syscalls if it's allowed

If PS3MAPI is enabled in XMB/In-Game PAD Shortcuts section, syscall 8 remains enabled (fake disabled) and games can be mounted.
If PS3MAPI is disabled all CFW syscalls are fully disabled and PS3MAPI server is not loaded.

/netstatus.ps3 - list of commands /netstatus.ps3 - toggle network access in registry
/netstatus.ps3? - show network status
/netstatus.ps3?1 - enable network access in registry
/netstatus.ps3?0 - disable network access in registry

/netstatus.ps3?ftp - is ftp server running?
/netstatus.ps3?netsrv - is local ps3netsrv running?
/netstatus.ps3?ps3mapi - is ps3mapi server running?
/netstatus.ps3?artemis - is artemis engine running?

/netstatus.ps3?start-ftp - start ftp server
/netstatus.ps3?start-netsrv - start net server
/netstatus.ps3?start-ps3mapi - start ps3mapi server
/netstatus.ps3?start-artemis - start artemis engine
/netstatus.ps3?start - start ps3mapi+net+ftp servers+artemis

/netstatus.ps3?stop-ftp - stop ftp server
/netstatus.ps3?stop-netsrv - stop net server
/netstatus.ps3?stop-ps3mapi - stop ps3mapi server
/netstatus.ps3?stop-artemis - stop artemis engine
/netstatus.ps3?stop - stop ps3mapi+net+ftp servers+artemis

/netstatus.ps3?reset-ftp - restart ftp server
/netstatus.ps3?reset-netsrv - restart net server
/netstatus.ps3?reset-ps3mapi - restart ps3mapi server
/netstatus.ps3?reset-artemis - restart artemis engine
/netstatus.ps3?reset - restart ps3mapi+net+ftp servers+artemis

/netstatus.ps3?ip=<ip-address> - set system ip address
/netstatus.ps3?route=<ip-address> - set router ip address
/netstatus.ps3?mask=<net-mask> - set network mask
/netstatus.ps3?dns1=<ip-address> - set primary dns
/netstatus.ps3?dns2=<ip-address> - set secondary dns

/xmb.ps3$block_servers - block online servers (requires LV1 poke)
/xmb.ps3$restore_servers - restore blocked servers

Files

/stat.ps3/<path> - Gets folder size and files/dirs count

/stat.ps3/dev_hdd0/GAMES/<name>&id=<title_id> - Compare files in /dev_hdd0/game and symlink the common files

/copy.ps3/<path> - copy bdvd to hdd, usb/bdvd file/folder to hdd or hdd file/folder to usb000
/copy.ps3/<path>&to=<destination> - copy file or folder to destination path
/copy.ps3/<path>&to=<destination>?restart.ps3 - copy file or folder to destination path, then restart the console
/copy.ps3$abort - abort a copy in progress (cancel ?restart.ps3 if the parameter was used)

/copy_ps3/<path> - copy bdvd to hdd, usb/bdvd file/folder to hdd or hdd file/folder to usb000
/copy_ps3/<path>&to=<destination> - copy file or folder to destination path
/copy_ps3/<path>&to=<destination>?restart.ps3 - copy file or folder to destination path, then restart the console

<path> now support wildcards like /dev_hdd0/folder/*.ext (multiple * are not supported)

NOTE: /copy.ps3 does not overwrite existing files with the same file size. /copy_ps3 always overwrites.

/copy.ps3/net0/***PS3***/<anyfolder> - Create a Bluray ISO in hdd0 from a remote folder
/copy.ps3/net0/***PS3***/<anyfolder>&to=<path/file.iso> - Create a Bluray ISO from a remote folder
/copy.ps3/net0/***DVD***/<anyfolder> - Create a DVD ISO in hdd0 from a remote folder
/copy.ps3/net0/***DVD***/<anyfolder>&to=<path/file.iso> - Create a DVD ISO from a remote folder

TIP: Use /copy.ps3/net0/PS3ISO/filename.iso to make a local decrypted backup of the remote ISO images encrypted with redump or 3k3y keys.

/cpy.ps3/<path> - store path for copy operation using /paste.ps3
/cut.ps3/<path> - store path for move operation using /paste.ps3
/paste.ps3/<destination> - copy or move file/folder to destination path

/delete_ps3/<path> - delete files in path (non recursive)
/delete.ps3/<path> - delete file, folder and subfolders
/delete_ps3/<path>?restart.ps3 - delete files in path (non recursive), then restart the console
/delete.ps3/<path>?restart.ps3 - delete file, folder and subfolders, then restart the console

Note: <path> now support wildcards like /dev_hdd0/folder/*.ext (multiple * are not supported)

/delete.ps3?history - delete history files
/delete.ps3?wmconfig - delete /dev_hdd0/tmp/wmconfig.bin
/delete.ps3?wmtmp - delete /dev_hdd0/tmp/wmtmp
/delete.ps3?wmreset - delete /dev_hdd0/tmp/wmtmp and /dev_hdd0/tmp/wmconfig.bin
/delete.ps3?uninstall - delete files & folders installed by webMAN MOD

/trunc.ps3/<file-path> - truncate the content of a file
/trunc.ps3/<directory-path> - truncate the content of all files in a directory and subdirectories
/trunc.ps3/<path>/<wildcard-pattern> - truncate the content of a file that match the pattern

/rename.ps3/<path>|<destination> - rename/move a file/folder to destination path
/rename.ps3/<path>&to=<destination> - rename/move a file/folder to destination path
/rename.ps3/<path>|<destination>?restart.ps3 - rename/move a file/folder to destination path, then restart the console
/rename.ps3/<path>&to=<destination>?restart.ps3 - same as above

/move.ps3/<path1>|<path2> - move path1 to path2
/move.ps3/<path1>&to=<path2> - move path1 & path2
/move.ps3/<path1>|<path2>?restart.ps3 - move path1 & path2, then restart the console
/move.ps3/<path1>&to=<path2>?restart.ps3 - same as above
/move.ps3/<path1>/*<text>&to=<path2> - move all files in path1 containing text to path2

/swap.ps3/<file1>|<file2> - swap files file1 & file2
/swap.ps3/<file1>&to=<file2> - swap files file1 & file2
/swap.ps3/<file1>|<file2>?restart.ps3 - swap files file1 & file2, then restart the console
/swap.ps3/<file1>&to=<file2>?restart.ps3 - same as above

/edit.ps3/<path> - edit text file (limited up to 1300 bytes or less)
/edit.ps3?f=<path>&t=<text> - create/save a file
IMPORTANT: if the file contains too many special characters, the file could be truncated. A .bak file is created on save.

/artemis.ps3 - start artermis & open codelist file
/artemis.ps3/<ncl-path> - starts Artemis patch engine & edit /dev_hdd0/tmp/art.txt (limited up to 1300 bytes or less)
/artemis.ps3?f=<ncl-file>&t=<code> - start artermis & saves codelist to file
/artemis.ps3?attach - start artermis & attach game process
/artemis.ps3?detach - start artermis & detach game process

/view.ps3/<file-path> - View the content of SFO files. View other files in binary format (hex viewer)
/view.ps3/<file-path>?<field>=<value> - Change the value of a field in SFO files.
/view.ps3/<file-path>?<field>&=<hex value> - Apply 'and' value to a field in SFO files.
/view.ps3/<file-path>?<field>|=<hex value> - Apply 'or' value to a field in SFO files.
/view.ps3/<file-path>?<field>^=<hex value> - Apply 'xor' value to a field in SFO files.

/hexview.ps3/<file-path> - view file in binary format (hex viewer)
/hexview.ps3/<file-path>&offset=<offset> - view file starting from offset
/hexview.ps3/<file-path>&offset=<offset>&data=<new-value> - write bytes & view file in hex format
/hexview.ps3/<file-path>&offset=<offset>&find=<value> - find value in file starting from offset

/write.ps3/<path>&t=<text> - creates a text file, use | (pipe character) for line break
/write_ps3/<path>&t=<text> - adds text to file or create a new one, use | (pipe character) for line break
/write.ps3/<path>&t=<text>&line=<num> - overwrite specific line in a text file, use | (pipe character) for line break
/write_ps3/<path>&t=<text>&line=<num> - insert line(s) to text file in a line position, use | (pipe character) for line break
/write.ps3/<path>&t=<text>&find=<code> - insert <text> before <code> if <text> is not found
/write.ps3/<path>&t=<hex>&pos=<offset> - patch a file with binary data (you must know the offsets)

/dozip.ps3/<folder-path> - creates a zip file of a folder
/dozip.ps3/<folder-path>&to=<folder-path> - creates a zip file of a folder in a specific path
/unzip.ps3/<archive-file> - decompress a zip, rar, 7z, bz2, tar or tgz in the same folder
/unzip.ps3/<archive-file>&to=<folder-path> - decompress the archive in a specific path
NOTE: These commands require PKGLAUNCH installed (version 20210217 or later) and /app_home/PS3_GAME

/mkdir.ps3 - create default paths on /dev_hdd0 (GAMES, PS3ISO, packages, etc.)
/mkdir.ps3/<path> - create a new folder

/rmdir.ps3 - clean history & delete default paths (empty folders)
/rmdir.ps3/<path> - delete an empty folder

/dev_blind - auto mount dev_blind
/dev_blind? - show dev_blind status
/dev_blind?1 - force mount dev_blind
/dev_blind?0 - unmount dev_blind

/dev_hdd1 - auto mount dev_hdd1

/md5.ps3/<path> - show MD5 of a file (useful to verify uploads)

/unlockhdd.ps3 - toggle reserved free space in HDD between 8% and 1% (Thanks to [USER=21]@3141card[/USER])
/unlockhdd.ps3?enable - sets reserved HDD space to 1% (unlocks 7%)
/unlockhdd.ps3?disable - restore the reserved HDD space to 8%
/unlockhdd.ps3?<0-9>&opt=<0/1> - sets % of minimum free space & HDD optimization status

In-game

/videorec.ps3 - toggle video recording (in-game)
/videorec.ps3?<params> - set video & audio formats: {mp4, jpeg, psp, hd, avc, aac, pcm, 64, 128, 384, 512, 768, 1024, 1536, 2048}
/videorec.ps3/<path> - record the video to the specified file path on /dev_hdd0
/videorec.ps3?<path>&video=<format>&audio=<format>

/klic.ps3 - get klicensee of edats
/klic.ps3?auto - turn on auto log on /dev_hdd0/klic.log
/klic.ps3?off - turn off auto log
/klic.ps3?log - toggle auto log

/secureid.ps3 - hook savedata_plugin to obtain secure id. Log to /dev_hdd0/secureid.log

/sysbgm.ps3 - toggle in-game background music playback (must be turned off before quit game)
/sysbgm.ps3?1 - enable in-game background music
/sysbgm.ps3?0 - disable in-game background music
/sysbgm.ps3?status - show in-game background music status

/xmb.ps3$ingame_screenshot - enable ingame screenshot (same as R2+)

/xmb.ps3$music - macro to start play music on XMB
/xmb.ps3$video - macro to start play video on XMB (All videos group must be selected)
/xmb.ps3$home - go to webMAN Games entry on XMB (same as L2+L3+R3)
/xmb.ps3$home* - go to webMAN Games + reload_category game

XMB

/install.ps3 - list of commands /install.ps3/<pkg-path> - install a pkg stored in the path specified and delete the pkg after installation
/install_ps3/<pkg-path> - install & keep the pkg
/install_ps3/<folder-path> - install & keep all the pkg in the folder
/install.ps3/<pkg-path>? - Navigates to installation path if it already exists. Otherwise installs the pkg.
/xmb.ps3/install.ps3?url=<url> - download, auto-install pkg and delete the pkg after installation
/xmb.ps3/install_ps3?url=<url> - download, auto-install pkg and keep the pkg in /dev_hdd0/packages

/install.ps3/<p3t-path> - install & keep the p3t theme (a copy will be created in /dev_hdd0/theme)

/install_ps3/<pkg-path>?restart.ps3 - install & keep the pkg, then restart the console
/xmb.ps3/install.ps3?url=<url>?restart.ps3 - download, auto-install pkg, delete the pkg, then restart the console

/install.ps3/<folder-path> - Shows a GUI to select & install a pkg stored in the path specified

/install.ps3 - Shows a GUI to select & install a pkg stored in /dev_hdd0/packages
/install.ps3$ - Shows a GUI to select & install the addons stored in /dev_hdd0/tmp/wm_res
/install_ps3$all - Install all pkg files in /dev_hdd0/packages & delete the pkg file

/install_ps3 - Shows a GUI & install all pkg files stored in /dev_hdd0/packages
/install_ps3$ - Shows a GUI & install all webman addons

/xmb.ps3/download.ps3?url=<url> - download a file (e.g. a pkg) from the url to /dev_hdd0/packages
/xmb.ps3/download.ps3?to=<path>&url=<url> - download any file from the url to the path specified

/browser.ps3?<url> - open url on PS3 web browser
/browser.ps3/<path> - open local path on ps3 web browser (e.g. /browser.ps3/dev_hdd0)
/browser.ps3/<cmd> - open web command on ps3 web browser (e.g. /browser.ps3/cpursx.ps3)

/play.ps3<script-file> - Execute script file. Must have .txt or .bat extension
/play.ps3?col=<col-name>&seg=<xmb-item-id> - Go to an XMB item and open it.

col = game / video / friend / psn / network / music / photo / tv

NOTE: /xmb.ps3 is a new alias for /browser.ps3 since 1.47.34 (20210213)

/xmb.ps3$<cmd> - execute explore_plugin XMB command
/xmb.ps3*<cmd> - execute xmb_plugin command

/xmb.ps3$vsh_menu - Toggle VSH Menu
/xmb.ps3$slaunch - Toggle sLaunch Menu

/xmb.ps3$screenshot/<path+filename> - capture XMB screen and save it to the specified path
/xmb.ps3$screenshot?show - shows the captured XMB screen
/xmb.ps3$screenshot?show?fast - same as above, but image size is 25% smaller & lower quality

XMB Customization / Randomizers

Commands for coldboot, lines, wallpaper, theme, impose, psn_icons, earth, canyon /coldboot.ps3?<#> - map /dev_hdd0/tmp/coldboot/<#>.ac3 to coldboot sound in dev_flash
/coldboot.ps3?random - set to use random coldboot sound (ac3)
/coldboot.ps3?disable - disable remap & use coldboot_*.ac3 in /dev_flash
/coldboot.ps3 - show current setting or next random coldboot sound (ac3)
/coldboot.ps3?next - set next id for coldboot sound (ac3)
/coldboot.ps3?prev - set previous id for coldboot sound (ac3)

/lines.ps3?<#> - map custom /dev_hdd0/tmp/lines/<#>.qrc to lines.qrc in dev_flash
/lines.ps3?random - set to use random lines qrc
/lines.ps3?disable - disable remap & use default lines qrc in /dev_flash
/lines.ps3 - show current setting or next random lines.qrc
/lines.ps3?next - set next id for lines.qrc
/lines.ps3?prev - set previous id for lines.qrc

/theme.ps3?<#> - install custom theme stored in /dev_hdd0/tmp/theme/<#>.p3t
/theme.ps3?random - set to install random theme on startup
/theme.ps3?disable - disable installation of random theme on startup
/theme.ps3 - shows current setting or next random theme
/theme.ps3?next - set next id for theme .p3t
/theme.ps3?prev - set previous id for theme .p3t

/impose.ps3?<#> - install custom theme stored in /dev_hdd0/tmp/impose/<#>.rco
/impose.ps3?random - set to install random impose page on startup
/impose.ps3?disable - disable installation of random impose page on startup
/impose.ps3 - shows current setting or next random impose page
/impose.ps3?next - set next id for impose page .rco
/impose.ps3?prev - set previous id for impose page .rco

/wallpaper.ps3?<#> - sets a specific wallpaper stored in /dev_hdd0/tmp/wallpaper/<#>.png
/wallpaper.ps3?random - sets a random wallpaper
/wallpaper.ps3?disable - disable remap & use wallpaper in /dev_hdd0/home/**/theme/wallpaper.png
/wallpaper.ps3 - changes the current wallpaper, needs reload XMB or change XMB setting
/wallpaper.ps3?next - set next id for wallpaper
/wallpaper.ps3?prev - set previous id for wallpaper

/earth.ps3?<#> - map custom /dev_hdd0/tmp/earth/<#>.qrc to earth.qrc in dev_flash
/earth.ps3?random - set to use random earth qrc
/earth.ps3?disable - disable remap & use default earth.qrc in /dev_flash
/earth.ps3 - show current setting or next random earth qrc
/earth.ps3?next - set next id for earth.qrc
/earth.ps3?prev - set previous id for earth.qrc

/canyon.ps3?<#> - map custom /dev_hdd0/tmp/canyon/<#>.qrc to canyon.qrc in dev_flash
/canyon.ps3?random - set to use map random canyon qrc
/canyon.ps3?disable - disable remap & use default canyon.qrc in /dev_flash
/canyon.ps3 - show current setting or next random canyon qrc
/canyon.ps3?next - set next id for canyon.qrc
/canyon.ps3?prev - set previous id for canyon.qrc

/psn_icons.ps3?<#> - map /dev_hdd0/tmp/psn_icons/<#>/xmb_plugin_normal.rco & xmb_ingame.rco to /dev_flash
/psn_icons.ps3?random - set to use random rco
/psn_icons.ps3?disable - disable remap & use default rco in /dev_flash
/psn_icons.ps3 - show current setting or next random rco
/psn_icons.ps3?next - set next id
/psn_icons.ps3?prev - set previous id

/clock.ps3?<#> - map custom /dev_hdd0/tmp/system_plugin/<#>.rco to system_plugin.rco in dev_flash
/clock.ps3?random - set to use random system_plugin.rco
/clock.ps3?disable - disable remap & use default system_plugin.rco in /dev_flash
/clock.ps3 - show current setting or next random system_plugin.rco
/clock.ps3?next - set next id
/clock.ps3?prev - set previous id

<#> can be a values between 1-254. If the file does not exist, the default file in /dev_flash is used.

TIP: Use L2+L3+R3 to set these visualizers or any movie as XMB background / dynamic theme.

Debug

/home.ps3mapi - ps3mapi home
/led.ps3mapi - manage leds
/buzzer.ps3mapi - ring the PS3 buzzer
/beep.ps3?<#> - ring the PS3 buzzer (0-9)

/mappath.ps3mapi - redirect path (GUI for /remap.ps3)

/setmem.ps3mapi - set value to process memory
/getmem.ps3mapi - get value to process memory

/getmem.ps3mapi?proc=<id> - view process
/getmem.ps3mapi?proc=<id>&addr=<address>&len=<length>
/getmem.ps3mapi?proc=<id>&addr=<start-address>&len=<length>&dump=<size> - dump process
/getmem.ps3mapi?proc=<id>&addr=<start-address>&find=<text> - search process (hex-code is used if first character is a digit)
/getmem.ps3mapi?proc=<id>&addr=<start-address>&find=<mask> - use * as wildcard character
Include &exact if searching text containing asterisks or use hex-code
/getmem.ps3mapi?proc=<id>&addr=<start-address>&find=<hex-code>
/getmem.ps3mapi?proc=<id>&addr=<start-address>&step=<n>&find=<text>
include &stop=<address> if need to search a specific memory range. The default search step is 4.

/setmem.ps3mapi?proc=<id>&addr=<patch-address>&val=<hex-code> - patch process

    Tips using /getmem.ps3, /setmem.ps3 & /patch.ps3 * TIP1: Use proc=1 for LV1, proc=2 for LV2 memory address, proc=3 for flash storage. If omitted it uses the current process id
    * TIP2: /patch.ps3 is an alias of /setmem.ps3 or /getmem.ps3
    * TIP3: Chain find= and val= to apply patches in variable memory locations. Wildcards are allowed in find.

    Example (patch explore_plugin.sprx of 4.86.1 Rebug Lite to view PNG and JPG in XMB File Explorer):

    /patch.ps3?addr=19A8000&stop=19D0000&find=fs_path&rep=2&offset=16&val=2E4A5047000000002E706E67000000002E676966000000002E626D70000000002E67696D000000002E504E4700

/vshplugin.ps3mapi - list, load & unload vsh plugins from memory
/vshplugin.ps3mapi?s=0 - save currently loaded vsh plugins to boot_plugins.txt
*0=boot_plugins.txt, 1=mamba_plugins.txt, 2=prx_plugins.txt, 3=plugins.txt

/kernelplugin.ps3mapi - list, load & unload vsh plugins from memory
/kernelplugin.ps3mapi?s=0 - save currently loaded kernel plugins to boot_plugins_kernel.txt
*0=boot_plugins_kernel.txt, 1=boot_plugins_kernel_nocobra.txt or boot_plugins_kernel_nocobra_dex.txt

/gameplugin.ps3mapi - list, load & unload in-game plugins from memory

/loadprx.ps3/<path> - load prx in slot 6
/loadprx.ps3?slot=<n>&prx=<path> - load sprx in the specifed slot (default slot 6)

/unloadprx.ps3?slot=<n> - unload prx from slot number
/unloadprx.ps3?prx=<name> - unload prx by process name
/unloadprx.ps3/<path> - unload prx by path
/unloadprx.ps3?id=<plugin-id> - unload a system xmb plugin by id number

/xmb.ps3$rsx_pause - pause rsx processor (pause system)
/xmb.ps3$rsx_continue - continue rsx processor

/xmb.ps3$xregistry(<id>) show - value by id from xregistry.sys
/xmb.ps3$xregistry(<id>)=<value> - update value by id in xregistry.sys
/xmb.ps3$xregistry(<key path>) show - value by key path in xregistry.sys
/xmb.ps3$xregistry(<key path>)=<value> - update value by key path in xregistry.sys

LV1 & LV2 peek, poke, find commands /peek.lv2?<address> - peek lv2 memory address
/poke.lv2?<address>=<hex or text value> - poke value into lv2 memory address
/poke.lv2?<address>&=<hex value> - apply 'and' value into lv2 memory address
/poke.lv2?<address>|=<hex value> - apply 'or' value into lv2 memory address
/poke.lv2?<address>^=<hex value> - apply 'xor' value into lv2 memory address

/find.lv2?<start-address>=<hex or text value-to-find> - find a value in lv2 memory starting from an address
/find.lv2?<start-address>=<hex or text value-to-find># - find a value in aligned lv2 memory starting from an address (4X faster)

/find.lv2?<start-address>=<hex or text value-to-find>&align
/find.lv2?<start-address>=<hex or text value-to-find>&stop=<stop-address>
/find.lv2?<start-address>=<hex or text value-to-find>&rep=<times>
/find.lv2?<start-address>=<hex or text value-to-find>&align&stop=<stop-address>&rep=<times>

NOTE: The search value supports wild card bytes in hex or text formats. e.g. P**_GAME or 0x11**33****66

/peek.lv1?<address> - peek lv1 memory address
/poke.lv1?<address>=<hex or text value> - poke value into lv1 memory address
/poke.lv1?<address>&=<hex value> - apply 'and' value into lv1 memory address
/poke.lv1?<address>|=<hex value> - apply 'or' value into lv1 memory address
/poke.lv1?<address>^=<hex value> - apply 'xor' value into lv1 memory address

/find.lv1?<start-address>=<hex or text value-to-find> - find a value in lv1 memory starting from an address
/find.lv1?<start-address>=<hex or text value-to-find># - find a value in aligned lv1 memory starting from an address (4X faster)

/find.lv1?<start-address>=<hex or text value-to-find>&align
/find.lv1?<start-address>=<hex or text value-to-find>&stop=<stop-address>
/find.lv1?<start-address>=<hex or text value-to-find>&rep=<times>
/find.lv1?<start-address>=<hex or text value-to-find>&align&stop=<stop-address>&rep=<times>

/dump.ps3?lv1 - dump lv1 memory (16MB)
/dump.ps3?lv2 - dump lv2 memory (8MB)
/dump.ps3?full - dump full memory (256MB)
/dump.ps3?rsx - dump rsx memory (256MB)
/dump.ps3?<start-address>&size=<n> - dump n megabytes from the specified memory address
/dump.ps3?flash - dump NOR flash storage (16MB)
/dump.ps3?flash&size=256 - dump NAND flash storage (256MB)
/dump.ps3?flash&size=225&start=15 - dump eFlash area (225MB)

/nobd.ps3 - Toggle noBD
/nobd.ps3? - Show status noBD
/nobd.ps3?enable - Patch noBD
/nobd.ps3?disable - Restore normal BD

Notifications & system info

/popup.ps3 - display systeminfo. ( same as SELECT + START )
/popup.ps3/<text> - display popup message
/popup.ps3$<text> - display persistent popup message
/popup.ps3?<msg>&snd=<id> - show message with play sound alert (id=0-9)
/popup.ps3?<msg>&icon=<id> - show message with RCO icon (id=0-50)
/popup.ps3?<msg>&icon=<0-50>&snd=<0-9> - show message with RCO icon & sound
/popup.ps3?<msg>&icon=<rsc_icon> (e.g. /popup.ps3?Hello&icon=item_tex_cam_facebook)
/popup.ps3?<msg>&icon=<rsc_icon>&rco=<plugin_name> (e.g. /popup.ps3?Hello&icon=item_tex_NewAvc&rco=explore_plugin)
/popup.ps3*<text> - display popup message at the bottom of the screen
Button icons: ~0 = Circle, ~1 = Cross, ~2 = Square, ~3 = Triangle, ~> = Select, ~? = Start, ~: = L3, ~= = R3, ~B = PS
/popup.ps3=<text> - Returns text in raw mode (e.g. /popup.ps3=<H1 style=color:red>Hello)
/popup.ps3?<rsc_msg>&rco=<plugin_name> - Show text from RCO
/popup.ps3?<rsc_msg>&rco=<plugin_name>&icon=<id> - Show text + icon from RCO

/popup.ps3$ - show persistent info ON
/popup.ps3* - turn off persistent notification
/popup.ps3? - show webman version

/popup.ps3@<text> - display a message using VshFpsCounter plugin
This command refreshes the text persistently every 3 seconds. Use the @info tag to monitor system information.

    List of available @info tags
    Tag name Description
    @info display free disk space on /dev_hdd0
    @info1 display free disk space on /dev_usb000
    @info2 display free disk space on /dev_usb001
    @info3 display free disk space on /dev_usb002
    @info4 display free disk space on /dev_usb003
    @info5 display free disk space on /dev_ntfs0:
    @info6 Free memory
    @info7 Memory usage
    @info6 Free memory
    @info8 Syscall status
    @info9 CPU & RSX Temperature information + % fan speed
    @info10 Fan Mode
    @info11 Startup time
    @info12 Play time
    @info13 Runtime time + total boot cycles
    @info14 Current date & time
    @info15 Game ID + Title (ingame only)
    @info16 Process ID
    @info17 PSID
    @info18 IDPS LV2
    @info19 IDPS EID0
    @info20 Firmware Version + Payload
    @info21 Mac Address
    @info22 IP Address
    @info23 User home directory
    @info24 Current version of webMAN MOD

    Tags with ids from 100-125 returns the same information without a label prefix

/notify.ps3mapi - show an on-screen notification

/chat.ps3 - chat in local network (this feature is not longer available on distributed binaries)

Gamepad Emulation

/pad.ps3?<buttons> - press buttons on the virtual pad
/pad.ps3?off - turns off virtual pad
/pad.ps3?hold<buttons> - keeps the specified buttons pressed
/pad.ps3?release - release all the buttons
/pad.ps3?accept - press or on asian consoles
/pad.ps3?cancel - press or on asian consoles

Example: /pad.ps3?down_l1_l2_r1_r2_l3_hold <= Use this QA combo on Network Setting

/pad.ps3?cross=enter - Sets as enter, as cancel (PS3 is rebooted)
/pad.ps3?cross=swap - Swaps the behavior of and (PS3 is rebooted)
/pad.ps3?circle=enter - Sets as enter, as cancel (PS3 is rebooted)
/pad.ps3?circle=swap - Swaps the behavior of and (PS3 is rebooted)

Since 1.47.46f wait & multi-pad commands are supported by a single call to /pad.ps3. For wait use: |<seconds>|

Example: /pad.ps3?cross|1|cross|5|circle <= press , waits 1 second, press again, waits 5 seconds, press

/combo.ps3?<button> - simulate press buttons without produce the pad event (used to call combos)

button names:
up, down, left, right, cross, circle, square, triangle, r1, r2, l1, l2, psbtn, select, start, hold, release
analogL_up, analogL_down, analogL_left, analogL_right
analogR_up, analogR_down, analogR_left, analogR_right

/combos.html - Web GUI to select and edit custom combo scripts

Togglers

/xmb.ps3$toggle_rebug_mode - select REBUG Mode Debug XMB
/xmb.ps3$toggle_normal_mode - select Normal Mode (CEX vsh.self)
/xmb.ps3$toggle_debug_menu - toggle between DEX Debug Menu and CEX QA Menu (sysconf_plugin.sprx)

/xmb.ps3$toggle_cobra - toggle cobra stage2 in dev_flash (webMAN is not loaded on startup)
/xmb.ps3$toggle_ps2emu - swap ps2emus in dev_flash

/xmb.ps3$ps2_netemu - sets ps2_netemu as default ps2 emulator in CECH-A,B,C,D consoles (phat)
/xmb.ps3$ps2emu - restores the default ps2 emulator in CECH-A,B,C,D consoles (phat)

/xmb.ps3$enable_classic_ps2_mode - enable ps2 classic flag (old Rebug only)
/xmb.ps3$disable_classic_ps2_mode - disable ps2 classic flag

Misc

/admin.ps3? - show 'admin mode' status
/admin.ps3?disabled - switches to 'user mode' (blocks ftp server and some functions are limited)
/admin.ps3?enabled&pwd=<password> - switches to 'admin mode' (if password is correct)

/wait.ps3?<secs> - wait n seconds. Can be used in a multi-commands request.
/wait.ps3/<path> - wait for a path or file. Maximum wait is 60 seconds.
/wait.ps3?xmb - wait for XMB. Maximum wait is 30 seconds.

/cpursx_ps3 - show cpu/rsx temperature only

/minver.ps3 - show minimum firmware version you can downgrade

/rebuild.ps3 - rebuild database
/recovery.ps3 - enter into pseudo recovery mode (only works on NOR-FLASH PS3 consoles)

PS3MAPI server commands

PS3MAPI server is a real time modding (RTM) and basic debugging tool that lets access memory and control processes from another device. It can run on HEN or CFW offering similar features to other APIs and additional functions. However its performance is not the best compared to CCAPI or TMAPI.

Enable PS3MAPI server in XMB/In-Game PAD Shortcuts settings of /setup.ps3

/<web command>
GET /<web command>
DISCONNECT
CORE GETVERSION
SERVER GETVERSION
CORE GETMINVERSION
SERVER GETMINVERSION
PS3 REBOOT
PS3 SOFTREBOOT
PS3 HARDREBOOT
PS3 SHUTDOWN
PS3 GETFWVERSION
PS3 GETFWTYPE
PS3 GETSYSINFO <id>
PS3 NOTIFY <msg>&icon=<0-50>&snd=<0-9>
PS3 BUZZER<0-9>
PS3 LED <color> <mode>
PS3 GETTEMP
PS3 DISABLESYSCALL <sc-num>
PS3 CHECKSYSCALL <sc-num>
PS3 PDISABLESYSCALL8 <mode>
PS3 PCHECKSYSCALL8
PS3 DELHISTORY
PS3 DELHISTORY+F
PS3 REMOVEHOOK
PS3 GETIDPS
PS3 SETIDPS <part1> <part2>
PS3 GETPSID
PS3 SETPSID <part1> <part2>
PROCESS GETNAME <pid>
PROCESS GETALLPID
PROCESS GETCURRENTPID
MEMORY GET <pid> <offset> <size> <= Memory data is sent through data port
MEMORY SET <pid> <offset>        <= New data is received through data port
MEMORY PAYLOAD <pid> <payload-path>
MEMORY PAYLOAD <pid> unload
MEMORY PAGEALLOCATE <pid> <size> <page_size> <flags> <is_executable>
MEMORY PAGEFREE <pid> <flags> <page_table_0> <page_table_1>
MODULE GETNAME <pid> <prxid>
MODULE GETFILENAME <pid> <prxid>
MODULE UNLOAD <pid> <prx-id>
MODULE LOAD <pid> <prx_path>
MODULE LOADVSHPLUGS <slot> <prx-path>
MODULE UNLOADVSHPLUGS <slot>
MODULE GETVSHPLUGINFO <slot>
MODULE GETSEGMENTS <pid> <prx-id>
THREAD CREATE <pid> <page_table_0> <toc> <arg> <prio> <stack_size> <name>
REGISTRY GET <regkey>
REGISTRY SET <regkey> <value>
TYPE <A/I>
PEEKLV1 <address>
PEEKLV2 <address>
POKELV1 <address> <value>
POKELV2 <address> <value>
SYSCALL <syscall-number>|0x<hex-value>|<decimal-value>|<string-value>
PASV