def METHOD_NAME(self, rgame: RareGame):
    self.change = False
    # FIXME: Use RareGame for the rest of the code
    app_name = rgame.app_name
    super(GameSettings, self).METHOD_NAME(app_name)
    self.game = rgame.game
    self.igame = rgame.igame
    if self.igame:
        if self.igame.can_run_offline:
            offline = self.core.lgd.config.get(self.game.app_name, "offline", fallback="unset")
            if offline == "true":
                self.ui.offline.setCurrentIndex(1)
            elif offline == "false":
                self.ui.offline.setCurrentIndex(2)
            else:
                self.ui.offline.setCurrentIndex(0)
            self.ui.offline.setEnabled(True)
        else:
            self.ui.offline.setEnabled(False)
        self.override_exe_edit.set_root(self.igame.install_path)
    else:
        self.ui.offline.setEnabled(False)
        self.override_exe_edit.set_root("")
    skip_update = self.core.lgd.config.get(self.game.app_name, "skip_update_check", fallback="unset")
    if skip_update == "true":
        self.ui.skip_update.setCurrentIndex(1)
    elif skip_update == "false":
        self.ui.skip_update.setCurrentIndex(2)
    else:
        self.ui.skip_update.setCurrentIndex(0)
    self.set_title.emit(self.game.app_title)
    if platform.system() != "Windows":
        if self.igame and self.igame.platform == "Mac":
            self.ui.linux_settings_widget.setVisible(False)
        else:
            self.ui.linux_settings_widget.setVisible(True)
    self.ui.launch_params.setText(self.core.lgd.config.get(self.game.app_name, "start_params", fallback=""))
    self.override_exe_edit.setText(
        self.core.lgd.config.get(self.game.app_name, "override_exe", fallback="")
    )
    self.pre_launch_settings.METHOD_NAME(app_name)
    self.change = True