Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

Modable Music?

Discussion in 'Release 50 Feedback Forum' started by Astirian, Feb 13, 2018.

Thread Status:
Not open for further replies.
  1. Astirian

    Astirian Avatar

    Messages:
    614
    Likes Received:
    1,494
    Trophy Points:
    93
    So, I was just thinking, would it be possible at some point to tweak the music directly in the file system? Say I want to swap out a tune or two? A lot of games you can just copy files in and rename the file extension and it works. Would be good for customization...
     
  2. Sorthious

    Sorthious Avatar

    Messages:
    1,135
    Likes Received:
    1,354
    Trophy Points:
    113
    You can already add/remove songs from the directory that stores them. Your songs are stored in the SOTA data directory(you should be able to find this in the game options menus.) You can also write your own music(in a text file with an .abc or .mml(i think this one was used also) extension.)) The files look like this:

    Code:
    X:1
    T:Sorthious' Blues
    C:Sorthious
    L:1/8
    M:4/4
    Q: 100
    I:linebreak $
    K:E
    V:1 treble-8 nm="Classical Guitar" snm="Guit."
    V:1
     [E,B,=g]>[E,B,e] [E,C]>[E,C] [E,B,]>[E,B,] [E,C=d]>[E,Ce] | %1
     [E,B,]>[E,B,] [E,C]>[E,C=d] [E,B,^d]>[E,B,e] (3[=G,=G]^G,B, | %2
     [E,B,=g]>[E,B,e] [E,C]>[E,C] [E,B,]>[E,B,] [E,C=d]>[E,Ce] |$ %3
     [E,B,]>[E,B,] [E,C]>[E,CA] [E,B,B]>[E,B,e] (3[=G,=G]^G,B, | %4
     [A,E=c']>[A,Ea] [A,F]>[A,F] [A,E]>[A,E] [A,F=g]>[A,Fa] | %5
     [A,E]>[A,E] [A,F]>[A,F] [A,EA]>[A,E=G] (3[^B,=g][Ca]E |$ %6
     [E,B,=g]>[E,B,e] [E,C]>[E,C] [E,B,]>[E,B,] [E,C=d]>[E,Ce] | %7
     [E,B,]>[E,B,] [E,CA]>[E,CB] [E,B,=d]>[E,B,e] (3[=G,=g]^G,B, | %8
     [B,Ff]>[B,F=d] [B,GB]>[B,GA] [B,F]>[B,FA] [B,Gd]>[B,Ge] |$ %9
     [A,Efb]>[A,Efb] [A,F]>[A,Ff=d'] [A,E]>[A,E] (3=G,^G,A | %10
     z3/2 [EG=d=g]2 z3/2 [EGd=g]3/4 z/ [EGd=g] z/ z/4 | [EG=d=g]4 z4 | %12
     [E,B,b]>[E,B,=d'] [E,Ce']>[E,Cb] [E,B,d']>[E,B,e'] [E,C=g]>[E,C] |$ %13
     [E,B,]>[E,B,a=d'] [E,C]>[E,Cad'] [E,B,ad']>[E,B,ad'] (3=G,^G,B, | %14
     [E,B,=d]>[E,B,e] [E,C=g]>[E,Cd] [E,B,e]>[E,B,g] [E,C=G]>[E,C] | %15
     [E,B,]>[E,B,be'] [E,C]>[E,Cfb] [E,B,be']>[E,B,be'] (3=G,^G,B, |$ %16
     [A,Ebe']>[A,Ebe'] [A,Fbe']>[A,Ffb] [A,Ebe']>[A,Ebe'] [A,F]>[A,F] | %17
     [A,Ebe']>[A,Efb] [A,Fbe']>[A,Fbe'] [A,E]>[A,E] (3^B,CE | %18
     [E,B,=g]>[E,B,e] [E,C=d]>[E,Ce] [E,B,d]>[E,B,A] [E,C=G]>[E,C] |$ %19
     [E,B,]>[E,B,be'] [E,C]>[E,C] [E,B,be']>[E,B,] [E,C]>[E,C] | %20
     [B,F=d']>[B,Fb] [B,Ga]>[B,Gf] [B,Fb]>[B,Fb] [B,G]>[B,G] | %21
     [A,Ea]>[A,Ef] [A,F=d]>[A,FB] [A,Ee]>[A,Ee] (3=G,^G,A |$ %22
     z3/2 [EG=d=g]2 z3/2 [EGd=g]3/4 z/ [EGd=g] z/ z/4 | [EG=d=g]2 z2 [E,EGde_g]4- | [E,EGdeg]4 z4 |] z8 | %25
    Here is a link to a tutorial...not sure how up to date the lesson is(there may be lessons for a newer version of ABC music notation), but this lesson gives you the basics:

    Steve Mansfield's Abc Music Tutorial
     
Thread Status:
Not open for further replies.