Sonic and Sega Retro Message Board: xm4smps - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 4 Pages +
  • 1
  • 2
  • 3
  • Last ►
    Locked
    Locked Forum

xm4smps

#1 User is offline Puto 

Posted 09 December 2008 - 06:57 PM

  • Shin'ichi Kudō, detective.
  • Posts: 2012
  • Joined: 31-July 05
  • Gender:Male
  • Location:Portugal, Oeiras
  • Project:Part of Team Megamix, but haven't done any actual work in ages.
  • Wiki edits:51
Ever since the beginning of November, I've been developing a tool similar to xm3smps, but with several improvements made to it. Now, it's finally ready for its first release. Behold: xm4smps!

Posted Image

Created entirely from scratch, xm4smps has an interface similar to xm3smps' (but with my own touch). Internally, however, xm4smps is completely different from xm3smps. Some of the key differences to note:

- xm4smps generates songs in ASM format as opposed to raw song binaries, though they are assembled for the convenience of the user.
- By reading and converting each pattern of the XM separately, and comparing them individually within each channel, several optimisations can be achieved. For this reason, in about 95% of cases, a song converted by xm4smps will be smaller than the same song converted by xm3smps.
- xm4smps is multi-platform.
- It supports the E7 coordination flag (aka "smpsNoAttack").

Using xm4smps is very similar to using xm3smps, since I intentionally made the user interface similar. Therefore, it shouldn't be complicated to adapt at all. However, a very important point needs to be made here. Due to the different way in which xm4smps converts songs, it is absolutely imperative that you do not, under any circumstances, start a channel on the XM without a note or a rest. In other words, don't do this:

Posted Image

Instead, do this:

Posted Image

Download links:

Win32 version
Win64 version
Mac OS X version
Source code (should compile on any system with the Qt library)

To use xm4smps on Windows, you only need to extract and run it. To use it on Mac OS X, it's a similar concept, however, if you wish to be able to assemble binary song files, as opposed to only getting the assembly source, you need to install ASMX by Bruce Tomlin (ASMX is already included in the windows versions). On Linux, you should compile it using "qmake xm4smps.pro; make" (if you're using QT3) or with "qmake xm4smps.pro4; make" (if you're using QT4). Like with Mac OS X, you also need to install ASMX if you want to be able to generate binary files.

To put the E7 coordination flag behind a note, just put "g15" in the volume column of said note on the XM (that represents a maximum-speed note portamento, which pretty much does the same thing as E7)

Special thanks go to:
- Nineko for doing the original xm3smps, and helping me along when making this tool
- Tweaker and Saxman for breaking down the SMPS format
- Marc/Cinossu for developing s1smps2asm (I included the s1smps2asm macros with this tool, with his permission)
- roxahris, Nineko (again), and oerg866, for testing this
- Bruce Tomlin for creating ASMX, which is used by this tool to assemble the output asm.

Have fun!

#2 User is offline Irixion 

Posted 09 December 2008 - 07:57 PM

  • Posts: 1514
  • Joined: 30-December 04
  • Gender:Male
  • Location:Ontario, Canada
  • Project:Life
  • Wiki edits:152
Holy shit Puto, I love you. I'll be sure to use this!

#3 User is offline Bibin 

Posted 09 December 2008 - 09:09 PM

  • DON'T LET THE SUN LAUGH AT YOU.
  • Posts: 882
  • Joined: 05-January 07
  • Gender:Male
  • Location:New York City
  • Project:Ghost in the Machine
This looks excellent, but it would be great if music binaries could also be produced (or the process of conversion could be made obvious for those who are not so bright, such as me).

Also while we are discussing tracked music, is there a port of ModPlug Tracker for Mac OS X that will run on PPC processors? ReNoise is just terrible.

#4 User is offline Puto 

Posted 10 December 2008 - 04:58 AM

  • Shin'ichi Kudō, detective.
  • Posts: 2012
  • Joined: 31-July 05
  • Gender:Male
  • Location:Portugal, Oeiras
  • Project:Part of Team Megamix, but haven't done any actual work in ages.
  • Wiki edits:51

View PostBibin, on Dec 10 2008, 02:09 AM, said:

This looks excellent, but it would be great if music binaries could also be produced (or the process of conversion could be made obvious for those who are not so bright, such as me).

View PostPuto, on Dec 9 2008, 11:57 PM, said:

- xm4smps generates songs in ASM format as opposed to raw song binaries, though they are assembled for the convenience of the user.

also, in case you missed it

Puto said:

To use xm4smps on Windows, you only need to extract and run it. To use it on Mac OS X, it's a similar concept, however, if you wish to be able to assemble binary song files, as opposed to only getting the assembly source, you need to install ASMX by Bruce Tomlin (ASMX is already included in the windows versions).


I guess I should probably try to provide a precompiled ASMX for OS X. I'll look into doing a .pkg for that or something later today.

Bibin said:

Also while we are discussing tracked music, is there a port of ModPlug Tracker for Mac OS X that will run on PPC processors? ReNoise is just terrible.

No, but there's MilkyTracker which is supposedly really good (never tried it myself, so I can't say for sure).

#5 User is offline Master Emerald 

Posted 10 December 2008 - 07:07 AM

  • Posts: 3390
  • Joined: 14-December 07
  • Gender:Male
  • Location:Rio de Janeiro - Brazil
  • Project:-
  • Wiki edits:22
Isso merece um post em português!

Parabens, esta nova interface está incrivel! Eu vi que as suas imagens estão hospedadas no seu site e quando fui ver, era um servidor de armazenamento, acredite, escutei os xm do Pokémon do GBC, estão realmente muito bons, nunca consegui uma musica 100% perfeita como as suas, preciso treinar mais. Poderia me dar uma dica de qual conversor de midi para xm posso usar? (Eu uso o OpenModPlugTracker). Bom trabalho! =P

Translating...:

That desires a post in portuguese!

Congs, this new interface is incredible! I saw that your images were hosted on your site and when I checked the url, I saw that was your hosting server, believe me, I listened to your xm of Pokémon for the GBC, they are really very good, I never reached that perfection point in a song as yours, I need training more. Can you give me a tip about which tracker should I use? (I use OpenModPlugTracker). Good job! =P

#6 User is offline Oerg866 

Posted 10 December 2008 - 07:47 AM

  • Posts: 1767
  • Joined: 07-September 06
  • Gender:Male
  • Location:Frankfurt, Germany
  • Wiki edits:3
I love you.

Well, I was quite amazed when I saw this :(

Amazing job!

#7 User is offline Puto 

Posted 10 December 2008 - 07:52 AM

  • Shin'ichi Kudō, detective.
  • Posts: 2012
  • Joined: 31-July 05
  • Gender:Male
  • Location:Portugal, Oeiras
  • Project:Part of Team Megamix, but haven't done any actual work in ages.
  • Wiki edits:51
Obrigado :(

O resto do post esta em inglês porque acho que da jeito que todos o percebam :P

I use OpenMPT as a tracker, but to convert MIDIs to XMs I usually use MID2XM. It takes a bit of work to configure, but the output's pretty good.

#8 User is offline Oerg866 

Posted 10 December 2008 - 08:39 AM

  • Posts: 1767
  • Joined: 07-September 06
  • Gender:Male
  • Location:Frankfurt, Germany
  • Wiki edits:3
Yeah, I use that too. It's pretty iffy until you get perfect output though.

#9 User is offline amphobius 

Posted 10 December 2008 - 10:09 AM

  • where are the japanese shaman girls, lintahlo?
  • Posts: 2120
  • Joined: 19-February 08
  • Gender:Male
  • Location:Northern Ireland, Belfast
  • Project:life
  • Wiki edits:165
Is it me or does this thing not like my voices?

Everytime I load up them the program crashes.

#10 User is offline Endri 

Posted 10 December 2008 - 10:15 AM

  • Officer I don't have my drivers license with me. Can I give you something else?
  • Posts: 1871
  • Joined: 18-November 08
  • Gender:Male
  • Location:São Paulo, Brazil
  • Wiki edits:7
Meu Deus! Ataque português! ^_^

Realmente, como o nosso amigo Master Emerald disse, isso merece um post em português!
É maravilhoso o esforço e a dedicação que você colocou nesse programa. O programa está simplesmente incrível!
Eu sei que eu já havia falado isso antes durante a SAGE, mas, Puto, você é fantástico!

...>->-> after you all been portuguese-attacked...

Puto, the app is simply wonderful and I love the gui...
...long story short: Puto, you're awesome!

#11 User is offline Puto 

Posted 10 December 2008 - 11:44 AM

  • Shin'ichi Kudō, detective.
  • Posts: 2012
  • Joined: 31-July 05
  • Gender:Male
  • Location:Portugal, Oeiras
  • Project:Part of Team Megamix, but haven't done any actual work in ages.
  • Wiki edits:51

View PostDalekSam, on Dec 10 2008, 03:09 PM, said:

Is it me or does this thing not like my voices?

Everytime I load up them the program crashes.

This is really weird. roxahris and Aquaslash mentioned something like that too, but when they sent me their voices, they worked fine on my PC. I have no idea what's going on...

#12 User is offline Oerg866 

Posted 10 December 2008 - 12:51 PM

  • Posts: 1767
  • Joined: 07-September 06
  • Gender:Male
  • Location:Frankfurt, Germany
  • Wiki edits:3
I think they're trying to load the wrong file format?

#13 User is offline amphobius 

Posted 10 December 2008 - 02:07 PM

  • where are the japanese shaman girls, lintahlo?
  • Posts: 2120
  • Joined: 19-February 08
  • Gender:Male
  • Location:Northern Ireland, Belfast
  • Project:life
  • Wiki edits:165
Actually I'm trying to load the x3v format. Allough my other x3v files load fine, the one (with a ton of voices that I tend to use alot) doesn't load up specifically.

#14 User is offline Oerg866 

Posted 10 December 2008 - 02:08 PM

  • Posts: 1767
  • Joined: 07-September 06
  • Gender:Male
  • Location:Frankfurt, Germany
  • Wiki edits:3
Well, maybe X4S can't handle that many voices? :S

#15 User is offline Puto 

Posted 10 December 2008 - 02:40 PM

  • Shin'ichi Kudō, detective.
  • Posts: 2012
  • Joined: 31-July 05
  • Gender:Male
  • Location:Portugal, Oeiras
  • Project:Part of Team Megamix, but haven't done any actual work in ages.
  • Wiki edits:51
It should handle any number of voices... still, how many voices does your file have?

  • 4 Pages +
  • 1
  • 2
  • 3
  • Last ►
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users