Skip to content

Sonic & Knuckles credits and title themes SMPS2MID trouble

Technical discussion which is not directly related to VGM files. Talk about Hardware and Software.

Moderator: Staff

Sonic & Knuckles credits and title themes SMPS2MID trouble

Post by GamingGardevoir »

I want to rip the Credits Theme and Title theme from Sonic 3 & Knuckles with SMPS2MID, but they keep saying "Invalid number of channels". I saw a post from Valley Bell saying to get the music files from his SMPS Research Pack, but they are .s3k files and SMPS2MID won't read them.
  • User avatar
  • ValleyBell Offline
  • Posts: 4783
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Re: Sonic & Knuckles credits and title themes SMPS2MID trouble

Post by ValleyBell »

If you load raw, binary SMPS files (regardless of their extension), you need to set the "Z80 Mem Base" value correctly.
It needs to be set to the address that the Z80 sound CPU sees the song at. (which is the plain address in the ROM, because the Z80 can only see 32 KB parts of the ROM at once)

In case of S&K, you can get that one from the Sonic Community Hacking Guide.

Re: Sonic & Knuckles credits and title themes SMPS2MID trouble

Post by GamingGardevoir »

ValleyBell wrote: 2023-12-21, 15:58:51 If you load raw, binary SMPS files (regardless of their extension), you need to set the "Z80 Mem Base" value correctly.
You say “regardless of extension”, but SMPS2MID refuses to see the files that aren’t .bin .sms or .32x; does this mean I can change the extension from .s3k to .bin and it will work correctly (assuming I put in the proper Mem Base value)?
  • User avatar
  • ValleyBell Offline
  • Posts: 4783
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Re: Sonic & Knuckles credits and title themes SMPS2MID trouble

Post by ValleyBell »

You can *always* force the file open dialog to see arbitrary files by entering a file mask with wildcards as a file name and pressing Return.
But yes, you could also just rename it to .bin.

By now, file extensions for SMPS files are mostly intended for users to easily identify the variant of the format. (This used to be different with SMPSPlay v1, but since v2 the file extension doesn't matter at all anymore.)
Post Reply