Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: AdPlug (Read 42307 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

AdPlug

Now available for foobar2000 0.9. [download]

Currently, the only OPL emulation core available is the MAME OPL core, since this is the only one which is multi-instance safe. Ken Silverman's emulator will require some work for that.

Note that MID, MSC and S3M files need to be renamed to MIDA/MSCA/S3MA to work with this component, to prevent extension collisions.

Also, if you have foo_midi installed, you will need to update it to the latest version (dated October 7, 2008, or later) so it won't take over CMF files.

AdPlug

Reply #1
Man, you made my day
I've been waiting for this one for years. Now the only missing input component is a bass-based plugin which is small, fast and can use .sf2 instruments...

AdPlug

Reply #2
Holy crap! Kode54, you're the man! I've waited for this for so long

AdPlug

Reply #3
what exactly is doing this component???

AdPlug

Reply #4
Update: ADL files shouldn't crash now, and CMF files should play correctly. Also, fixed database support.

AdPlug

Reply #5
what exactly is doing this component???


It's an input plugin for various AdLib sound formats. It emulates the OPL chip like the SID input emulates the SID chip (OK, not exactly, beacuse SID files need emulation of other C64 hardware components as well).

AdPlug

Reply #6
thanks! Any links toread and learn more about these OPL chip and SID etc?

AdPlug

Reply #7
Look HERE and HERE.

Cheers, Slipstreem. 

AdPlug

Reply #8
kode54, you are now officially my hero. Many thanks for this.

AdPlug

Reply #9
hi, Kode54. As always, great plugin, I've wanted this for foobar for a while. Hopefully this isn't a too hard of a feature to add, but, the ability to selectively disable formats played by the plugin. this would be good, for instance, in my case, where I want to use an alternate plugin to handle edlib d00/d01 files. Could this be added?

arfy

AdPlug

Reply #10
Are there plans for implementing stereo harmonic mode, introduced in AdPlug 2.2 (surroundopl.h)

Interested can sense the difference with AdPlug plugin for Winamp

AdPlug

Reply #11
I already have a recent version of AdPlug, but I didn't really look at that new feature when I updated.

I've added support for the surround effect, but it disables support for OPL3, although I don't think any formats use that yet.

AdPlug

Reply #12
Thanks kode54, I didn't expected so fast implementation

Sounds great and IMHO it was good idea to add such nice, tiny, mono to stereo, phaser-like effect for OPL emulator playback

It was also introduced in the latest (1.8.2) binary of the mentioned Winamp plugin (without source code as of now AFAIK) and qualified for particular emulators differently (perhaps because of mame patches, but I don't really know)

AdPlug

Reply #13
I got the AdPlug plugin, but it comes with a "db" (database I assume) file. Where should I put that, and is it actually needed to play any of the music?

AdPlug

Reply #14
If you are using foobar2000 1.1 or newer, just use the built-in Install feature in the player. Open Preferences, which starts at the Components page the first time you use it after starting the player, then either click the Install button and locate the ZIP file, or drag the ZIP file onto the Preferences dialog.

If you are using an older version, just unpack the whole archive to the components folder, the db file should be in the same directory as the component.

 

AdPlug

Reply #15
Adlib Tracker II has been open-sourced and released to the public, source code can be downloaded here: http://sourceforge.net/projects/at2-osp/files/

I imagine this could offer several opportunities to improve the current AdLib plugin, for example complete support for A2M modules and its compressed version A2T. Adlib Tracker II's replay quality is more accurate compared to AdPlug, you may wan't to try the Winmap input plugin port provided by Danyl for comparison: In_Adt2 v0.96.2

Adlib Tracker II supports the following formats:
  •   A2M (AdLib Tracker 2)
  •   A2T (AdLib Tracker 2) tiny module = compressed A2M
  •   AMD (Amusic)
  •   CFF (BoomTracker 4.0)
  •   DFM (Digital-FM)
  •   FMK (FM-Kingtracker)
  •   HSC (HSC AdLib Composer/HSC-Tracker)
  •   MTK (MPU-401 Trakker)
  •   RAD (Reality AdLib Tracker)
  •   S3M (Scream Tracker 3.x AdLib modules)
  •   SAT (Surprise! AdLib Tracker) format version 1, 5, 6
  •   SA2 (Surprise! AdLib Tracker 2.0) format version 8, 9
  •   XMS (XMS-Tracker)

AdPlug

Reply #16
I looked at the code, since I was interested in making another input component...

Then I found out the code was all in Pascal, something which the FB2K SDK will most likely never support....
And porting all that Pascal/Delphi code to C?

Bah...>_>


AdPlug

Reply #18
checked the code, just as bad...

All Delphi/Pascal with inline ASM.

AdPlug

Reply #19
It may be useful for anyone willing to add support for the relevant formats to AdPlug. Or "fix" the already supported formats that may be "broken." Although it would all be a matter of totally rewriting all of it.

AdPlug

Reply #20
I understand that it's rather unlikely to happen due to the reasons you explained. Anyway, thank you both Kode54 and mudlord for taking a look at it.

AdPlug

Reply #21
Anybody know anything about extracting AdLib music from games? Desiring to rip the music from an old platformer called Gateworld, but have no idea where to begin. Any hints?

AdPlug

Reply #22
There is no general tool for all possible formats.
I first try WinRipper: http://www.keygenmusic.net/?page=soft/soft&lang=en which is great for general module formats, but as you are asking about AdLib without specifying format maybe only way would be by hand

Not sure if emulators provide OPL capturing, but you can check that also

[edit] I found the game at HOTUD
There are 3 XMIDATA.GW_ packed files with XMI modules
WinRipper unpackes them fine, but foo_input_adplug (and/or foo_midi) can't play them
There seems to be tool for converting XMI to MIDI, but I stopped at this step

AdPlug

Reply #23
Anybody know anything about extracting AdLib music from games? Desiring to rip the music from an old platformer called Gateworld, but have no idea where to begin. Any hints?

One could easily think of AdLib when listening to the music of GateWorld, but it is not, the game utilizes the XMI (eXtended MIDI) music format by RAD Game Tools.

Though you certainly won't be able to recreate the music with any modern player supporting the XMI format like you hear it in game. This is due to the format using individual configuration files (*.opl) which hold presets for the instruments which in turn affect the sound. When using a different .opl file than the one distributed with the game or none at all (thus forcing default presets) will result in completely different and most of the time off sounding music. To my knowledge none of the current players with XMI support do honor these .opl files, for example the MIDI plugin foo_midi for foobar2000 or XMP-MIDI.dll for XMPlay.

AdPlug

Reply #24
Supporting .opl files with XMI files sounds more like a job for AdPlug than any General MIDI supporting player.