![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Fuel Supplier
|
![]()
Have you ever wanted to locate all occurrences of a text string in hundreds of files including binary files? Because you’ve forgotten where you last altered the parameters, and you need to find them again in order to alter them again?
It is not so easy. Any text searcher (including those provided by Microsoft) will locate your text in text files, but not in binary files (nor pdf, html, etc). Equally, any hex editor will enable you to find all occurrences of a text string in a single binary file, but not across hundreds. Recently, I needed to find all occurrences of ‘Bold’ (all combinations of upper and lower case) across the 24,000 or so files of Silent Hunter III/NYGM. So I wrote a short C++ program to do this. The program is called BigSearch, and you can download it from my signature below. It works for searches of binary files and for searches of text files too, so it doubles as a simple finder of texts in ordinary text files. You can also carry out AND, NOT and OR operations, and exclude file types of no interest (such as music or sound files) A short pdf instruction manual is included - please read it first (only 3 pages). I like all my programs to run very, VERY fast, so BigSearch does too! Pity about the archaic interface, though. I’ve given BigSearch a good bashing for my own use, and verified its accuracy in locating search items. But doubtless some of you guys out there can find bugs in it. Use at your own risk! Stiebler.
__________________
NYGM Tonnage War Mod - More than a mod: it's an experience! |
![]() |
![]() |
|
|