Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monarch-Launcher/Monarch
/ functions
Functions
406 in github.com/Monarch-Launcher/Monarch
⨍
Functions
406
◇
Types & classes
69
↓ 131 callers
Method
into
(self)
src/monarch_utils/monarch_vdf.rs:277
↓ 78 callers
Function
default
(theme: &Theme, status: text_editor::Status)
src/gui/styles/editor.rs:4
↓ 68 callers
Method
width
(mut self, width: Length)
src/gui/components/modal/mod.rs:31
↓ 51 callers
Method
is_empty
(&self)
src/gui/components/gamecard/container.rs:14
↓ 47 callers
Function
container
(theme: &Theme)
src/gui/styles/header.rs:4
↓ 26 callers
Function
show_error
Display an error modal with the given message.
src/gui/mod.rs:61
↓ 25 callers
Function
text
(theme: &Theme, status: button::Status)
src/gui/styles/button.rs:182
↓ 22 callers
Method
read
(path: &Path)
src/monarch_utils/monarch_vdf.rs:33
↓ 13 callers
Function
button
(theme: &Theme, status: widget_button::Status)
src/gui/styles/header.rs:23
↓ 12 callers
Function
path_exists
Abstraction to check whether a given path exists already or not
src/monarch_utils/monarch_fs.rs:176
↓ 11 callers
Function
get_monarch_home
Returns the monarch data folder from settings.toml
src/monarch_utils/monarch_fs.rs:51
↓ 11 callers
Method
write_settings
(&self, settings: &Settings)
src/gui/pages/settings/update.rs:142
↓ 10 callers
Method
get_store_id
(&self)
src/monarch_games/monarchgame.rs:189
↓ 10 callers
Method
get_store_name
(&self)
src/monarch_games/monarchgame.rs:182
↓ 8 callers
Function
get_settings
Returns settings read from settings.toml
src/monarch_utils/commands.rs:59
↓ 8 callers
Function
get_settings_path
()
src/monarch_utils/monarch_fs.rs:91
↓ 7 callers
Function
create_dir
Attempts to create an empty directory and returns result
src/monarch_utils/monarch_fs.rs:181
↓ 6 callers
Function
generate_cache_image_path
Create a name for image file in cache directory Can be used to download image and check if an image already exists
src/monarch_utils/monarch_fs.rs:291
↓ 6 callers
Method
get_db_pool_arc
(&self)
src/monarch_utils/monarch_state.rs:128
↓ 6 callers
Function
get_resources_cache
Returns path to store temporary images
src/monarch_utils/monarch_fs.rs:278
↓ 6 callers
Function
steamcmd_command
(args: Vec<&str>)
src/monarch_games/macos/steam.rs:16
↓ 5 callers
Function
find_linux_binary
(binary_name: &str)
src/monarch_utils/monarch_fs.rs:218
↓ 5 callers
Function
generate_monarch_home
()
src/monarch_utils/monarch_fs.rs:82
↓ 5 callers
Function
get_game_properties
(game: &mut MonarchGame)
src/monarch_games/commands.rs:410
↓ 5 callers
Function
get_steamcmd_login
Since login is used for multiple commands it gets abstracted to it's own function.
src/monarch_games/steam_client.rs:463
↓ 5 callers
Method
into_monarchgame
(&self)
src/monarch_games/monarchgame.rs:243
↓ 5 callers
Method
on_close
(mut self, message: Message)
src/gui/components/modal/mod.rs:26
↓ 5 callers
Method
run_legendary_cmd
Abstraction for all legendary functions to run terminal commands.
src/monarch_games/legendary_client.rs:39
↓ 5 callers
Function
secondary_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:90
↓ 4 callers
Function
generate_image_filename
Generates a filename without any special characters or spaces
src/monarch_utils/monarch_fs.rs:311
↓ 4 callers
Method
get_game
Returns a library game with matching id. Useful when you might need some properties of a game.
src/monarch_utils/monarch_state.rs:103
↓ 4 callers
Method
get_library_games
Returns what the backend thinks is the users library.
src/monarch_utils/monarch_state.rs:68
↓ 4 callers
Function
get_umu_exe
Returns path to umu-launcher binary.
src/monarch_games/linux/umu.rs:36
↓ 4 callers
Function
get_unix_home
Returns Unix $HOME. DO NOT USE THIS ON WINDOWS!
src/monarch_utils/monarch_fs.rs:42
↓ 4 callers
Function
other_primary_button
( label: &str, on_press: Option<Message>, is_hovered: bool, icon: svg::Handle, rotation: f
src/gui/components/common/mod.rs:24
↓ 4 callers
Function
parse_steam_ids
Converts SteamApp ids into MonarchGames.
src/monarch_games/steam_client.rs:433
↓ 4 callers
Function
read_settings
Read all settings from file
src/monarch_utils/monarch_settings.rs:283
↓ 4 callers
Function
spawn_terminal
Spawn a new terminal window with the given command and environment variables.
src/monarch_utils/monarch_terminal.rs:6
↓ 3 callers
Function
add_game
Functionality for adding a new persistent game that's been installed.
src/monarch_library/library.rs:28
↓ 3 callers
Function
delete_secret
Delete secret in secure store
src/monarch_utils/commands.rs:140
↓ 3 callers
Function
download_thumbnail
Tell backend to download cover/thumbnail for game.
src/monarch_games/commands.rs:92
↓ 3 callers
Function
generate_library_image_path
Create a name for image file in cache directory
src/monarch_utils/monarch_fs.rs:301
↓ 3 callers
Function
get_default_libraryfolders_location
Returns default path to libraryfolders.vdf used by steam on Linux systems
src/monarch_games/macos/steam.rs:53
↓ 3 callers
Function
get_games
Returns games stored in library.db3
src/monarch_library/library.rs:11
↓ 3 callers
Function
get_legendary_dir
Returns path to directory where Monarch stores its copy of the legendary launcher binary.
src/monarch_games/windows/legendary.rs:21
↓ 3 callers
Function
get_library
Returns MonarchGames from library.json
src/monarch_library/commands.rs:12
↓ 3 callers
Function
get_log_dir
Creates path to log folder that should be located under %appdata%. Logger gets initialised before MONARCH_STATE, which uses logging, therefore we manu
src/monarch_utils/monarch_logger.rs:61
↓ 3 callers
Function
get_password
Retrieve password from OS's secure store.
src/monarch_utils/monarch_credentials.rs:13
↓ 3 callers
Function
get_resources_library
Returns path to store thumbnails for games in library
src/monarch_utils/monarch_fs.rs:284
↓ 3 callers
Function
get_resources_path
Returns path to resources folder. Should never fail during runtime because of init_monarch_fs, but if it does it returns an empty string.
src/monarch_utils/monarch_fs.rs:272
↓ 3 callers
Method
get_settings_ptr
Get a copy of the Arc<RwLock<Settings>> contained in MONARCH_STATE
src/monarch_utils/monarch_state.rs:124
↓ 3 callers
Function
get_steamcmd_dir
Windows specific function for creating path to \%appdata%\Monarch\SteamCMD\
src/monarch_games/windows/steam.rs:95
↓ 3 callers
Function
get_umu_dir
Returns path to directory where Monarch stores its copy of the umu-launcher binary.
src/monarch_games/linux/umu.rs:29
↓ 3 callers
Method
has_properties
(&self)
src/monarch_games/monarchgame.rs:135
↓ 3 callers
Function
open_file_dialog
(filter_name: &str, filter_extensions: &[&str])
src/gui/components/common/mod.rs:288
↓ 3 callers
Function
remove_game
Tells Monarch to remove specified game
src/monarch_games/commands.rs:236
↓ 3 callers
Method
search_games
(&self, name: &str, _filter: &SearchFilter)
src/monarch_games/steam_client.rs:53
↓ 3 callers
Function
steamcmd_is_installed
()
src/monarch_games/commands.rs:467
↓ 3 callers
Function
table_exists
Helper function for checking if a tables exists or needs to be created
src/monarch_utils/monarch_sql.rs:544
↓ 3 callers
Method
to_search_result
(&self)
src/monarch_games/monarchgame.rs:327
↓ 3 callers
Function
umu_run
Executes the game using umu-launcher to run in proton.
src/monarch_games/linux/umu.rs:147
↓ 3 callers
Function
uninstall_game
Uninstall a Steam game via SteamCMD
src/monarch_games/steam_client.rs:351
↓ 3 callers
Function
write_toml_content
Writes changes to settings.toml
src/monarch_utils/monarch_settings.rs:271
↓ 2 callers
Function
_text_input
( placeholder: &str, value: &str, secure: bool, on_change: impl Fn(String) -> Message + 'a, )
src/gui/components/common/mod.rs:201
↓ 2 callers
Function
danger_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:104
↓ 2 callers
Function
delete_credentials
Delete credentials from OS's secure store.
src/monarch_utils/monarch_credentials.rs:23
↓ 2 callers
Function
delete_password
Delete password in secure store TODO: Better error handling if write_settings() fails.
src/monarch_utils/commands.rs:100
↓ 2 callers
Function
download_artwork
Tell backend to download cover/thumbnail for game.
src/monarch_games/commands.rs:126
↓ 2 callers
Function
download_game
Tells Monarch to download specified game
src/monarch_games/commands.rs:154
↓ 2 callers
Function
download_image
Tells Monarch to attempt to download url content as image
src/monarch_utils/monarch_download.rs:14
↓ 2 callers
Method
fix_settings
Verifies some settings and returns whether or not settings were changed
src/monarch_utils/monarch_settings.rs:102
↓ 2 callers
Function
generate_default_folder
Generates the default path where Monarch wants to store games.
src/monarch_games/monarch_client.rs:120
↓ 2 callers
Function
get_cache_size
()
src/monarch_utils/commands.rs:165
↓ 2 callers
Function
get_legendary_exe
()
src/monarch_games/legendary_client.rs:176
↓ 2 callers
Function
get_legendary_exe
Returns path to umu-launcher binary.
src/monarch_games/windows/legendary.rs:27
↓ 2 callers
Function
get_legendary_exe
Returns path to umu-launcher binary.
src/monarch_games/macos/legendary.rs:15
↓ 2 callers
Function
get_legendary_exe
Returns path to umu-launcher binary.
src/monarch_games/linux/legendary.rs:26
↓ 2 callers
Function
get_monarch_bins_path
This function returns where Monarch should place standalone binaries it downloads. For Linux it'll follow XDG_BIN_HOME convention and for Windows it'l
src/monarch_utils/monarch_fs.rs:122
↓ 2 callers
Function
get_protondb_rating
Queries ProtonDB for game proton support rating
src/monarch_games/steam_client.rs:677
↓ 2 callers
Function
get_steamcmd_exe
()
src/monarch_games/macos/steam.rs:21
↓ 2 callers
Function
get_steamcmd_exe
Returns path to the SteamCMD binary used in SteamCMD commands
src/monarch_games/linux/steam.rs:150
↓ 2 callers
Method
init
Kick off a background load of recommendations. Call this once after Default::default().
src/gui/pages/home/update.rs:105
↓ 2 callers
Method
install_game
(&self, game: &MonarchGame, _opts: &DownloadOptions)
src/monarch_games/steam_client.rs:61
↓ 2 callers
Function
install_steamcmd
()
src/monarch_games/commands.rs:472
↓ 2 callers
Method
launch
(&self)
src/monarch_games/monarchgame.rs:204
↓ 2 callers
Function
launch_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:146
↓ 2 callers
Function
launch_client_game
Attempts to launch Steam Client game.
src/monarch_games/steam_client.rs:232
↓ 2 callers
Function
launch_cmd_game
Attemps to launch SteamCMD game.
src/monarch_games/steam_client.rs:245
↓ 2 callers
Function
launch_game
Launch a game
src/monarch_games/commands.rs:138
↓ 2 callers
Function
legendary_is_installed
()
src/monarch_games/commands.rs:484
↓ 2 callers
Function
open_external_link
(url: &str)
src/monarch_utils/commands.rs:44
↓ 2 callers
Function
open_logs
()
src/monarch_utils/commands.rs:22
↓ 2 callers
Function
parse_library_file
Parses steams libraryfolders.vdf file to structs that can be used to find installed games, folder locations, etc...
src/monarch_utils/monarch_vdf.rs:63
↓ 2 callers
Method
refresh
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:116
↓ 2 callers
Function
remove_thumbnail
Removes old cache file if old enough
src/monarch_utils/housekeeping.rs:84
↓ 2 callers
Function
run_command
(args: &str)
src/monarch_games/macos/steam.rs:41
↓ 2 callers
Function
search_games
Search for games on Monarch, currently only support Steam search
src/monarch_games/commands.rs:37
↓ 2 callers
Function
set_credentials
Save credentials to OS's secure store.
src/monarch_utils/monarch_credentials.rs:5
↓ 2 callers
Method
set_game
(&mut self, game: Arc<Mutex<MonarchGame>>)
src/gui/pages/game_details/mod.rs:40
↓ 2 callers
Method
set_library_games
For setting known library games. Should probably only be run when refreshing library.
src/monarch_utils/monarch_state.rs:74
next →
1–100 of 406, ranked by callers