News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Create audio-only HD pack for Mesen  (Read 990 times)

Kilo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Create audio-only HD pack for Mesen
« on: June 23, 2019, 01:56:44 pm »
I want to make an HD pack for FDS metroid that does nothing but replace the music with Luminism's analog synth soundtrack. When I use the HD pack recorder tool, it doesn't record audio. Will I also have to include the default graphics by playing through the whole game or can you just make music packs?

mkwong98

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Create audio-only HD pack for Mesen
« Reply #1 on: June 24, 2019, 09:29:30 am »
I think you can just make music packs. Start the game, start the recorder and stop it as quickly as you can. The recorder will generate the hires.txt file in the HD pack folder with graphics recorded up to that point. Then open the file with a text editor and delete lines with <img> tag and <tile> tag. Delete all generated png files in that folder too.

Kilo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Create audio-only HD pack for Mesen
« Reply #2 on: June 24, 2019, 09:36:30 pm »
That doesn't work for either the NES or FDS ROM for me. They're organized like documents\mesen\hdpacks\metroid.zip\metroid\(hires.text and music). The music is named identically to how it is in the MetroidHD HD pack.

mkwong98

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Create audio-only HD pack for Mesen
« Reply #3 on: June 26, 2019, 11:54:30 am »
My previous post about removing the graphics from newly recorded pack. Are you modifying the MetroidHD pack or making a new one? Either way, you need a patch that enable the audio replacement for the ROM. Then you need to edit the hires.txt file to tell the emulator how to replace the music.

Kilo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Create audio-only HD pack for Mesen
« Reply #4 on: June 26, 2019, 12:16:33 pm »
What I'm doing is following your instructions on removing the PNGS/editing the text file but taking the music files from the MetroidHD pack and putting them in. Could you tell me about this patch and further modifying the hires.txt file?

mkwong98

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Create audio-only HD pack for Mesen
« Reply #5 on: June 26, 2019, 07:13:20 pm »
You can read more about this here:
https://www.mesen.ca/docs/hdpacks.html#replacing-audio-in-games
You need to patch the game to send data to those specific memory addresses when you want the emulator to play music. The emulator will pick up those and look up which music file to play in the hires.txt file.

Kilo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Create audio-only HD pack for Mesen
« Reply #6 on: June 26, 2019, 07:32:54 pm »
Where can I get this patch though? I see no mention of it in the documentation you linked.

mkwong98

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Create audio-only HD pack for Mesen
« Reply #7 on: June 27, 2019, 03:43:31 am »
The patch is game specific, there is no generic patch which work for all games. So either you make one or you can try asking the author of MetroidHD to help you with it.