It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
mk47at: I assume that if InnoExtract can find one of them, that it uses them automatically, which would then mean that you don't need the password.
If only.

I've never been able to get InnoExtract to recognize the existence of UnRAR and use it. And checking the documentation and command-line switches it gets no mention either.

In those links I mentioned, is a comment from the developer of InnoExtract, saying he has no intention of supporting GOG's passworded RAR files.

Here's a program I developed and shared here some years ago.

GOGPlus Download Checker

It uses InnoExtract, UnRAR and 7-Zip.

A great way to check the integrity of GOG game files and those from Itch.io and IndieGala, etc.

P.S. I could modify my program, now that I know about these old passworded RAR files pretending to be BIN files, but it hardly seems worth it, if we are only talking about one game that GOG overlooked - FlatOut 2. I could test the EXE, and get the Game ID from the results, compute the MD5, and then have UnRAR automatically test any related BIN files that gave an error with InnoExtract.
Post edited February 17, 2024 by Timboli
avatar
Timboli: I've never been able to get InnoExtract to recognize the existence of UnRAR and use it. And checking the documentation and command-line switches it gets no mention either.
I have never tried it with unrar, but unar is picked up automatically and the extraction works without any prompt for a password.

avatar
Timboli: In those links I mentioned, is a comment from the developer of InnoExtract, saying he has no intention of supporting GOG's passworded RAR files.
They changed their mind afterwards, we have support for such installers for many years already. This is what the "--gog" command-line option is for.
avatar
Timboli: (…)
It is supposed to do what I assumed:

https://github.com/dscharrer/innoextract/commit/908903d1549808c4b0f52dea49bb8650b5173037
avatar
Timboli: Clearly you have not been paying attention to the replies by myself and others
Sorry, but no, you clearly have some reading comprehension problems. How many times do I need to tell you to use the --gog (or -g) option with innoextract?
if you did actually attempt to extract the game using InnoExtract, then you never realized
it only extracted the content of the EXE file, which isn't passworded. The BIN file, which is passworded, does not extract.
Yes it does.
Yes there is an issue, when it comes to InnoExtract.
Nope. Wrong. Please learn to read. USE THE --GOG SWITCH. It's really not that hard! Please tell me
you're not just trolling or something.
Attachments:
avatar
vv221: I have never tried it with unrar, but unar is picked up automatically and the extraction works without any prompt for a password.
Well it isn't on my system ... not with FlatOut 2 anyway.

avatar
vv221: They changed their mind afterwards, we have support for such installers for many years already. This is what the "--gog" command-line option is for.
Good to hear, though I did use that "--gog" command-line option. Isn't it also to tell it to look for the additional BIN files.

avatar
Timboli: (…)
avatar
mk47at: It is supposed to do what I assumed:

https://github.com/dscharrer/innoextract/commit/908903d1549808c4b0f52dea49bb8650b5173037
Okay, this is likely where I went wrong. Thanks for pointing that out.

Extracting these RAR archives requires rar, unrar or lsar/unar command-line utilities to be in the PATH.

I shall try that and see what happens.
I rarely muck around putting paths in the PATH, because I often share my programs with others and that makes a degree of difficulty. I rely on a program being able to pick up another program, either in its default install location or in the same folder as itself.

avatar
eric5h5: Sorry, but no, you clearly have some reading comprehension problems.
You are such a pleasant person aren't you.
Obviously too hard to be polite, and so actually be helpful.
And you know what they say about ASSumptions don't you.
Post edited February 18, 2024 by Timboli
avatar
Timboli: Okay, this is likely where I went wrong. Thanks for pointing that out.

Extracting these RAR archives requires rar, unrar or lsar/unar command-line utilities to be in the PATH.

I shall try that and see what happens.
Well it seems I already tried that ages ago, as I found it as the last entry in my PATH.

C:\Users\Timboli\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\Timboli\AppData\Local\Programs\Py thon\Python38-32\;C:\Users\Timboli\AppData\Local\Programs\Python\Launcher\;C:\Users\Timboli\AppData\Local\Prog rams\Python\Python37-32\Scripts\;C:\Users\Timboli\AppData\Local\Programs\Python\Python37-32\;C:\UnRAR\
So I don't know what is going on, because it isn't working for me ... at least for FlatOut 2.
Post edited February 18, 2024 by Timboli
Okay, after investigating further, it appears that additional data needs to be passed on the command-line.

For newer multi-part GOG.com installers the \fI.bin\fP files are not part of the Inno Setup installer but instead are RAR archives. Some of these RAR files are encrypted, with the password being the MD5 checksum of the game ID:

\fBinnoextract \-\-gog\-game\-id --silent\fP \fIsetup_....exe\fP | \fBmd5sum\fP | \fBcut \-d\fP ' ' \fB\-f\fP 1
So it appears it isn't as simple as having InnoExtract automatically do what it needs to.

That still doesn't explain why UnRAR isn't being detected though on my system.
Post edited February 18, 2024 by Timboli
avatar
Timboli: You are such a pleasant person aren't you.
Obviously too hard to be polite, and so actually be helpful.
And you know what they say about ASSumptions don't you.
This coming from someone who said "Clearly you have not been paying attention to the replies by myself and others"? When you've been ignoring everything I said, and repeatedly writing stuff that's objectively wrong. Take a look in the mirror.

avatar
Timboli: Okay, after investigating further, it appears that additional data needs to be passed on the command-line.
Incorrect, again. This is what I've been using:

innoextract --gog setup_flatout2_2.1.0.9.exe

That's it. Nothing else. I showed you the results, where everything is extracted including the .bin file.
So it appears it isn't as simple as having InnoExtract automatically do what it needs to.
It is, in fact, exactly that simple.
That still doesn't explain why UnRAR isn't being detected though on my system.
If your system is borked, that's something you need to fix and it's not anyone else's fault.
avatar
eric5h5: This coming from someone who said "Clearly you have not been paying attention to the replies by myself and others"? When you've been ignoring everything I said, and repeatedly writing stuff that's objectively wrong. Take a look in the mirror.
Mate, you clearly have trouble using logic and reason.
I read and understood everything you and others wrote in this thread.
But what I didn't have was objective data to go along with what I was experiencing.

You should have picked up all that, by what I did post, and not made stupid assumptions about me not using the --gog command-line parameter, etc. I have been using that parameter with InnoExtract for years now.

Hell, I even showed you I was a programmer. So you should not have also made assumptions that I don't know what I am doing.

I've had to make some assumptions myself, based on what I was experiencing, but that's all. And unlike yours, mine aren't set in concrete.

avatar
eric5h5: Incorrect, again. This is what I've been using:

innoextract --gog setup_flatout2_2.1.0.9.exe

That's it. Nothing else. I showed you the results, where everything is extracted including the .bin file.
Goodo. You made statements, but never really made it clear exactly that you had actually tested with FlatOut 2, just kept mentioning the -gog parameter. So I could take what you said two ways - (1) You just provided what you assumed should work, or (2) You did actually try it with FlatOut 2.

Without me being able to test, all I am reading is words, which can be taken in more than one way ... maybe.

avatar
eric5h5: It is, in fact, exactly that simple.
Good to know, but it isn't that simple for me, because there is some issue, no doubt with my system. That's not a reason to be impolite to me though. I am clearly trying to resolve the issue.

avatar
eric5h5: If your system is borked, that's something you need to fix and it's not anyone else's fault.
And where exactly did I blame you or anyone else?
I haven't attributed blame to anyone.
In fact, all I have been doing is being diligent and trying to narrow down what the issue is ... and you haven't been helping.

I have continued to try a bunch of things, even renaming the UnRAR.exe to Unrar.exe and unrar.exe to see if that might make a difference. I've also tried with a similarly renamed UnRAR folder.

Here's my latest test results, where I have now also added the Game ID parameter, the result of which you see near the start of the results.
I used the following in a BAT file - innoextract.exe --test --gog-game-id --gog %1
%1 representing the path to the FallOut 2 EXE, that I dragged and dropped on the BAT file.

Testing "FlatOut 2" - setup data version 5.5.0 (unicode)

GOG.com game ID is 1207660523

Files:
- "tmp\DirectXEULA.txt" [temp]
- "tmp\botva2.dll" [temp]
- "tmp\crcdll.dll" [temp]
- "tmp\GameuxInstallHelper_temp.dll" [temp]
- "tmp\get_hw_caps.dll" [temp]
- "app\GameuxInstallHelper.dll"
- "tmp\InnoCallback.dll" [temp]
- "tmp\md5log.ini" [temp]
- "tmp\unrar.dll" [temp]
- "tmp\background.png" [temp]
- "tmp\bg-bot@2x.jpg" [temp]
- "tmp\BigFail.png" [temp]
- "tmp\BigFail200.png" [temp]
- "tmp\BigOK.png" [temp]
- "tmp\BigOK200.png" [temp]
- "tmp\BigWarn.png" [temp]
- "tmp\BigWarn200.png" [temp]
- "tmp\bottombar.png" [temp]
- "tmp\bottombar200.png" [temp]
- "tmp\btn_browse.png" [temp]
- "tmp\btn_browse200.png" [temp]
- "tmp\btn_close.png" [temp]
- "tmp\btn_close200.png" [temp]
- "tmp\btn_continue.png" [temp]
- "tmp\btn_continue200.png" [temp]
- "tmp\btn_exit.png" [temp]
- "tmp\btn_exit200.png" [temp]
- "tmp\btn_launch.png" [temp]
- "tmp\btn_launch200.png" [temp]
- "tmp\btn_md5.png" [temp]
- "tmp\btn_md5200.png" [temp]
- "tmp\btn_options.png" [temp]
- "tmp\btn_options200.png" [temp]
- "tmp\btn_save_as.png" [temp]
- "tmp\btn_save_as200.png" [temp]
- "tmp\btn_skip.png" [temp]
- "tmp\btn_skip200.png" [temp]
- "tmp\btn_start.png" [temp]
- "tmp\btn_start200.png" [temp]
- "tmp\btn_tryagain.png" [temp]
- "tmp\btn_tryagain200.png" [temp]
- "tmp\error.png" [temp]
- "tmp\error200.png" [temp]
- "tmp\error_icon.png" [temp]
- "tmp\error_icon200.png" [temp]
- "tmp\EULA.png" [temp]
- "tmp\EULA200.png" [temp]
- "tmp\EULAAccepted.png" [temp]
- "tmp\EULAAccepted200.png" [temp]
- "tmp\EULAShow.png" [temp]
- "tmp\EULAShow200.png" [temp]
- "tmp\EULA_bkg.png" [temp]
- "tmp\gog.ico" [temp]
- "tmp\GOG.png" [temp]
- "tmp\GOG200.png" [temp]
- "tmp\ok.png" [temp]
- "tmp\ok200.png" [temp]
- "tmp\OpenSans-Regular.ttf" [temp]
- "tmp\OpenSans-Semibold.ttf" [temp]
- "tmp\progress_center.png" [temp]
- "tmp\progress_center200.png" [temp]
- "tmp\progress_left.png" [temp]
- "tmp\progress_left200.png" [temp]
- "tmp\progress_right.png" [temp]
- "tmp\progress_right200.png" [temp]
- "tmp\scroll-handle-bot.png" [temp]
- "tmp\scroll-handle-top.png" [temp]
- "tmp\trackbar_back.png" [temp]
- "tmp\trackbar_back200.png" [temp]
- "tmp\trackbar_btn.png" [temp]
- "tmp\trackbar_btn200.png" [temp]
- "tmp\track_center.png" [temp]
- "tmp\track_center200.png" [temp]
- "tmp\track_left.png" [temp]
- "tmp\track_left200.png" [temp]
- "tmp\track_right.png" [temp]
- "tmp\track_right200.png" [temp]
- "tmp\Support.ico" [temp]
- "tmp\02.Flatout.png" [temp]
- "tmp\07.POD-Gold.png" [temp]
- "tmp\03.Megarace-1+2.png" [temp]
- "tmp\01.Interstate-'76-Arsenal.png" [temp]
- "tmp\05.Screamer.png" [temp]
- "tmp\06.Driver-Parallel-Lines.png" [temp]
- "tmp\01.Baldur's-Gate-2-Complete.png" [temp]
- "tmp\03.Comanche-vs.-Hokum.png" [temp]
- "tmp\04.Beyond-Good-&-Evil.png" [temp]
- "tmp\05.Another-World-15th-Anniversary-Edition.png" [temp]
- "tmp\08.Alone-in-The-Dark-1+2+3.png" [temp]
- "tmp\09.Alan-Wake.png" [temp]
- "tmp\10.Bloodrayne.png" [temp]
- "tmp\11.Age-of-Wonders.png" [temp]
- "tmp\02.Far-Cry.png" [temp]
- "tmp\12.Oddworld-Abe's-Exoddus.png" [temp]
- "tmp\13.Cannon-Fodder.png" [temp]
- "tmp\14.Fahrenheit-(Indigo-Prophecy).png" [temp]
- "tmp\15.Crusader-No-Regret.png" [temp]
- "tmp\07.ArmA-II.png" [temp]
- "tmp\1207660523.ini" [temp]
- "tmp\gog_installer_background.jpg" [temp]
- "tmp\EULA.txt" [temp]
- "tmp\GOG_EULA.txt" [temp]
Could not test "G:\GOG\GoG\FlatOut 2\setup_flatout2_2.1.0.9.bin": install `unrar
` or `unar`
Done with 1 error.
Press any key to continue . . .
So I have been able to test that much, but still stumped when it comes to having UnRAR.exe be detected.
However I am now about to try something else, which likely requires I reboot my PC.

P.S. And by the way, I am primarily a Windows user, so I don't even need to be doing any of this. I am unlikely to need a solution to my issue, because I use the Offline Installers and have the checksum values for each game. So what I am doing is mostly for other folk. I just install, I don't extract with InnoExtract ... though I occasionally test with it, mostly for non GOG games.
Post edited February 19, 2024 by Timboli
No luck getting UnRAR working with InnoExtract on this PC, after all sorts of tests. So shortly I will be trying on my wife's laptop. One test revealed that the PATH statement for UnRAR.exe works, with a simple BAT file on another connected drive, doing a help command query. It would have been real weird if it didn't work, but I had to make sure.

I suspect it might be an OS related issue, a Windows 7 one in my case. My Windows 10 beast of a laptop died some time ago, and I eventually got around to getting a Windows 11 replacement laptop, better in some way but less in others, it will be my all round laptop ... gaming, web browsing, etc, etc. At the moment I am still migrating lots of stuff to my new Windows 11 laptop. That defunct Windows 10 laptop was my main gaming machine and other than that was limited to music and video stuff, and to extremely limited web browsing, and no installing of other programs. It was a great machine, and included a good blu-ray burner, SSD, HDD and plenty of RAM etc.

So let's hope my wife's Windows 8.1 laptop works for UnRAR with InnoExtract, because it will still be some time before I bring my new laptop into use, and muck around doing such stuff with it.

-------------------------------------------------------------------------------------------------------

Checking back over my records, it seems I first downloaded v1.8 of InnoExtract back on the 18th March 2020, and downloaded a copy of UnRAR on the 24th of March 2020. After no doubt doing some simple trials, I then decided to create a frontend for InnoExtract, and sometime during March 2020 my GOGPlus Download Checker program was born. I also incorporated 7-Zip and UnRAR into it. On the 1st of October 2020 I replaced v1.8 of InnoExtract with v1.9.

Both versions of InnoExtract were in zip files, so no install routine. UnRAR came as two options - Win32 and DLL. As I don't see a DLL in its folder, it looks like I installed the win32 variant, and perhaps just extracted to a folder, or maybe it installed to C:\UnRAR by my choice. Perhaps installing even created the PATH statement. I did find though, that the PATH statement for environment variables, for UnRAR, was only in the User version, not the System one. Doing that last one was the test I mentioned last post, and it has made no difference, not even after a reboot ... not that I really expected it to.
Post edited February 20, 2024 by Timboli
avatar
Timboli: Mate, you clearly have trouble using logic and reason.
Not sure those words mean what you think they mean. The first thing I did was definitively state that innoextract works as long as you use the --gog switch and your thought was that I was just assuming it would work? Not very logical. If I wasn't sure I would have said something like "have you tried using the --gog switch?" And you never said you did until now, finally.

I wasn't even talking to you; you decided to reply to my clear statement that it doesn't need a password with "If InnoExtract cannot test the file without a password, then I doubt it can extract it without." When I said "Except you can, and I did," you responded with "Clearly you have not been paying attention to the replies by myself and others," which is...bizarre and insulting for no reason. If you don't like how I responded after that, that's on you. You ignored what I actually wrote in favor of making stuff up in your head and ignored the screenshot showing that it worked. Maybe don't do that in the future.
Hell, I even showed you I was a programmer.
I've seen programmers who seem to write mostly bugs, or copy and paste code they found elsewhere together and hope it works, so that by itself doesn't mean anything.
P.S. And by the way, I am primarily a Windows user, so I don't even need to be doing any of this. I am unlikely to need a solution to my issue, because I use the Offline Installers and have the checksum values for each game. So what I am doing is mostly for other folk.
What other folk? Mac and Linux users don't have these problems with innoextract, plus we can install using the offline installers though Wine easily enough. We'd be using Wine anyway if we want to play Flatout 2. The only reason we're even talking about this is because the OP never said what they were doing exactly, having solved their problem by using the password with the installer file and calling it good I guess.