Ford Racing 3 (PC) .SPC

Codecs, formats, encoding/decoding of game audio, video and music
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Ford Racing 3 (PC) .SPC

Post by Puterboy1 »

I would like to know if these can be extracted.
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Ford Racing 3 (PC) .SPC

Post by Anexenaumoon »

This should do the trick:

Code: Select all

# Ford Racing 3 SPC Archives


get FCOUNT long
savepos CUR_OFF
xmath OFFSET "(FCOUNT * 0x4C) + CUR_OFF"
for i = 0 < FCOUNT
   getdstring NAME 0x20
   goto 0x28 0 SEEK_CUR
   get SIZE long
   string NAME + ".WAV"
   log NAME OFFSET SIZE
   math OFFSET + SIZE
next i