Maidens of the Kaleidoscope

~Hakurei Shrine~ => Help Me, Eirin! => Tech Support => Topic started by: GoKonRin on April 19, 2015, 12:24:11 PM

Title: Creating music files (PMD .M files) for PC98
Post by: GoKonRin on April 19, 2015, 12:24:11 PM
I'm trying to find a way to Turn off the music of SoEW and PoDD while maintaining the sound effects (in game options disable all audio completely).
I have tried deleting the .M files but the game becomes laggy and glitchy.

Is there a way to create a silent .M file?


EDIT: Yay! I figured it out:

First I need to compose some music (if you can call a second of silence "music") using modern Music Macro Language: http://en.wikipedia.org/wiki/Music_Macro_Language
Then, I need to use a compiler MC.EXE which can be found here: http://www5.airnet.ne.jp/kajapon/tool.html
After that, I  booted up my PC98 emulator and compiled my MML file into an .M file.
Finally I just need to use it to replay the .M of the game and repack everything back

Who would have thought fiddling with old computer systems can be that much fun :P
Title: Re: Turn off TH2 TH3 music, but keep sound effects
Post by: Emerald Mint on April 19, 2015, 05:27:14 PM
It sounds like it's constantly polling the system for the music files and wasting processor resources.
Unfortunately I couldn't find any relevant information. Unless there is an emulator out there that can disable individual sound channels. That's all I can think of right now.
Title: Re: Creating music files (PMD .M files) for PC98
Post by: GoKonRin on April 20, 2015, 11:01:29 AM
hmmm,  I wonder if there is a software that can generate a .m file that is silent, Most PC-98 software I can find on google seem to be in Japanese :S
Title: Re: Creating music files (PMD .M files) for PC98
Post by: 98digger on April 25, 2015, 02:28:50 AM
PC-98 owner here. I don't know where you are finding the .M files within PoDD and SoeW, but erasing them probably isn't the best idea.

I haven't found a specific program for shutting off OPNA sound channels (yet), but there may be one on Vector (http://www.vector.co.jp/ (http://www.vector.co.jp/)). You will have to use Google Translate's website translation tool, however, because very little translated/English PC-98 software exists (PC-9800 series computers never appeared outside of Japan). Vector is an excellent site to find PC-98 software on; I've found everything from PMD .m players to i486-specific memory managers. Just make sure your computer is in the Japanese locale while you work with PC-98 DOS files.

If you can't find anything on Vector, then "Hertzdevil", a PC-98 composer, might be able to make you a "silent" .m file. He also knows how to swap .m files around within the code of the PC-98 Touhou games, so I'd try and contact him about making you "sound-only versions" of SoEW and PoDD.

https://www.youtube.com/user/HertzDevil (https://www.youtube.com/user/HertzDevil)
Title: Re: Creating music files (PMD .M files) for PC98
Post by: GoKonRin on April 25, 2015, 12:42:22 PM
Thanks for your reply, I'll try out the stuff at Vector and see if I can working through google translated japanese XD

As for the .M files, I first take out the .DAT files using the diskexplorer, and then extracted the .DAT using TH toolkit to get the .M files. I just need to modify or substitute the appropriate .M files and then pack everything back in to create a audio modified version of my game :P