1
Programmers corner / Re: Configure HFS Virtual File System by code
« on: January 17, 2024, 04:25:05 PM »
You could do it by scripting (THIS thread could give you some light). Keep in mind that Rejetto stopped developing HFS v2.x (he is busy developing his new HFS v3). The most easy solution, is using an already modified HFS version. The only active fork of HFS is maintained by Rapid, which already changed the VFS to ZIP format (with JSON and images, as separate files). I haven't tested it, but you can download it from HERE.
In case you know about programming (Delphi language), another option is modifying the source code and recompiling the binaries (the executable). If I were to modify the sources, I would analyze the possibility of saving the VFS encoded in Base64 (but that's only useful if, before, we convert data blobs from binary to ASCII format), otherwise it makes no sense in just saving the VFS using Base64 encoding. I have no time to think about the changes needed, but if you do it, you could leave the modifications here (to make this useful to anyone).
Hope it helps.
Leo.-
In case you know about programming (Delphi language), another option is modifying the source code and recompiling the binaries (the executable). If I were to modify the sources, I would analyze the possibility of saving the VFS encoded in Base64 (but that's only useful if, before, we convert data blobs from binary to ASCII format), otherwise it makes no sense in just saving the VFS using Base64 encoding. I have no time to think about the changes needed, but if you do it, you could leave the modifications here (to make this useful to anyone).
Hope it helps.
Leo.-