Buring xgd3 and xgd2 xbox360 games on linux
There are a lot of guides out there on how to burn xbox360 backups under windows. Well I don't use windows.. and after wasting a lot of dual layer DVD's I though a post was in order.
Firstly to have a correct XGD3 backup you need a Lite-on burner with the iXtream BurnerMax firmware. Find that your self..
Secondly you should be running abgx360 on all your backups prior to burning them. They have a Linux version, make sure you have "xterm" installed to as it will use that for console output.
I wrote this small script that uses growisofs to burn xbox 360 backups to my Lite-on external burner. Usage is simple :
# ./xburn.sh xgd3 filename.iso
replace xgd3 with xgd2 depending on what your burning.
Edit the DVD variable to your dvd-rw device. Using this script and the below growisofs settings along side abgx360 i have had 100% success rate.
#!/bin/bash
#
# Version: 1.0.0
# Date: 20120225
# Author: undersys@undersys.net
# function: burn xbox 360 games with the correct layer break
# xgd2 layerbreak is 1913760, xgd3 is 2133520
# notes for growisfo :-
# -use-the-force-luke=notray = don't reload tray
# -use-the-force-luke=dao = burn disk at once
# -use-the-force-luke=break = manual set layer break
# Vars
# Chage this to match the dvd-rw device
DVD=/dev/sr0
DTYPE=$1
INAME=$2
# Functions
function testargs {
if [[ -z $DTYPE ]]; then
echo You must specify a disk type
echo EG: xgd3 or xgd2
exit
fi
if [[ -z $INAME ]]; then
echo You must specify a iso file name
echo EG: /tmp/backup-game.iso
exit
fi
}
function burn {
if [[ $DTYPE == xgd3 ]]; then
echo Burning $INAME as $DTYPE with layerbreak 2133520..
growisofs -use-the-force-luke=notray -use-the-force-luke=break:2133520 -speed=1 -Z $DVD=$INAME
echo Done! Ejecting..
eject $DVD
else
echo Burning $INAME as $DTYPE with layerbreak 1913760..
growisofs -use-the-force-luke=notray -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z $DVD=$INAME
echo Done! Ejecting..
eject $DVD
fi
}
# Main
testargs
burn
# End