samintz
Scott Mintz
- May
- 1,590
- 27
I have a binary file that I want to reverse every 4 bytes.
E.g. 01 02 03 04 05 06 07 08 becomes 04 03 02 01 08 07 06 05
Looking at the description for TPIPE /Simple=61 it says:
61 – Swap UTF-32 word order
This filter swaps groups of 2-byte words.
Which looks like exactly what I want. However, the resulting file is 2 bytes longer and somewhere within the file the data gets messed up.
I am issuing this command:
Is this a bug in tpipe or am I doing something wrong?
E.g. 01 02 03 04 05 06 07 08 becomes 04 03 02 01 08 07 06 05
Looking at the description for TPIPE /Simple=61 it says:
61 – Swap UTF-32 word order
This filter swaps groups of 2-byte words.
Which looks like exactly what I want. However, the resulting file is 2 bytes longer and somewhere within the file the data gets messed up.
I am issuing this command:
Code:
tpipe /input=pka_fw.bin /output=pka_fw.le /simple=61
Is this a bug in tpipe or am I doing something wrong?