IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
AdPlug, An input plugin for various AdLib sound formats. Emulates the OPL chip
kode54
post Oct 8 2008, 06:13
Post #1





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



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.
Go to the top of the page
+Quote Post
alvaro84
post Oct 8 2008, 08:12
Post #2





Group: Members
Posts: 128
Joined: 9-August 06
Member No.: 33830



Man, you made my day smile.gif
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...
Go to the top of the page
+Quote Post
Nahkranoth
post Oct 8 2008, 08:19
Post #3





Group: Members
Posts: 68
Joined: 12-March 08
Member No.: 51973



Holy crap! Kode54, you're the man! I've waited for this for so long w00t.gif
Go to the top of the page
+Quote Post
akispavlopoulos
post Oct 8 2008, 14:14
Post #4





Group: Members
Posts: 21
Joined: 3-August 08
Member No.: 56649



what exactly is doing this component???
Go to the top of the page
+Quote Post
kode54
post Oct 8 2008, 21:05
Post #5





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



Update: ADL files shouldn't crash now, and CMF files should play correctly. Also, fixed database support.
Go to the top of the page
+Quote Post
alvaro84
post Oct 9 2008, 07:08
Post #6





Group: Members
Posts: 128
Joined: 9-August 06
Member No.: 33830



QUOTE (akispavlopoulos @ Oct 8 2008, 15:14) *
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).

This post has been edited by alvaro84: Oct 9 2008, 07:08
Go to the top of the page
+Quote Post
akispavlopoulos
post Oct 9 2008, 13:29
Post #7





Group: Members
Posts: 21
Joined: 3-August 08
Member No.: 56649



thanks! Any links toread and learn more about these OPL chip and SID etc?
Go to the top of the page
+Quote Post
Slipstreem
post Oct 9 2008, 14:49
Post #8





Group: Members
Posts: 966
Joined: 7-July 06
Member No.: 32660



Look HERE and HERE. wink.gif

Cheers, Slipstreem. cool.gif
Go to the top of the page
+Quote Post
Suhamer
post Oct 14 2008, 18:43
Post #9





Group: Members
Posts: 4
Joined: 14-December 04
Member No.: 18669



kode54, you are now officially my hero. Many thanks for this.
Go to the top of the page
+Quote Post
Arthur
post Nov 15 2009, 19:30
Post #10





Group: Members
Posts: 9
Joined: 17-April 06
Member No.: 29668



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
Go to the top of the page
+Quote Post
romor
post Aug 16 2010, 21:57
Post #11





Group: Members
Posts: 682
Joined: 16-January 09
Member No.: 65630



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


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
kode54
post Aug 18 2010, 01:30
Post #12





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



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.
Go to the top of the page
+Quote Post
romor
post Aug 18 2010, 09:12
Post #13





Group: Members
Posts: 682
Joined: 16-January 09
Member No.: 65630



Thanks kode54, I didn't expected so fast implementation smile.gif

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)


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
Videogamer555
post Nov 10 2010, 06:15
Post #14





Group: Members
Posts: 8
Joined: 10-November 10
Member No.: 85592



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?

This post has been edited by Videogamer555: Nov 10 2010, 06:17
Go to the top of the page
+Quote Post
kode54
post Nov 10 2010, 08:50
Post #15





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



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.
Go to the top of the page
+Quote Post
deus-ex
post Dec 29 2010, 14:02
Post #16





Group: Members
Posts: 290
Joined: 9-September 04
From: Earth
Member No.: 16882



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)


--------------------
Best regards
deus-ex (MODLAND co-admin: ftp://ftp.modland.com)
Go to the top of the page
+Quote Post
mudlord
post Dec 31 2010, 04:34
Post #17





Group: Developer (Donating)
Posts: 818
Joined: 1-December 07
Member No.: 49165



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...>_>
Go to the top of the page
+Quote Post
deus-ex
post Dec 31 2010, 11:45
Post #18





Group: Members
Posts: 290
Joined: 9-September 04
From: Earth
Member No.: 16882



That's a pitty to hear. Maybe the source code of the Winamp plugin port can be of any help to support the task? It is included with the plugin and can be accessed via this link: http://home.versanet.de/~daniel-illgen/inadt2.zip


--------------------
Best regards
deus-ex (MODLAND co-admin: ftp://ftp.modland.com)
Go to the top of the page
+Quote Post
mudlord
post Dec 31 2010, 15:43
Post #19





Group: Developer (Donating)
Posts: 818
Joined: 1-December 07
Member No.: 49165



checked the code, just as bad...

All Delphi/Pascal with inline ASM.
Go to the top of the page
+Quote Post
kode54
post Jan 1 2011, 10:04
Post #20





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



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.
Go to the top of the page
+Quote Post
deus-ex
post Jan 1 2011, 13:03
Post #21





Group: Members
Posts: 290
Joined: 9-September 04
From: Earth
Member No.: 16882



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.


--------------------
Best regards
deus-ex (MODLAND co-admin: ftp://ftp.modland.com)
Go to the top of the page
+Quote Post
Vagabond
post Feb 28 2011, 19:23
Post #22





Group: Members
Posts: 26
Joined: 8-January 11
From: Griswold, IA
Member No.: 87162



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?
Go to the top of the page
+Quote Post
romor
post Feb 28 2011, 19:55
Post #23





Group: Members
Posts: 682
Joined: 16-January 09
Member No.: 65630



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 wink.gif

This post has been edited by romor: Feb 28 2011, 20:27


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
deus-ex
post Feb 28 2011, 23:07
Post #24





Group: Members
Posts: 290
Joined: 9-September 04
From: Earth
Member No.: 16882



QUOTE (Vagabond @ Feb 28 2011, 20: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.


--------------------
Best regards
deus-ex (MODLAND co-admin: ftp://ftp.modland.com)
Go to the top of the page
+Quote Post
kode54
post Mar 1 2011, 03:40
Post #25





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



Supporting .opl files with XMI files sounds more like a job for AdPlug than any General MIDI supporting player.
Go to the top of the page
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st December 2014 - 10:02