News:

11 March 2016 - Forum Rules

Main Menu

Sailor Moon 3DO Voices

Started by justin3009, December 30, 2013, 07:02:35 PM

Previous topic - Next topic

justin3009

I saw this months ago and was diving into a bit and hoping I could get the programs to work.  Apparently, they don't work under Windows 7 but they DO under windows XP.

http://kaele.com/~kashima/games/3do_dir-e.html

nload is here => 3do_cp10.lzh - The main file with all the programs apparently.

http://www.mediafire.com/download/00w1zip6ef7872a/SE00.PAK - This is the example file I'm using that was ripped from the 3D0 game.

I'm a bit confused when it comes to the program 'unpak.exe'

It's listed as:

Quoteunpak.exe   extract *.PAK file in Sailor-Moon.

But if you try running the program on a .PAK file (As with the SE00.PAK), it just lists the files INSIDE the pak and doesn't exactly EXTRACT them from what I've been testing.  I'm a bit confused on this.  Minus that, are the numbers listed next to each file just how long each file is?  I'm really unsure how the compression works on this.



Translating the readme.txt using Google's weird translation system says this as well about the format.

'Sailor Moon is *. ADP file is AIFC format but, ADP4 compression'

Not exactly sure if that how the sound compression is.  You CAN actually import the sounds by RAW data into Audacity using VOX ADPCM but it gets some funky data.  Some bits are cut off, some volume is way off, etc.. It's not perfect but it's not exactly usable either.

Edit: Google gives more information.  It's ADP4 4:1 Intel/DVI ADPCM apparently.

Edit 2: I guess I figured most of that out.  The numbers listed by the side ARE the lengths of each file.  I guess the real question is, does anyone know of any kind of converter for this?  Something with AmigaPlus or what not.. but not really sure.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

Jorpho

Judging from unpak.c, it looks like listing the contents is the only thing unpak.exe is supposed to do.  But don't take my word for it.  (It is certainly not the standard .pak archive from the days of yore.)
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

justin3009

Yeah, it's really, really old.  Apparently the format the sounds are in are.. well ridiculously hard to find any program to convert them.  I think the ones I found were specifically for running it on the system itself or something.  I can't find anything else.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

BRPXQZME

Well, if you run UNPAK.EXE on the PAK without the -v flag, it should extract right into the working directory (if you want to compile for a modern machine, be sure to change the header struct so it doesn't just assume a "long" is 32 bits).

I'm sure it's not quite right, but it looks like you can get passable results out of these extracted ADPCM files from raw audio import in Audacity by
- setting the format to VOX ADPCM
- skipping the header with the start offset feature (look for the SSND chunk, skip the 12 bytes after that, and the rest of the file is sound; in MOON04.ADPCM this is 364 bytes)
- using the right sample size (same file specifies 16-bit in the COMM chunk), and
- setting the sample rate appropriately (same file specifies 400DAC44000000000000; since no online calculator seems to acceept S.A.N.E. 80-bit floating point and I'm not quite ready to write up a converter if it's not wanted, I'm gonna say "22kHz sounds okay").
we are in a horrible and deadly danger

Jorpho

#4
I forgot to mention that unpak.exe appears to be a standard DOS program and will run in DOSBox or Windows 7 32-bit.  (In theory you could probably compile unpak.c into a 32-bit executable format that will run under Windows 7 x64, but I wouldn't know how.)

...Oh, except DOSBox doesn't understand long file names, which is precisely what the program immediately tries to create.  That would be why it wasn't working for me.  Oops.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

justin3009

#5
Whenever I tried doing unpak, it just kept saying '3d0_upk: No such file or directory' even with the file specifically there.  I was working on trying to convert it to a modern machine as well but then it just kept freaking out. (Though, I'm not so much a coder anymore with any language so that probably didn't help).

I was using the audacity method before hand and it does work for the most part, but the audio is janky.  The volume in spots sky rockets off the chart which causes some obnoxiously loud voices that don't work out so well.  I'm not sure if that's HOW they are or if just Audacity being a jerk.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

BRPXQZME

Checking around, it seems vgmstream has support for ADP4, but it doesn't seem to like these particular files for some reason that will require debugging to find. FFmpeg doesn't seem to have ADP4 support natively, and the AIFF reader isn't completely honest on why it doesn't like these files, and while there is probably some easy way to jury rig some other existing code into practical ADP4 support, I'd have to spend significant time figuring out which wire goes where (significantly more than this exploratory exercise, anyway). So close, yet so far.

By the way: 400DAC44000000000000 means 22050Hz.

(In other news, I like it when C programs give helpful, non-misleading logs of where things messed up :-X)

Quote from: justin3009 on January 07, 2014, 08:25:49 PM
Whenever I tried doing unpak, it just kept saying '3d0_upk: No such file or directory' even with the file specifically there.  I was working on trying to convert it to a modern machine as well but then it just kept freaking out. (Though, I'm not so much a coder anymore with any language so that probably didn't help).
Are you running 3do_upk or unpak? Despite whatever the "usage" string says, it should be the name of the executable.
we are in a horrible and deadly danger

Jorpho

Quote from: justin3009 on January 07, 2014, 08:25:49 PMWhenever I tried doing unpak, it just kept saying '3d0_upk: No such file or directory' even with the file specifically there.
It gives the same error message in DOSBox because it tries to create the file 18.AIFF225edit.aifc and fails in the process.  Are you running the program from a directory for which you have write permissions?
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

justin3009

#8
Quote from: BRPXQZME
Are you running 3do_upk or unpak? Despite whatever the "usage" string says, it should be the name of the executable.

There's no 3do_upk in the directory whatsoever.  Just unpak.  I got it working now but it's just doing 'Permission Denied' repeatedly now even in a folder WITH write permissions.

Quote from: JorphoIt gives the same error message in DOSBox because it tries to create the file 18.AIFF225edit.aifc and fails in the process.  Are you running the program from a directory for which you have write permissions?

I definitely am.  I'm not sure what's going on at this point.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

Zoinkity

To be completely honest, for things like this I gave up entirely with DOSbox and just installed DOS in a virtual machine.  It runs as it normally would, and the files can be copied off its virtual hard drive to Windows without the horrors of file permissions getting involved.  Heck, you could install win3x or win9x if you wanted a GUI to go with it.

I only mention it since the complication here is getting the OS to cooperate.  Had a similar problem running the official RNC tools to verify the documentation.

Jorpho

The code looks simple enough to re-write in Python or anything else – but alas, I have no time for such an exercise presently.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

goldenband

There's an old Mac OS Classic app, SoundApp, that may be able to convert these compressed AIFC soundfiles into a more friendly format (not sure if it can do the reverse). Once you're able to get them extracted, if you can't run SoundApp yourself, send me a PM and I'll boot up my PPC machine and see what I can do.

Also, the folks at 3DO Zone may be able to help.

BTW will you be hacking the 3DO version, or bringing these soundfiles into a different port? From what I understand, many 3DO games are eminently hackable and store their script files in plaintext on the disc!

justin3009

I never thought about hacking it at all, just wanted to gather more Sailor Moon voices with the mini collection that my friend and I have gathered through ripping from the anime/games.  If it's possible to hack it, I may actually take a whack at that.  I didn't even think about that before.

I would LOVE if you'd try booting it up when it's not a bother for you.  I can do what I can to try and help where it's needed.

Also, didn't know about 3D0 ZONE.  I'll have to bookmark that and look around when I have time later this week.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

goldenband

#13
Quote from: justin3009 on January 20, 2014, 05:23:21 PM
I never thought about hacking it at all, just wanted to gather more Sailor Moon voices with the mini collection that my friend and I have gathered through ripping from the anime/games.  If it's possible to hack it, I may actually take a whack at that.  I didn't even think about that before.

That'd be great. I don't know whether any of the in-game voice samples could be replaced with matching copies from one of the dubs, but if so, I'm sure that'd be welcomed.

Quote from: justin3009 on January 20, 2014, 05:23:21 PMI would LOVE if you'd try booting it up when it's not a bother for you.  I can do what I can to try and help where it's needed.

I'm 98% sure SoundApp can handle those files, so just let me know when you've got them extracted and we can do a file exchange over Dropsend, etc.

Quote from: justin3009 on January 20, 2014, 05:23:21 PMAlso, didn't know about 3D0 ZONE.  I'll have to bookmark that and look around when I have time later this week.

It's a quiet site, but a quality one. BTW just so you know, it's definitely 3DO with a capital letter O, not three-dee-zero.