First of all I do not understand English so I use a translation site
I'm sorry.
I got the Windows XP PC based arcade game from Konami
The title is Quiz Magic Academy and I got the 6th and 7th game and the 9th game, The Philosopher's Door.
I wanted to listen to the background music, so I looked it up, but no information came up, so I created a topic to ask if it is possible to extract the files.
This game has several files with the extension "qar", and the contents are all in one file.
There is also one file with the extension qarz, which is about 5 MB.
I have looked into qar and qarz, but have been unable to find any information.
The titles are numbered up to the 8th title.
Perhaps the contents of the files have changed since the 9th title.
The files I got for the 6th and 7th titles have the same structure.
The ninth game has the game contents in two files.
data_01_02.dat and data_02_02.dat.
I tried looking at the contents in a binary editor, but I couldn't figure it out.
I have uploaded to Mega.nz a file with about 7MB cut from the beginning of the file that I believe contains the audio file of the sixth game, and an image of the end of the file displayed in a binary editor.
I also uploaded a 16MB cutout of data_01_02.dat from the 9th film.
URL:
https://mega.nz/folder/fIwSlBLQ#9zL3Krl456iSDGGmO4yReg
That's all I know.
Thanks for reading this long story.
File Extraction for the Konami PC-based arcade game Quiz Magic Academy
-
- Posts: 8
- Joined: Sun Jun 12, 2022 6:51 pm
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
Re: File Extraction for the Konami PC-based arcade game Quiz Magic Academy
Here's the BMS script to handle both of your samples:
QMA6 & QMA7
QMA9
Save the scripts above as bms file (ex: qma6.bms) then use QuickBMS to run the scripts.
Edit: Added check routine for QMA6 script in case it tries to read beyond the QAR filesize boundaries.
QMA6 & QMA7
Code: Select all
IDString "QAR\x0"
get FILES long
get QAR_SZ asize
for i = 0 < FILES
getDString NAME 0x84
get UNK long
get SIZE long
get ZERO long
savepos OFF_START
string NAME <- 14
log NAME OFF_START SIZE
math OFF_START + SIZE
if OFF_START >= QAR_SZ
break
else
goto OFF_START
endif
next i
QMA9
Code: Select all
get UNK1 long # File count?
get UNK2 long
for i = 0 < UNK1
get UNK3 byte
get NAME_LEN long # Name length
get SIZE long
get UNK5 long
get UNK6 long
get UNK7 long
get UNK8 long
getDstring NAME NAME_LEN
savepos OFF_START
log NAME OFF_START SIZE
math OFF_START + SIZE
goto OFF_START
next i
Save the scripts above as bms file (ex: qma6.bms) then use QuickBMS to run the scripts.
Edit: Added check routine for QMA6 script in case it tries to read beyond the QAR filesize boundaries.
-
- Posts: 8
- Joined: Sun Jun 12, 2022 6:51 pm
Re: File Extraction for the Konami PC-based arcade game Quiz Magic Academy
I was able to extract it successfully, thank you!
However, the format of the file I was looking for was sdp, which I couldn't find any information on.
If you know anything about it, please let me know
QMA9's contents were difficult to find out.
I give up on QMA9.
Thank you very much.
However, the format of the file I was looking for was sdp, which I couldn't find any information on.
If you know anything about it, please let me know
QMA9's contents were difficult to find out.
I give up on QMA9.
Thank you very much.
-
- Posts: 8
- Joined: Sun Jun 12, 2022 6:51 pm
Re: File Extraction for the Konami PC-based arcade game Quiz Magic Academy
I have uploaded the Wave_bgm.sdp and wave_bgm.lst sample files to Mega.nz
I hope the sample files can give you some insight.
I hope the sample files can give you some insight.
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
Re: File Extraction for the Konami PC-based arcade game Quiz Magic Academy
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).
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.
Code: Select all
subsong_count = @0x00
base_offset = 0x40
subsong_spacing = 0x40
channels = @0x08 - 3
start_offset = subsong_count * subsong_spacing + @0x14
data_size = @0x18
loop_start = @0x1c
loop_end = data_size
sample_rate = @0x20
name_offset = 0x24
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.
-
- Posts: 8
- Joined: Sun Jun 12, 2022 6:51 pm
Re: File Extraction for the Konami PC-based arcade game Quiz Magic Academy
The loop position seems to be incorrect, but I was able to play it back.
Thank you very much.
I deleted the file uploaded to Mega.nz
Thank you very much.
I deleted the file uploaded to Mega.nz
-
- Posts: 8
- Joined: Sun Jun 12, 2022 6:51 pm
Re: File Extraction for the Konami PC-based arcade game Quiz Magic Academy
Excuse me again.
I was able to play the bgm.
se.sdp and voice.sdp are not playable.
se.sdp says Unable to open item for playback (Unsupported format or corrupted file)
voice.sdp only plays noise
Postscript.
My apologies.
I tried everything and now I can play it.
Sorry for the trouble.
I was able to play the bgm.
se.sdp and voice.sdp are not playable.
se.sdp says Unable to open item for playback (Unsupported format or corrupted file)
voice.sdp only plays noise
Postscript.
My apologies.
I tried everything and now I can play it.
Sorry for the trouble.