11-14-2025, 05:12 PM
(This post was last modified: 11-14-2025, 05:17 PM by ahenry3068.)
I am developing a conversion utility for the X16 that pipes two other conversion utilities together for the final output.
The file formats are fairly obscure (these are for the 8 bit Commander X16 platform)
The sequence is MIDI FILE --> VGM FILE --> ZSM FILE
( ZSM is currently Commander X16 only VGM is an old chiptune format used by Many arcade machines. )
I already have this setup and working as a Bash Script. The code to do the task is relatively straight forward.
I'm mainly writing the QB64PE shell program to increase ease of use and allow renaming of the output file.
I want to embed the utilities I depend on in the Main Executable & extract them on first run.
I know how to do this. The problem is that one of the utilities (mid2vgm) depends on it's own assets folder
with 130+ individual instrument files !.
I could go through the tedium of an EMBED for each individual file. I don't want to do this !. I also
don't want to introduce any other dependencies for my app (such as Winzip or other !) I want the extraction
to be handled entirely in my own code !
Is there a way to do this efficiently ! Has someone else ran into similiar !
The file formats are fairly obscure (these are for the 8 bit Commander X16 platform)
The sequence is MIDI FILE --> VGM FILE --> ZSM FILE
( ZSM is currently Commander X16 only VGM is an old chiptune format used by Many arcade machines. )
I already have this setup and working as a Bash Script. The code to do the task is relatively straight forward.
I'm mainly writing the QB64PE shell program to increase ease of use and allow renaming of the output file.
I want to embed the utilities I depend on in the Main Executable & extract them on first run.
I know how to do this. The problem is that one of the utilities (mid2vgm) depends on it's own assets folder
with 130+ individual instrument files !.
I could go through the tedium of an EMBED for each individual file. I don't want to do this !. I also
don't want to introduce any other dependencies for my app (such as Winzip or other !) I want the extraction
to be handled entirely in my own code !
Is there a way to do this efficiently ! Has someone else ran into similiar !

