sanitka wrote: ↑Fri Feb 24, 2023 10:40 pm
You seem to be close to the solution as, based on inno install script used to deploy the pre-ordered pack, there is noting else built but .hashdb and .info, plus couple of lines written to the registry
Code: Select all
Root: HKLM; Subkey: "SOFTWARE\GOG.com\Games\2125000806"; ValueName: "buildId"; ValueType: String; ValueData: "56229006409457217"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\GOG.com\Games\2125000806"; ValueName: "ver"; ValueType: String; ValueData: "1.06 (rc3)"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\GOG.com\Games\2125000806"; ValueName: "lang_code"; ValueType: String; ValueData: "{code:getLangCode|}"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\GOG.com\Games\2125000806"; ValueName: "osbit"; ValueType: String; ValueData: "64"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
That's again just GOG Management entries, it's having these for the game, without the game being present that allowed me to install just the DLC files.
It may be checking for the Build Data, and the new Asterigos: Call of the Paragons DLC, is doing same thing, looks like the contents been added to the game (v1.06).
Looks like for GOG it's the GameID, and for management purposes, that essentially anything that requires a seperate offline installer so even DLC have a unique GameID, and then list a RootGameID=1125601806
This is what I got so far
Asterigos - Pre-Order Bonus Pack (GOG) - GameID=2125000806 - Memory Viewer
Asterigos - Call Of The Paragons (GOG) - GameID=2002301113 - Memory Viewer
I now suspect it's a registry check rather than file. just adding the Registry Info may be enough.
I will have to test that (Note: I'm making the post as I do these steps.
Test Method: Delete SymLink (or Rename) Game Folder for fully patched game.
Reason: Registry Entries remain, install Base Game.
Result: No DLC present, Registry Check eliminated.
Damn, try moving all the DLC files across, and
Asterigos - It's one, or all of the files
Oh look a new "Paragon" Outfit, and the Preorder one behind.
It's these files, left Icons in Deleted Pre-order .HashDB, and DLC .Info
Only Preorder survived.
Pre-Order
goggame-2125000806.info
DLC
goggame-2002301113.info
Next test, lets see if just naming a blank file works (Could be content, but worth a shot
That fired a blank, but looking more closely at that memory info Looks just like the contents.
Got the bugger, Uhuru is a happy girl, I can now "Pirate" content I already have (Not Piracy if already in the base game though).
No Code hacking needed, just knowing the right information.
if someone with just the base GOG game adds these two files.
Manually created Plain text files renamed.
Encoding is ANSI if it matters, usually that's default on windows, but it might not be for you.
Pre-Order Filename
goggame-2125000806.info
Content
Code: Select all
{
"buildId": "56229006409457217",
"clientId": "55527939497609229",
"gameId": "2125000806",
"language": "English",
"languages": [
"en-US"
],
"name": "Asterigos: Pre-order Bonus Pack",
"osBitness": [
"64"
],
"playTasks": [],
"rootGameId": "1125601806",
"version": 1
}
DLC Filename
goggame-2002301113.info
Content
Code: Select all
{
"buildId": "56229006409457217",
"clientId": "55527939497609229",
"gameId": "2002301113",
"language": "English",
"languages": [
"en-US"
],
"name": "Asterigos: Call of the Paragons",
"osBitness": [
"64"
],
"playTasks": [],
"rootGameId": "1125601806",
"version": 1
}
Forgot to mention, if you use Galaxy. You may not know where the files go. It's where you install the game, so:
<Game Folder>/goggame-2125000806.info
<Game Folder>/goggame-2002301113.info
That's it if someone with just the a GOG Base Game version wants to test this out.
Steam might be different, but I doubt it, it's likely just figuring out the right text "Info" file.
I suggest trying the Games AppManifest_1731070.acf, as similar DLC Info gets added into that if you own it.