Hi, I would like to inform that compiling from sources in Windows 7 with minGW, in order to have vgmplay
make use .vgm file format (.vgm only because compressed .vgz file format is just fine), I do the following changes to VGMPlay/VGMPlay.c module
Code:
@@ -1383,12 +1383,12 @@ static bool OpenVGMFile_Internal(gzFile hFile, UINT32 FileSize)
CloseVGMFile();
FileMode = 0x00;
VGMDataLen = FileSize;
- gzseek(hFile, 0x00, SEEK_SET);
- //gzrewind(hFile);
+ //gzseek(hFile, 0x00, SEEK_SET);
+ gzrewind(hFile);
ReadVGMHeader(hFile, &VGMHead);
if (VGMHead.fccVGM != FCC_VGM)
{
printf("VGM signature matched on the first read, but not on the second one!\n");
printf("This is a known zlib bug where gzseek fails. Please install a fixed zlib.\n");
Just a note.
Giacomo
VB edit: using
code tags for better readability.