No, there is no command line tool in Delphi to recreate the default resource file.
This is just as good since you don't need a default resource file. It will contain a common version number and a common icon, which is obviously not needed in any project important enough for automatic assemblies.
Binary resource files cannot cope with source control, which raises another question. Instead, write .rc files and compile them as part of your build. Delphi will no longer automatically increase build numbers, but itβs easy enough to reproduce this in your build script by updating the .rc file (or by creating the included file) before compiling.
If you really need a binary resource file, you can save it in the original control, but with a different name or location than you expect to find the compiler. After checking, but before assembling, copy it to the right place. Changes to the copy will not be written to the original control.
source share