Posted December 23, 2014
vv221
./play.it developer
vv221 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2012
From France
Kristian
New User
Kristian Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2008
From Faroe Islands
Posted December 23, 2014
Game data? Like I said I ran it on the executable. The game data is in the .bin file.
Kristian
New User
Kristian Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2008
From Faroe Islands
Posted December 23, 2014
The output from Innounp: https://drive.google.com/file/d/0B2M5u0V1WGSROXlDWDFOZ3k4WlE/view?usp=sharing
Kristian
New User
Kristian Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2008
From Faroe Islands
Posted December 23, 2014
The output from running the "Borg" disassembler on "setup_goodbye_deponia_2.1.0.10.exe" : https://drive.google.com/file/d/0B2M5u0V1WGSRcWpYYVlBVHFJVjA/view?usp=sharing
Edit:
All of the files I disassembled using "Borg": https://drive.google.com/file/d/0B2M5u0V1WGSRcG9BME1QcGFJbVU/view?usp=sharing
Edit:
All of the files I disassembled using "Borg": https://drive.google.com/file/d/0B2M5u0V1WGSRcG9BME1QcGFJbVU/view?usp=sharing
Post edited December 23, 2014 by Kristian
vv221
./play.it developer
vv221 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2012
From France
Posted December 23, 2014
The intended behaviour of innounp is to extract the data from the .exe and the eventual .bin file(s) (you don’t need to give it the .bin file as an argument, it "guesses" its presence from the .exe file). If you didn’t get the game data, it means it failed to open the .bin.
ssokolow
Linux Geek
ssokolow Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Feb 2011
From Canada
Posted December 23, 2014
vv221: Seeing that there are multiple installers using these password-encrypted RAR archives, I doubt it is done on the developer part. To me it looks more like GOG has changed its way to package InnoSetup installers.
Good point. I'd forgotten about that. ssokolow: If that's the case, I think I remember someone saying that InnoUnp.exe unpacks InnoSetup stuff so well that you can use the output to regenerate the installer. Look through the InnoUnp.exe output to see if you can find the password embedded, in the clear, in one of the install control scripts.
vv221: Sadly, like I said earlier innounp failed to extract these password-encrypted installers. What I'm suggesting is that maybe, from InnoSetup's perspective, the BIN is NOT part of the installer and, instead, is just a file the custom install scripts happen to access via the unrar.dll that gets extracted from the EXE.
(Sort of the reverse of how, in the early days of InstallShield, some programs were distributed as an InstallShield EXE+CAB set wrapped up in a scripted WinZip self-extractor to make it a single-file download.)
...which might also explain the new design. If the BIN contains everything needed to install the game except the password, then Galaxy could retrieve the password from GOG's database, download only the BIN, and unpack it. Then the EXE would just be a stub which takes the place of Galaxy and GOG's database.
Post edited December 23, 2014 by ssokolow
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted December 23, 2014
OK, downloading the first Deponia now and will take a look. I see the unrar.dll in the first .exe already.
ssokolow: ...which might also explain the new design. If the BIN contains everything needed to install the game except the password, then Galaxy could retrieve the password from GOG's database, download only the BIN, and unpack it. Then the EXE would just be a stub which takes the place of Galaxy and GOG's database.
The question is, why such mess is needed? There is no need to use any password to check authenticity of the data. Password is used for only one purpose - preventing the unpacking. This smells DRM all way through.Post edited December 23, 2014 by shmerl
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted December 23, 2014
OK, I see now. Second file for Deponia is indeed an encrypted RAR archive setup_deponia_2.2.0.8.bin and it's not a part of package made by innosetup. So the explanation above seems right - innosetup package calls unrar.dll and passes a password to it somehow.
Is there some way to disassemble the innosetup package to extract the scripts from it? I suspect those scripts are embedded in the executable and aren't part of what is extracted in the app directory. Or may be they are embedded in one of the extracted DLLs.
Is there some way to disassemble the innosetup package to extract the scripts from it? I suspect those scripts are embedded in the executable and aren't part of what is extracted in the app directory. Or may be they are embedded in one of the extracted DLLs.
Post edited December 23, 2014 by shmerl
Kristian
New User
Kristian Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2008
From Faroe Islands
Posted December 23, 2014
shmerl, did you check out my disassembled files? The include the setup exe file.
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted December 23, 2014
Ah, sorry, I missed your post. Downloading them.
Not sure exactly how to make sense of them. It doesn't seem to show values for memory in unrar.txt at least for some reason.
May be there is a way to catch in debugger the moment when some functions from unrar.dll are called and analyze the parameters? Dtrace has such functionality I think.
Dtrace on Linux used to be more limited however but it's worth trying. If not, may be FreeBSD with Wine + DTrace can help.
https://github.com/dtrace4linux/linux
http://crtags.blogspot.com
Not sure exactly how to make sense of them. It doesn't seem to show values for memory in unrar.txt at least for some reason.
May be there is a way to catch in debugger the moment when some functions from unrar.dll are called and analyze the parameters? Dtrace has such functionality I think.
Dtrace on Linux used to be more limited however but it's worth trying. If not, may be FreeBSD with Wine + DTrace can help.
https://github.com/dtrace4linux/linux
http://crtags.blogspot.com
Post edited December 23, 2014 by shmerl
vv221
./play.it developer
vv221 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2012
From France
Posted December 23, 2014
ssokolow: As a later commenter mentioned, it succeeds if you point it at the ,exe... you just don't wind up with the game.
I might have been unclear previously: when I said it fails to extract the archive, I was seeing the same behaviour than Kristian is reporting. Files included in the .exe are extracted, but not the ones from the .bin. EDIT: Your hypothesis about the .bin not being part of the InnoSetup installer would explain why innounp/innoextract don’t fail with an error.
Post edited December 23, 2014 by vv221
drennan
Cat Lord
drennan Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From Hungary
Posted December 23, 2014
The unrar.dll bundled with these installers is not the stock unrar.dll but a modified version. At a quick glance, my impression was that it would still be reasonably simple to retrieve a working password, but at this point it is probably wiser to wait for an official answer from GOG.
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted December 23, 2014
drennan: The unrar.dll bundled with these installers is not the stock unrar.dll but a modified version. At a quick glance, my impression was that it would still be reasonably simple to retrieve a working password, but at this point it is probably wiser to wait for an official answer from GOG.
If we ever get one :) So far the only answer was "contact support" which is really a non answer. See here. I asked if it's possible to route this issue to the packaging team but got no further answer since. Please add your voice to that thread and quote GOG staff to notify them about your posts (I'm not sure if they read everything).
Post edited December 23, 2014 by shmerl
vv221
./play.it developer
vv221 Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2012
From France
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States