Checked danielmm8888's script. It just dumps all files from CAS with no names, including sounds. I can make XAS extractor, if they still didn't make it.
Thank you so much, this is different from Frank's script and I'm having a little bit of trouble with it could I trouble you for some help? I've been messing with the script but I can't seem to get it to work. I initially thought it was "OK this is a piece of cake just input the directories and hit F5"
# Get a handle to the CAT file and get its size
catFileName = sys.argv[1]
catFile = open(catFileName, 'C:\Battlefront\Data\cas.cat')
catFileSize = os.path.getsize(catFileName)
# Skip the signature
catFile.seek(0x10)
# Create the folder where we'll be dumping the content into (if necessary)
if not os.path.exists("C:/dump/"):
os.makedirs("dump/")
Traceback (most recent call last):
File "C:\Battlefront\Data\CASExtractor.py", line 8, in <module>
catFileName = sys.argv[1]
IndexError: list index out of range
p.s. also note, I'm not aware if any scripts exist to split audio chunks. The one for DAI doesn't work, maybe there are others. I was splitting them manually. If none exist, I can write a new splitter.
daemon1 wrote:p.s. also note, I'm not aware if any scripts exist to split audio chunks. The one for DAI doesn't work, maybe there are others. I was splitting them manually. If none exist, I can write a new splitter.
It worked I got 4,267 files they extract now I just need to work on batch extracting and converting. I haven't seen any example of splitting audio chunks yet but could you work on a tool in case? And if there are multiple files exist what hex code or tag would I be looking for in the file?
I hope all of the gunfire and vehicles sounds are here, that's what i'm after the most.
durandal217 wrote:And if there are multiple files exist what hex code or tag would I be looking for in the file?
No, chunks are just audio files merged together, there's no way to know how many files they contain. This information is in corresponding EBX files, and we don't have their names now.
Probably no, or it's a secret tool, he's not answering PM's either. So we don't know if their tool work correctly with sounds. Had you any success finding the sounds you wanted?