PlaneShift
Development => PlaneShift Mods => Topic started 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:
- If the tune is off, try increasing divisions.
- Regardless what PlaneShift shows, try playing the file. Sometimes, it loads properly but the display in PS is off.
- There have been reports of this not working with GreatShift
- You can also adjust the BPM ingame
- The "Find the traitor" option puts out a larger, but indented xml file for easier reading.
- We've tested many scores, most of them seem to work. Due to the way different voices are processed, the result may appear a bit scrambled. Generally, the simpler the score, the more likely you'll get a proper result in PS
- If you have troubles getting a score to work, let me know. It helps with debugging
9. Thanks Mariana for the awesome logo!
-
Finally released ! :D
And yup, I couldn't save the score with PSextended, and I can now with regular PS... Weird.
-
\\o//
and i have issues with saving too,but with some messing around with scores,it saved.
-
\\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
-
well before the converter i could save,so i guess it's Sandstorm ;D
-
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
-
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. ;)
-
I can poke Donari for source, also will compile for linux aswell.
-
Download (https://www.file-upload.com/6gxxtgoka0zz) since I was poked :P
-
Thanks all!!! \\o// Time to see if I can convert some cello music to a lyre.