Users browsing this thread: 2 Guest(s)
sounds in unknown pack format
#5
(02-10-2019, 06:32 PM)Pingu! Wrote: 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):


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.

While I was able to convert them to .wav files, another problem arose. The sounds themselves just broken garbled messes.


Attached Files
.zip   result.zip (Size: 16.12 KB / Downloads: 169)
Reply
Thanked by:


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
RE: sounds in unknown pack format - by blackwind677 - 02-12-2019, 06:09 PM

Forum Jump: