July 6, 20251 yr Hi, I'm new to this site, but that's doesn't matter. I am looking for help to extract these .bar files used on Reckless Getaway 2 (and potentially other Pixelbite games like Space Marshals or Xenowerk), to get the music and in the future, search for unused content. I've doing some really basic research for myself with opening the file as a text file, surpringsly I found some stuff, at the end of the file there's a list of all the files inside. Also I noticed is that the structure of (at least) this .bar file is very similar to the .vfs files found in some Zeebo and old Pixelbite games, sharing many file formats like .psn and .pxc. Also the header instead of "FUFS" is "CRAB". But I can't find any info of how to open these .bar files. The most close thing I was see it was in a very old post of the .bar files of Space Marshals 2, another Pixelbite game that apparently also uses .bar files. Someone shared a script to open it but i didn't get the script working, also that post was made in 2016, and the game i'm asking for was released in 2017, probably a old script won't work properly. I attached the file I want to open, any help is welcomed. Thanks! data.zip
July 7, 20251 yr Localization It's not hard to extract the archive, but if you need the sound in particular, i can't help you here as i don't have enough knowledge in sound data formats. If you still need it i can make the tool for the archive itself. Edited July 7, 20251 yr by Thief1987
July 7, 20251 yr Author 2 hours ago, Thief1987 said: It's not hard to extract the archive, but if you need the sound in particular, i can't help you here as i don't have enough knowledge in sound data formats. If you still need it i can make the tool for the archive itself. Yes please, it could be very helpful. About the sound files, vgmstream has support for the .psn audio files, so don't worry. You only need to change the extension to .psnd an vgmstream will recognize it without issues
July 7, 20251 yr Localization Solution get FILE_SIZE asize xmath TOC_PTR "FILE_SIZE - 8" goto TOC_PTR get TOC_OFFSET long goto TOC_OFFSET get FILE_COUNT long for i = 0 < FILE_COUNT get OFFSET long get SIZE long get COMP_FLAG byte get NAME_LEN short getdstring NAME NAME_LEN get UNK long savepos TOC_ENTRY_POS if COMP_FLAG == 0 log NAME OFFSET SIZE else goto OFFSET get MAGIC long get UNCOMP_SIZE long get COMP_SIZE long savepos COMP_START clog NAME COMP_START COMP_SIZE UNCOMP_SIZE endif goto TOC_ENTRY_POS next i You can extract it with this script. I also tried audio, and like you said, it work with vgstream Edited July 7, 20251 yr by Thief1987
July 8, 20251 yr Author 10 hours ago, Thief1987 said: get FILE_SIZE asize xmath TOC_PTR "FILE_SIZE - 8" goto TOC_PTR get TOC_OFFSET long goto TOC_OFFSET get FILE_COUNT long for i = 0 < FILE_COUNT get OFFSET long get SIZE long get COMP_FLAG byte get NAME_LEN short getdstring NAME NAME_LEN get UNK long savepos TOC_ENTRY_POS if COMP_FLAG == 0 log NAME OFFSET SIZE else goto OFFSET get MAGIC long get UNCOMP_SIZE long get COMP_SIZE long savepos COMP_START clog NAME COMP_START COMP_SIZE UNCOMP_SIZE endif goto TOC_ENTRY_POS next i You can extract it with this script. I also tried audio, and like you said, it work with vgstream It worked! Thank you very much!!!
Create an account or sign in to comment