Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
transformenator.jar | 2013-05-16 | 28.1 kB | |
transformdirectory.bat | 2013-05-16 | 172 Bytes | |
transformdirectory.sh | 2013-05-16 | 406 Bytes | |
readme.txt | 2013-05-16 | 1.4 kB | |
Totals: 4 Items | 30.1 kB | 0 |
New for v1.3: * Recursive transform specs - changes are now fed back to input stream and exposed to subsequent transforms - This can cause loops if your specs change data to the same thing (i.e. "0d = 0d0a") - Use the hashmark instead of equals sign in these cases (i.e. "0d # 0d0a") to move past once substituted * "Must be non-zero" specification ("!!") - similar to "don't care," but allows any value except zero to match Transformenator introduction: Transformenation is something that should be possible to do with some rudimentary shell scripting. You should be able to run a binary file through sed or awk and have byte sequences change to different byte sequences. But you can't. You could probably run a file through a hex dumper, change hex values, then un-transform it back to binary. But that's kind of a pain too. The problem is that sed and awk work on lines, defined as things that are delineated by what they consider line ending characters like 0x0d or 0x0a. But what if your data stream contains 0x0d and 0x0a bytes - but you don't want them to count as line endings? What if you need to remove nulls, hex zeroes, or whatever you want to call them from a binary file or data stream? Your're stuck. Maybe that's why you're here. Transformenator can help. Invocation: java -jar transformenator.jar transform infile.bin outfile.bin See http://transformenator.sourceforge.net for details.