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.

[SOLVED] ADPCM audio from Tt Fusion *.fmv movies (FMV! identifier)

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Fri Jun 10, 2022 9:04 pm (71943)


https://1fichier.com/?yn94ut9bxsnjzbc8mnpq

Can somebody try to find out which audio format these stream are and hint me in a direction as to which header they need? I've been playing around with genh but to no avail. All files are 48kHz, probably stereo.
Thanks!
  • Author
  • Localization

BloodRaynare, posted Fri Jun 10, 2022 9:58 pm (71945)


The codec is DVI IMA ADPCM. However, I don't know if genh include support for that. FWIW here's the txth script for them:

Code:
codec = DVI_IMA
channels = 2
sample_rate = 48000
num_samples = data_size
  • Author
  • Localization

AlphaTwentyThree, posted Sat Jun 11, 2022 10:28 am (71960)


perfect, thanks a lot :)
  • Author
  • Localization

AlphaTwentyThree, posted Tue Jun 14, 2022 7:36 am (72031)


BloodRaynare wrote:
The codec is DVI IMA ADPCM. However, I don't know if genh include support for that. FWIW here's the txth script for them:

Code:
codec = DVI_IMA
channels = 2
sample_rate = 48000
num_samples = data_size

Somehow I can't get those files to play, I only get an error message (Unable to open item for playback). Anything I have to consider? Just created a *.txth file with the above information for each stream.
  • Author
  • Localization

BloodRaynare, posted Tue Jun 14, 2022 7:45 am (72032)


AlphaTwentyThree wrote:
Somehow I can't get those files to play, I only get an error message (Unable to open item for playback). Anything I have to consider? Just created a *.txth file with the above information for each stream.


You'll need to check "Enable unknown exts" on the vgmstream preference in foobar.
  • Author
  • Localization

AlphaTwentyThree, posted Tue Jun 14, 2022 7:49 am (72033)


BloodRaynare wrote:
AlphaTwentyThree wrote:
Somehow I can't get those files to play, I only get an error message (Unable to open item for playback). Anything I have to consider? Just created a *.txth file with the above information for each stream.


You'll need to check "Enable unknown exts" on the vgmstream preference in foobar.

same error still...
  • Author
  • Localization

BloodRaynare, posted Tue Jun 14, 2022 7:56 am (72036)


AlphaTwentyThree wrote:
same error still...


What's your txth name? it should be (dot)(extension)(dot)txth (So in your example it would be ".raw.txth") for all the raw files in the same directory. If it's per file, just do (name)(dot)(extension)(dot)txth.
  • Author
  • Localization

AlphaTwentyThree, posted Tue Jun 14, 2022 8:00 am (72037)


BloodRaynare wrote:
AlphaTwentyThree wrote:
same error still...


What's your txth name? it should be (dot)(extension)(dot)txth (So in your example it would be ".raw.txth") for all the raw files in the same directory. If it's per file, just do (name)(dot)(extension)(dot)txth.

It is. That's the thing. I'm quite stumped here tbh as it should clearly work...
  • Author
  • Localization

BloodRaynare, posted Tue Jun 14, 2022 8:04 am (72038)


AlphaTwentyThree wrote:
It is. That's the thing. I'm quite stumped here tbh as it should clearly work...


This is maybe kind of shot in the dark, but try check the "Enable common exts" as well.
Also, you just need to drag the raw files, not the txth files in case you didn't know.
  • Author
  • Localization

AlphaTwentyThree, posted Tue Jun 14, 2022 8:49 am (72040)


BloodRaynare wrote:
Also, you just need to drag the raw files, not the txth files in case you didn't know.

Oh god, I DID NOT KNOW! :roll:
Yeah, works now. ;)
  • Author
  • Localization

AlphaTwentyThree, posted Tue Jun 14, 2022 11:30 am (72046)


forget my message, solved it
  • Author
  • Localization

BloodRaynare, posted Tue Jun 14, 2022 11:34 am (72047)


AlphaTwentyThree wrote:
Sorry, I need to get back to you again... I've established a pseudo-format for these audio streams with the needed information at the start of the stream. I've written this txth, but it doesn't work:
Code:
codec = DVI_IMA
sample_rate = @0x4
channels = @0x08
start_offset = 0x10
num_samples = @0

What's wrong here?


From my experience, if num_samples is not "data_size", then you must specify the data_size itself. You can find the txth commands and what does they do here: https://github.com/vgmstream/vgmstream/ ... oc/TXTH.md
  • Author
  • Localization

AlphaTwentyThree, posted Tue Jun 14, 2022 11:40 am (72048)


here's the correct txth:
Code:
codec = DVI_IMA
sample_rate = @0
channels = @6$1
start_offset = 8
num_samples = data_size - start_offset

made an error with the length of the variables
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.