The folder "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" does exist in the registry. It's sub folder
"{BFA90209-7AFF-4DB6-8E4B-E57305751AD7}" does not exist.
As fallback findut3 uses the default directory provided with steam, but why not check two other default installation directories as well?
These directories are
C:\Program Files\Unreal Tournament 3\
and
C:\Program Files (x86)\Unreal Tournament 3\
.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, i had the same problem, what i've done is to setting the currect path in make.bat, which works as long as the usarsim is installed in the UT3 directory. Have committed it to the svn repository
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the whole detecthomedir.bat and findut3.bat are bloated.
findut3.bat could just set %UT3_PATH% to some default path when it is not specified beforehand. (This allows one to put it in its system environment variables or define it in this file)
Also, I would use the -nohomedir parameter by default. Is there a reason not to?
Specify the default USARSIM_BASE to be %UT3_PATH%/usarsim. Allow people to overwrite this in /findut3.bat or by specifying it in their environment variables too.
If this sounds like a reasonable solution, I could check in a new revision which sets these environment variables in a more transparent way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Let me give some more details.
The folder "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" does exist in the registry. It's sub folder
"{BFA90209-7AFF-4DB6-8E4B-E57305751AD7}" does not exist.
As fallback findut3 uses the default directory provided with steam, but why not check two other default installation directories as well?
These directories are
C:\Program Files\Unreal Tournament 3\
and
C:\Program Files (x86)\Unreal Tournament 3\
.
Yes, i had the same problem, what i've done is to setting the currect path in make.bat, which works as long as the usarsim is installed in the UT3 directory. Have committed it to the svn repository
I think the whole detecthomedir.bat and findut3.bat are bloated.
findut3.bat could just set %UT3_PATH% to some default path when it is not specified beforehand. (This allows one to put it in its system environment variables or define it in this file)
Also, I would use the -nohomedir parameter by default. Is there a reason not to?
Specify the default USARSIM_BASE to be %UT3_PATH%/usarsim. Allow people to overwrite this in /findut3.bat or by specifying it in their environment variables too.
If this sounds like a reasonable solution, I could check in a new revision which sets these environment variables in a more transparent way.