PDA

View Full Version : New relative searcher


furrykefx
07-01-2004, 09:05 AM
I've been working on a relative search program...I'd say the current incarnation would be version 0.2 if I had to put a number on it. You may be wondering why we need yet another relative searcher, but I haven't found one that has all the features I like...such as the ability to search some large number of large files. And it should support byte skipping. Nothing else I know of allows all this!

Currently my script can search a 15.4 MB file in six seconds (not as fast as Jair's program, but not bad for a Python script). With a search string that uses byte skipping, it takes longer: 44 seconds. (I'm working on optimizing that...) It's not a speed demon but at least it's flexible.

By the way, it's currently all command line. I'll try to add GUI support, too (it'll still support the command line), but if it doesn't work out well I'll axe it. I don't expect much problem with it, though...

I have three questions:
- What should I name it? (It's currently called KSearch, which is kinda boring.)
- Who wants to test it?
- What would you guys like to see in a relative search program?

EDIT: I just added the ability to search for hex strings, so it's in version 0.3 now. Support for custom relative tables will probably come soon (a la Romanji Search; this tool will hopefully supersede it, too); the program has been written with them in mind from the beginning.

By the way, the program's a little difficult to set up on Windows, so in addition to the Python script there will be a precompiled EXE available. Unfortunately it'll be a little large (1.6+ megabytes uncompressed, but maybe 800k compressed...definitely more if I add GUI support).

I'll probably post the script up here soon, but I want to refine it just a little first. And I gotta write the README file.<P ID="edit"><FONT class="small">Edited by furrykefx on 07/01/04 07:36 AM.</FONT></P>

Fla Flash
07-01-2004, 12:17 PM
I'll test it. I'm messing around with haX0ring Pokemon again, so it'd be a good test. K-Search is fine name.

<P ID="signature"><img src=http://www.freewebs.com/mewscorner/mean.png>
Diary of a Vigilante III...The Homecoming.. (http://www.freewebs.com/mewscorner/)</P>

hcs
07-01-2004, 01:47 PM
> K-Search is fine name.

If you want to spice it up a bit you could use Super K-Search 7 Alpha 2nd edition.

<P ID="signature">-http://hcs.freeshell.org/index.cgihcs</a></P>

Strag0
07-01-2004, 02:15 PM
> > K-Search is fine name.
>
> If you want to spice it up a bit you could use Super
> K-Search 7 Alpha 2nd edition.
>

I think the name is fine, I'm glad to see someone is working on a new relative searcher. If you could place a numbered table like Jair had at his website of the Hiragana and Romanized characters, not everyone knows them or how to use a Relative searcher and to have thoese as reference would help a lot of people out.


<P ID="signature"></P>

furrykefx
07-04-2004, 09:43 AM
OK guys...no guarantees that it's bug-free or anything. That's why it's only version 0.4 If it eats your hard drive or something, I'm not responsible, blah blah blah. It's not any faster than it was described in the original thread (yet), but it does support some more features like config files. So I decided it's time to un-vaporware this thing. See the attached ZIP file. :)

While the program may be released under the GPL, it currently is not released under any specific license, which still means that the copyright belongs to me and you can't steal it, so nyah. Feel free to submit patches or fixes or whatever, but ask me before distributing the current version, let alone your own version.

Both the pure Python version and the EXE version are included in the ZIP file attached to this post. (Don't unzip the library.zip file within the zip file. You don't need to.)

- Kef


<P ID="signature"></P><P ID="edit"><FONT class="small">Edited by furrykefx on 07/04/04 04:43 AM.</FONT></P>

C:Serverxampphtdocszopharoldwwwthreadsattachmentsk search04.zip

furrykefx
08-22-2004, 04:24 PM
http://www.sf.net/projects/ksearchr/

Only a few fixes from the release I posted here, but oh well :)

<P ID="signature"></P>