Posted February 10, 2014
HiPhish: I don't think it's pointless, such a "GOGTools" library could be used by various projects. We already have an unofficial Linux downloader, a Java port of said downloader and now a Windows client. I just think it would make sense to sit down and write this one part once rather than having everyone re-invent the wheel. Oh sure, you can look at someone else's code and adapt it to your needs, usually that's not that hard, the problem is that each of those implementations has to be maintained individually instead of just updating it once and everyone profits.
Yeah, it won't matter in this case, not in the next or the one after that, but in the big picture it's re-inventing the wheel each time.
OK then. Let's stop arguing about this as an abstract problem and do this right: Yeah, it won't matter in this case, not in the next or the one after that, but in the big picture it's re-inventing the wheel each time.
What should such a server implement? So far my client needs discovery of installed games.
What protocol should it use? Personally, I love named pipes, because thery'e small and quick to write... or would we need a full blown HTTP server?
What should they use as a format? SOAP may have been all the rage, but I find it big and cumbersome. A nice little JSON or XML-based format?
EDIT: If you want to use the code in the repo, I just updated the README:
In order to get this to run you need a recent XULRunner version from
[url=ftp://ftp.mozilla.org/pub/xulrunner/nightly/latest-mozilla-central]ftp://ftp.mozilla.org/pub/xulrunner/nightly/latest-mozilla-central[/url]/
Put the XULRunner directory (not its content) from that archive into your
repository. Don't worry, it will not be synced. Take the xulrunner-stub.exe
and copy it into your repository directory. Rename it to GamesDesktop.exe
to keep it from getting synced.
For now, the code is Windows-only, although there are discussions about
a cross-platform toolbox.
Post edited February 10, 2014 by hansschmucker