Maidens of the Kaleidoscope

~Hakurei Shrine~ => Rika and Nitori's Garage Experiments => Touhou Projects => Topic started by: TS666 on May 17, 2014, 06:40:59 AM

Title: Touhou Music Room - BGM File that adds support for ISC (14.3)
Post by: TS666 on May 17, 2014, 06:40:59 AM
Hi there!, in this time I'm going to share a finished BGM file to add support to the program Touhou Music Room (http://en.touhouwiki.net/wiki/Game_Tools_and_Modifications#Touhou_Music_Room) so you can exctract music from Impossible Spell Card.

Here I attach two screens to probe the program can read the files and play them:

(http://lh4.googleusercontent.com/AP6ElJyawXQSgT17PMpSyIFPiD6vnKHs2q7ursL6ZlQ=w394-h212-p-no) (http://lh3.googleusercontent.com/-kM1YhbfW6dA/U3ecBh4yOTI/AAAAAAAAAKw/oQSjIHSTAyk/w1366-h736-no/workingSUPERBLY.png)
(https://lh4.googleusercontent.com/dYYWvyCY1f-7-6aUE97Kg5-VWkgFHa_OamQu1kkqRgA=w384-h207-p-no) (http://lh4.googleusercontent.com/dYYWvyCY1f-7-6aUE97Kg5-VWkgFHa_OamQu1kkqRgA=w384-h207-p-no)

OPTION 1
Link: http://mega.co.nz/#!pUV33K5J!SNKSFxvtF4nbr-QOxYzBBELrlZI35KjVt3-I_vAZuyY (http://mega.co.nz/#!pUV33K5J!SNKSFxvtF4nbr-QOxYzBBELrlZI35KjVt3-I_vAZuyY)

OPTION 2 (SEPARATED FILES, IN CASE YOU HAVE PROBLEMS WITH THE O.1)
Link (Thanks to Validon98.): https://drive.google.com/file/d/0B7EiMC40FKulYzZUZnVXdVAzOXM/edit (https://drive.google.com/file/d/0B7EiMC40FKulYzZUZnVXdVAzOXM/edit)
Icon: http://mega.co.nz/#!UAVhVKBJ!dO3A23FBPcNJ4NgsOrt-AWPmB0JujydmBJfyYw3yR9k (http://mega.co.nz/#!UAVhVKBJ!dO3A23FBPcNJ4NgsOrt-AWPmB0JujydmBJfyYw3yR9k)

How to install?: Unzip both .ico and .bgm files into bgminfo directory. If you pick 2nd option download both files on the said folder.

Let us know if anything worked bad!.
Title: Re: TH Music Room - At the end of adding support for extracting BGM from TH14.3
Post by: Araceli Caralyz on May 17, 2014, 07:57:56 AM
Quote from: NamelessLegacy
* Set up a thcrap configuration for 14.3
* Set

"dat_dump": true

in the run configuration
* Run the patched game, quit it as soon as you hear music
* Get the thbgm.fmt file from <th143 directory>/dat
* Copy that into the same directory as valuespit_th07+.exe in the Music Room Interface source distribution
* Run valuespit_th07+.exe
* You're done
* Ideally, re-upload Music Room Interface to a new site and declare yourself as the new maintainer
Title: Re: TH Music Room - At the end of adding support for extracting BGM from TH14.3
Post by: TS666 on May 17, 2014, 03:43:02 PM
Thanks for your help!, but I have a problem, are you sure that I need thcrap just to generate something that will help me to find the said values?.
I can't figure what I need to do until "dat_dump": true so I think I'll do fine with the next steps after this.
Can you explain me a bit more?, I already opened thcrap...
(http://lh4.googleusercontent.com/HmUUJwy3Na6v4BuENeYK06ltbQXrXB3SVImXENGsXmk=w200-h207-p-no) (http://lh3.googleusercontent.com/HmUUJwy3Na6v4BuENeYK06ltbQXrXB3SVImXENGsXmk=w421-h437-no)
Title: Re: TH Music Room - At the end of adding support for extracting BGM from TH14.3
Post by: Validon98 on May 17, 2014, 04:36:43 PM
I think what he actually means is going into the .js file for the configuration and changing the flag:

Code: [Select]
"dat_dump": false
to

Code: [Select]
"dat_dump": true
EDIT:

Actually, to save you the trouble, here's the .bgm file modified with the music file locations changed according to the values generated by the method quoted from NamelessLegacy.

https://drive.google.com/file/d/0B7EiMC40FKulYzZUZnVXdVAzOXM/edit?usp=sharing
Title: Re: TH Music Room - At the end of adding support for extracting BGM from TH14.3
Post by: TS666 on May 17, 2014, 05:21:34 PM
Wow!, you're great!, I added the values I needed and it's working to perfection! :D.
Thanks!, I'll update the file and share it, I think I'm going to deal with DDC too :).

Edit: I recently noticed that you sent me the file, but now these steps are very easy so excuse the mess. Thanks both you for the help :)