tpwrules / arctool Goto Github PK
View Code? Open in Web Editor NEWARCTool is a Python script to extract RARC, Yaz0, and U8 archives.
ARCTool is a Python script to extract RARC, Yaz0, and U8 archives.
ARCTool v0.3b 5/25/10 By tpw_rules ARCTool is a Python script that can extract the multitude of different formats found in .arc game files. It has support for Yaz0, U8, and RARC, which are all that I have found. 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 tested it on Mac OS X 10.5.8 with Python 2.5 and 2.6. It should work on other platforms (Windows and Linux) provided Python is properly installed. 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. Usage: python ARCTool.py [-qlh] [-o <output>] <inputfile> [inputfile2] ... [inputfileN] Options: --version show program's version number and exit -h, --help show this help message and exit -o FILE/DIR, --output=FILE/DIR write output to FILE/DIR. If you are extracting multiple archives, all of them will be put in this dir. -q, --quiet don't print anything (except errors) -l, --list print a list of files contained in the specified archive (ignores -q) Requirements: Python 2.5 or higher (not Python 3.x however). Get Python for your OS at http://python.org/download/ 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.
Attempting to run the script throws this error:
File "/usr/bin/ARCTool.py", line 397, in <module>
main()
File "/usr/bin/ARCTool.py", line 390, in main
unu8(f, of)
File "/usr/bin/ARCTool.py", line 320, in unu8
dest.write(f.read(size))
NameError: global name 'f' is not defined
on Python 2.7.15rc1
When unpacking MRAM.arc
from Mario Kart: Double Dash, I expected itemslotlist.dat
to be 2028 bytes, but it was 3032 bytes. The extra 1004 bytes were filled with junk. (e.g. containing "This is padding data to alig" twice)
Using Python 2.7.18 on Debian 11.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.