Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

(Pixelbite) Reckless Getaway 2 (Android, iOS) - .bar packed files

Featured Replies

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.image.thumb.png.1a941afd9ab4e5457a7d3114f4331f78.png

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

Solved by Thief1987

  • 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 by Thief1987

  • 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

  • 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 by Thief1987

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.