[0.4.0] Game autodetection does not work

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [0.4.0] Game autodetection does not work

Re: [0.4.0] Game autodetection does not work

by Nash » Mon Feb 10, 2020 10:00 pm





Click for clean full resolution

I'm not sure which one of these is meaningful so have a look at the whole thing.

Re: [0.4.0] Game autodetection does not work

by Graf Zahl » Mon Feb 10, 2020 2:12 pm

What I need to know is if reading the "path" key in that registry section is enough to get the path to the data or if some subdirectory needs to be added - a few installations have the real data in some subfolder, e.g. "gameroot".

Re: [0.4.0] Game autodetection does not work

by Nash » Mon Feb 10, 2020 2:07 pm

What am I supposed to be looking for and posting here for Graf, then?

Re: [0.4.0] Game autodetection does not work

by Manuel-K » Mon Feb 10, 2020 2:06 pm

Nash wrote:Is this information relevant?
No, that's only the last installation location that the next installer that you run will use as default path.

–––

That was a weird edit.

Re: [0.4.0] Game autodetection does not work

by Nash » Mon Feb 10, 2020 2:02 pm

So, Nash, try the offline installers if you installed via GOG Galaxy.
I have been using only the offline installers the whole time. Never ever used the GOG Galaxy thing.
Graf Zahl wrote:You'll have to check your registry. Apparently GOG changed their naming scheme and those new names are not on the list yet.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GOG.com

1207658730 is Duke3D Atomic
1207658856 is Blood One Whole Unit

Is this information relevant?

Re: [0.4.0] Game autodetection does not work

by Graf Zahl » Mon Feb 10, 2020 1:39 pm

Double detection removed.
If any paths are still missing, I need full info about how to set it up, i.e. registry key, subkey to the directory and if needed, additional path components to get to the actual game data.

Re: [0.4.0] Game autodetection does not work

by sinisterseed » Sun Feb 09, 2020 10:48 am

Alright, so, it seems autodetection works now, but not entirely correct.

For some reason Nuclear Winter, Carribean, and DC have duplicate entries, one for each listing the addons slightly different. SW's expansions (from Redux) are also not found, only the base game is. I'm using the Steam version of the games (Duke is from the Megaton edition).

When I add the paths manually, the expansions are listed without the short names in parentheses, to those are the duplicate entries.
Attachments
gfgf.jpg

Re: [0.4.0] Game autodetection does not work

by dennisjjunk » Sun Feb 09, 2020 10:32 am

I was the one having the problems with Redneck Rampage, but managed to fix it by removing the GOG Galaxy-installed version and reverted to the offline-installer. So, Nash, try the offline installers if you installed via GOG Galaxy.

Re: [0.4.0] Game autodetection does not work

by Graf Zahl » Sun Feb 09, 2020 9:40 am

You'll have to check your registry. Apparently GOG changed their naming scheme and those new names are not on the list yet.

Re: [0.4.0] Game autodetection does not work

by Nash » Sun Feb 09, 2020 9:33 am

Autodetection seems to be somewhat working for me with 0.4.1. It successfully detected my Steam installs - Duke World Tour, Shadow Warrior Classic and Ion Fury. It however failed to detected my GOG installs. I have Duke Atomic and Blood installed under D:/Games/GOG Games.

Re: [0.4.0] Game autodetection does not work

by mjr4077au » Sun Feb 09, 2020 1:30 am

Graf Zahl wrote:This is because it tries to autodetect the add-ons from the Duke main directory but you also got a path set to the files themselves. So it detects them in two different ways through two different lookup records. Remove the search paths to the add-ons and all should be fine again.
This happens with a fresh config file out of the box. This is what I have, and if I drop $STEAM, nothing gets found.

Code: Select all

# This file was generated by Raze <unknown version>
# These are the directories to automatically search for game data.
# Each directory should be on a separate line, preceded by Path=
[GameSearch.Directories]
Path=.
Path=./*
Path=$PROGDIR
Path=$PROGDIR/*
Path=$STEAM

# These are the directories to search for add-ons added with the -file
# command line parameter, if they cannot be found with the path
# as-is. Layout is the same as for GameSearch.Directories
[FileSearch.Directories]
Path=$PROGDIR
Path=$GAMEDIR

Re: [0.4.0] Game autodetection does not work

by Graf Zahl » Sun Feb 09, 2020 1:24 am

mjr4077au wrote:Actually, there are some duplicates as per the attached.

Loading either of the duplicates is loading the same data according to the log. Would it be an option to add some extra lines to the console as it builds the game list to try and see what's happening there? The game is only defined once in the datatable of registry keys.
This is because it tries to autodetect the add-ons from the Duke main directory but you also got a path set to the files themselves. So it detects them in two different ways through two different lookup records. Remove the search paths to the add-ons and all should be fine again.


That leaves the RR issue. What I need there is a bit more info on the unhandled case mentioned above. If someone has the version with the 1207658674 key, what I need is two things:

1) Does this point to RR only or to a common directory of RR and RRRA? If the former, is there a secondary key for RRRA? If the latter, how does the path need to be expanded to find the games?

Re: [0.4.0] Game autodetection does not work

by mjr4077au » Sun Feb 09, 2020 1:18 am

Actually, there are some duplicates as per the attached.

Loading either of the duplicates is loading the same data according to the log. Would it be an option to add some extra lines to the console as it builds the game list to try and see what's happening there? The game is only defined once in the datatable of registry keys.
Attachments
error.png

Re: [0.4.0] Game autodetection does not work

by mjr4077au » Sun Feb 09, 2020 12:56 am

Confirming the latest git master performs Steam lookups as expected.

Re: [0.4.0] Game autodetection does not work

by dennisjjunk » Sat Feb 08, 2020 7:59 am

I installed the game via GOG Galaxy (v1.2). Maybe the GOGREDNECKRAMPAGE key is offline installer only. As far as where the other key points, it points to where Redneck Rampage and Suckin' Grits is, with RRRA in a 'again' folder within.

Top