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.
Zero Tolerance for Disrespect

Big Win Racing (mobile) - need help extracting files

Featured Replies

Been trying to extract some textures and sprites from a mobile game I used to play, and I'm very close but I have no idea what to do from here.
Using hxd, I was able to find hundreds of .ktx, .pvr, and .dds files stored inside a single .mp3 file called "content.mp3", located in the /assets/ folder of the .apk
I have no idea how to decompress .mp3 files or get the files out, so I've attached the file here in hopes that someone else here will be able to help out. Thanks!

content.mp3 (file is 34.7MB so I can't attach it directly) https://drive.google.com/file/d/1_ixdTbhHgllyaAJAq27RiIKfjli6GYm9/view?usp=sharing

Edited by lumbud84

Solved by BloodRaynare

  • Supporter
  • Solution

Here's a QuickBMS script to extract the files off it
 

## Big Win Racing (mobile) - content.mp3 extractor script by BloodRaynare

IDstring "\x4f\xf3\x2f\xac"
get UNK long
get NAME_ENTRY_SZ long
get FILES long
savepos NAME_ENTRY_OFF
xmath TOC_ENTRY_OFF "NAME_ENTRY_OFF + NAME_ENTRY_SZ"

goto TOC_ENTRY_OFF

for i = 0 < FILES
	math CUR_PATH_POS = 0
	math CUR_FNAME_POS = 0
	
	get PATH_OFF long
	get FNAME_OFF long
	get CMP_FLAG long
	if CMP_FLAG == 2
		comtype lzma_dynamic
	else
		comtype deflate
	endif
	get OFFSET long
	get SIZE long
	get ZSIZE long
	savepos CUR_TOC_POS
	xmath CUR_PATH_POS "NAME_ENTRY_OFF + PATH_OFF" 
	xmath CUR_FNAME_POS "NAME_ENTRY_OFF + FNAME_OFF"
	goto CUR_PATH_POS
	get PATH string
	goto CUR_FNAME_POS
	get FNAME string
	string NAME p "%s/%s" PATH FNAME
	if CMP_FLAG > 0
		clog NAME OFFSET ZSIZE SIZE
	else
		log NAME OFFSET ZSIZE
	endif
	goto CUR_TOC_POS
next i

 

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.