Home | AGI Documentation | AGI Tutorials | AGI Tools | AGI Wiki | Community

AGI Sound Tutorial v1.0

by Nick Sonneveld
Last Updated 4th March, 2002
 

Page: 1 2 3 [ 4 ] 5 6 7 8 9 10 11 12 13

4. Converting From Other Formats

At the moment there are three main converters available for converting other formats to the AGI sound format.  They are MIDI2ROL, ROL2AGI and IT2AGI.  This section will quickly describe each utility and how they are used.

MIDI:  There isn't an actual tool for converting MIDI files to the AGI format. People who want to use MIDI files have to go through two stages: converting a MIDI to a ROL file and then converting that file to the AGI format.  This process can get fiddly because MIDI supports different instuments.  However, because AGI just plays tones, you don't have to worry about this.  The tool used to convert MIDI to ROL is "mf2rol" by Alejandro Kapauan.

To convert a MIDI to a ROL file, the correct command to type in at the command prompt is:

MF2ROL <name>.mid

The program will create a rol file with the name "<name>.rol"

ROL: Rol is an old format used by some adlib card programs.  Lance Ewing produced the ROL2SND tool which can be used to convert ROL files to the agi sound format.  It is also the final step for converting MIDI files to AGI sound files.  The command for converting rol to snd is slightly different from the MIDI tool however:

ROL2SND <input name>.ROL <output name>.ASO

After this you should have a fully working AGI sound.

ImpulseTracker:  Nat Budin wrote the tool "it2agi" to convert ImpulseTracker files to the agi sound format.  I'm assuming he used it to create the music for the excellent Operation Recon demo.  You will need ImpulseTracker to create the music and the Perl runtime to run the perl script that this converter is written in (see the Tool Locations section).

To convert music, try typing this from the command line:

perl it2agi <name>.it

The script will produce a file called "<name>.ags".

Problems: There are a few annoying problems to keep in mind when converting other file formats to AGI however:

Tips: It's handy to convert to a script (see the Scripting section) after the conversion and manually edit the song.  Things you could change are:

Page: 1 2 3 [ 4 ] 5 6 7 8 9 10 11 12 13
 


by helping to defray some of the costs of hosting this site. If it has been of help to you, please consider contributing to help keep it online.
Thank you.
pixe
Top

© 2013 to present The Sierra Help Pages. All rights reserved. All Sierra games, artwork and music © Sierra.