← Return
Modding Birthright: The Gorgon's Alliance
-
September 15, 2024
The BRUT project is now nearing feature parity with the original RESUTIL application, which feels fantastic. So far, the changes made by BRUT are identical to those made by RESUTIL on a binary level. The only missing feature is LZSS compression. As the test below demonstrates, overriding resources without LZSS compression is still possible.
The video is a little choppy, but that really shouldn’t be related to the compression since the game would need to decompress the images to display them anyway.
-
September 2, 2024
Today, I learned that I am not only much closer to a working decompression algorithm than I thought, but I also made a very bad assumption when starting this project—one that I could have avoided with a little more preparation.
When I start a project from scratch or start working on something at work, I plan things out beforehand. I make sure I understand the scope of the work as fully as I can before I write any code.
-
August 29, 2024
I’ve made far less progress than I was hoping. Part of the delay is just being busy with life. The algorithm isn’t really that complicated. There are some technical things about assembly language that I’ve had to relearn, like how the EFLAGS register works with bitshifting. (Specifically, the carry flag (CF) is relevant to this algorithm.) I also watched a great lecture on LZSS to understand the basics of what the algorithm was likely to do.
-
August 19, 2024
I’ve spent two or three days working on the Birthright Resource Utility (BRUt) and have managed to implement displaying the file index and exporting uncompressed files. Unfortunately, I’ve run into a bit of a problem with extracting compressed files.
For context, the resource files on the Birthright CD contain a total of 9427 files, of which 125 files (1.3%) are uncompressed. This leaves 98.7% of files unextractable. This makes the tool effectively useless.
-
August 14, 2024
For several years there has been a thread on the Birthright.net forums talking about modding Birthright: The Gorgon’s Alliance. The posts have been few and far between, but there does seem to be some interest into adding new adventures to the game.
The work that’s been done there has discovered that Birthright adventures are pieced together through a combination of resource files (.RES) in the RESFILES directory, descriptions in the TEXT directory, and level information in the WADS directory.