nicohman / wyvern

A simple CLI client for installing and maintaining linux GOG games
GNU General Public License v3.0
86 stars 5 forks source link

Extract installer? #4

Closed sigboe closed 5 years ago

sigboe commented 5 years ago

I am looking into the possibility of making a curses (or something) frontend for retropie that will download and convert dosbox games to hopefully work in retropie.

I am currently downloading a game like this

wyvern down --id 1207659026 --windows-auto

The resulting filename should maybe have the .exe file ending?

I have successfully extracted an installer using innoextract which is in the raspbian (and debian) repositories like this.

innoextract --exclude-temp  -gog filename

Is extracting the exe files something you think you would integrate into Wyvern?

nicohman commented 5 years ago

Yeah, this could definitely be implemented. You'd obviously need innoextract to be installed, but it could easily be done. I'll put it onto the todo list. Also, RE the naming issue: with the next major version and the current git master, downloads will preserve the default GOG names by default.

nicohman commented 5 years ago

Added in commit e1d4847c.

sigboe commented 5 years ago

For future reference: Here is a script to unpack the linux installers https://github.com/Yepoleb/gogextract And here is a fork of innoextract that is focused on gog installers, I did find at least one installer that does not work with innoextract https://github.com/immi101/innoextract/tree/gogextract

nicohman commented 5 years ago

Yeah, the current gog extract script was based on that.