BAR files and SDAT files:
Something interesting about these archives, they have no TOC.. each file is named by a 8 Character hash like CRC-32. The hash used for file names inside the BARs is a hash of the real original filename and path before it was packed, and that we can not reverse. So basically the only way to figure out what the name of a file was originally, is to find it's path and filename somewhere else, and then try that filename and see if it matches the hash.
So it's this strange chicken/egg situation, where you need to already know the filename, to try it against the file and see if its the right one.
So when the eboot looks for file, it just seems to us like it is looking for a normal path, but behind the scenes it is actually hashing the filename, then checking for files that match that hash.. seems like a really crap way to do it, but maybe it was meant to obfuscate things, or there was some other reason.
Thanks a million to Bucanero for help with the BAR format.