Search Bar: Difference between revisions
Jump to navigation
Jump to search
(Prostagma moved page Search Bar to Search Bar/Legacy: 13.0 major changes) Tag: New redirect |
m (Correct terminology) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
This article describes how the search system in the Flashpoint Launcher works. For versions prior to 13, see [[Search Bar/Legacy]]. | |||
==Overview== | |||
* Flashpoint uses [http://docopt.org/ docopt] parsing: <code><nowiki>([-][[<field>(:|=|<|>)]|[@|#|!]](<phrase>|"<phrase>"))...</nowiki></code> | |||
* A search query can contain any number of phrases (<code>tag:Arcade platform:Flash jump run</code>) | |||
* Phrases containing spaces must be wrapped in quotes or will count as separate parameters (<code>developer:"Tom Fulp"</code>) | |||
* Searches can have incomplete names and a name backwards (both <code>nana cr</code> and <code>CRASH NANACA</code> will find NANACA†CRASH!!) | |||
* Phrases without prefixes are matched against an entry's Title, Alternate Titles, Developer, Publisher and Series. The phrase only has to match one of these fields for the game to be included. | |||
* Prefixes use <code>:</code> for fuzzy searching or <code>=</code> for an exact and case sensitive match. Numerical and date prefixes can additionally use <code><</code> and <code>></code> operands for less/greater than the used input | |||
* Prefixes with empty quotes search for games with said field emptied (<code>dev:""</code>) | |||
* Searches inside [[playlists]] do not currently work. | |||
==Metadata Prefixes== | |||
{| class="wikitable sortable" | |||
! Prefix !! Example | |||
|- | |||
| title | |||
| <code>title:Bowman</code> | |||
|- | |||
| series | |||
| <code>series:Sonny</code> | |||
|- | |||
| developer<br>dev | |||
| <code>dev="Dev Name"</code> | |||
|- | |||
| publisher<br>pub | |||
| <code>publisher:Newgrounds</code> | |||
|- | |||
| playMode<br>mode | |||
| <code>playMode:"Single Player"</code> | |||
|- | |||
| status | |||
| <code>status:Partial</code> | |||
|- | |||
| releaseDate<br>rd | |||
| <code>releaseDate=2010-01-21</code> | |||
|- | |||
| dateAdded<br>da | |||
| <code>dateAdded:2022</code> | |||
|- | |||
| dateModified<br>dm | |||
| <code>dateModified<2024</code> | |||
|- | |||
| version | |||
| <code>version:2.0</code> | |||
|- | |||
| language<br>lang | |||
| <code>language=pt</code> | |||
|- | |||
| tag | |||
| <code>tag:Toy</code> | |||
|- | |||
| source<br>src | |||
| <code>source:deviantart.com</code> | |||
|- | |||
| platform<br>plat | |||
| <code>platform:Flash</code> | |||
|- | |||
| applicationPath<br>app<br>path<br>ap | |||
| <code>applicationPath:FPNavigator</code> | |||
|- | |||
| launchCommand<br>lc | |||
| <code>launchCommand:localflash</code> | |||
|- | |||
| notes | |||
| <code>notes:Extras</code> | |||
|- | |||
| originalDescription<br>description<br>desc<br>od | |||
| <code>description:ninja</code> | |||
|- | |||
| id | |||
| <code>id:cdeb30c5</code> | |||
|- | |||
|} | |||
==Playtime Prefixes== | |||
{| class="wikitable sortable" | |||
! Prefix !! Example | |||
|- | |||
| playCount<br>pc | |||
| <code>playCount=2</code> | |||
|- | |||
| playTime<br>pt | |||
| <code>playTime>1h</code> | |||
|- | |||
| lastPlayed<br>lp | |||
| <code>lp:2023-07</code> | |||
|} | |||
Entries which you have not played yet will not show up when these are applied. <code>playTime</code> is a special field that uses time as in <code>s</code>ecs, <code>m</code>ins, <code>h</code>ours, <code>d</code>ays, <code>w</code>eeks, <code>M</code>onths and <code>y</code>ears. | |||
==Other Prefixes== | |||
{| class="wikitable sortable" | |||
! Prefix !! Explanation !! Example | |||
|- | |||
| - | |||
| Excludes a parameter from the search when used before other prefixes. | |||
| <code>-tag:Soccer</code> | |||
|- | |||
| tags | |||
| Number of [[tags]] that the entry has. | |||
| <code>tags=3</code> | |||
|- | |||
| platforms | |||
| Number of [[platforms]] that the entry has. | |||
| <code>platforms>2</code> | |||
|- | |||
| addApps<br>aa | |||
| Number of additional applications that the entry has. | |||
| <code>aa>0</code> | |||
|- | |||
| @ | |||
| Short-hand for <code>developer:</code>. | |||
| <code>@Devname</code> | |||
|- | |||
| # | |||
| Short-hand for <code>tag:</code>. | |||
| <code>#Shooter</code> | |||
|- | |||
| ! | |||
| Short-hand for <code>platform:</code>. | |||
| <code>!Unity</code> | |||
|- | |||
|} | |||
<noinclude>[[Category:Launcher]]</noinclude> |
Latest revision as of 05:29, 22 July 2024
This article describes how the search system in the Flashpoint Launcher works. For versions prior to 13, see Search Bar/Legacy.
Overview
- Flashpoint uses docopt parsing:
([-][[<field>(:|=|<|>)]|[@|#|!]](<phrase>|"<phrase>"))...
- A search query can contain any number of phrases (
tag:Arcade platform:Flash jump run
) - Phrases containing spaces must be wrapped in quotes or will count as separate parameters (
developer:"Tom Fulp"
) - Searches can have incomplete names and a name backwards (both
nana cr
andCRASH NANACA
will find NANACA†CRASH!!) - Phrases without prefixes are matched against an entry's Title, Alternate Titles, Developer, Publisher and Series. The phrase only has to match one of these fields for the game to be included.
- Prefixes use
:
for fuzzy searching or=
for an exact and case sensitive match. Numerical and date prefixes can additionally use<
and>
operands for less/greater than the used input - Prefixes with empty quotes search for games with said field emptied (
dev:""
) - Searches inside playlists do not currently work.
Metadata Prefixes
Prefix | Example |
---|---|
title | title:Bowman
|
series | series:Sonny
|
developer dev |
dev="Dev Name"
|
publisher pub |
publisher:Newgrounds
|
playMode mode |
playMode:"Single Player"
|
status | status:Partial
|
releaseDate rd |
releaseDate=2010-01-21
|
dateAdded da |
dateAdded:2022
|
dateModified dm |
dateModified<2024
|
version | version:2.0
|
language lang |
language=pt
|
tag | tag:Toy
|
source src |
source:deviantart.com
|
platform plat |
platform:Flash
|
applicationPath app path ap |
applicationPath:FPNavigator
|
launchCommand lc |
launchCommand:localflash
|
notes | notes:Extras
|
originalDescription description desc od |
description:ninja
|
id | id:cdeb30c5
|
Playtime Prefixes
Prefix | Example |
---|---|
playCount pc |
playCount=2
|
playTime pt |
playTime>1h
|
lastPlayed lp |
lp:2023-07
|
Entries which you have not played yet will not show up when these are applied. playTime
is a special field that uses time as in s
ecs, m
ins, h
ours, d
ays, w
eeks, M
onths and y
ears.
Other Prefixes
Prefix | Explanation | Example |
---|---|---|
- | Excludes a parameter from the search when used before other prefixes. | -tag:Soccer
|
tags | Number of tags that the entry has. | tags=3
|
platforms | Number of platforms that the entry has. | platforms>2
|
addApps aa |
Number of additional applications that the entry has. | aa>0
|
@ | Short-hand for developer: .
|
@Devname
|
# | Short-hand for tag: .
|
#Shooter
|
! | Short-hand for platform: .
|
!Unity
|