I'm extracting audio from Ori and the Blind Forest which uses the Unity engine.
So I have a whole heap of .fsb files with 0x20 byte ID filenames e.g.
b8df80f1a4339914cb8970bfb664dd63.fsb
In a separate file, it has that exact same ID located at 0x1C "b8df80f1a4339914cb8970bfb664dd63" but this file has the proper filename "02standUp"
I was hoping someone could write a script that renames the FSB files to their proper filenames by matching up the FSB ID filenames with the files that have the same ID at 0x1C.
goto 0x1c get NAME basename string NAME += ".fsb" GetDString IDNAME 0x20 string IDNAME += ".resource" open FDSE IDNAME 1 get SIZE asize 1 log NAME 0 SIZE 1
Changed one line, but this reduces a step earlier on by having to rename the .resource files to .FSB first