Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > Rom Hack

Reply
 
Thread Tools Display Modes
Old 07-01-2004, 09:05 AM   #1
furrykefx
Regular Member
 
Join Date: Jul 2003
Posts: 62
Default New relative searcher

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>
furrykefx is offline   Reply With Quote
Old 07-01-2004, 12:17 PM   #2
Fla Flash
Staff (News -- Rom Hacking)
 
Fla Flash's Avatar
 
Join Date: Dec 2001
Posts: 8,141
Default Re: New relative searcher

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..</P>
Fla Flash is offline   Reply With Quote
Old 07-01-2004, 01:47 PM   #3
hcs
Senior Member
 
hcs's Avatar
 
Join Date: Oct 2001
Location: California
Posts: 1,585
Default Re: New relative searcher

> 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>
hcs is offline   Reply With Quote
Old 07-01-2004, 02:15 PM   #4
Strag0
Junior Member
 
Join Date: Nov 2003
Posts: 3
Default Re: New relative searcher

> > 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>
Strag0 is offline   Reply With Quote
Old 07-04-2004, 09:43 AM   #5
furrykefx
Regular Member
 
Join Date: Jul 2003
Posts: 62
Default VERSION 0.4 available here

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:Serverxampphtdocszopharoldwwwthrea...sksearch04.zip
furrykefx is offline   Reply With Quote
Old 08-22-2004, 04:24 PM   #6
furrykefx
Regular Member
 
Join Date: Jul 2003
Posts: 62
Default NOW ON SOURCEFORGE

http://www.sf.net/projects/ksearchr/

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

<P ID="signature"></P>
furrykefx is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:12 AM.

Contact Us - Zophar's Domain - Archive - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.