PlaneShift

Development => PlaneShift Mods => Topic started by: Donari Tyndale on April 05, 2015, 06:04:00 pm

Title: Music converter tool - easily load your favourite music into PS
Post by: Donari Tyndale on April 05, 2015, 06:04:00 pm
So the guys and I decided it was time to get some proper music into PS because Grindulf can't do it all by himself.

I wrote this little converter tool that allows you to load a musicXML (a format for music sheets commonly used) into an XML that PS can read (just google musicXML ;D).

If you want to edit scores or work with midi files, I suggest using musescore.

Link (http://www.filedropper.com/psmusicconverter)

So here's how you do it.

1. Obtain a musicXML of the song you want to upload (For example from musescore.com)

2. Open the xml with a text editor. It will look like this:
(http://i.imgur.com/VmObb37.png)

3. Remove those first two lines if it looks like above. If it starts with <score...>, you're fine.

4. Now open the converter (Windows only at this point, if one of you guys wants to compile for another OS, I'm happy to share the source code):
(http://i.imgur.com/6eppNgV.png)

5. Click "Load sacrifice" and select your xml. There will be several parts (most likely, different instrument tracks), but PS can only handle one of them. Select the one you want in the first drop down menu.

6. The cut measure option allows you to cut measures if the file is too long for PS to handle, ignore it if you're unsure what to do (afaik the limit is 65kb).

7. Click "Hail the Empire" and find the "_out.xml" in the same directory as the source file. Put the out file into your PlaneShift/musicsheets folder and upload into PS. Example:
(http://i.imgur.com/3wYG76M.png)

8. A few things:

9. Thanks Mariana for the awesome logo!
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Jilerel on April 05, 2015, 06:07:38 pm
Finally released !  :D

And yup, I couldn't save the score with PSextended, and I can now with regular PS... Weird.
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Dilihin on April 05, 2015, 06:12:52 pm
 \\o//

and i have issues with saving too,but with some messing around with scores,it saved.
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Jilerel on April 05, 2015, 06:14:01 pm
\\o//

and i have issues with saving too,but with some messing around with scores,it saved.

Wasn't a converter bug, you couldn't save any score at all xD
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Dilihin on April 05, 2015, 06:16:49 pm
well before the converter i could save,so i guess it's Sandstorm  ;D
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Shatterkiss on May 10, 2017, 07:52:20 am
Is there a working link to this tool? I've got some music I'd like to convert and I'm hoping for an easy way to do it.  ;D
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Aeghiss on May 10, 2017, 10:37:06 am
Is there a working link to this tool? I've got some music I'd like to convert and I'm hoping for an easy way to do it.  ;D

No idea about this one, but I'll redirect you to this thread (http://207.244.96.64/PlaneShift/smf/index.php?topic=40547.msg454453#msg454453) and advise you the second method. Tested and approved. Plus, it works on every OS. ;)
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Dilihin on May 10, 2017, 12:24:38 pm
I can poke Donari for source, also will compile for linux aswell.
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Donari Tyndale on May 10, 2017, 05:13:54 pm
Download (https://www.file-upload.com/6gxxtgoka0zz) since I was poked :P
Title: Re: Music converter tool - easily load your favourite music into PS
Post by: Shatterkiss on May 10, 2017, 09:38:25 pm
Thanks all!!!  \\o//  Time to see if I can convert some cello music to a lyre.