asmodean's reverse engineering page

news and updates / index of tools / message board

2007/08/04 / ex4ag

Older tools for this format have some issues so I ended up writing this rather than deal with them. Probably it will work with older games with some minors tweaks ... I'll try it out later.

Note that WAG@ (*.wag) are the same as GAF (*.4ag) and MIKO (*.arc) the same as XARC (*.xarc) ... I was surprised they changed such trivial things and nothing else.

Updated: added a simple tool for the XARC archives...
Updated 1.01: ex4ag now supports japanese filenames (use -exact_filename)
Updated: added a tool to repack XARC archives (requested)
Updated 1.02: ex4ag now forces filenames to be relative due to annoying \\Nas paths. :)
Updated 1.03: ex4ag now strips colons due to absolute local paths (D:\ etc). ex4ag also handles japanese filenames better.

// ex4ag.cpp, v1.03 2010/06/24
// This tool extracts GAF4 (*.4ag) and WAG@ (*.wag) archives used by Xuse.

// exxarc.cpp, v1.0 2007/08/04
// This tool extracts XARC (*.xarc) archives used by Xuse's Spirit of Eternity
// Sword 2.

// pkxarc.cpp, v1.01 2007/12/19
// This tool repacks data into XARC (*.xarc) archives.
Known to work with:

2007/08/03   ザウス   「聖なるかな -The Spirit of Eternity Sword 2-」
2008/07/25   ザウス   「聖なるかな スペシャルファンディスク」
2009/01/23   ETERNAL   「輝光翼戦記 天空のユミナ」
2009/05/01   ザウス   「つくもの〜やどりぎロマンス〜」
2009/09/25   ETERNAL   「Nega0」
2010/01/29   ETERNAL   「輝光翼戦記 天空のユミナFD -ForeverDreams-」
2010/06/25   ETERNAL   「天の光は恋の星」
2011/07/01   ザウス   「久遠の絆 -THE ORIGIN-」
2011/12/16   ETERNAL   「輝光翼戦記 銀の刻のコロナ」
2012/09/28   ザウス   「聖なるかな Special Edition」
2012/12/21   Misty   「ひるヒメ 〜濃いのたくさんちょうだい〜」
2013/01/25   ETERNAL   「輝光翼戦記 銀の刻のコロナFD -Fortune Dragon’s-」

*.4ag, *.xarc (sig=GAF4, XARC)
*.wag, *.xarc (sig=WAG@, MIKO)

All source © 2006-2014, asmodean. Don't copy, learn.