View Single Post
Old 2007-06-18, 23:41
Minagi's Avatar
Minagi Minagi is offline
Join Date: Jun 2007
Posts: 85
Default AFS format (DC/PS2 stuff)

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
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: (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:

Image editing:

(I fail at writing)

Screenshots taken using Pcsx2.

Last edited by Minagi; 2007-06-19 at 10:15.
Reply With Quote