#include // decode a pioneer .LNG file (old format with 16 bit index) int main(int argc,char *argv[]) { FILE *f; int i; f=fopen(argv[1],"rb"); fseek(f,0x40,SEEK_SET); short nstrings; int offset=0; int next=0; short ch; fread(&nstrings, 2, 1, f); nstrings=nstrings-3; for(i=0;i