View Single Post
  #1  
Old 2007-06-19, 00:41
Minagi's Avatar
Minagi Minagi is offline
Regular
 
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.
Code:
afs infile
afs SCENE00.AFS
afslist makes a list file (.ALS) used by createafs.
Code:
createafs outfile infile
createafs SCENE00.AFS SCENE00.ALS
createafs creates a .AFS file based on the output .ALS file from afslist.
Code:
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:


Image editing:

(I fail at writing)

Screenshots taken using Pcsx2.

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