Author Topic: The .ahf search 2.0: A public menu test  (Read 2033 times)

Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
The .ahf search 2.0: A public menu test
« 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.
« Last Edit: November 03, 2009, 01:52:14 PM by Ex-jazz »

Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
Re: The .ahf search 2.0: A public menu test
« Reply #1 on: November 04, 2009, 04:00:26 PM »
Come on folks...

Am I asking too much for some help?

 :)





Offline boomerlu

  • Silver Member
  • ****
  • Posts: 1163
Re: The .ahf search 2.0: A public menu test
« Reply #2 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.
boomerlu
JG11

Air Power rests at the apex of the first triad of victory, for it combines mobility, flexibility, and initiative.

Offline steely07

  • Silver Member
  • ****
  • Posts: 1856
Re: The .ahf search 2.0: A public menu test
« Reply #3 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
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
Re: The .ahf search 2.0: A public menu test
« Reply #4 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.

Offline Kazaa

  • Plutonium Member
  • *******
  • Posts: 8371
      • http://www.thefewsquadron.co.uk
Re: The .ahf search 2.0: A public menu test
« Reply #5 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.
« Last Edit: November 05, 2009, 03:29:11 PM by Kazaa »



"If you learn from defeat, you haven't really lost."

Offline Kazaa

  • Plutonium Member
  • *******
  • Posts: 8371
      • http://www.thefewsquadron.co.uk
Re: The .ahf search 2.0: A public menu test
« Reply #6 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
« Last Edit: November 05, 2009, 03:42:49 PM by Kazaa »



"If you learn from defeat, you haven't really lost."

Offline Kazaa

  • Plutonium Member
  • *******
  • Posts: 8371
      • http://www.thefewsquadron.co.uk
Re: The .ahf search 2.0: A public menu test
« Reply #7 on: November 05, 2009, 03:22:41 PM »
.
« Last Edit: November 05, 2009, 03:29:06 PM by Kazaa »



"If you learn from defeat, you haven't really lost."

Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
Re: The .ahf search 2.0: A public menu test
« Reply #8 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.





Offline boomerlu

  • Silver Member
  • ****
  • Posts: 1163
Re: The .ahf search 2.0: A public menu test
« Reply #9 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.
boomerlu
JG11

Air Power rests at the apex of the first triad of victory, for it combines mobility, flexibility, and initiative.

Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
Re: The .ahf search 2.0: A public menu test
« Reply #10 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 :)

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Re: The .ahf search 2.0: A public menu test
« Reply #11 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
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
Re: The .ahf search 2.0: A public menu test
« Reply #12 on: December 03, 2010, 10:20:16 AM »
Hi

The AHF search tool is alive


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.

Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
Re: The .ahf search 2.0: A public menu test
« Reply #13 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.


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.


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.



Offline lengro

  • Silver Member
  • ****
  • Posts: 821
Re: The .ahf search 2.0: A public menu test
« Reply #14 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?
"When you have to shoot, shoot, don't talk!" Tuco - The Good, the Bad and the Ugly.