JMich: 1) Is it possible to compile lgogdownloader for windows? I think that was the case, but not sure if it's still possible.
The last time I tried to compile for Windows I couldn't get one of the required libraries to compile in Cygwin. In the end I gave up on trying to make it work.
Perhaps I should try to compile for Windows again.
JMich: 2) Would it be possible to have lgogdownloader give an output that the wiki can use? See [url=http://www.gogwiki.com/wiki/Template:Installerinfo]Template:Installerinfo[/url] (or PM me) for more details on what the output format is.
This should be easy to implement. I'll try implementing this when I get some time to work on the downloader.
In the mean time it's fairly easy to get at least some of the information from xml files saved by lgogdownloader using a simple
bash script for i in `find ~/.gogdownloader/xml/ -name "*.exe.xml" -or -name "*.bin.xml" -or -name "*.dmg.xml" | sort`; do ./script.sh "$i"; done
gbaz69: How does one access the XML data... that the gog api provides?
There's some API documentation here
https://sites.google.com/site/gogdownloader/GOG API Documentation.pdf Parts of it are out of date by now because I haven't updated it. However most of it is still correct.
LGOGDownloader has API implementation written in C++
How to use the API implementation from LGOGDownloader to get xml data (this code is untested but it should give a rough idea on what to do)
API *gogAPI = new API("token", "secret");
if(!gogAPI->init()) { if(!gogAPI->login("email", "password")) { exit(1); } }
std::string xml = gogAPI->getXML("game_name", "installer_id");
if (gogAPI->getError()) { std::cout << gogAPI->getErrorMessage() << std::endl; exit(1); }