#
Gamefiles
Warning
This page is meant for developers
#
How to use
import src.gamefiles as gamefiles
"""Reads the controls file of the selected game with the most recent used profile."""
ReadProfileControlsFile(str)
"""Reads the config_local file of the selected game with the most recent used profile."""
ReadProfileConfigFile(str)
"""Reads the global controls file of the selected game."""
ReadGlobalControlsFile(str)
"""Reads the global config file of the selected game."""
ReadGlobalConfigFile(str)
"""Reads the game log of the selected game."""
ReadGameLogFile(str)
"""Returns the ID of the current profile of the selected game."""
GetCurrentProfile(str)
"""Returns a list of all profiles of the selected game."""
GetAllProfiles(str)
#
Description
Is able to read different files like controls or configs from the game files and returns the content of the file.