PDA

View Full Version : AFS format (DC/PS2 stuff)


Minagi
2007-06-19, 00:41
This isn't really a technical issue but someone might find it useful.

From what I've seen, a lot of the PS2 visual novels use .AFS files for storing data. Bored, I decided to poke at some games I had that used .AFS files and coded up some tools to extract and repack them. My little package contains 3 programs: afs, afslist, and createafs.

afs extracts the .AFS file into seperate files for easy modification.
afs infile
afs SCENE00.AFS

afslist makes a list file (.ALS) used by createafs.
createafs outfile infile
createafs SCENE00.AFS SCENE00.ALS

createafs creates a .AFS file based on the output .ALS file from afslist.
createafs outfile infile
createafs SCENE00.AFS SCENE00.ALS

Please either PM me or leave me a message in this thread if you find a bug or an incompatible game. So far I've tested extracting and repacking with 2 games and both have been successful. I have no idea if this works with DC AFS files or not, currently only PS2 games are supported.

I hope someone can find a use for these tools. Enjoy. ^^
Download: http://www.sendspace.com/file/0ftny0 (exes only for now)

I would include the source but it's *horrible* in its current state. I'm sure there are parts that can be recoded or removed to make the code better but I'm not too worried about that right now. :P

Line change:
http://img521.imageshack.us/img521/6790/monochromeuu9.png

Image editing:
http://img108.imageshack.us/img108/6263/editingdk3.png
(I fail at writing)

Screenshots taken using Pcsx2.

Rasqual Twilight
2007-06-19, 04:39
Is it the same AFS as handled by AFS Explorer (http://dte-ng.issextreme.net/scripts/ps2.php) - http://wiki.xentax.com/index.php?title=GRAF:AFS_AFS ?

Minagi
2007-06-19, 11:03
It looks like it. The AFS Explorer website doesn't load for me so I can't really check it out.

Edit: Just downloaded AFS Explorer and yes, it's the same format. For some reason AFS Explorer says something is wrong with the AFS files from Monochrome. o_O
I updated the rar. Last night I added something to afslist and I thought it would work but I was too tired to test it.

getafs
2014-03-24, 20:19
Could you please reupload AFS Tools?
Thank you!