Author Topic: Creating music files (PMD .M files) for PC98  (Read 3678 times)

Creating music files (PMD .M files) for PC98
« 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
« Last Edit: April 29, 2015, 12:23:11 PM by GoKonRin »

Emerald Mint

  • Gemstone
Re: Turn off TH2 TH3 music, but keep sound effects
« Reply #1 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.

Re: Creating music files (PMD .M files) for PC98
« Reply #2 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
« Last Edit: April 24, 2015, 12:36:26 AM by GoKonRin »

98digger

  • The Master of 9801
  • What? Windows? What's that?
    • The 98th Dimension
Re: Creating music files (PMD .M files) for PC98
« Reply #3 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/). 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

^Notice: I'm bad at writing replies :)    Also: Check out my personal site here: https://themasterof9801.neocities.org/

Re: Creating music files (PMD .M files) for PC98
« Reply #4 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