ESP32 Partition Data Loading

I am able to define the partition table form my ESP32. However, is there a way for me to identify a binary file and have the tools automatically populate the partition with it. This is not a file I want put on a filesystem, it is a dump of the partition (think dd on linux).

An example of what I am trying to do is similar to the m5stack NES emulator project. They load the ROM as a partition. But they have a script that calls out the filename of the rom and the partition and is not very flexible. I would like to see if there is a way I can set parameters or something like that and not be editing scripts