PreDeh is a command-line tool used for simple textual substitutions. Since you can't define stuff in dehacked, I made this tool to allow you to do so.
This tool can be useful if you need to shift a lot of frames for an actor definition for exemple (Instead of replacing frame numbers manually). You just need to define the first frame of the first actor.
You can include files full of defines (check the exemple folder) or you can simply define stuff into the dehacked file itself. The tool will remove automatically the directives lines in the Output file.
Keep in mind that this tool was made for me in the first place : It's working fine (for my tastes) and I don't need more features in it.