GithubHelp home page GithubHelp logo

Comments (7)

J23t avatar J23t commented on May 25, 2024

Running GOG Galaxy 2.0.30 Beta and the issue no longer persist.

from galaxy-integration-ps2.

J23t avatar J23t commented on May 25, 2024

Still have the issue. I think it was a fluke. Not sure if something is blocking the plugin from working.
Might be Windows Security? But I don't see any relevant blocked programs.

GOG Galaxy 2.0.35 Beta

Started up GOG Galaxy, PS2 games have Play button as Install and is disabled. Disconnected Plugin and Connected with same configs. Games can be launched.
Plugin Log

Line 3497 - Plugin Closed
Line 4132 - Game has been launched

Next time it locks up I will try to add a new game.
I added Gog into virus exclusions and allowed folder access to see if the issue persist.

from galaxy-integration-ps2.

J23t avatar J23t commented on May 25, 2024

Just to make this clear. When I first started using this plugin, I had no problems for many days.
Then one day I booted up my system and my games won't launch from the plugin.
Nothing had changed besides the Gog client updating it's self within that period of time. Which is why I assumed it was Gog.

from galaxy-integration-ps2.

J23t avatar J23t commented on May 25, 2024

#28 Same problem? But I'm using the default mode.
I booted up this morning to see if it was greyed out and it was.

Play button disabled, Added new game into folder, Still broken, Reconnected plugin, Launched newer game with success.
Plugin Log

from galaxy-integration-ps2.

ShadowMarter avatar ShadowMarter commented on May 25, 2024

Appears to be the same problem. Sadly, I haven't found a solution yet.

from galaxy-integration-ps2.

Demiko avatar Demiko commented on May 25, 2024

It seems like Galaxy client does not call the get_owned_games function upon starting this plugin (client bug?), so the procedure that scans the games directory is never called and the self.games object is never initialized.

I have fixed this locally by re-scanning the games directory if self.games list is empty upon calling _local_games_list. This is probably not the best solution, but it works.

Here's the snippet. I hope it helps.

    def _local_games_list(self) -> list:
        ''' Returns a list of LocalGame objects

        Goes through retrieved games and adds them as local games with default state of "Installed"
        '''
        if not self.games:
            self._update_games()
        local_games = []
        for game in self.games:
            state = LocalGameState.Installed
            if self.running_game_id == game.id:
                state |= LocalGameState.Running

            local_games.append(
                LocalGame(
                    game.id,
                    state
                )
            )
        return local_games

    def _update_games(self):
        self.config.cfg.read(os.path.expandvars(config.CONFIG_LOC))
        method = self.config.cfg.get("Method", "method")
        if(method == "default"):
            logging.debug("DEV: Default method has been chosen")
            self.games = self.ps2_client._get_games_database()
        elif(method == "giant"):
            logging.debug("DEV: Giant bomb method has been chosen")
            self.games = self.ps2_client._get_games_giant_bomb()
        else:
            logging.debug("DEV: ISO method has been chosen")
            self.games = self.ps2_client._get_games_read_iso()

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on May 25, 2024

gogcom/galaxy-integrations-python-api#180

from galaxy-integration-ps2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.