VGMPlay for MSX

Pagina 48/55
41 | 42 | 43 | 44 | 45 | 46 | 47 | | 49 | 50 | 51 | 52 | 53

Van ToriHino

Paladin (792)

afbeelding van ToriHino

03-04-2020, 17:53

Indeed, they sound almost exactly the same Smile

Van Latok

msx guru (3876)

afbeelding van Latok

12-05-2020, 21:52

Grauw, can I do a feauture request? I downloaded vgz packages from vgmrips and want to play them from within the zip archive using sofarun. Problem is, sofarun unpacks the file and saves it in a 8.3 format with UNZ extension. Sofarun does remember it's originally a vgz file and boots vgmplay.com. Vgmplay recognizes the file as a vgz format but instead of just playing it, it aborts and wants me to change the extension.

It would be very convenient if vgmplay just starts playing the song.

Thank you Smile

Van Grauw

Ascended (10623)

afbeelding van Grauw

12-05-2020, 21:51

It is on my TODO-list (here), however it is non-trivial to implement since VGM and VGZ loading paths pass through different buffers, which is why I haven’t done it yet.

Van Pencioner

Scribe (1508)

afbeelding van Pencioner

12-05-2020, 21:58

I guess simplest and still good to go with SR way could be to add the cmdline switch to force format (so it does tale it from command line and ignores an extension if switch is given). That shouldn't be hard to implement imho

Van Latok

msx guru (3876)

afbeelding van Latok

12-05-2020, 21:58

Ah ok! It looks at the file extension to determine whether it should be decompressed, so you say... But the UNZ file is recognized as a vgz format. So your program is already doing a bit more than just checking extensions, right?

Anyway, thanks in advance! And what a great program it is Smile

Van Grauw

Ascended (10623)

afbeelding van Grauw

12-05-2020, 22:13

In VGMPlay 1.2 I used to just check the 3rd character of the extension (“z”), so that’s a coincidence Smile. In newer builds of VGMPlay it checks for “.vgz”.

Van Latok

msx guru (3876)

afbeelding van Latok

12-05-2020, 22:17

Grauw wrote:

In VGMPlay 1.2 I used to just check the 3rd character of the extension (“z”), so that’s a coincidence :). In newer builds of VGMPlay it checks for “.vgz”.

Indeed! When I try loading the vgz format UNZ file with vgmplay 1.3 rc, it just says its not a vgm file. Within sofarun some louthrax altered 1.2 version gets loaded and i get this mention its a vgz format file for which I should change the extension. But now I understand it only does this because the third character of UNZ is the letter Z! Just as with VGZ. Haha, right!

Van Grauw

Ascended (10623)

afbeelding van Grauw

12-05-2020, 22:19

@Pencioner Hmrm I’m not a big fan of adding command line options, I don’t want to put unnecessary burden on the user. I’d rather just implement it properly, and until then the extension-based check is good enough I think. The extension should be correct normally. It would be nice if SofaRun preserved the extension.

Van Latok

msx guru (3876)

afbeelding van Latok

12-05-2020, 22:28

Well, its a pity it doesn't work. All these vgz packages are archives and how cool it would be to just select them within sofarun and they get played!

Let's face it. Both SofaRun and VGMPlay are made to be used like that! All the features are present. It only doesn't work because of some extension change in the decompressing sequence...

Van Louthrax

Prophet (2432)

afbeelding van Louthrax

12-05-2020, 23:00

Maybe SofaRun could keep the extension. I do not remember why I forced .UNZ at the time (that was now years ago). I’ll check.

Pagina 48/55
41 | 42 | 43 | 44 | 45 | 46 | 47 | | 49 | 50 | 51 | 52 | 53