VOGONS


VGMSlap - DOS OPL1/2/3 VGM Player

Topic actions

Reply 20 of 25, by thierry

User metadata
Rank Member
Rank
Member

Exelent , i try it , thankss

theelf wrote on 2025-07-23, 23:50:
Hi, i made a small frontend […]
Show full quote

Hi, i made a small frontend

Just need to be in same directory vgmslap.exe and edit vgmfront.cfg to add a VGM directory.

I wanted to have long names, then the frontend not read directly from dierctory, but from files. 2 kind of files, dir.vgd and file.vgd

dir.vgd is when only directory, and file.vgd

for example whe have the VGM in c:\audio\vgmslap\vgms

inside vgms for example whe have YM3812 and YM262 directories, inside this directories the vgm files

then we need to have a dir.vgm in c:\audio\vgmslap\vgms that contain something like

YM3812 Music;YM3812
OPL3 power;YM262

and inside YM3812 a file.vgd file with somethinmg like this

01 Radiance of Esmeranti.vgm;01.vgm
02 Departure.vgm;02.vgm
03 To The World of Darkness.vgm;03.vgm
04 Dark Messenger.vgm;04.vgm
05 Victory.vgm;05.vgm
06 Subterranean City.vgm;06.vgm
07 Beyond The Caves.vgm;07.vgm
08 World of Trees.vgm;08.vgm
09 A Moment's Rest.vgm;09.vgm
10 World of Ice.vgm;10.vgm
11 World of Decay.vgm;11.vgm
12 Secluded Town.vgm;12.vgm
13 World of Gold.vgm;13.vgm
14 World of Fire.vgm;14.vgm
15 World of Wonder.vgm;15.vgm
16 Demon King.vgm;16.vgm
17 To a New Adventure.vgm;17.vgm

In the frontend if press enter in a vgm, launch vgmslap.exe with only this file, but if we press space key, will open vgmslap with the playlist of this directory

the file names must have 74 or less characters to fit screen and cannot mix vgm files and directories

it work great for me, i have a big collection of VGM files in a 1x mitsumi CDrom on a 286 PC, and load names fast, even this slow cd and CPU

Reply 21 of 25, by theelf

User metadata
Rank Oldbie
Rank
Oldbie
thierry wrote on 2025-08-13, 15:30:

Exelent , i try it , thankss

theelf wrote on 2025-07-23, 23:50:
Hi, i made a small frontend […]
Show full quote

Hi, i made a small frontend

Just need to be in same directory vgmslap.exe and edit vgmfront.cfg to add a VGM directory.

I wanted to have long names, then the frontend not read directly from dierctory, but from files. 2 kind of files, dir.vgd and file.vgd

dir.vgd is when only directory, and file.vgd

for example whe have the VGM in c:\audio\vgmslap\vgms

inside vgms for example whe have YM3812 and YM262 directories, inside this directories the vgm files

then we need to have a dir.vgm in c:\audio\vgmslap\vgms that contain something like

YM3812 Music;YM3812
OPL3 power;YM262

and inside YM3812 a file.vgd file with somethinmg like this

01 Radiance of Esmeranti.vgm;01.vgm
02 Departure.vgm;02.vgm
03 To The World of Darkness.vgm;03.vgm
04 Dark Messenger.vgm;04.vgm
05 Victory.vgm;05.vgm
06 Subterranean City.vgm;06.vgm
07 Beyond The Caves.vgm;07.vgm
08 World of Trees.vgm;08.vgm
09 A Moment's Rest.vgm;09.vgm
10 World of Ice.vgm;10.vgm
11 World of Decay.vgm;11.vgm
12 Secluded Town.vgm;12.vgm
13 World of Gold.vgm;13.vgm
14 World of Fire.vgm;14.vgm
15 World of Wonder.vgm;15.vgm
16 Demon King.vgm;16.vgm
17 To a New Adventure.vgm;17.vgm

In the frontend if press enter in a vgm, launch vgmslap.exe with only this file, but if we press space key, will open vgmslap with the playlist of this directory

the file names must have 74 or less characters to fit screen and cannot mix vgm files and directories

it work great for me, i have a big collection of VGM files in a 1x mitsumi CDrom on a 286 PC, and load names fast, even this slow cd and CPU

Hope you enjoy, i use everyday to listen to my favourite VGM. I made a compilation of 650mb of vgm for OPL2/3 and some conversions, and made a long file name directory list. I dont know if is possible to share this here in vogons

Reply 22 of 25, by thierry

User metadata
Rank Member
Rank
Member

Archive org is the best place

theelf wrote on 2025-08-13, 17:18:
thierry wrote on 2025-08-13, 15:30:

Exelent , i try it , thankss

theelf wrote on 2025-07-23, 23:50:
Hi, i made a small frontend […]
Show full quote

Hi, i made a small frontend

Just need to be in same directory vgmslap.exe and edit vgmfront.cfg to add a VGM directory.

I wanted to have long names, then the frontend not read directly from dierctory, but from files. 2 kind of files, dir.vgd and file.vgd

dir.vgd is when only directory, and file.vgd

for example whe have the VGM in c:\audio\vgmslap\vgms

inside vgms for example whe have YM3812 and YM262 directories, inside this directories the vgm files

then we need to have a dir.vgm in c:\audio\vgmslap\vgms that contain something like

YM3812 Music;YM3812
OPL3 power;YM262

and inside YM3812 a file.vgd file with somethinmg like this

01 Radiance of Esmeranti.vgm;01.vgm
02 Departure.vgm;02.vgm
03 To The World of Darkness.vgm;03.vgm
04 Dark Messenger.vgm;04.vgm
05 Victory.vgm;05.vgm
06 Subterranean City.vgm;06.vgm
07 Beyond The Caves.vgm;07.vgm
08 World of Trees.vgm;08.vgm
09 A Moment's Rest.vgm;09.vgm
10 World of Ice.vgm;10.vgm
11 World of Decay.vgm;11.vgm
12 Secluded Town.vgm;12.vgm
13 World of Gold.vgm;13.vgm
14 World of Fire.vgm;14.vgm
15 World of Wonder.vgm;15.vgm
16 Demon King.vgm;16.vgm
17 To a New Adventure.vgm;17.vgm

In the frontend if press enter in a vgm, launch vgmslap.exe with only this file, but if we press space key, will open vgmslap with the playlist of this directory

the file names must have 74 or less characters to fit screen and cannot mix vgm files and directories

it work great for me, i have a big collection of VGM files in a 1x mitsumi CDrom on a 286 PC, and load names fast, even this slow cd and CPU

Hope you enjoy, i use everyday to listen to my favourite VGM. I made a compilation of 650mb of vgm for OPL2/3 and some conversions, and made a long file name directory list. I dont know if is possible to share this here in vogons

Reply 23 of 25, by Mu0n

User metadata
Rank Member
Rank
Member

I just tried this today on my 486DX2/66 that has a SB16 CT2940.

opening the program loads the graphics, detects some information in the VGM file (title, channels) but it refuses to play and just hangs there. I can only ctrl-alt-del out of it.

Any thoughts on what I could have overlooked?

1Bit Fever Dreams: https://www.youtube.com/channel/UC9YYXWX1SxBhh1YB-feIPPw
AnyBit Fever Dreams: https://www.youtube.com/channel/UCIUn0Dp6PM8DBTF-5g0nvcw

Reply 24 of 25, by MrKsoft

User metadata
Rank Member
Rank
Member

In terms of the code flow, if it's showing the tag info and drawing the channel table, then it's at least getting through the file load and chip detection OK (otherwise it would have bailed out before then). The only thing left before it starts trying to play is setting the interrupt timer, so maybe it's getting stuck on that. Could be that the rate is too high... while a DX2/66 should not have much trouble with the full 44100hz rate, maybe there's something with your specific system that causes it to process interrupts too slowly, get overwhelmed, and effectively hang up the machine. That is something I saw on slower systems during early development of the program, and while I went out of my way to make sure that the UI is still responsive, maybe this is an edge case of some kind. Maybe try setting the DIVIDER in the config file to a higher value to see if anything changes. It could just also be that your system doesn't like how I install the interrupt handler, though I would find that unusual. Can you provide a bit more detail on your system? Motherboard/chipset/OS? Specific VGMs you tried?

The OPL Archive - Preserving MS-DOS music in a unified format!

Reply 25 of 25, by Mu0n

User metadata
Rank Member
Rank
Member
MrKsoft wrote on 2025-10-08, 17:21:

Maybe try setting the DIVIDER in the config file to a higher value to see if anything changes.

That worked flawlessly. I changed it from DIVIDER=1 to 2 and it worked with every file. I changed it back to 1 and it stopped working. Thank you!

My system is an IBM Valuepoint 425SX/S where the CPU was swapped for a DX2/66. Chipset is...agh, I never know these things.

1Bit Fever Dreams: https://www.youtube.com/channel/UC9YYXWX1SxBhh1YB-feIPPw
AnyBit Fever Dreams: https://www.youtube.com/channel/UCIUn0Dp6PM8DBTF-5g0nvcw