Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

sounds in unknown pack format
#4
Download vgmstream:
vgmstream
Make sure you get "test.zip"

Unzip this file and drop it into the root folder of vgmstream (where "test.exe" is located):

.zip   .dat.zip (Size: 223 bytes / Downloads: 362)

Finally extract the provided samples using this QuickBMS script. Copy and paste this code into a txt file and run it with QuickBMS. (QuickBMS can be found here):
Code:
idstring "SGXD"
get NULL long
get OFFSET long
get NULL long #timestamp?
idstring "WAVE"
get NULL longlong
get ENTRIES long
get ZERO long

for i = 0 < ENTRIES
    get FNOFF long
    savepos CUR_OFF
    goto FNOFF
    get NAME string
    goto CUR_OFF
    get NULL long
    get FREQUENCY long
    goto 0x1c 0 SEEK_CUR #skip
    get SIZE long
    goto 0xC 0 SEEK_CUR #another skip
    string NAME += ".dat"
    log MEMORY_FILE 0 4
    putvarchr MEMORY_FILE 0 FREQUENCY long
    log MEMORY_FILE2 0 4 MEMORY_FILE
    append
    log MEMORY_FILE2 OFFSET SIZE
    append
    get FSZ asize MEMORY_FILE2
    log NAME 0 FSZ MEMORY_FILE2
math OFFSET + SIZE
next i

Once you finish that, you should be able to drag the .dats onto "test.exe" in the vgmstream folder, and they will convert to wav.
Reply


Messages In This Thread
sounds in unknown pack format - by blackwind677 - 02-07-2019, 08:54 AM
RE: sounds in unknown pack format - by Pingus! - 02-07-2019, 01:56 PM
RE: sounds in unknown pack format - by Pingus! - 02-10-2019, 06:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)