May 12May 12 I tried to access the voice files but couldn't. I know there's a script from QuickBMS, but it doesn't work with the German version. The file names are listed in the .bin file, though. Could you maybe help me, please? (As far as I understand the rules, I'm not allowed to post the .bin file (which contains everything) here, but maybe someone else here has the German version as well.) nevermind here the link with the bin file and the dir file https://pixeldrain.com/u/XSggmcxG Edited May 15May 15 by SFFAN
May 14May 14 Localization can't do anything without samples, also pretty sure the rules say something along the lines of don't post without samples
May 26May 26 Localization Specs for this format: +-----------------------------------------------+ | Shadow Man: 2econd Coming (PS2) *.BIN + *.DIR | +-----------------------------------------------+ // The BIN file contains the file data, the DIR file contains the directory. // Some files use RNC2 Compression, which is split into blocks of 32768 bytes decompressed. // DIR FILE // HEADER 4 - Unknown // FOLDERS DIRECTORY // for each folder 4 - First File in this Folder 4 - Number of Files in this Folder // FILES DIRECTORY // for each file 4 - Hash 4 - File Offset 4 - Decompressed File Length 3 - Compressed File Length 1 - Compression Flag (128 = compressed, 0=uncompressed) // FOOTER X - null Padding to a multiple of 2048 bytes // BIN FILE // FILE DATA // for each file if (compressed){ // for each block 4 - Unknown (0=last chunk, #=more chunks after this one) 3 - RNC Header ("RNC") 1 - Version (2) 4 - Decompressed Block Length (BIG ENDIAN) 4 - Compressed Block Length (BIG ENDIAN) 2 - Decompressed CRC 2 - Compressed CRC 1 - Leeway 1 - Number of Chunks X - Block of Compressed Data X - null Padding to a multiple of 4 bytes } } else { X - File Data } I'm assuming the reason for the first directory is that the files are stored in folders (or sub-directories), but not really sure. No filenames - just hashes. Lots of VAG audio in there, among other things. Edited May 26May 26 by wattostudios
May 26May 26 Localization 2 hours ago, wattostudios said: Specs for this format: +-----------------------------------------------+ | Shadow Man: 2econd Coming (PS2) *.BIN + *.DIR | +-----------------------------------------------+ // The BIN file contains the file data, the DIR file contains the directory. // Some files use RNC2 Compression, which is split into blocks of 32768 bytes decompressed. // DIR FILE // HEADER 4 - Unknown // FOLDERS DIRECTORY // for each folder 4 - First File in this Folder 4 - Number of Files in this Folder // FILES DIRECTORY // for each file 4 - Hash 4 - File Offset 4 - Decompressed File Length 3 - Compressed File Length 1 - Compression Flag (128 = compressed, 0=uncompressed) // FOOTER X - null Padding to a multiple of 2048 bytes // BIN FILE // FILE DATA // for each file if (compressed){ // for each block 4 - Unknown (0=last chunk, #=more chunks after this one) 3 - RNC Header ("RNC") 1 - Version (2) 4 - Decompressed Block Length (BIG ENDIAN) 4 - Compressed Block Length (BIG ENDIAN) 2 - Decompressed CRC 2 - Compressed CRC 1 - Leeway 1 - Number of Chunks X - Block of Compressed Data X - null Padding to a multiple of 4 bytes } } else { X - File Data } I'm assuming the reason for the first directory is that the files are stored in folders (or sub-directories), but not really sure. No filenames - just hashes. Lots of VAG audio in there, among other things. I need help getting filenames from BIN and DIR.
May 27May 27 Localization 22 hours ago, mrmaller1905 said: I need help getting filenames from BIN and DIR. I just said that there are no filenames stored in the archive, so I can't help with that. I know other people on these forums have ways of getting some filenames, but I'm not one of those people, I can't help with that.
May 27May 27 Supporter 23 hours ago, mrmaller1905 said: I need help getting filenames from BIN and DIR. You have been informed that there's hashes only. So you can't get filenames simply because there's no simple way back from a hash to the string it was generated from. First step, afaik, will be to find the hashing algorithm (debugging required). Once the algo is known the more tricky part begins: you need to find all filenames. I don't know how, they might be in the private sources of the developers, whatever. Then the hashing algo is used to create a hash list of all known filenames. Then you can replace the hashes in the bin files by the belonging filenames to know which chunks they have. Long story short, you will have no choice but to work with the hashes unless some kind of miracle happens you find out who these guys are: 54 minutes ago, wattostudios said: I know other people on these forums have ways of getting some filenames, Edited May 27May 27 by shak-otay
May 30May 30 Localization On 5/27/2026 at 2:31 PM, shak-otay said: You have been informed that there's hashes only. So you can't get filenames simply because there's no simple way back from a hash to the string it was generated from. First step, afaik, will be to find the hashing algorithm (debugging required). Once the algo is known the more tricky part begins: you need to find all filenames. I don't know how, they might be in the private sources of the developers, whatever. Then the hashing algo is used to create a hash list of all known filenames. Then you can replace the hashes in the bin files by the belonging filenames to know which chunks they have. Long story short, you will have no choice but to work with the hashes unless some kind of miracle happens you find out who these guys are: Should I use Frida to inject PS2 games emulating through PCSX2 to restore hashed filenames from archives instead of the PC version?
May 30May 30 Supporter 4 hours ago, mrmaller1905 said: Should I use Frida to inject PS2 games emulating through PCSX2 to restore hashed filenames from archives instead of the PC version? Sorry, I live in PC world, I missed that it's for PS2 here. Using Frida for injecting into emulated PS2 games sounds good but I'm not familiar with this.
Create an account or sign in to comment