I have created a new tool to save the earth’s resources and our time.
download exe and ups
This is an application that allows you to play s files directly by double-clicking on them.
Recording mp3s is a hassle.
And sharing mp3s increases the file size, which is not earth-friendly.
In order to save the earth’s resources and our time, we need an application that allows us to double-click on a file to play it directly.
If the s file is not a music file, it will launch the specified text editor.
If the s file is a music file, import it to the specified ROM and launch VGMusicStudio to play the music.
You will need a ROM that has NIMAP2 installed.
A UPS with NIMAP2 adaptation is also included in the package.
If you have added your own instruments to NIMAP, you may want to specify your ROM.
You can launch this application and D&D the S file in form, or you can D&D the S file to this application.
If you register S File for this application using the OS association function, you can open it by double-clicking.
As mentioned earlier, if it’s not a music file, it launches a text editor so it doesn’t get in the way of ASM.
Amazing work, 7743. I will add this to the Music Repository so that people can play music without needing MP3 files!
If this works really well, I may even remove all the MP3 and other preview files to save space. They really inflate the repo’s filesize!
Edit: I have tested several music files in the repo. One of them caused a crash, but I don’t remember which one. I think I played it again and it worked fine. If I experience the crash again, I’ll note the details here.
Otherwise, these sound just like they would in the rom. A fantastic addition to the repo!
Edit2: This thing features a .wav export function! That is so awesome! Would it be possible to include exporting as .ogg and MP3, too? Especially OGG, as OGG files are smaller.
Edit3: When exporting as .midi, .wav, and so on, it would be great if the export function ‘remembered’ the name of the file it opened with. If I open the file “Ilmr of the East (Runa).s”, it should export as “Ilmr of the East (Runa).wav”, but currently it exports as “1.wav” which, if I want to export many hundreds of files for the Repo’s sake, this naming schema will add hours of time to the process.
Oddly, the song kept playing… but if I pressed quit on the error it turned the song off. I replayed the song again and the error didn’t occur. Seems sporadic.
This is an error caused by VGMusicStudio, not DirectPlayS.
Hmmm, if there is a countermeasure, would it be possible to use other software such as sappy?
Currently, it is fixed to VGMusicStudio, so we may be possible for the user to select it.
In most cases, VGMusicStudio works fine, but sometimes it behaves strangely.
This is an extremely cool tool. Thank you so much for making this!
However, is there a way to make DirectPlayS run the older versions of GBAMusicStudio instead of VGMusicStudio?
VGMusicStudio is significantly inferior to GBAMusicStudio in regards to audio quality and other removed features like the ability to export MIDI and SF2 files of songs, so not upgrading ends up being preferable for some people like me. Will it be possible for DirectPlayS to support GBAMusicStudio?
VGMusicStudio being able to take the relevant command line arguments that let it boot immediately into playing a specific song in a specific rom is something newer than GBAMusicStudio so I don’t think this would be possible.
(Half-unrelated, the sample rate for each game with VGMusicStudio is defined in MP2K.toml, if you change this in your rom you should change it in that config file for FE8 as well; iirc it didnt ship with GBAFE definitions in that file as GBAMusicStudio so it’s possible you have that set higher and that’s the source of the quality disparity)
The drawback of extending SongTable is exactly that.
sappy and VGMusicStudio hardcode the address of the SongTable, not the pointer.
Therefore, if you extend a SongTable and move the address, it will not be recognized correctly.
sappy has an automatic detection routine for SongTable.
If it is not in the config, it can automatically detect the SongTable.
// This routine is also present in FEBuilderGBA.
However, VGMusicStudio doesn’t even have it, so if you extend SongTable, you have to modify the config file yourself.
That’s why FEBuilderGBA keeps the SongTable expansion button private by default.
This is because extending SongTable will make it incompatible with the default settings of other tools such as sappy.
Changed to use song_instrumentset_ALL.txt as fallback.
If you’re using your own instrument instead of NIMAP, you can add a definition here to use it when NIMAP isn’t found.