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.

[PS2] Soukou Kihei Votoms : Attempting to open .000/001/002 files

Featured Replies

  • Author
  • Localization

RShibbs, posted Thu Nov 10, 2022 1:39 am (74176)


Hi there
Over the past hour or so, I've been messing with and trying to open the various files within the PS2 Armored Trooper VOTOMS game, namely the AFS and .000/1/2 files, in order to get at the sound effects. I've already figured out how to explore the .AFS files, which contains VA, music, and the prerendered cutscenes, however the biggest files are these .000 files and I'm unable to open them. Is there anyone here who possibly could? Or at least give me the tools to do so.
Thank you for your time, attached is the extracted file structure of the ISO if that's any help.
  • Author
  • Localization

BloodRaynare, posted Thu Nov 10, 2022 2:35 am (74177)


000, 001, and 002 files are just dummy data as it's name suggest which it's purpose just to fill the disc so the actual game data can be pushed to the outer edge of the disc for faster reading (CMIIW). If anything, the file of interest here is _DATA.DIP as it might be contains the sound effects you were looking for.

Post the _DATA.DIP here so it can be looked into.
  • Author
  • Localization

RShibbs, posted Thu Nov 10, 2022 3:02 am (74178)


Ah I see. Is there any site you would prefer for me to upload it to, or specific compression? It's about 300mb and it won't upload to here.
  • Author
  • Localization

BloodRaynare, posted Thu Nov 10, 2022 3:21 am (74179)


RShibbs wrote:
Ah I see. Is there any site you would prefer for me to upload it to, or specific compression? It's about 300mb and it won't upload to here.


Use something like Google drive or MEGA.
  • Author
  • Localization

RShibbs, posted Sat Jan 28, 2023 12:49 am (75184)


...probably should've asked months ago, but did the link work?
  • Author
  • Localization

BloodRaynare, posted Sat Jan 28, 2023 1:02 am (75185)


RShibbs wrote:
...probably should've asked months ago, but did the link work?


Yes, I've already downloaded it the moment you've posted it here. Still working on the script (There's a problem with the directory structure due to how the TOC's laid out or maybe I can skip it and just concentrate to extract the files ignoring the directory stuff the only problem is there are files with same name but different content).
  • Author
  • Localization

RShibbs, posted Thu Feb 09, 2023 11:29 pm (75383)


Honestly if it's all organized by at least file type I am willing to dig through endless files, but whatever works better for you honestly.
  • Author
  • Localization

BloodRaynare, posted Fri Feb 10, 2023 12:35 am (75384)


Well, you know what, screw the directory structure. I decided to ignore all that jazz.

Here's the BMS script to extract the files off _DATA.DIP

Code:
get INFO_OFF_LEN long
xmath FILES "INFO_OFF_LEN / 0x0c"
get NAME_ENTRY_SZ long
get DATA_SZ long
get INFO_OFF long
get NAME_OFF long
get DATA_OFF_START long

xmath NAME_ENTRY_NUM "NAME_ENTRY_SZ / 0x20"
goto NAME_OFF

for i = 0 < NAME_ENTRY_NUM
   getDstring FNAME 0x20
   putarray 0 i FNAME
next i

goto INFO_OFF

for i = 0 < FILES
   get UNK short
   get NAME_ARRAY_NUM short
   getarray NAME 0 NAME_ARRAY_NUM
   get SIZE long
   get OFFSET long
   math SIZE * 0x20
   math OFFSET DATA_OFF_START
   if UNK == 0
      continue
   else
      log NAME OFFSET SIZE
   endif
next i


If QuickBMS asks you to overwrite the files, choose that or you can make it to automatically rename the files.

Sound effects are inside the bd/snd file combo.
  • Author
  • Localization

RShibbs, posted Mon Feb 13, 2023 5:45 am (75411)


Oh awesome it worked, thank you!
Do you guys have anything for opening or extracting the bd and snd files? If not that's okay, but if you could point me in a direction that'd be very appreciated.
  • Author
  • Localization

BloodRaynare, posted Mon Feb 13, 2023 10:12 am (75412)


RShibbs wrote:
Oh awesome it worked, thank you!
Do you guys have anything for opening or extracting the bd and snd files? If not that's okay, but if you could point me in a direction that'd be very appreciated.


You can use this script to extract the snd file (That's the one you need, since it contains the HD file necessary for correct sample rate playback, among other things).

Code:
get NAME basename

goto 0x08
get HD_SZ long
get HD_OFF long
get BD_SZ long
get BD_OFF long

string HD_NAME p "%s.hd" NAME
string BD_NAME p "%s.bd" NAME

log HD_NAME HD_OFF HD_SZ
log BD_NAME BD_OFF BD_SZ


The BD files alone are just the headerless Sony ADPCM audio data.

Then put this TXTH script below and save it as ".bd.txth" and put it on the same directory as as .HD/.BD combo file. Then play (and extract) the BD files with vgmstream plugin installed to any media players that supports it or just use the command-line tools

Code:
header_file = *.hd
body_file = *.bd

codec = PSX
channels = 1

base_offset = 0x50
subsong_count = @0x0c 1
base_offset = base_offset @0x10
subsong_spacing = 0x08

start_offset = @0x00
sample_rate = @0x04$2

num_samples = data_size


Note for foobar components: By default, it won't play any files with unsupported extension, so you must enable these options in the preference to making it work:

Image

Oh, by the way, I've updated the _DATA.DIP extraction scripts again. I forgot to multiply the size field to 0x20, causing incomplete extraction for all the files.
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.