Skip to content

Latest commit

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

NodePS4debug

A easy to use, fully async wrapper for PS4debug written in JavaScript.

Installation

Use the package manager npm to install NodePS4debug.

npm install nodeps4debug

Usage

const{ connect, notify, disconnect, reboot, writeMemory, readMemory }=require("nodeps4debug");(async()=>{awaitconnect('192.168.137.166')// Returns true or an error code.constnotifyResponse=awaitnotify('Hello');console.log(notifyResponse);// Returns a Bufferconsole.log(disconnect())// Returns a booleanconsole.log(awaitgetProcessList())// Returns an Objectconsole.log(awaitwriteMemory(90,"0x5E394E1",Buffer.from("31C990",'hex')))console.log(awaitreadMemory(90,"0x5E394E1",Buffer.from("31C990",'hex')))constelfBuffer=fs.readFileSync('path/to/your/file.elf');// Read the .elf file and load itawaitloadElf(90,elfBuffer);console.log(reboot())})().catch(console.error);

Contributors

  • Jinx - Main package developer.
  • avieah - Main package developer.
  • DeathRGH - Contributing addresses and helping port code.

Helpful links

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages