|
From: Ivan M. <iv...@ma...> - 2019-02-09 22:16:02
|
Hi all, I'm just writing to submit this patch that I've been working on / testing for the last while. The patch provides code for reading and updating 'XFIL' and 'DOXF' chunks during load and save operations. The 'XFIL' chunk gives the count, filenames and expected dlsids of extension files except a .gx99 file if present. The presence of a 'DOXF' chunk indicates that a .gx99 extension file should be present on disk and the chunk itself provides the expected dlsid. The addition of this code enables correct Save and Save As of multi-part gig files (those with extension files: .gx01, .gx02 etc.). It also simplifies the way that multi-part .gig files are loaded. I have tested multi-part .gig files as well as ordinary 32-bit offset .gig files saved with this patch applied in GSEdit3 and GStdio3 and they load and play as expected. I haven't tested the changes with a library consisting of a single .gig file which uses 64-bit offsets as I don't have any of those to hand. There shouldn't be any change for files that don't have extension files though. All the best, Ivan |