xbw
NodeJS module utility which provides helpful functions to read and/or verify xbox 360 backup iso file
Installation
xbw
is pre-built for node >= 7.6.0
npm install xbw --save
Usage
const xbw = ;
Methods
### getIsoInfo(file)
Extract information from a backup iso file
Arguments
file
- Absolute path to the file.
Return
The object
returned by this function has the following properties:
file
- A string representing the path to the backup.titleId
- A string representing the title id.mediaId
- A string representing the media id.discCount
- An integer representing the number of disc.discNumber
- An integer representing the disc number.regions
- An array representing the regions.
Example
const xbw = ; let isoInfo = xbw; console;// => {// file: '/Users/User/backups/Game.iso',// titleId: '12345678',// mediaId: 'A1B2C3D4',// discCount: 2,// discNumber: 1,// regions: [// 'PAL'// 'NTSC_U'// ]// }
### verifiedWithAbgx360(options, success, [progress])
Verify a backup iso file integrity against abgx360
Arguments
options
- An array of abgx360 options.success(results)
- A callback which is called when the process is finished. Theresults
object is an array representing a result for each given file. Possible values are {0,-1,-2,-3} respectively for success, error, data error and stealth error.progress(data)
- (Optional) A callback which is called for every process output.
Example
const xbw = ; let abgxOptions = '--c --af3 --splitvid --patchitanyway --patchgarbage --html';let files = '/Users/User/backups/Game.iso'; xbw;
Credit
License
Copyright © 2013-2017 Badisi
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, publish and/or distribute the Software, but with restriction including the rights to modify, merge, sublicense and/or sell copies of the Software, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.