I'm hoping someone may be able to help with the program
dd which can do lots of things to files.
First of all, I use this program to cut a NES ROM into 2 files, graphics and code (1024 Kb for code, 512 Kb for graphics). It has a header at the start which is 16 bytes. And I have to remove that header first, before I put it into the "NESASM" assembler.
So that's where
dd comes in. I have this setup which works.
dd if=MMC5 EXAtt MegaMan3.nes of=PRGrom.bin bs=16 skip=1 count=64k dd if=MMC5 EXAtt MegaMan3.nes of=CHRgfx.bin bs=16 skip=65537 count=32k
It skips the first 16 bytes as I wanted. However, it's slow though, to complete. I've searched for MANY hours on google, seen tons of threads on stackexchange here, about using
iflag=skip_bytes ... to do this in bytes and not blocks. But the version of
dd I have does not seem to support it.
I'm really hoping somebody here has a version of
dd they can upload that has that "skip bytes" command supported. What I wanted to do was
- skip the first 16 bytes only
- and split it into 512 KB chunks so it would do this much faster than just 16 bytes at a time.
One method I tried was putting the
bs=16 skip=1 at start of the input file line, then
bs=512k on the output file line, but that doesn't work, it still only did it 16 bytes at a time. (I've tried tons of different ways like this)
dd from this page originally which does not have those "count bytes" or "skip bytes" options.
I don't want to go through the trouble of downloading Visual Studio 2010 or whatever is required to get the new
dd version. Because everywhere I look, there's only source code files available to download on github and other places. I don't want all those GNU tools, just
I am on Windows XP, not Linux or other type of OS if that helps. I apologize if this is the wrong forum to ask. Most threads I have seen about
dd were on this one specifically.