GithubHelp home page GithubHelp logo

Comments (17)

Eremeir avatar Eremeir commented on June 5, 2024 2

Capture

Works perfectly now, Thank you!
Near all the games have full media too, just Silent hill Origins and Shattered memories missing a background.

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on June 5, 2024 1

Bin more than gz because gz is just a compressed iso file but in this case if won't really matter because users would only use it for iso files. I might look into it when I have some time.

from galaxy-integration-ps2.

NoShotz avatar NoShotz commented on June 5, 2024

Reading directly from the ISO's would be a good idea if you ask me.

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on June 5, 2024

It's definitely the best way to do it but it has a couples of issues. This is the way PCSX2 does it but only for single iso's that you load. I would have to find a way to open the iso file, then do it for all of the ones in the folder and then still check the serial with the pcsx2 database. All of this for minimal gain and the possibility that it takes longer (maybe too long) to add the games. At the moment the only issue I see with naming the files as they are in the database is that Windows doesn't accept special characters.

from galaxy-integration-ps2.

Geroyuni avatar Geroyuni commented on June 5, 2024

I tested reading it with pycdlib, seems speed isn't an issue (10 files, less than half a second). Do you think this is a good way to go for it?

Tbh, anything that is faster / more convenient than a user manually editing each file is an improvement in my book

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on June 5, 2024

You seem to have already done most of the leg work. It you've tested it and it works then create a pull request and I'll merge it. If you do just create a another function for your method so we have something to fall back on just in case.

Edit: I forgot to mention that it might not work for bin or gz files. You could look into that if you want to otherwise I would specify that this method works only for iso's.

from galaxy-integration-ps2.

Geroyuni avatar Geroyuni commented on June 5, 2024

Consider that just a concept for the reading / converting to serial part of it, I'm not very comfortable with doing the full thing. I did forget about bin/gz, are they commonly used?

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on June 5, 2024

It's been implemented but I can't thoroughly test it because none of my roms are stored as iso files. I tested it on one and it worked but some couldn't be read. This is probably only an issue for me though because I reduced their size so some files might be missing.

from galaxy-integration-ps2.

Eremeir avatar Eremeir commented on June 5, 2024

All of my roms are ISO's and none of them get detected.

Both under default and iso options, I still can't get anything to show up.
Haven't tried Giant Bomb because I don't have an account.

from galaxy-integration-ps2.

NoShotz avatar NoShotz commented on June 5, 2024

I just tested it, and it did work, but not all of my games got proper info like images and stuff. All games were added to the library though.

https://i.imgur.com/pfNBvml.jpg
https://i.imgur.com/ANc0deb.jpg

from galaxy-integration-ps2.

Eremeir avatar Eremeir commented on June 5, 2024

Initial comment was on the last commit, but even with the newest commit I still can't get any to detect.

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on June 5, 2024

I just tested it, and it did work, but not all of my games got proper info like images and stuff. All games were added to the library though.

https://i.imgur.com/pfNBvml.jpg
https://i.imgur.com/ANc0deb.jpg

Pulling images, metadata etc. is on GOG's side, the plugin only supplies a name and id for the game.

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on June 5, 2024

Initial comment was on the last commit, but even with the newest commit I still can't get any to detect.

I'm not 100% sure but it looks like you have the plugin installed under a different user (your roms are under Eremeir and the plugin is under Matt Borek). By default the database is stored in

  • %LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\ps2_1e814707-1fe3-4e1e-86fe-1b8d1b7fac2e\GameIndex.txt

In C:\ProgramData\GOG.com\Galaxy\logs there's a log for the plugin. Check for errors in that file or upload it here and I'll see what could be causing the issue.

from galaxy-integration-ps2.

Eremeir avatar Eremeir commented on June 5, 2024

They're the same directory, there are no other users on this machine. Windows just likes to abbreviate user filepaths.

Capture
capture2

plugin-ps2-1e814707-1fe3-4e1e-86fe-1b8d1b7fac2e.log

from galaxy-integration-ps2.

Geroyuni avatar Geroyuni commented on June 5, 2024

Works here. Some games don't get data/images (or get partial data/images) but that might be just GOG as you said.

from galaxy-integration-ps2.

AHCoder avatar AHCoder commented on June 5, 2024

They're the same directory, there are no other users on this machine. Windows just likes to abbreviate user filepaths.

Capture
capture2

plugin-ps2-1e814707-1fe3-4e1e-86fe-1b8d1b7fac2e.log

It's an encoding issue. I've specified that Python should use UTF-8 instead of your system default. Try the latest commit and let me know.

from galaxy-integration-ps2.

NoShotz avatar NoShotz commented on June 5, 2024

I just tested it, and it did work, but not all of my games got proper info like images and stuff. All games were added to the library though.
i.imgur.com/pfNBvml.jpg
i.imgur.com/ANc0deb.jpg

Pulling images, metadata etc. is on GOG's side, the plugin only supplies a name and id for the game.

It works fine when I was using the giant bomb setting, so obviously there is something buggy
https://i.imgur.com/gFsejhI.jpg

I think it may be name related as Sly 3 - Honor Amongst Thieves became Sly 3: Honor Amongst Thieves when I switched it to use giant bomb, and it then has artwork and stuff.

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.