Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
khj951218
Posts: 5
Joined: Sun Dec 11, 2022 1:09 am

Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by khj951218 »

I didn't understand English well, so I used the translation site.
I'm sorry.

I got the konami arcade game,
The title is Yu-Gi-Oh Duel Terminal 6, 12 japanese version.

I wanted to listen to the voice of this game, so I looked for ways to listen to it on several sites, but I couldn't find any information about it.

And I tried using foobar2000 and txth files by referring to the post of someone who was looking for the same topic for Konami Arcade game like me, but it didn't work out.
(https://zenhax.com/viewtopic.php?t=17017&p=72075)

I have uploaded voice files of YGO DT 6, 12 jp version on Mega.nz.
The file format is sdp, and the DT12 folder also contains sdp and lst files.
URL
YGO_DT6(2009JP) :
https://mega.nz/folder/h3REFKhS#MV4cOAM6vynZugTD1POHKQ

YGO_DT12(2011JP) :
https://mega.nz/folder/NqwUwZZY#Hc7uLwKx5JYm7hVWJmE2zw

Thank you for reading the long article.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by BloodRaynare »

This should go in "Audio and Video file formats" section but anyway....
The SDP file you've provided is a bit different, so here's the revised TXTH script:

Code: Select all

subsong_count = @0x00$2
channels = @0x02$2
base_offset = 0x40
subsong_spacing = 0x40

start_offset = subsong_count * subsong_spacing + base_offset + @0x10
data_size = @0x14
sample_rate = @0x1c
name_offset = 0x20

codec = OKI4S
num_samples = data_size
khj951218
Posts: 5
Joined: Sun Dec 11, 2022 1:09 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by khj951218 »

Thank you for helping us solve the problem!
And I will be careful about the section from now on.

By the way, I was able to listen to the character voices with the txth you provided, but the MC voices and monster voices in DT6 & 12 are broken.

I tried to solve it, but it didn't solved.

If you don't mind, could you solve it by referring to the voice file I uploaded?
URL : https://mega.nz/folder/o3okTKYK#qVG8NuleUZ2N07lNQuP6_g
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by BloodRaynare »

Turns out there are some mistakes regarding the channel info. I thought it was defined at the start of the SDP file after the number of sounds (offset 0) for all the sounds inside. But just like the Quiz Magic Academy SDPs, each sound entry has their own channel count values, my bad.

Here's the correct TXTH that should fix it:

Code: Select all

subsong_count = @0x00$2
base_offset = 0x40
subsong_spacing = 0x40

channels = @0x06$2 - 3
start_offset = subsong_count * subsong_spacing + base_offset + @0x10
data_size = @0x14
sample_rate = @0x1c
name_offset = 0x20

codec = OKI4S
num_samples = data_size
khj951218
Posts: 5
Joined: Sun Dec 11, 2022 1:09 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by khj951218 »

Thank you so much for helping us solve the problem!
Thanks to you, I was able to listen to the voices in the sdp file.
Blaze Accelerator
Posts: 4
Joined: Wed Dec 21, 2022 3:20 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by Blaze Accelerator »

khj951218 wrote:Thank you so much for helping us solve the problem!
Thanks to you, I was able to listen to the voices in the sdp file.
Could please explain how you were able to listen to the voices? Does this also work with the music? Or if it's not too much trouble, could you convert the sound files or record them? There's a lot of people who have been trying to extract the music and voice files.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by BloodRaynare »

Blaze Accelerator wrote: Could please explain how you were able to listen to the voices? Does this also work with the music? Or if it's not too much trouble, could you convert the sound files or record them? There's a lot of people who have been trying to extract the music and voice files.
Check my post below for the instructions
Should work with both music and voices:
BloodRaynare wrote:For sdp file you can use this txth script to play them directly (You need to install vgmstream plugin and a media player that supports it like foobar2000).

Code: Select all

subsong_count = @0x00$2
base_offset = 0x40
subsong_spacing = 0x40

channels = @0x06$2 - 3
start_offset = subsong_count * subsong_spacing + base_offset + @0x10
data_size = @0x14
sample_rate = @0x1c
name_offset = 0x20

codec = OKI4S
num_samples = data_size
Save the txth script above as ".sdp.txth" (watch the leading dots on the filename) and put it on the same directory as the sdp files. Don't forget to check "Enable unknown exts" on the vgmstream preferences in foobar. Then just drag or open the sdp files there.
Blaze Accelerator
Posts: 4
Joined: Wed Dec 21, 2022 3:20 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by Blaze Accelerator »

BloodRaynare wrote:
Blaze Accelerator wrote:
Check my post below for the instructions
Should work with both music and voices:

I've been trying to get this to work, but I can get it to. I installed the latest version of Foobar2000, installed the component, checked the box, and put the txth file (which someone sent me), but it still won't open the .sdp files. How do I save the text you posted as a .txth file?

This is what i get when I drag the sdp into Foobar.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Konami arcade game Yu-Gi-Oh Duel Terminal File Extraction

Post by BloodRaynare »

Blaze Accelerator wrote:How do I save the text you posted as a .txth file?
What text editor you are using? (I recommend Notepad++)
In Notepad++, add the .txth to the file name field. (Don't worry, NPP will automatically assign the extension to the ones you've manually entered).

Image

But if you're using the regular notepad, first set "Save as type" to "All files", then add the .txth extension.

Image

And note this:
put it on the same directory as the sdp files