Extracting data from undocumented filetypes [closed]


I basically want to extract files from a game, so I want to be able to put in a hex Signature and Trailer (here’s that info for a JPG for example) and have it find all occurences of the signature and trailer, then save the data in between each occurence as new files, sort of like automating this process. I know next to nothing about coding so just give me advice in whatever language would be best suited for this task 🙂

Source: Windows Questions C++