Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a simple, freeware executable (48KB in size, that's about all the info I have on it).

I got it a few years back and can't remember where it's from. It's a worthless program to me now, but it has this really beastly .midi song (or some type of music file) playing in the background.

I have tried a few decompilers, such as Universal Extractor. I don't want source code, what I would love to get is the music file, because I have no idea what it is called. I don't have a microphone, or I would use a service such as SoundHound or something.

Would anyone happen to know of any decompilers that are capable of doing this?

share|improve this question
7  
chuckle would it happen to be a keygen? ;p –  Journeyman Geek Apr 11 '12 at 23:38
    
Haha of course not =p It's just an old file I would like to get of.. but that song is so catchy! –  ekaj Apr 11 '12 at 23:39
    
How do you expect us to know what "this" executable is, when you don't give specifics about it? You may be better off using a virtual sound card or similar solution to record the music. –  iglvzx Apr 11 '12 at 23:40
    
All it does is play a song and display some swirling colors, there's not a whole lot to it. If there is at least a program that can analyze what the file was compiled with, so I can find a suitable decompiler, or something else, any help would be much appreciated. –  ekaj Apr 11 '12 at 23:42
    
OH, DEMOSCENE... that might make sense. –  Journeyman Geek Apr 12 '12 at 1:52

3 Answers 3

up vote 2 down vote accepted

An alternative solution would be to open the executable and record the song directly with software such as Audacity and save it.

share|improve this answer
1  
@ekaj you can set up Audacity to record "what you hear" without a mic. Here's a tutorial: youtube.com/watch?v=hOaOeSzFO5U –  Nate Koppenhaver Apr 12 '12 at 2:05
    
@NateKoppenhaver trying to get this to work in Win7.. –  ekaj Apr 15 '12 at 1:47
    
You will only be able to record "What u hear" if your soundcard supports this function. Otherwise, you can connect a cable between your headphone output to the microphone input, and set Audacity to record from the mic. –  TheTurkey Jul 10 at 10:42

A manual solution would be to open up the EXE in a hex editor and search for a MIDI header. This page describes the MIDI format a little bit, including the header pattern. If/once you find the header, you could either manually track the chunks until you reach the end, or copy everything after that point into a separate .mid file and see if any MIDI-editing programs can open it and truncate the non-MIDI data.

share|improve this answer
    
IMO it's more likely to be a module format (mod/xm/s3m/it) than MIDI. e. g. fileformat.info/format/xm/corion.htm –  user55325 Apr 12 '12 at 5:07
    
Couldn't find the MIDI header, but thanks for the suggestion –  ekaj Apr 15 '12 at 1:35

If it's an Windows application, you could try with ResHacker. It should work if the midi was set as a resource to a Vistual Studio project.

share|improve this answer
    
Does not work - "Unable to read resource section" –  ekaj Apr 15 '12 at 1:27
    
Perhaps it's packed with some sort of PE Protector software like Petite, Telock, WWPack, etc. In this case, it's harder to extract resources. You need to find an applications which can unprotect the file. I tried that ages ago, I have no clue what software to use, check with Google. Also, it might not be a Windows application in which case, ResHacker won't be of help. –  Radoo Apr 15 '12 at 9:19
    
It's an .exe, so it is a Win app.. forgot to specify OS in question.. –  ekaj Apr 15 '12 at 15:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.