The tool that saved the Arena Depixelization Project (ADP)
Last post, I covered the Arena Font Editor, 1 of 3 tools that I use to edit TES:Arena graphics (and fonts). The font editor is part of the Arena Modding Suite by Hallfiry. The other part of that suite is the 2nd (set) of the three tools I’m going to write about.
Prior to the Arena Modding Suite, I used the method detailed in a previous post that was laborious and unpractical. Fortunately, this thread popped up on the Bethesda forums. And instantly my little “experiment” became a project and grew in scope. Were it not for Hallfiry, I would have surely abandoned it ADP before it every took off.
What’s it do?
The main functions of the Arena Modding Suite come in the form of the ArenaPacker and ArenaUnpacker. Rather than being a program that you work in, they are utilities that enable you to easily manipulate the game assets directly in Windows. Both programs directly work with the GLOBAL.BSA. Appropriately enough, one unpacks the entire BSA into a set of folders and the other takes that set of folders and packs it right back up although that is a bit simplistic view of what they do.
In reality, the programs not only work with the files but they also convert the files to the appropriate format. For ArenaUnpacker, when it extracts the files, it converts the non-standard IMG and SET files into easily edited PNG images. Additionally, it converts the INF files (map asset listings) to a text editor friendly format and SND files to WAVs (although I don’t have any interest in that part). ArenaPacker reverses the process and creates a packed GLOBAL.BSA based on files in the unpacked directory but doesn’t alter those files that were already extracted. This means I can have a working directory of all the files and my changes then “pack” my work-in-progress easily at any time to test in game.
Some notes about the Arena Modding Suite:
1. Quite a few of the images are compressed in a bizarro compression routine used by Bethesda and this software doesn’t have the functionality to uncompress them. No one had cracked that compression in all the years since the game was released (that is until very recently but more on that next time).
2. ArenaPacker is designed to compensate for using colors outside those available in palette file by converting non-palette colors to the nearest equivalent color in the palette. While it’s a handy feature, the images should be checked in game to make sure the colors aren’t changed to something wonky (as happened before I learned to use the palette tool in GIMP. If you stick to the exact palette (either by using a palette file or be just using colors in the actual images being edited), this isn’t a problem.
3. ArenaPacker is a little sensitive to what files are being repacked. When files are extracted, ArenaUnpacker creates a file list of all the files in each directory. This file list is used for when the files are repacked by ArenaPacker. So, if a file is missing or added that isn’t on the file listing, it will crash the program. So if I plan on “trimming” out the IMG/SET files not actually used, I’ll have to edit the file listing. However, it is very easy to fix so this isn’t that big of a deal.