IMF Player and Commander Genius IMF Support
-
- Vorticon Elite
- Posts: 1244
- Joined: Wed Dec 31, 2008 14:44
- Location: Frankfurt - Germany
- Contact:
IMF Player and Commander Genius IMF Support
Hi guys,
there is a new IMF Player which can be used directly without DOS by the modders. Linux32 and 64-Bit as also Windows versions are available.
Commander Genius official IMF Support will be available at end of month. For those who wonder, it uses dbopl, the OPL Emulator used by Dosbox. It think it has the best sound.
If someone wants to test it now, just grab the latest testing version. The IMF Player has an official for now.
Here are our files:
http://sourceforge.net/projects/clonekeenplus/files/
there is a new IMF Player which can be used directly without DOS by the modders. Linux32 and 64-Bit as also Windows versions are available.
Commander Genius official IMF Support will be available at end of month. For those who wonder, it uses dbopl, the OPL Emulator used by Dosbox. It think it has the best sound.
If someone wants to test it now, just grab the latest testing version. The IMF Player has an official for now.
Here are our files:
http://sourceforge.net/projects/clonekeenplus/files/
Having fun developing stuff...
- BlueGasMask
- Vorticon Elite
- Posts: 382
- Joined: Tue Nov 20, 2007 9:56
- Location: Wellington, New Zealand
- Contact:
Cereal Board!
(Cereal wiki has sadly died)Deltamatic wrote:Prepositions are things I end sentences with.
- BlueGasMask
- Vorticon Elite
- Posts: 382
- Joined: Tue Nov 20, 2007 9:56
- Location: Wellington, New Zealand
- Contact:
Right, a review's uploaded to zshare now:
imfplayerreview.mp3 - 14.46MB
Would it be a better idea to store all of the small stuff like midis and imfs to CKFS instead?
imfplayerreview.mp3 - 14.46MB
Would it be a better idea to store all of the small stuff like midis and imfs to CKFS instead?
-
- Vorticon Elite
- Posts: 1244
- Joined: Wed Dec 31, 2008 14:44
- Location: Frankfurt - Germany
- Contact:
Sorry, but I disagree about your statement in the review at one point. The IMFPlayer can play your files normally, but it's not Keen-Audio-Format what you have created. Your file was made for 700 Hz (Wolfenstein 3D) Music and not 560. You can configure that in IMFPlayer, but Commander Genius won't play it differently, so I guess you will need to find a way to transform it.BlueGasMask wrote:Right, a review's uploaded to zshare now:
imfplayerreview.mp3 - 14.46MB
Would it be a better idea to store all of the small stuff like midis and imfs to CKFS instead?
Unfortunately the files do not contain that information...
Keen Games always use 560 Hz.
Try this out:
Code: Select all
IMFPlayer <File.imf> 700
The Song is really great! Thanks!
Having fun developing stuff...
- BlueGasMask
- Vorticon Elite
- Posts: 382
- Joined: Tue Nov 20, 2007 9:56
- Location: Wellington, New Zealand
- Contact:
unfortunately, the imf creator dheadshot gave me doesn't have a keen option, just wolf3d, duke 3d and some other one i can't remember right now.gerstrong wrote:Sorry, but I disagree about your statement in the review at one point. The IMFPlayer can play your files normally, but it's not Keen-Audio-Format what you have created. Your file was made for 700 Hz (Wolfenstein 3D) Music and not 560. You can configure that in IMFPlayer, but Commander Genius won't play it differently, so I guess you will need to find a way to transform it.BlueGasMask wrote:Right, a review's uploaded to zshare now:
imfplayerreview.mp3 - 14.46MB
Would it be a better idea to store all of the small stuff like midis and imfs to CKFS instead?
Unfortunately the files do not contain that information...
Keen Games always use 560 Hz.
Try this out:
and you will see that it's at the same speed as you wanted.Code: Select all
IMFPlayer <File.imf> 700
The Song is really great! Thanks!
There's a manual setting for you to put in the 560 value I think...
Cereal Board!
(Cereal wiki has sadly died)Deltamatic wrote:Prepositions are things I end sentences with.
- BlueGasMask
- Vorticon Elite
- Posts: 382
- Joined: Tue Nov 20, 2007 9:56
- Location: Wellington, New Zealand
- Contact:
There was a bug in IMFPlayer v2.0 that would cause the player to crash when playing an IMF file that uses OPL rhythm mode. I don't know if that bug is already fixed in the current Commander Genius source, but it was still present in the IMFPlayer source code that I downloaded 10 days ago.
An updated version of the player can be found here:
http://k1n9duk3.k1.ohost.de/files/imfpl ... 32_v21.zip (Source Code: http://k1n9duk3.k1.ohost.de/files/imfplayer_v21_src.zip)
An updated version of the player can be found here:
http://k1n9duk3.k1.ohost.de/files/imfpl ... 32_v21.zip (Source Code: http://k1n9duk3.k1.ohost.de/files/imfplayer_v21_src.zip)
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net
http://k1n9duk3.shikadi.net
-
- Vorticon Elite
- Posts: 1244
- Joined: Wed Dec 31, 2008 14:44
- Location: Frankfurt - Germany
- Contact:
This was just a test program used in Keen 4 like about two years ago. I'm pretty sure it is old and outdated.
I would update the code, but honestly I haven't seen any interest by others on it, so I left it as it is and continued fixing its bugs within the main source code of Commander Genius where you find the most recent code.
Creating a windowed app for that player is easily done, with Visual Studio or I would use QT Creator or wxWidgets.
I would update the code, but honestly I haven't seen any interest by others on it, so I left it as it is and continued fixing its bugs within the main source code of Commander Genius where you find the most recent code.
Creating a windowed app for that player is easily done, with Visual Studio or I would use QT Creator or wxWidgets.
Having fun developing stuff...
@gerstrong: I noticed that there already was a new version of your IMFPlayer after I wrote the post above. I sent you a PM, but your inbox appears to be full.
From what I've seen on GitHub, the bugs appear to be still present in the current DBOPL implementation of Commander Genius, so you might want to update it.I found and fixed the bug that prevented your IMFPlayer from playing IMF files that use the OPL rhythm mode (Monster Bash is probably the only game that uses such files). Unfortunately, I used the IMFPlayer v2.0 source from sourceforge, not the current source from GitHub, so most of the fixes I made are probably useless. The only files that might be useful are dbopl.cpp and maybe dbopl.h.
The problem in dbopl.cpp were the default cases in the switch statements, which call the abort() function. I checked the DOSBox 0.74 source and noticed that there were no default cases at all, so I removed them and the IMFPlayer worked perfectly fine with rhythm-mode IMFs.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net
http://k1n9duk3.shikadi.net