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.

Questions about vpc ans str files

Featured Replies

  • Author
  • Localization

terry336, posted Fri Jul 08, 2022 12:30 pm (72531)


Hello, I extracted a str audio file from an arcade game, is there any software to open this type of file or a script to convert it to a common audio format?
I also extracted, from the same arcade game, a vpc archive file which contains adx audio files, how to extract them?
  • Author
  • Localization

BloodRaynare, posted Fri Jul 08, 2022 12:41 pm (72532)


From a quick glance at the STR file, I assume this game was a SEGA NAOMI title? You need to tell us what the name of the game.
Anyway, STR file is playable with vgmstream plugin by just renaming the extension from STR to SPSD or if using foobar2000, just check "Enable unknown exts" in the vgmstream preference without need to renaming the extensions. As for VPC, I need to look at it more.
  • Author
  • Localization

terry336, posted Fri Jul 08, 2022 1:05 pm (72533)


BloodRaynare wrote:
From a quick glance at the STR file, I assume this game was a SEGA NAOMI title? You need to tell us what the name of the game.
Anyway, STR file is playable with vgmstream plugin by just renaming the extension from STR to SPSD or if using foobar2000, just check "Enable unknown exts" in the vgmstream preference without need to renaming the extensions. As for VPC, I need to look at it more.


Ok, I will test and the name of the game is Dinosaur King - Operation Dinosaur Rescue.
  • Author
  • Localization

BloodRaynare, posted Fri Jul 08, 2022 1:06 pm (72534)


Here's the BMS script to extracting ADX audio from the VPC file:

Code:
get FILES long

for i = 0 < FILES
   get OFFSET long
   get SIZE long
   putarray 0 i OFFSET
   putarray 1 i SIZE
next i

for i = 0 < FILES
   getDstring NAME 20
   putarray 2 i NAME
next i

savepos REL_OFFSET

for i = 0 < FILES
   getarray OFFSET SIZE NAME 0 i
   math OFFSET REL_OFFSET
   log NAME OFFSET SIZE
next i
  • Author
  • Localization

terry336, posted Sat Jul 09, 2022 3:44 pm (72552)


BloodRaynare wrote:
Here's the BMS script to extracting ADX audio from the VPC file:

Code:
get FILES long

for i = 0 < FILES
   get OFFSET long
   get SIZE long
   putarray 0 i OFFSET
   putarray 1 i SIZE
next i

for i = 0 < FILES
   getDstring NAME 20
   putarray 2 i NAME
next i

savepos REL_OFFSET

for i = 0 < FILES
   getarray OFFSET SIZE NAME 0 i
   math OFFSET REL_OFFSET
   log NAME OFFSET SIZE
next i


Thanks you very much for the help, it's working.
Guest
This topic is now closed to further replies.

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.