Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 763 Bytes

readme.md

File metadata and controls

28 lines (22 loc) · 763 Bytes

xbdm.js

Introduction

Communicate with your modified Xbox 360 via sockets. Handy for electron apps and JavaScript applications.

Code Samples

Here is an example of connecting to the target and running some commands.

xbdm.connect("192.168.1.7").then(resp => {
    xbdm.xNotify("Welcome from xbdm.js");  
    xbdm.getCPUKey().then(console.log).catch(console.log);
    xbdm.getConsoleID().then(console.log).catch(console.log);
    xbdm.getMemory(0x8210E58C, 4).then(console.log).catch(console.log);
    xbdm.setMemory(0x8210E58C, 60000000);
    xbdm.getMemory(0x8210E58C, 4).then(console.log).catch(console.log);
    xbdm.disconnect().then(console.log);
}).catch((err) => {
    console.log(err);
});

Installation

npm i xbdm.js