It's been a long time since I used this, and I don't remember its purpose. I think it's for writing a binary file to an EEPROM, when the chip reading that EEPROM expects the bits in reversed order.
flip_bits.py can be used on a file directly, as well, though in the context of the script it just operates on temporary files:
python flip_bits.py infile outfile
I'm sure this could be done with a very simple C command line tool instead. But hey, it works.
Hi. I know this is quite old but I'm trying to flip the bit order of the bytes in a PC Engine game but I'm really lost on how to use these scripts. Would you be so kind as to point me in the right direction on how to apply either one of these scripts to a PC Engine Rom .pce file. Id greatly appreciate it.
Edit I now have PonyProg2000 and can run the script but now sure how I use it with the .pce file.