How can I restore SQL Server database to a custom location, if the backup file was renamed?
You can use the filelistonly option to retrieve the files names in a backup:

restore filelistonly from disk='c:\mumu.bak'