Repacking IRARC file from Azure Striker Gunvolt [PC/3DS]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Rintron
Posts: 13
Joined: Fri May 20, 2016 9:13 pm

Repacking IRARC file from Azure Striker Gunvolt [PC/3DS]

Post by Rintron »

Hi. Coming here again to ask for help with something, though this one's a little different.

https://mega.nz/#!jkgxARbZ!wjeq59N8Sbui ... J0BDlkKdiE

The above two file, contain an archive I am able to extract with this script:

Code: Select all

get BASENAME basename

string NAME = BASENAME
string NAME += ".irlst"
open FDSE NAME 0

string NAME = BASENAME
string NAME += ".irarc"
open FDSE NAME 1

get COUNT long
for i = 0 < COUNT
   get ID long # not sure
   get OFFSET long
   get SIZE long
   get FLAG long # always 0x17?
   log "" OFFSET SIZE 1

next i

It's not written by me.
Anyway, this works with both 3DS/Steam version of the game and even the newly released sequel too. Reimporting files also works smoothly with quickbms... buuuut.

I want to edit dialogue in the game, the text required me to make a thingy table since it's not stored in plain text. But either way, the quickbms only works good for repacking either smaller or files of the same size. This doesn't help me much, because I kinda am slowly figuring out how to add new text boxes and stuff, but that will increase the size of files. Thus, if I force the reimport in quickbms it will screw it up. So, my questions go like this:

Can someone take a look at this archive, and maybe create a repacker?

Or, if it's too much effort (because I'm expecting the format might be a *SPAM*) I could at last learn bms scripting and maybe... just maybe, I will be able to make it.
But if so, can someone at least take enough of a look at the archive to tell me how hard it'll be to create? Will I need to create a custom extractor too? Or will using the above script be enough?

Thank you.
Rintron
Posts: 13
Joined: Fri May 20, 2016 9:13 pm

Re: Repacking IRARC file from Azure Striker Gunvolt [PC/3DS]

Post by Rintron »

Shameful bump. After all this time, I still have no success. Can nobody help?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Repacking IRARC file from Azure Striker Gunvolt [PC/3DS]

Post by aluigi »

The format contains also compressed files but I guess it's not the case of your file or you wouldn't be able to work on it.
The simplest thing you can do (if it's just one file you edited) is appending your new file at the end of resarc_18_en2.irarc and then modifying its OFFSET and SIZE field in resarc_18_en2.irlst.
It takes less than one minute to do the test and it should work perfectly.