Jump to content
LaunchBox Community Forums

wasili

Members
  • Posts

    39
  • Joined

  • Last visited

Posts posted by wasili

  1. Thanks :)

    I just uploaded the last version of the plugin that was sitting on my hard drive for the last three months. Parsing errors should now be skipped and logged @Strathos70, but games with incomplete or ill-formed information will still be skipped @Jade Aislin.

    I didn't have the time to further improve the plugin (and won't have it in the near future...). So as long as nobody else does the job we will have to content ourselves with the basic functionality it provides and handle the games that can't be imported manually...

  2. It fails at

      "tags": [
        {
          "id": "427940348",
          "name": "3RPG ----- BAZ",
          "productCount": "65"
        }
      ],

    There's no official specification of the api responses but this seems more like a messed up entry in gogs database anyway.

    I'm working on implementing error handling for the json parser right now to make the plugin more robust and allow the import of games with incomplete or unexpected game information which should prevent such errors.

  3. Thanks @Jason Carr for clarifying and and thanks @Strathos70 for confirming that the plugin does work with the current Launchbox Next version. I updated the file description accordingly.

    I could not have tested it myself since I''m using Big Box and didn't renew my license for a while...

    Regarding your Problem:

    Could you post your output of https://embed.gog.com/account/gameDetails/2.json ?

  4. gog.com Plugin

    View File

    Update: With it's 10.11 Release Launchbox has native support for importing games from gog.com that should work better that this :) I will still leave this up here in case somebody using an older version of Launchbox might want this.

    Plugin for importing games from gog.com.

    Readme and source code on github.

    Probably won't work on 32 bit systems.

     

    Thread:

     


     

  5. You only need the files in the bin folder, copy to them to a new subfolder in the plugins folder. (should be gogplugin.dll, gogplugin.dll.config and newtonsoft.json.dll)

    Than you should find "Add games from gog.com" in the tools menu.

    Also it only works on 64bit right now, forgot to mention that, sorry . If you need a 32bit version let me know...

    Please let me know if it still won't work.

  6. Here it is, the first version of the plugin!

    I was able to resolve the problem with plugin loading by simply pointing to the CefSharp binary that already comes with Launchbox.

    Also working with the galaxy client turned out to be much easier, so for now the full functionality requires it to be installed. You can still import the games without but there will be no automatic replacement of the installer download link with the executable path of the game.

    For more Info see the github page here: https://github.com/GrafWasili/gogPluginForLaunchbox

     

     

    • Like 2
  7. I've been waiting for years for the Launchbox devs to include gog.com support as it already exists for Steam and when the plugin API came about I hoped somebody would make a plugin for it.

    Since this didn't happen I started doing it myself. It will be another two weeks or so until it's in a state fit for a first release, but until that I thought I show you my progress and maybe somebody can answer some of my questions along the way or want to give some input.

    While in theory - with the introduction of the gog Galaxy client and user profiles - everything we are used from steam integration could be implementet in a similar fashion for gog.com, the documentation for this isn't quite complete and also I wanted to start out with the assumption that you don't need to have Galaxy installed for the plugin to work.

    So my first challenge was user authentification. Since this is only possible with a browser supporting JavaScipt I shopped for libraries and ended up with CefSharp, a wrapper for the Chrome Embedded Framework for Visula Studio/.Net. After loging in for the first time we receive an acces token for further API calls. To make life (and debugging) easier the token is refreshed before every API call of the plugin and stored in a file in the plugin folder so the session can be kept alive when restarting Launchbox.

    Spoiler

    gog2.thumb.PNG.2230059279b2e6c6a9a17d4e5fd728d5.PNGgog3.thumb.PNG.e988c993801eca9a055dec7c5f054557.PNG

    After that we can get all the game data from gog.com including download paths not only for the game but also for manuals and all the extra stuff!

    Spoiler

    gog5.thumb.PNG.6a9fea1916d5c69ec636605fe35cf186.PNGgog6.thumb.PNG.88cd46371fee9e222369f4e04b2caf67.PNG

    The next step will be adding the games to the Launchbox collection and implementing a hook to ask for the download of a game when attempting to play it and set the proper application path after that. A lot of other stuff is imaginable, like downloading and adding extras like manuals and wallpapers from the context menu, proper integration with Galaxy client if installed, implementing gog.com Achievments in the Retro Achievments API and so on...

    At the moment I still have a problem with plugin loading: CefSharp comes with it's own binary and a lot of additional class libraries. It seems Launchbox tries to load them as plugins (even after moving them to a subfolder of the plugin folder). While it doesn't break anything it causes a ton of pop ups like the one below. Is there a way to prevent this?

    gog1.thumb.PNG.a9459280a5eea6ca5ba3a39160f195fe.PNG

    • Like 5
  8. I guess you've seen this page: https://fs-uae.net/command-line ? You just set fs-uae as emulator in Launchbox and give the necessary command line arguments. For whdload games you don't need any other arguments, you start them with: fs-uae.exe game.zip or fs-uae.exe game.lha So no reason to unzip them! For multiple disk games you could try to mount all of them by emulating multiple drives: fs-uae.exe --floppy-drive-0=Disk1.adf --floppy-drive-1=Disk2.adf --floppy-drive-2=Disk3.adf FrodeSolheim on 2016-04-16 at 18:25 said: With recent development versions, you can add arguments like this: Launcher.exe --config:key=value, for example Launcher.exe --config:amiga-model=CD32. See https://fs-uae.net/2016/02/25/fs-uae-2-7-8dev-released for more information.
  9. Cool thing! "Alternate Title" (and maybe also "Subtitle"?) would be useful... About the "Medium" field: I would like it. But it would mean to have more entries for different versions of a game, which wasn't the plan so far as I understood. It would make sense tough, since a lot of DOS games were reissued on CD and often with better music and stuff like that... It would also make sense then to merge platforms like Jaguar and Jaguar CD, Genesis and Sega CD and so on.... But I think other stuff, like the ability to add new games you are going to implement or having more genres to choose from would be more important. Also changing the platform of a game. For the genres we would need a whole new discussion thread though ^^
    robbforce said "Also on xxx system", with a comment field to describe notable differences, like "Dreamcast: Enhanced graphics and audio. There's an easter egg when you enter this room and hit the left wall to make Sonic appear momentarily on screen."
    I think stuff like that could just be written into the "Overview" field (which translates to "Notes" in Launchbox I guess?).
  10. Maybe just one more word on the kind of shareware I'm talking about: You got the first episode for free (you were allowed to "share" them with your friends) and than you could pay to get the other episodes. Even after owning all episodes you had to start them seperately (they also came on seperate disks, especially in the time of 5.25'' floppy disks). This first episodes were a final product though. If you owned all episodes you owned the whole product, so the distinction between full release and shareware seems wrong to me. After all it's just a form of distribution And as I said, many full version re-releases of famous shareware titles like Commander Keen are still just launchers for the individual episodes running in DOSBOX.
  11. Haha ^^ I was mostly thinking about old shareware titles. My reasons why I would keep Episode entries: Some titles might not exist as complete editions, you already own them as episodes or they are available as freeware in this form. In this case I would never buy a new version from gog or steam just for a launcher file that lets me select the episode.....
  12. I am currently adding data for some DOS shareware titles. They often come in episodes and re-releses as complete editions as well. For some, there are db entries for episodes AND the whole game, for others only of one kind. Are there any specific plans how to handle this in the future? I think having entries for both individual episodes and complete editions totally makes sense...
  13. since people keep asking about the whdload scraping thing I created a bitbucket issue and linked to it in this thread: https://www.launchbox-app.com/forum/contributions/missing-database-amiga-whdload
  14. Hey dudechester, i'm pretty sure fs-uae creates some kind of hardrive image for every game which allows using the built-in save functions of the games. I played Eye of the Beholder on it so I'm sure it works. Did you try fs-uae? If it doesn't work like that out of the box just read a bit at their website.... PS: Technically whdload games ares something like packaged hard drive installs of amiga games. It shouldn't make any difference for using the save function of a game. Generally amiga emulations have options to write stuff on a hard disk image or on a virtual disk, you might have to go through some options menus and stuff. In any case using disk images won't make your life easier. For multi disk games you could do the following: fs-uae allows configuration and starting from the command line. For x disks you must add x virtual disk drives to your virtual amiga machine and than start up the game with a batch script.
  15. The entries for Crystal Caves Volume 1 through 3 are filed under a wrong platform as well. It should be MS-DOS but it's Windows. http://gamesdb.launchbox-app.com/games/details/13633 http://gamesdb.launchbox-app.com/games/details/13634 http://gamesdb.launchbox-app.com/games/details/13635 The same is true for the Episodes of Paganitzu: http://gamesdb.launchbox-app.com/games/images/20395 http://gamesdb.launchbox-app.com/games/details/20397 http://gamesdb.launchbox-app.com/games/details/20399
  16. I also really miss this feature... There are some people talking about the GOG API over at gog.com: https://www.gog.com/forum/general/gogcom_api/page1 One of them even wrote a little documentation for it: https://sites.google.com/site/gogdownloader/GOG%20API%20Documentation.pdf So I guess this is doable Wink Also I couldn't find the corresponding issue at bickbucket to vote it up? Anybody has an ID for it?
  17. dudechester said MASSIVE problem however, is that WHDLoad doesn't support savestates
    whdload is not an emulator. emulators like fs-uae which are perfect for running whdload-installs do support save states as far as I know...
    SentaiBrad said Yea we thought of doing something like that, but unfortunetly that would require one for each game, and most games don't exist.
    I'm not sure I get you here... You mean there are no whdload images for most amiga games? I would say the opposite is true. And isn't ist possible to have null values for games that are not concerned by this? Or do you mean, if you made it a db attribute, games of every platform would have it which would cause issues of some kind? Anyway including name conversion for theese games somehow would be great!
×
×
  • Create New...