Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Lyberodoggy wrote:The problem is probably based on this: wav, mp3s, oggs, rms etc are just sound codecs, which are automatically detected when a media player is trying to play the music, independently from the extention. Midi files yet are not encoded musci files, but commands to the midi mapper and synth of the pc (which are lockated on the sound card), therefore hardware handlers rather than software ones... So if somebody encrypts the extention, the files cannot auto detect the way the should be played.
That's my opinion. Could be wrong.
Chromegloss55 wrote:To avoid this download a MIDI-converter.
Google 'MIDI Converter Studio'...
JMC002 Neil wrote: Indeed, when I tried renaming a .WAV file to .WAP - and edited my code accordingly - the sound still played when the frame was tested. However, when I subsequently tried renaming a .MID file to .MIN and changed the code to match, that played OK too. I tried creating an executable with the renamed MIDI file and it plays OK from the installed game! So a MIDI file with the correct extension doesn't work when the extension is encrypted but a MIDI file with the wrong extension plays correctly!
Lyberodoggy wrote:Then, I can only blame encryption (since another algorythm should be used for encrypting midi files for the reasons described before). If your plugin ever comes out, I 'll check your code...
Lyberodoggy wrote:Just curious...
JMC002 Neil wrote:Indeed, when I tried renaming a .WAV file to .WAP - and edited my code accordingly - the sound still played when the frame was tested. However, when I subsequently tried renaming a .MID file to .MIN and changed the code to match, that played OK too. I tried creating an executable with the renamed MIDI file and it plays OK from the installed game! So a MIDI file with the correct extension doesn't work when the extension is encrypted but a MIDI file with the wrong extension plays correctly!
GM-Support wrote:If is possible that it works when the extension contains only letters and it doesn't work when the extension is a 3-digit number?
That's the only difference I can see...
JMC002 Neil wrote:Hmmm.... I tried actually changing the extension of a MIDI file from .MID to .123 (and edited the code accordingly), just to see what would happen. When I tested the frame, the MIDI file played OK!
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests