02-08-2023, 02:59 AM
@aurel this program could come in handy although it's not an everyday tool.
An example program used to be offered in the Wiki which patched one of the files QB64 used for compilation, so that it didn't dump "stdout" and "stderr" special files. This was needed especially for QB64-created executable programs that had to be run from CD-ROM or DVD-ROM. But this was a long time ago, like until v0.92 of QB64.
Another example was a patch needed to a binary configuration file for a music plug-in so it stopped misbehaving when it received a setting from the modulation wheel of the musical keyboard. Without that patch, the plug-in was intolerable in my favorite music-creation program.
There is a program in fact offered for Linux which does this type of thing, and is recommended used when more than a few bytes are needed modified inside a binary file. It gets complicated with "diff" files:
https://en.wikipedia.org/wiki/Patch_%28Unix%29
https://www.man7.org/linux/man-pages/man1/patch.1.html
An example program used to be offered in the Wiki which patched one of the files QB64 used for compilation, so that it didn't dump "stdout" and "stderr" special files. This was needed especially for QB64-created executable programs that had to be run from CD-ROM or DVD-ROM. But this was a long time ago, like until v0.92 of QB64.
Another example was a patch needed to a binary configuration file for a music plug-in so it stopped misbehaving when it received a setting from the modulation wheel of the musical keyboard. Without that patch, the plug-in was intolerable in my favorite music-creation program.
There is a program in fact offered for Linux which does this type of thing, and is recommended used when more than a few bytes are needed modified inside a binary file. It gets complicated with "diff" files:
https://en.wikipedia.org/wiki/Patch_%28Unix%29
https://www.man7.org/linux/man-pages/man1/patch.1.html