Opening GH2 ARKs | mari@macintosh.garden


< Back to the tutorial index

GH2 stores its files in a container called an ARK. If you've ever used a tarball on Linux, same premise. It's a file containing a bunch of other files, one you'll either need to rebuild or edit directly to get your new files into the game. Harmonix used these to get around the 8.3 filename limitation on DVDs.

There's a few very readily available, easy ways to get into an ARK, each with their own catches and benefits. I'll be explaining how to get in the game files with three of them, really just to cover our bases.

Step 0: Extract the files from your GH2/GH80s disc

This is the easy part. Put your disc in the drive (or double-click your ISO, if you're using one and Windows 10) and navigate to its files. You'll see three folders (GEN, IOP, and VIDEOS) and two files (SYSTEM.CNF and a funky one with letters and numbers, that being the game executable). Make a nice new home for them on your hard drive and copy them over. It shouldn't take too long.

Mmm, fresh from the disc

The GEN folder is the important one to us, since that's where the game files live. In that folder will be an HDR file, which is basically a giant file directory for the game to look through, and the ARK. You'll have to point some of the tools to one or the other.

The recommended way: ArkHelper

Nowadays, you should be using PikminGuts92's ArkHelper, which is part of his Mackiloha suite of tools. There's a few good reasons for that I'll get into in a moment. It's command-line, so if you've never used a Command Prompt, you're a bit stuck for now. The other two ways are graphical, so I won't be explaining it here.

Mackiloha requires .Net Core 3.1, it should be noted. If you get "A fatal error occurred, the required library etc etc" or something similar, you don't have it installed. You can grab it from that link over there.

Once you've got Mackiloha situated, cd over to the GEN folder in your Command Prompt. One of mine, for example, lives in C:\Users\mariteaux\Desktop\customdisc\GEN. ArkHelper, like all of Pikmin's tools, has a pretty simple structure for the command, namely:

arkhelper [verb] [path1] [path2] (any relevant switches)

We'll be using the ark2dir and dir2ark verbs here. So after you've navigated to your GEN folder, drag the arkhelper.exe into the Command Prompt window, and the full path to the program will expand out. Press space, and in order, give it:

  1. ark2dir
  2. The path to the MAIN.HDR (you're already there, so just MAIN.HDR)
  3. The path to where it should spit out the extracted files (good to have an expanded folder next to the GEN folder for convenience)
  4. -a (to extract ALL files)
  5. -s (If you have the dtab executable in the same folder, this converts the game's scripts to plain text, and trust me, you want that)

So for me (your paths will look different), in all:

C:\Users\mariteaux\Dropbox\Programs\ghmodding\Mackiloha_v0.0.148-win-x64\arkhelper.exe ark2dir MAIN.HDR C:\Users\mariteaux\Desktop\customdisc\expanded\ -a -s

You should end up with copies of every single file in the ARK when it's done, so be patient.

To take your expanded files back to ARK form, use dir2ark instead. Your first path will instead be to the expanded folder, and your second path will be to the GEN folder, not to MAIN.HDR.

C:\Users\mariteaux\Dropbox\Programs\ghmodding\Mackiloha_v0.0.148-win-x64\arkhelper.exe dir2ark C:\Users\mariteaux\Desktop\customdisc\expanded\ C:\Users\mariteaux\Desktop\customdisc\GEN\

(Again, if dtab is present, ArkHelper will automatically convert plain text scripts back to their DTB form.)

Pros of ArkHelper

Cons of ArkHelper

Speaking of!

The solid (if clunky) backup way: ArkTool

ArkTool was my preferred method of adding files to the game before I properly tried ArkHelper. It's far quicker to get situated with (and graphical), but you'll pay for it in how clunky and slow the UI is to use for bigger tasks. Regardless, good backup option. It and Ark Expander are found in my toolkit.

ArkTool with an ARK loaded

Once you've gotten it extracted out along with your game files, double-click to open it and go into File > Open. You'll get a dialog telling you to go looking for ARK files. Navigate to your GEN folder. The contents of your ARK will appear in the main window.

From here, it's basically like any other tree view. Right-click for your menu of stuff to do in an ARK. Here's a cheat sheet of some keyboard shortcuts to make it a bit faster:

Pros of ArkTool

Cons of ArkTool

The convenient (and limited) backup way: Ark Expander

Ark Expander is my third and least recommended backup method. It's a Java application that will blow up an ARK to a directory like ArkHelper does—with a seriously major catch in that you cannot add, delete, or rename anything in that directory, or your ARK will never build again.

Why do I list it then? Because Scott swore by it for years prior to using ArkHelper and it still does what it says on the tin. It's also good if you're using ArkTool and looking to combat the bloat problem—on ARK rebuild, Ark Expander will only add in the files that are still present in the HDR, shrinking your ARK massively.

Ark Expander, ready to expand

Double-click it. If it doesn't work, you need Java (but I'm assuming you have it). It's simply two text boxes for two paths, your GEN and the expanded folder. Unlike ArkHelper, Ark Expander will not create the expanded folder for you, so be sure to do that before you expand it. Then just use one of the two buttons to either extract the files from your ARK or rebuild the ARK.

Pros of Ark Expander

Cons of Ark Expander

< Back to the tutorial index