|
| int | openFile (string filename, IOFlags flags) |
| | Open a file.
|
| |
| void | writeFile (int handle, string text, int len) |
| | Write into an opened file.
|
| |
| string | readFile (int handle, int len) |
| | Read from an opened file.
|
| |
| void | seekFile (int handle, int pos, IOSeek seek) |
| | Move cursor of an opened file.
|
| |
| int | sizeFile (int handle) |
| | Calculate size of an opened file in bytes.
|
| |
| table | statFile (string filename) |
| | Extract info of a file/directory.
|
| |
| table | statOpenedFile (int handle) |
| | Extract info of an opened file.
|
| |
| void | closeFile (int handle) |
| | Close an opened file.
|
| |
| bool | doesFileExist (string filename) |
| | Check if a file exists.
|
| |
| bool | doesDirExist (string dirname) |
| | Check if a folder exists.
|
| |
| void | rename (string filename, string filename2) |
| | Rename or move a file.
|
| |
| void | copyFile (string filename, string filename2) |
| | Copy a file.
|
| |
| void | deleteFile (string filename) |
| | Delete a file.
|
| |
| void | deleteDirectory (string dirname) |
| | Delete a directory.
|
| |
| void | createDirectory (string dirname) |
| | Create a new directory.
|
| |
| table | listDirectory (string dirname) |
| | List a directory contents.
|
| |
| void | exit (void) |
| | Close the interpreter.
|
| |
| string | getFirmware (void) |
| | Get unspoofed system firmware version.
|
| |
| string | getSpoofedFirmware (void) |
| | Get spoofed system firmware version.
|
| |
| string | getFactoryFirmware (void) |
| | Get factory system firmware version.
|
| |
| void | wait (int msecs) |
| | Sleep the application for a certain time.
|
| |
| bool | isBatteryCharging (void) |
| | Check if the battery is under charge.
|
| |
| int | getBatteryPercentage (void) |
| | Get current battery life percentage.
|
| |
| int | getBatteryLife (void) |
| | Get current battery life.
|
| |
| int | getBatteryCapacity (void) |
| | Get current battery capacity.
|
| |
| int | getBatteryFullCapacity (void) |
| | Get full battery capacity.
|
| |
| int | getBatteryTemp (void) |
| | Get battery temperature.
|
| |
| int | getBatteryVolt (void) |
| | Get battery voltage.
|
| |
| int | getBatteryHealth (void) |
| | Get battery state of health percentage.
|
| |
| int | getBatteryCycles (void) |
| | Get battery cycles count.
|
| |
| void | disableTimer (PowerTimer timer) |
| | Disable a power management timer feature.
|
| |
| void | enableTimer (PowerTimer timer) |
| | Enable a power management timer feature.
|
| |
| void | resetTimer (PowerTimer timer) |
| | Reset a power management timer feature.
|
| |
| void | setCpuSpeed (int clock) |
| | Set CPU clock speed.
|
| |
| void | setGpuSpeed (int clock) |
| | Set GPU clock speed.
|
| |
| void | setBusSpeed (int clock) |
| | Set BUS clock speed.
|
| |
| void | setBusSpeed (int clock) |
| | Set GPU Crossbar clock speed.
|
| |
| int | getCpuSpeed (void) |
| | Get CPU clock speed.
|
| |
| int | getGpuSpeed (void) |
| | Get GPU clock speed.
|
| |
| int | getBusSpeed (void) |
| | Get BUS clock speed.
|
| |
| int | getGpuXbarSpeed (void) |
| | Get GPU Crossbar clock speed.
|
| |
| void | launchEboot (string filename) |
| | Launches a binary file.
|
| |
| void | launchApp (string titleid) |
| | Launches an installed application.
|
| |
| void | getFreeSpace (string dev) |
| | Get free space for a given device.
|
| |
| void | getTotalSpace (string dev) |
| | Get total space for a given device.
|
| |
| int[] | getTime (void) |
| | Get console time.
|
| |
| int[] | getDate (void) |
| | Get console date.
|
| |
| string | getUsername (void) |
| | Get account username.
|
| |
| int | getLanguage (void) |
| | Get console language.
|
| |
| int | getModel (void) |
| | Get console model.
|
| |
| string | getPsId (void) |
| | Get console unique PsId.
|
| |
| string | getTitle (void) |
| | Get running application title.
|
| |
| string | getTitleID (void) |
| | Get running application title ID.
|
| |
| table | extractSfo (string filename) |
| | Extract info from an SFO file.
|
| |
| void | extractPbp (string filename, string dirname) |
| | Extract a PBP file (synchronous).
|
| |
| void | extractZip (string filename, string dirname) |
| | Extract a ZIP file (synchronous).
|
| |
| void | extractFromZip (string filename, string file, string destname) |
| | Extract a specific file from a ZIP file (synchronous).
|
| |
| void | extractZipAsync (string filename, string dirname) |
| | Extract a ZIP file (asynchronous).
|
| |
| void | extractFromZipAsync (string filename, string file, string destname) |
| | Extract a specific file from a ZIP file (asynchronous).
|
| |
| void | compressZip (string path, string filename, int ratio) |
| | Compress a file or a folder in a ZIP file (synchronous).
|
| |
| void | addToZip (string path, string filename, string parent, int ratio) |
| | Add a file or a folder in a ZIP file (synchronous).
|
| |
| int | getAsyncState (void) |
| | Get current state of an asynchronous task.
|
| |
| string | getAsyncResult (void) |
| | Get result from a finished asynchronous task.
|
| |
| void | takeScreenshot (string filename, ImgFmt format, int ratio) |
| | Take a screenshot.
|
| |
| void | executeUri (string uri) |
| | Execute an URI call.
|
| |
| int | reboot (void) |
| | Reboot the console.
|
| |
| int | shutdown (void) |
| | Shutdown the console.
|
| |
| int | standby (void) |
| | Put the console in standby.
|
| |
| bool | isSafeMode (void) |
| | Get if application is running in safe mode.
|
| |
| void | setMessage (string text, bool progressbar, BtnMode buttons) |
| | Start a system message instance.
|
| |
| DlgState | getMessageState (void) |
| | Get current system message instance state.
|
| |
| void | setMessageProgress (int progress) |
| | Set current progress for the system message instance.
|
| |
| void | setMessageProgMsg (string text) |
| | Set a submessage for the system message instance.
|
| |
| void | closeMessage (void) |
| | Close the current system message instance.
|
| |
| void | unmountPartition (int idx) |
| | Unmount an already mounted partition.
|
| |
| void | mountPartition (int idx, MntPerm perms) |
| | Mount an unmounted partition.
|
| |
| void | installApp (string dir) |
| | Install an extracted app.
|
| |
| void | uninstallApp (string titleid) |
| | Uninstall an installed app.
|
| |
| bool | doesAppExist (string titleid) |
| | Check if an app is installed.
|
| |
| string | getBootParams (void) |
| | Retrieve params used at app boot.
|
| |
| int | loadUserPlugin (string path) |
| | Load and start an user plugin.
|
| |
| int | loadKernelPlugin (string path) |
| | Load and start a kernel plugin.
|
| |
| void | unloadUserPlugin (int plug_id) |
| | Stop and unload an user plugin.
|
| |
| void | unloadUserPlugin (int plug_id) |
| | Stop and unload a kernel plugin.
|
| |
| void | unmountMountpoint (string mnt) |
| | Unmount a virtual mountpoint.
|
| |
| void | consolePrint (string text) |
| | Print a message on system console.
|
| |