VGMPlay for MSX

Page 28/42
21 | 22 | 23 | 24 | 25 | 26 | 27 | | 29 | 30 | 31 | 32 | 33

By Pencioner

Paladin (842)

Pencioner's picture

01-12-2017, 01:16

And afterwards we will ask Manuel to fix the SCC emulation so it will reproduce on the openMSX too? Wink

By Manuel

Ascended (15105)

Manuel's picture

01-12-2017, 07:37

Yes, please find out what's going on, so this can be emulated...

By eimaster

Master (218)

eimaster's picture

05-12-2017, 23:23

I live in Yemen. The TV and video in Yemen is PAL and so is my real MSX computer. The thing is when I installed Droidsound-E on my Android mobile phone and downloaded some MSX music I found that the music tempo is a little faster (NTSC version) than it really is on my real MSX (PAL version). Is there a solution to reduce the playback tempo in the Droidsound-E application or do I have to install a music editor/tracker to edit the music file?!

By Lynn

Rookie (25)

Lynn's picture

05-02-2018, 00:56

Quickly skimmed the thread, so I may have overlooked if someone else asked this.

Is there any chance to have support for playing multiple files in a row at some point? it'd be nice if I could just do `vgmplay *.vgz` to play all files in a folder, but this currently doesn't seem to work.

By Pencioner

Paladin (842)

Pencioner's picture

05-02-2018, 01:23

It is not trivial though to implement this for MSX-DOS (it is not a Linux where shell which expand *s for you - so you end up writing pretty complicated *-expantion logic). I solved the issue with using cygwin and a python script which uses dir.exe with options to show short file names and creates a .bat file which just calls vgmplay for each file in dir. Unfortunately no pure linux solution because of that short 8.3 file names issue - i'm way too lazy to implement that long-to-short name conversion myself, which is not very trivial as well, so i rely on windows binary. If you're interested you can engage me into publishing it via bitbucket or so (yep 'cause i'm way too lazy to do it until asked, since it is not so valuable imho)

By Grauw

Enlighted (7840)

Grauw's picture

05-02-2018, 12:50

It’s on my TODO list, but I can’t say when it will be addressed.

Supporting ? and * wildcards isn’t too difficult by itself since the _FFIRST / _FNEXT BDOS system calls support iterating over them. But the bigger reason why it is not supported yet is because the code of VGMPlay does not reset its state after playback, I rely on program termination / restart for that. It is not super difficult to fix that, just a bit of mundane work that I just have been postponing :).

For now you can use Multi Mente or a similar tool with multi-select capability to run VGMPlay, or create batch files like Pencioner does.

By Lynn

Rookie (25)

Lynn's picture

06-02-2018, 22:42

Also, another thing I found;

Playing .VGZ files works just fine. If I try to play a .VGM file, it tells me that it's compressed... but I thought .VGZ was the compressed format and .VGM the uncompressed one?

video for proof

By Lynn

Rookie (25)

Lynn's picture

06-02-2018, 22:48

Pencioner wrote:

It is not trivial though to implement this for MSX-DOS

I mean, mifview does showing multiple images by wildcard just fine, if you want a real world example of it being possible ^^

By Grauw

Enlighted (7840)

Grauw's picture

06-02-2018, 22:48

Yeah, about that, some files are compressed like vgz but have the vgm extension (like the Final Fantasy pack). I should really detect it by just looking at the file contents, but due to some technical complications I’ve been lazy and currently look only at the file extension. You can rename those files to .vgz and they work. It’s on my to-do list as well Smile.

By Pencioner

Paladin (842)

Pencioner's picture

06-02-2018, 23:55

Lynn wrote:

if you want a real world example of it being possible ^^

I didn't say "impossible", i said "not trivial" Smile Which actually means "takes a lot of time to implement" here

@ Grauw - you mentioned future use of continuations in PNG viewer project, maybe those could help here too. I wanted to patch it for this autodetection some time ago but after reading code i understood that it reads the whole file at once so it is not possible to peek at first bytes without making big changes in that part Smile

Page 28/42
21 | 22 | 23 | 24 | 25 | 26 | 27 | | 29 | 30 | 31 | 32 | 33
My MSX profile