Command-line utility for converting XNA XNB files.
Do not forget: the fact that you can technically extract and view the resources from some games does not mean you can legally use the resources. Even extracting can be illegal in your country. If you are unsure, do not use this program.
Download XnaConvert binary files from the Releases tab.
You need to install the following redistributable packages before using the program (also necessary for compiling from sources):
Verb: convert
Convert file from one format to another.
Options:
-l, --library
(Default: XNA) Library name.-v, --version
(Default: 4.0) Library version.-i, --input
(Required) Input file (*.xnb).-d, --inputdir
(Required) Input directory (with *.xnb files).-m, --mask
(Default: .xnb) Input mask (with .xnb files).-r, --recursive
(Default: false) Process files in input directory recursively.-o, --output
(Required) Output file or directory.Examples:
Alba.XnaConvert convert -v 4 -d "C:\Games\Terraria\Content\Images" -o "C:\Unpacked\Terraria"
Alba.XnaConvert convert -v 4 -r -d "C:\Games\Dust An Elysian Tail\content\gfx" -o "C:\Unpacked\Dust An Elysian Tail"
Alba.XnaConvert convert -v 4 -r -d "C:\Games\They Bleed Pixels\Content" -o "C:\Unpacked\They Bleed Pixels"
Alba.XnaConvert convert -v 4 -r -d "C:\Games\Adventures of Shuggy\gfx" -o "C:\Unpacked\Adventures of Shuggy"
Alba.XnaConvert convert -v 4 -r -d "C:\Games\DLC Quest\Content" -o "C:\Unpacked\DLC Quest"
Alba.XnaConvert convert -v 3.1 -r -d "C:\Games\Capsized\Content" -o "C:\Unpacked\Capsized"
Alba.XnaConvert convert -v 3 -d "C:\Games\Blueberry Garden\Content" -o "C:\Unpacked\Blueberry Garden"
Verb: listlibs
List supported libraries and versions.
Options:
-a, --all
(Default: false) Include all aliases.Examples:
Alba.XnaConvert listlibs
Alba.XnaConvert listlibs --all
XNA sometimes fails to properly free resources. If multiple huge images are converted (in directory input mode) and your computer is low on memory, the program will terminate. Workaround: run the program again. It will skip already converted files.
Support for XNA 1.0 and 2.0 is not tested as no games seem to use these versions.
New BSD License
Copyright © 2013, Athari
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ATHARI BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.