XM loader (11 posts)

  • Profile picture of Empire Phoenix Empire Phoenix157p said 4 months, 2 weeks ago:

    Well since I’m currently kinda stuck with a opengl 1.0 netbook but tons of free time, I searched for projects that would be at least of any use for my game :)

    I suddenly got the idea, that I could try to write a xm loader for jme3.
    -> xm ultra short description: xm is kinda great for background musik, a similar system was used in the unreal1 engine and it was untill recently one of the main musik systems used on nintendo devices.

    Good idea?
    Anything to keep in mind, respecting the current sound system?
    Any chance of -if i get this done- this might be added to the jme3 source?

  • Profile picture of normen normen1290p said 4 months, 2 weeks ago:

    Sure, why not? You can look at the ogg decoder for an example, it would obviously be different as you have to assemble the sound from the sampler data but the part where you put the audio buffers in the system would be the same.

  • Profile picture of Empire Phoenix Empire Phoenix157p said 4 months, 2 weeks ago:

    I actually don’t plan on write a complete sampler/tracker myself.
    I will look what jme licence compatible trackers for java are out there, and then look into making one of them that looks promising compatible with jme, and update the code to at least java 1.5 and to throw proper asset errors if needed.
    No need to reinvent the wheel :)

  • Profile picture of normen normen1290p said 4 months, 2 weeks ago:

    Alright, the format isn’t that complicated actually.. But as long as you don’t bring a native library, GPL lib or other kitchen sink, hf :)

  • Profile picture of Empire Phoenix Empire Phoenix157p said 4 months, 2 weeks ago:

    LGPL would be fine if I undrstand it correctly or?

  • Profile picture of normen normen1290p said 4 months, 2 weeks ago:

    Yeah, if its a separate jar file. Adding LGPL code is not ok.

  • Profile picture of Momoko_Fan Momoko_Fan371p said 4 months, 2 weeks ago:

    How can I create XM files? Is there any tools or conversion software?

  • Profile picture of normen normen1290p said 4 months, 2 weeks ago:

    Theres trackers that can export to various formats. http://www.modplug.com/

  • Profile picture of Empire Phoenix Empire Phoenix157p said 4 months, 2 weeks ago:

    Try milkytracker, it’s gui is kinda basic, but it is also quite good.

    Also if oyu need some example files, take a look at

    http://keygenmusic.net/

  • Profile picture of Empire Phoenix Empire Phoenix157p said 4 months, 1 week ago:

    Good first step done, found a nice and cleanly written library that is under lgpl and supports xm s3m, mod and similar.
    —-

    Now the next step is to update it to todays java (mostly generics and such stuff) and add a output device for jme3

    Then I will package it again as a library, include sourcode and licence.txt
    -> This will be the basis for the jme3 use then

    After that I will use that lgpl library and add it to buildpath, create some examples and make a basic xm file for it with no stolen instruments or similar problems, so it can be distributed in the test data package.

  • Profile picture of erlend_sh erlend_sh132p said 4 months, 1 week ago:

    If this library you’re talking about is not maintained any longer, it might be worth shooting the developer an e-mail to ask if you may apply your own license (i.e. New BSD), while still giving the original developer credit for the library of course.