asmodean's reverse engineering page
2009/01/25 / exar2|
This can extract/rebuild RPK.BIN from Ar Tonelico 2 and also extract/rebuild the scripts (*.evd).
Script editting isn't terribly useful because text data is stored in several other places (including the *.ERX which seem to be executable overlays or something). But since I wasted some time looking at this I may as well release the tools and let people pretend they're going to redo the pathetic translation. Note that the scripts are SJIS text using wide-ascii(?) characters.
I suggest uema's iftm2 Susie plugin for the TIM2 (*.tm2) graphics since XnView screws up the color. Use bmp8to32 -fixalpha for correct transparency.
Updated: Added unlzr to decompress the LZR compressed data.
Updated: Added exar2fp to extract the *.fp archives (no rebuilding since I feel lazy). Also fixed a bug in unlzr.
// exar2rpk.cpp, v1.0 2009/01/22 // Extracts/rebuilds RPK archives used by Ar Tonelico 2. // exar2fp.cpp, v1.0 2009/01/28 // Extracts multiple *.fp archives used by Ar Tonelico 2. // unlzr.cpp, v1.01 2009/01/28 // Uncompresses LZR data (mostly TIM2 graphics) used by GUST. // exar2evd.cpp, v1.0 2009/01/22 // Extracts/rebuilds EVD scripts used by Ar Tonelico 2.Known to work with:
2009/01/20 Banpresto/GUST uAr Tonelico 2: Melody of Metafalica (PS2)v
RPK.BIN, *.fp; *.lzr (sig=none; LZR)