In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "ARCTool"

From WiiBrew
Jump to navigation Jump to search
Line 21: Line 21:
  
 
==Usage==
 
==Usage==
<tt><nowiki>python ARCTool.py [-q] [-o <output>] <inputfile></nowiki></tt>
+
<pre><nowiki>python ARCTool.py [-q] [-o <output>] <inputfile></nowiki></pre>
  
 
Options:
 
Options:
  
<tt>--version: show program's version number and exit<br>
+
<pre>--version: show program's version number and exit<br>
 
-h, --help: show this help message and exit<br>
 
-h, --help: show this help message and exit<br>
 
-o OF, --output=OF: write archive to FILE<br>
 
-o OF, --output=OF: write archive to FILE<br>
-q, --quiet: don't print anything (except errors)</tt>
+
-q, --quiet: don't print anything (except errors)</pre>
  
 
==Known Bugs==
 
==Known Bugs==

Revision as of 21:52, 4 January 2010

ARCTool
General
Author(s)tpw_rules
TypePC utility
Version0.1b
Links
Download

ARCTool is a Python script for extracting Yaz0, RARC, and U8 archives. These are used in many Nintendo games, and sometimes have the extension arc, hence the name.

Info

The inspiration for this tool came about when I wrote a RARC extractor and realized that all the files I wanted to extract were U8, but they still had the arc extension.

I have confirmed Yaz0 and U8 support to be 100% working.

If you have any trouble with it, message me on IRC (nick is tpw_rules) or leave a note on the talk page.

Requirements

Python 2.5 or higher (not Python 3.x however). Tested with Python 2.5 and 2.6 on Mac OS X 10.5.8. It should work with Windows and Linux with a suitable version of Python installed.

Usage

python ARCTool.py [-q] [-o <output>] <inputfile>

Options:

--version: show program's version number and exit<br>
-h, --help: show this help message and exit<br>
-o OF, --output=OF: write archive to FILE<br>
-q, --quiet: don't print anything (except errors)

Known Bugs

None yet :D

Thanks To

  • #python on freenode for helping me with some stupid mistakes.
  • #wiidev for, again, helping me with stupid mistakes (and not so stupid ones).
  • YAGCD and the WiiBrew wiki for documentation and example code on the various formats.
  • Magicus for parse-u8.c which I used for testing.
  • Everybody else I forgot.