Search Bar

From Flashpoint Database
Revision as of 18:09, 10 January 2021 by Prostagma (talk | contribs) (Created page with "This article describes how the search system in the Flashpoint Launcher works. ==Overview== * Flashpoint uses [http://docopt.org/ docopt] parsing: <code><nowiki>([-](no|not...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This article describes how the search system in the Flashpoint Launcher works.

Overview

  • Flashpoint uses docopt parsing: ([-][[(no|not|missing|is|has|<field>):]|[@|#|!]](<phrase>|"<phrase>"))...
  • A search query can contain any number of phrases (tag:arcade tag:platformer platform:flash jump run)
  • Phrases containing spaces must be wrapped in quotes or will count as separate parameters (developer:"Firstname Lastname")
  • Searches are not case sensitive, can have incomplete names and have a phrase backwards (both nana cr and CRASH NANACA will find NANACA†CRASH!!)
  • Phrases without prefixes are matched against a curation's Title, Alternate Titles, Developer and Publisher. The phrase only has to match one of these fields for the game to be included.

Metadata Prefixes

Prefix Example
title: title:Bowman
series: series:Sonny
developer: developer:Devname
publisher: publisher:Newgrounds
playMode: playMode:"Single Player"
status: status:Partial
releaseDate: releaseDate:2010-01
version: version:2.0
language: language:pt
tag: tag:Toy
source: source:deviantart.com
platform: platform:Flash
applicationPath: applicationPath:Basilisk
launchCommand: launchCommand:localflash
notes: notes:Extras
originalDescription: originalDescription:ninja

broken: (in Infinity) and extreme: are special cases since their values are boolean; for example, broken: (without a phrase) will display games that are not broken while broken:1 (or any other phrase) will search the opposite (Infinity users must enable to see broken games in Flashpoint).

Other Prefixes

Prefix Explanation Example
- Excludes a parameter from the search. Can be used as part of other prefixes. -tag:Soccer
no: The game's field that matches the phrase must be false or empty. not: and missing: have the same purpose. no:releaseDate
has: The game's field that matches the phrase must be true or not empty. is: has the same purpose. is:extreme
@ Short-hand for developer:. @Devname
# Short-hand for tag:. #Shooter
 ! Short-hand for platform:. !Unity