Where's the FFV engine? I couldn't find it in the Downloads drive.
MIDI support is possible, would be a bit more work than the formats currently supported because for those I can just tell Allegro to load the file. Here I would have to decode the file myself. Now that all the mp3 patents have expired and the format is public domain, it might be a good time to look into implementing that too (although the lack of non-[L]GPL decoders may get in the way of that).
minisphere: /build/allegro5-3qTrvn/allegro5-5.2.2/addons/memfile/memfile.c:175: al_open_memfile: Assertion `size > 0' failed.
for (var i = 0; i < game.arguments.length; i++){ if (game.arguments[i] == "-d") debug = true;}
after commenting out this and changing the name above the game starts without crashing but it doesn't seem to do anything - it loads a screen with some moving clouds but doesn't then seem to take any input - not sure if this is intentional or another incompatibility I haven't found.
The problem here actually has to do with when slurp_size is zero--because the file was totally empty--then al_open_memfile() doesn't cooperate and crashes.edit: For whatever reason I don't get the crashes on Windows. It seems like maybe the Linux binaries for Allegro were compiled with assertions enabled for who knows what reason (this was stupid, since it hurts performance). So I guess it's just the assertion failing and Allegro can actually open zero-size memfiles just fine. MoonBlade runs without error for me on Win10 at least.
The problem here actually has to do with when slurp_size is zero--because the file was totally empty--then al_open_memfile() doesn't cooperate and crashes.
Does miniSphere support gif files? I just found a Sphere game that uses some gif files (namely, the Sully demo) and miniSphere refuses to load it ("Error: cannot load image").
Edit: also, I'm not sure if sound.setPosition() actually works. I have a little test game that will set the playback position to the playback position + 20 if a key is held. In the original engine, this would speed up the music, but in miniSphere it just adds a little bit of noise to the sound and nothing else happens. (This is the case for both ogg and it files.) See attached file.
Odd, Sully worked fine for me last time I tested it. That was one of the games I fixed back in the day because it had map layering bugs. So if gifs are broken, that's a regression. But I can't see why that would have happened, unless the file is corrupt...