zigzagtshirt 5 Posted April 23, 2018 I have a collection of custom music tracks that I use with a "jukebox" script in the missions I make for my unit. Each mission file ends up being around 55-60 MB which makes sharing the missions a pain. I was thinking it would be simpler and cause fewer headaches if I could package the tracks into a mod (and have it available on Steam workshop for my unit). This way they only have to download the tracks once vs. downloading them with every mission I send them. Can someone help point me in the right direction with accomplishing this? I have all the tracks ready to go in a directory. I assume I would need to set up some kind of description.ext -type file similar to what you have to do to add custom tracks to individual missions? Otherwise I'm lost on how to proceed from here on how to 1) create and prepare required files 2) and use Arma tools to create a mod package. Any help would be most appreciated! Share this post Link to post Share on other sites
NeoArmageddon 958 Posted April 23, 2018 Get the A3 Tools from Steam, mount the WorkDrive (aka P: drive) and create a folder in it with a structure like this: - Tag - - AddonName - - - config.cpp - - - music - - - - All your music files While "Tag" is a custom tag you define for yourself, or your squad. Edit config.cpp (basically an description.ext for an addon) with an editor of your choice and add a class CfgPatches and a class CfgMusic. It should look like this: class CfgPatches { class TAG_MyMusicAddon { name = "MyAddon"; author = "Me"; url = "http://xkcd.com"; requiredVersion = 1.80; requiredAddons[] = {}; units[] = {}; weapons[] = {}; }; }; class CfgMusic { tracks[] = {MyMusic1,MyMusic2}; class MyMusic1 //This is arbitrary { name = "My first track"; // filename, volume, pitch sound[] = { "\Tag\AddonName\music\filename.ogg", db + 0, 1.0 }; }; class MyMusic2 { name = "My second track"; sound[] = { "\Tag\AddonName\music\filename2.ogg", db + 10, 1.0 }; }; }; Now start AddonBuilder from tools and use it to pack this AddonName-folder (not the Tag folder!!!) to a PBO. Keep an eye on the virtual path so AddonBuilder packs it correctly under \Tag\AddonName. 2 Share this post Link to post Share on other sites
zigzagtshirt 5 Posted April 23, 2018 4 minutes ago, NeoArmageddon said: Get the A3 Tools from Steam, mount the WorkDrive (aka P: drive) and create a folder in it with a structure like this: - Tag - - AddonName - - - config.cpp - - - music - - - - All your music files While "Tag" is a custom tag you define for yourself, or your squad. Edit config.cpp (basically an description.ext for an addon) with an editor of your choice and add a class CfgPatches and a class CfgMusic. It should look like this: class CfgPatches { class TAG_MyMusicAddon { name = "MyAddon"; author = "Me"; url = "http://xkcd.com"; requiredVersion = 1.80; requiredAddons[] = {}; units[] = {}; weapons[] = {}; }; }; class CfgMusic { tracks[] = {MyMusic1,MyMusic2}; class MyMusic1 //This is arbitrary { name = "My first track"; // filename, volume, pitch sound[] = { "\Tag\AddonName\music\filename.ogg", db + 0, 1.0 }; }; class MyMusic2 { name = "My second track"; sound[] = { "\Tag\AddonName\music\filename2.ogg", db + 10, 1.0 }; }; }; Now start AddonBuilder from tools and use it to pack this AddonName-folder (not the Tag folder!!!) to a PBO. Keep an eye on the virtual path so AddonBuilder packs it correctly under \Tag\AddonName. Many thanks, Neo! Very helpful! I will give this a try tonight! Share this post Link to post Share on other sites
zigzagtshirt 5 Posted April 24, 2018 22 hours ago, NeoArmageddon said: Get the A3 Tools from Steam, mount the WorkDrive (aka P: drive) and create a folder in it with a structure like this: - Tag - - AddonName - - - config.cpp - - - music - - - - All your music files While "Tag" is a custom tag you define for yourself, or your squad. Edit config.cpp (basically an description.ext for an addon) with an editor of your choice and add a class CfgPatches and a class CfgMusic. It should look like this: class CfgPatches { class TAG_MyMusicAddon { name = "MyAddon"; author = "Me"; url = "http://xkcd.com"; requiredVersion = 1.80; requiredAddons[] = {}; units[] = {}; weapons[] = {}; }; }; class CfgMusic { tracks[] = {MyMusic1,MyMusic2}; class MyMusic1 //This is arbitrary { name = "My first track"; // filename, volume, pitch sound[] = { "\Tag\AddonName\music\filename.ogg", db + 0, 1.0 }; }; class MyMusic2 { name = "My second track"; sound[] = { "\Tag\AddonName\music\filename2.ogg", db + 10, 1.0 }; }; }; Now start AddonBuilder from tools and use it to pack this AddonName-folder (not the Tag folder!!!) to a PBO. Keep an eye on the virtual path so AddonBuilder packs it correctly under \Tag\AddonName. I got it working. Thanks again for the help! 1 Share this post Link to post Share on other sites