Difference between revisions of "Burning Xbox 360 games with linux"

From ArchWiki
Jump to: navigation, search
(Stealth Patching)
(update link(s) (avoid redirect))
(28 intermediate revisions by 14 users not shown)
Line 1: Line 1:
==Introduction==
+
[[Category:Gaming]]
The day I bought a Saints Row disc and it would freeze 20 seconds in every time I tried to use it even though it was brand spanking new is the day I started backing up my games. If you are one of the many people who back your $60 Xbox 360 games you may have been used to burning them in windows and now want to in Linux don't worry the process is quite simple in Linux as well.This guide does NOT cover flashing you xbox 360 dvd drive or the process of ripping the games.
+
{{Warning|The legality of this process may be questionable. Refer to the copyright laws in your country for clarification. Playing backup games online may result in your Xbox360 console being banned from Xbox Live. Follow this guide at your own risk!}}
 
+
{{Tip|Backups may only be played on an Xbox360 with a flashed firmware.}}
==Warnings==
+
{{Warning|It is illegal to make a backup of a game you do not own! It is illegal to sell backups! It's is not recommended to play backup's on xbox live there is a possibility your xbox might get banned!(Not your live account you console) Many people still take this risk! Please make sure you understand the risk before you go on xbox live with a backup! You can only play backup's with an xbox360 that has a dvd drive with flashed firmware!}}
+
  
 
==Overview==
 
==Overview==
Xbox 360 games come in two image formats. Those are .iso and .000 formats. They are burned on Dual Layer DVD R Disc with a Dual Layer burner. You MUST use a dual layer disc and you MUST use a dual layer burner there is no alternative that is the way is must be done. Many people recommend that you use expensive Verbatim Brand discs and that you use a specific Pioneer burner. This is completely false. I use cheap Memorex media and a cheap $50 Memorex burner (most cost around $70-$100). I can not tell a difference from when I'm playing the real game or the backup. Just make sure you burn at the slowest possible speed it will decrease the risk of write errors.
+
Xbox 360 games come in two image formats: .iso and .000. They are burned on dual layer DVD+R discs. This requires a dual-layer DVD burner. No specific brand or burner is needed. In order to maximize the success of your burn, you should burn at the slowest speed your burner and media allow.
 +
 
 +
Please note that games must be burned onto DVD+R DL (Dual Layered), as DVD-R DL would not work.  
  
 
==Stealth Patching==
 
==Stealth Patching==
  
Stealth Patching is the process of patching the game image with the proper security sectors this is done to make the game passes the security check done by the xbox360 when the game boots up. If you use a non-stealth firmware then you do not have to do this. If you have a stealth firmware even if you do not go on xbox live this still must be done. The actual process is very simple with a tool called abgx360. You may get abgx360 from the AUR [http://aur.archlinux.org/packages.php?ID=24813 here].
+
Stealth patching patches a game image to make it ignore the security check done by the Xbox360 console upon boot. If you use a stealth firmware, you will need to patch your backup. You can do this with a tool called [https://aur.archlinux.org/packages.php?ID=24813 abgx360], which can be found in the [[AUR]].
  
Now lets actually patch a game.You may patch both .iso and .000 images with abgx360. We will use the game Tales of Vesperia as an example.
+
abgx360 works on .iso ''and'' .000 images. In order to patch these images, use the {{Ic|--af3}} flag, as such:
The proper command to use is the -af3 flag.
+
  
     ~$ abgx360 -af3 TalesOfVesperia.iso
+
     abgx360 --af3 /path/to/game.iso
  
The -af3 flag will verify the game and automatically patch the image file. It is a quick all-in-one step for patching. The game will almost always fail verification and it will almost always patch the game even if it has been pre-patched. It will list alot information about the game such as region(NTSC/PAL) publisher,developer,size,etc.
+
Using this tool should patch the file with no issues. It will also output metadata about the game.
  
==Burning ISO files==
+
==Burning ISO Files==
 +
{{Note| You can use [https://wiki.archlinux.org/index.php/Wine#Burning_optical_media Imgburn + Wine] to burn ISO (yes, XGD3 burns work with burnermax drives and since Imgburn 2.5.8 the builtin "BurnerMax Payload" feature works as well).}}
  
Burning an iso is best done through the command line with growisofs. There are other methods using k3b and other gui tools but it is easy to not be sure about the configuration and with DL media you only have one shot and the DL discs aren't cheap. The command to use is
+
Burning an iso is best done through the command line with growisofs. This is found in the {{pkg|dvd+rw-tools}} package found in the [[Official repositories]].
  
  ~$ growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760  -dvd-compat -speed=2 -Z /dev/dvd=TalesOfVesperia.iso
+
There are other applications you can use to burn the image ({{pkg|k3b}}, {{AUR|gnomebaker}}, etc) but you may miss some configuration options and end up with a dud burn. Use the following command to burn the image to disc.
  
"What about .dvd files?" You do not need .dvd files all they contain is the layer break information. The layer break information is always the same it will be 1913760. This is specified on our command with -use-the-force-luke=break:1913760 (Don't ask me about the use the force thing because I dont have an answer 0.o)
+
XGD1/XGD2:
  
'''-speed=2'''
+
    growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.iso
This will burn at the lowest speed even if your lowest speed is 2.4 like mine.
+
  
'''/dev/dvd=/path/to/file.iso'''   
+
XGD3(iXtreme Burner Max Firmware):
Now your device may not be /dev/dvd. To find it you should look in /media and it should list some folders such as "dvd" or "cd" just try to eject some of them through the command line until your dual layer drive ejects. You can do that with.
+
  
[generic@ArchLinux Desktop]$ eject /dev/dvd
+
    growisofs -use-the-force-luke=dao -use-the-force-luke=break:2133520 -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.iso
  
If everything has been set up correctly you should see some messages like this.
+
Replace {{Ic|/dev/sr0}} with the path to your dual layer drive. For most systems it will be {{Ic|/dev/sr0}}. Since May 2011, the {{ic|/dev/dvd}} symlink has been removed in [[udev]]. See [https://bbs.archlinux.org/viewtopic.php?id=120010] for more details.
  
     Executing 'builtin_dd if=TalesOfVesperia.iso of=/dev/dvd obs=32k seek=0'
+
If everything has been set up correctly you should see a messages like this:
     /dev/dvd: splitting layers at 1913760 blocks
+
 
     /dev/dvd: "Current Write Speed" is 2.5x1352KBps.
+
     Executing 'builtin_dd if=TalesOfVesperia.iso of=/dev/sr0 obs=32k seek=0'
 +
     /dev/sr0: splitting layers at 1913760 blocks
 +
     /dev/sr0: "Current Write Speed" is 2.5x1352KBps.
 
     3538944/7835492352 ( 0.0%) @0.8x, remaining 45:39 RBU  89.7% UBU  7.1%
 
     3538944/7835492352 ( 0.0%) @0.8x, remaining 45:39 RBU  89.7% UBU  7.1%
  
Then you wait for it to finish burning and then your done! And yes for one game to burn is around 40 minutes and 2.4 speed.
+
The burn should take around approximately 40 minutes at 2.4x write speed, depending on the size of the iso.
 +
 
 +
==Burning .000 Files==
 +
 
 +
To burn a .000 image you must first patch it with a Java application called imagebpatch.jar. You can get it [http://www.megaupload.com/?d=2JOIHFU3 here].
 +
You will need to have java installed to use this.
 +
 
 +
    pacman -S jre
 +
 
 +
Logout and login again (or {{Ic|source /etc/profile}}) in order to update your $PATH.
 +
 
 +
After you've installed Java and downloaded the application, just run it in the console:
 +
 
 +
    java -jar imgbpatch.jar /path/to/image.000
 +
 
 +
Now it can be burned like an iso, using the following.  
 +
 
 +
XGD1/XGD2:
  
==Burning .000 Images==
+
    growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760  -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.000
  
There are some misconceptions about burning .000 images your may have heard. It is very important you clear these up! I have tried all of these and wasted 3 dual layer discs in the process NONE of these techniques work in Linux!
+
XGD3(iXtreme Burner Max Firmware):
  
Renaming the file from IMAGE.000 to IMAGE.iso DOES NOT WORK!
+
    growisofs -use-the-force-luke=dao -use-the-force-luke=break:2133520  -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.000
  
Simply burn it as you would burn a .iso DOES NOT WORK!
+
Replace {{Ic|/dev/sr0}} with the path to your dual layer drive. For most systems it will be {{Ic|/dev/sr0}}. Since May 2011, the /dev/dvd symlink has been removed in udev. See [https://bbs.archlinux.org/viewtopic.php?id=120010] for more details.
  
Use image burn under wine. STILL DOES NOT WORK!
+
==xbox360_burn==
 +
It's obviously possible to create an executable file containing the command to burn DVD, as such, someone has created a bash script to allow for a more user-friendly interface, you can get it from the AUR here: {{aur|xbox360_burn 0.7-1}}.
  
To burn you must first patch the the file with java script called imagebpatch.jar. You can get it [http://www.megaupload.com/?d=2JOIHFU3 here].
+
To burn, you then only have to use this command:
You will need to install java to use this. You can just use.
+
  
     -# pacman -S jre
+
     xbox360_burn -ib /dev/sr0 rom.iso
  
Then logout and log back in to be able to use it.
+
Replace {{Ic|/dev/sr0}} with the path to your dual layer drive. For most systems it will be {{Ic|/dev/sr0}}. Since May 2011, the /dev/dvd symlink has been removed in udev. See [https://bbs.archlinux.org/viewtopic.php?id=120010] for more details.
  
Now you open up a terminal and enter. ''NOTE: Patching the .000 file like this will also work in windows.''
+
==Notes==
 +
{{Warning|It seems that removing these parameters from the command line for XGD1/2 burning will set a wrong layer break and make your backup broken.}}
 +
To fix error '''"...INVALID FIELD IN PARAMETER LIST..."''' you need to omit these options from the command line:
  
     ~$ java -jar imgbpatch.jar IMAGE.000
+
     -use-the-force-luke=dao -dvd-compat
  
and that is it you can now burn it like a regular .iso just use
+
So for example command becomes:
  
     ~$ growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760  -dvd-compat -speed=2 -Z /dev/dvd=IMAGE.000
+
     growisofs -use-the-force-luke=break:layer_break_size -speed=2 -Z /dev/sr0=/path/to/game.iso

Revision as of 11:51, 24 February 2014

Warning: The legality of this process may be questionable. Refer to the copyright laws in your country for clarification. Playing backup games online may result in your Xbox360 console being banned from Xbox Live. Follow this guide at your own risk!
Tip: Backups may only be played on an Xbox360 with a flashed firmware.

Overview

Xbox 360 games come in two image formats: .iso and .000. They are burned on dual layer DVD+R discs. This requires a dual-layer DVD burner. No specific brand or burner is needed. In order to maximize the success of your burn, you should burn at the slowest speed your burner and media allow.

Please note that games must be burned onto DVD+R DL (Dual Layered), as DVD-R DL would not work.

Stealth Patching

Stealth patching patches a game image to make it ignore the security check done by the Xbox360 console upon boot. If you use a stealth firmware, you will need to patch your backup. You can do this with a tool called abgx360, which can be found in the AUR.

abgx360 works on .iso and .000 images. In order to patch these images, use the --af3 flag, as such:

   abgx360 --af3 /path/to/game.iso

Using this tool should patch the file with no issues. It will also output metadata about the game.

Burning ISO Files

Note: You can use Imgburn + Wine to burn ISO (yes, XGD3 burns work with burnermax drives and since Imgburn 2.5.8 the builtin "BurnerMax Payload" feature works as well).

Burning an iso is best done through the command line with growisofs. This is found in the dvd+rw-tools package found in the Official repositories.

There are other applications you can use to burn the image (k3b, gnomebakerAUR, etc) but you may miss some configuration options and end up with a dud burn. Use the following command to burn the image to disc.

XGD1/XGD2:

   growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.iso

XGD3(iXtreme Burner Max Firmware):

   growisofs -use-the-force-luke=dao -use-the-force-luke=break:2133520 -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.iso

Replace /dev/sr0 with the path to your dual layer drive. For most systems it will be /dev/sr0. Since May 2011, the /dev/dvd symlink has been removed in udev. See [1] for more details.

If everything has been set up correctly you should see a messages like this:

   Executing 'builtin_dd if=TalesOfVesperia.iso of=/dev/sr0 obs=32k seek=0'
   /dev/sr0: splitting layers at 1913760 blocks
   /dev/sr0: "Current Write Speed" is 2.5x1352KBps.
   3538944/7835492352 ( 0.0%) @0.8x, remaining 45:39 RBU  89.7% UBU   7.1%

The burn should take around approximately 40 minutes at 2.4x write speed, depending on the size of the iso.

Burning .000 Files

To burn a .000 image you must first patch it with a Java application called imagebpatch.jar. You can get it here. You will need to have java installed to use this.

   pacman -S jre

Logout and login again (or source /etc/profile) in order to update your $PATH.

After you've installed Java and downloaded the application, just run it in the console:

   java -jar imgbpatch.jar /path/to/image.000

Now it can be burned like an iso, using the following.

XGD1/XGD2:

   growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760  -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.000

XGD3(iXtreme Burner Max Firmware):

   growisofs -use-the-force-luke=dao -use-the-force-luke=break:2133520  -dvd-compat -speed=2 -Z /dev/sr0=/path/to/game.000

Replace /dev/sr0 with the path to your dual layer drive. For most systems it will be /dev/sr0. Since May 2011, the /dev/dvd symlink has been removed in udev. See [2] for more details.

xbox360_burn

It's obviously possible to create an executable file containing the command to burn DVD, as such, someone has created a bash script to allow for a more user-friendly interface, you can get it from the AUR here: xbox360_burn 0.7-1AUR.

To burn, you then only have to use this command:

   xbox360_burn -ib /dev/sr0 rom.iso

Replace /dev/sr0 with the path to your dual layer drive. For most systems it will be /dev/sr0. Since May 2011, the /dev/dvd symlink has been removed in udev. See [3] for more details.

Notes

Warning: It seems that removing these parameters from the command line for XGD1/2 burning will set a wrong layer break and make your backup broken.

To fix error "...INVALID FIELD IN PARAMETER LIST..." you need to omit these options from the command line:

   -use-the-force-luke=dao -dvd-compat

So for example command becomes:

   growisofs -use-the-force-luke=break:layer_break_size -speed=2 -Z /dev/sr0=/path/to/game.iso