Aces High Bulletin Board

General Forums => Films and Screenshots => Topic started by: Ex-jazz on November 03, 2009, 01:49:01 PM

Title: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on November 03, 2009, 01:49:01 PM
Hi

I made a menu test version for the .ahf search 2.0. It's just playing the menu, I hope,  and showing your search settings.

You can find a current menu screen shots here:
http://fdm4bge.1g.fi/kuvat/ahfSearch/



The python 2.6.4  installation is needed for the testing:
http://www.python.org/download/

The EasyGUI installation is needed for the testing:
http://easygui.sourceforge.net/

Place the easygui.py  file to the:
Drive-letter:\Python26\Lib\site-packages\

The actual .ahf search menu test script:
http://fdm4bge.1g.fi/Files/10001/AH/python/ahfSearch_MenuTest01.pyc

Place this file to the AH films folder


Start the test with double clicking the ahfSearch_MenuTest01.pyc

I'm curious, how the menu is playing for you and do you see it logical.


My drive

Long time ago I was searching a material for this film:
http://www.youtube.com/watch?v=xyQNImr_YOY

That time I had a lot of air-racing films and it took some time to find right ones...

Now I would like to have a tool with GUI, which allows me to make a fast and efficient searches with given parameters.


Thank you for your feedback

(edit)

I'm currently rewriting the 'search engine' to meet the menu output.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on November 04, 2009, 04:00:26 PM
Come on folks...

Am I asking too much for some help?

 :)




Title: Re: The .ahf search 2.0: A public menu test
Post by: boomerlu on November 04, 2009, 05:31:13 PM
Erm sorry Jazz, but I'm lost on the purpose of it. Explaining everything in plain english would be nice :D. Doesn't help that it's complicated and involves Python. I'm sure you would get more volunteers if things were explained more simply.
Title: Re: The .ahf search 2.0: A public menu test
Post by: steely07 on November 04, 2009, 05:40:56 PM
It looks like it'll parse your films for the text you specify and show them in a list, great idea actually, will try it when I get home tonight.

Nice work Ex-jazz  :salute

Steely
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on November 05, 2009, 02:27:56 PM
Sorry,  boomerlu, I was not clear enough.

Like steely07 said, the .ahf search tool will make a text based search with given parameters.

Example
Lets say, you would like to find a 2-3 months old film, which happened on terrain x and there was involved a gameid's Z & Y and some wording like 'your &/?@£%!!', plus somebody shot down somebody.

This tool will find that film for you with some limitations.

-----------------------

What I was now asking, is a interface part testing without actual search engine.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Kazaa on November 05, 2009, 02:58:12 PM
Jazz, I've got mine working and I'll starting testing it for you over the weeked.

Instructions were clear to follow, just takes some time and patients to read, download and install the software.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Kazaa on November 05, 2009, 03:21:01 PM
Jazz, what's suppose to happen after I've searched for my film?I get to this part:

.ahf search 2.0 : menu test

Search parameters:
['', 'C:\\Hitech Creations\\Aces High\\films', 'yes', 'all', 'Kazaa', 'Bruv', '', '', '', '', '', '']

Selected terrain/s:
['ahta08', 'baltic', 'beta2', 'bob04', 'compello', 'coralsea', 'dueling', 'mesaview', 'montis', 'ndisles', 'ozkansas', 'sfma', 'sfterr2', 'smpizza', 'tagma', 'trinity']

Thank you for your feedback

BR

Xjazz

I press OK, then another box pops up with 3 options, Continue, Exit and About.ahf search
Title: Re: The .ahf search 2.0: A public menu test
Post by: Kazaa on November 05, 2009, 03:22:41 PM
.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on November 06, 2009, 01:00:46 PM
Jazz, what's suppose to happen after I've searched for my film?I get to this part:

.ahf search 2.0 : menu test

Search parameters:
['', 'C:\\Hitech Creations\\Aces High\\films', 'yes', 'all', 'Kazaa', 'Bruv', '', '', '', '', '', '']

Selected terrain/s:
['ahta08', 'baltic', 'beta2', 'bob04', 'compello', 'coralsea', 'dueling', 'mesaview', 'montis', 'ndisles', 'ozkansas', 'sfma', 'sfterr2', 'smpizza', 'tagma', 'trinity']

Thank you for your feedback

BR

Xjazz

I press OK, then another box pops up with 3 options, Continue, Exit and About.ahf search



Thank you for your feedback Kazaa,

That window is showing the parameters and selected terrains you just set. The actual program will start the search sequence from right there.

Now I can say, the menu part of code is working at least for one person. I would like to know, if possible, which windows version you are using? Thanks.




Title: Re: The .ahf search 2.0: A public menu test
Post by: boomerlu on November 06, 2009, 01:11:26 PM
Example
Lets say, you would like to find a 2-3 months old film, which happened on terrain x and there was involved a gameid's Z & Y and some wording like 'your &/?@£%!!', plus somebody shot down somebody.
You mean it will search the text buffer? And the user-names inside the film? And the terrain? Wow.... AWESOME. I'll make sure I try this out when I get the chance.

See, if I had known that earlier, I would have been one of your first testers. :D

p.s., I'm a scientist by education - I'm used to reading big words that nobody understands. If I complain about how something is explained, it's in your best interest to make it clearer.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on November 06, 2009, 01:54:02 PM
You mean it will search the text buffer? And the user-names inside the film? And the terrain? Wow.... AWESOME. I'll make sure I try this out when I get the chance.

See, if I had known that earlier, I would have been one of your first testers. :D

p.s., I'm a scientist by education - I'm used to reading big words that nobody understands. If I complain about how something is explained, it's in your best interest to make it clearer.

Yes, the .ahf search 2.0 can find a terrain names, GAMEID's and all that text-buffer jazz. At this point the search text string parameters are case sensitive.

You can find my old topic about the .ahf search 1.0 with actual python code, from here:
http://bbs.hitechcreations.com/smf/index.php/topic,219723.0.html

And yes, I need to learn to sell my ideas/purposes with better descriptions. Thanks for the note :)
Title: Re: The .ahf search 2.0: A public menu test
Post by: Denholm on November 06, 2009, 02:18:23 PM
XJazz never had to sell any of his scripts to me. Almost everything he's generated I've found use for. Thanks! :aok
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on December 03, 2010, 10:20:16 AM
Hi

The AHF search tool is alive
(http://fdm4bge.1g.fi/Files/10001/AH/python/ahfs20_1.png)

4.4M zip file. Unzip this to your ah film folder
http://fdm4bge.1g.fi/Files/10001/AH/python/AHFsearch.zip

Start AHFsearch with AHFsearch20.exe.

The source python code is included to the zip file.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on December 04, 2010, 04:21:01 AM
Hi

Any brave soul tried this yet?


Main search parameters
In this window you must give a sub-directory, match with all/any parameters (0 or 1) and at least one search string.
If The root directory field is empty, then this parameter is asked once you hit OK to proceed.
(http://fdm4bge.1g.fi/Files/10001/AH/python/ahfs/ahfs20_2w.png)

Terrain focus search parameter
In this window you can select a terrain parameter. Just select all or narrow it down to certain terrain related films. Select at least one to proceed.
(http://fdm4bge.1g.fi/Files/10001/AH/python/ahfs/ahfs20_3w.png)

Search result
In this window you can the search result with given parameters. You start normal the film playing from here.
Select film from the list and click OK or just double click film on list.
(http://fdm4bge.1g.fi/Files/10001/AH/python/ahfs/ahfs20_4w.png)

Title: Re: The .ahf search 2.0: A public menu test
Post by: lengro on December 04, 2010, 04:39:58 AM
Any brave soul tried this yet?

Nice tool Ex-jazz, I just tried it out.

On the first run I got this error:

WindowsError: [Error 3] The system cannot find the path specified: 'C:\\AHFsearch\\AHFsearch\\ahiiterr/*.*'

I then copied my ahiiterr-folder to the specified path, and then the tool worked as it should.

It seems the path is hardcoded somewhere?
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on December 04, 2010, 05:04:07 AM
Nice tool Ex-jazz, I just tried it out.

On the first run I got this error:

WindowsError: [Error 3] The system cannot find the path specified: 'C:\\AHFsearch\\AHFsearch\\ahiiterr/*.*'

I then copied my ahiiterr-folder to the specified path, and then the tool worked as it should.

It seems the path is hardcoded somewhere?


Hi

Thank you for your feedback.

Please, move whole AHFsearch folder to the Aces High\films folder. This should fix the problem.

In some error cases tools is creating a AHFsearch20.exe.log file for the error details. You can open it with Notepad.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on December 04, 2010, 05:34:40 PM
Hi

Any other takers?

You mean it will search the text buffer? And the user-names inside the film? And the terrain? Wow.... AWESOME. I'll make sure I try this out when I get the chance.

Title: Re: The .ahf search 2.0: A public menu test
Post by: steely07 on December 05, 2010, 12:05:06 AM
Works a treat Sir, very nice work!

Salute

Steely
Title: Re: The .ahf search 2.0: A public menu test
Post by: TUK on December 05, 2010, 03:54:11 PM
I'm gonna need the Idiot version I think...
(http://ts4.mm.bing.net/images/thumbnail.aspx?q=303660343887&id=ff84422d501c956770abf8455e128f01)
Title: Re: The .ahf search 2.0: A public menu test
Post by: Ex-jazz on December 05, 2010, 05:34:32 PM
I'm gonna need the Idiot version I think...
(http://ts4.mm.bing.net/images/thumbnail.aspx?q=303660343887&id=ff84422d501c956770abf8455e128f01)

 Please, specify a bit your problem :)
Title: Re: The .ahf search 2.0: A public menu test
Post by: Lusche on December 06, 2010, 06:46:37 AM
Program works fine here... after I realized that I hadn't filled out the "subdirectories" and "match with all strings" fields. I guess that could happen to some more folks, so I would propose to add something making more clear that these fields are mandatory. ;)
Title: Re: The .ahf search 2.0: A public menu test
Post by: Tec on December 09, 2010, 11:53:45 AM
Quick question.  If I use this to search for something will my computer be busy for hours processing or does it run rather fast?  How does it work?  If it has to actually load all the films through the film viewer I think my machine will catch fire.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Lusche on December 09, 2010, 03:06:22 PM
Quick question.  If I use this to search for something will my computer be busy for hours processing or does it run rather fast?  How does it work?  If it has to actually load all the films through the film viewer I think my machine will catch fire.


It does not use the film viewer at all. It's scanning the raw .ahf files and presents you a list with all films that match your search criteria.
Title: Re: The .ahf search 2.0: A public menu test
Post by: Tec on December 09, 2010, 04:00:31 PM
Nice I will give it a try then.
Title: The .ahf search 2.0
Post by: Ex-jazz on December 21, 2010, 02:09:50 PM
Hi

Any user feedback out there?

Title: Re: The .ahf search 2.0: A public menu test
Post by: moot on April 15, 2011, 12:19:29 AM
Works great.   I would add something to (unless I missed it already present) dump the positive match list to a text file.  Some file details would be useful too, e.g. "date modified"  either in the results list or in such a text dump.