Duplicate Resource Directory

Scott S
Scott S Member Posts: 423 ✭✭
edited November 2024 in English Forum

 

I have two directories, each with a full set of my resources
(same number of files and bytes).  I
would like to fix my installation and eliminate one of the directories.  

Cause: It seems clear that I did not observe the proper
directory path when I copied the resources from my old XP PC to my new Win 7
machine about two months ago. The two resource directory paths on my new Win 7 PC correspond to
those for XP and Win 7 installations. 
See Logos Wiki: http://wiki.logos.com/Installation_and_Indexing_FAQ$27s#Where_does_Logos_4_install_resources.3f

Possible Solution: Since I have a set of resources in a
directory using the regular path for a Win 7 installation, could the solution
be as simple as eliminating the directory and resource files that use the path
for an XP installation?

How does Logos "know" to maintain both resource directories?  Will L4 become confused and rebuild the XP
path directory if I delete it?

The current situation not only wastes disk space, but it
appears that L4 is struggling to keep my resources updated. As mentioned in my
posts from yesterday. 962.2
MB Update - What is it?

Thanks in advance.

Comments

  • tom
    tom Member Posts: 3,213 ✭✭✭

    Scott S said:


     

    I have two directories, each with a full set of my resources (same number of files and bytes).  I would like to fix my installation and eliminate one of the directories.  

    Cause: It seems clear that I did not observe the proper directory path when I copied the resources from my old XP PC to my new Win 7 machine about two months ago. The two resource directory paths on my new Win 7 PC correspond to those for XP and Win 7 installations.  See Logos Wiki: http://wiki.logos.com/Installation_and_Indexing_FAQ$27s#Where_does_Logos_4_install_resources.3f

    Possible Solution: Since I have a set of resources in a directory using the regular path for a Win 7 installation, could the solution be as simple as eliminating the directory and resource files that use the path for an XP installation?

    How does Logos "know" to maintain both resource directories?  Will L4 become confused and rebuild the XP path directory if I delete it?

    The current situation not only wastes disk space, but it appears that L4 is struggling to keep my resources updated. As mentioned in my posts from yesterday. 962.2 MB Update - What is it?

    Thanks in advance.


    You should be able to just delete the XP path.

    If you want to test it out, change one of the names within the path.  for an example, if one of your directories is titled "Logos 4" change it to "Logos 4 test." and see what happens.

  • Keep Smiling 4 Jesus :)
    Keep Smiling 4 Jesus :) MVP Posts: 23,165

    Scott S said:

    Possible Solution: Since I have a set of resources in a
    directory using the regular path for a Win 7 installation, could the solution
    be as simple as eliminating the directory and resource files that use the path
    for an XP installation?

    Option: can use the Registry Editor (regedit) to look at value of HKEY_CURRENT_USER\Software\Logos4\InstallDirectory to find the path being used by your Logos 4 installation.

    Keep Smiling [:)]

  • Scott S
    Scott S Member Posts: 423 ✭✭

    Thanks Tom and KS4J for the replies.

    " rel="nofollow">Keep Smiling 4 Jesus :) said:

    Option: can use the Registry Editor (regedit) to look at value of HKEY_CURRENT_USER\Software\Logos4\InstallDirectory to find the path being used by your Logos 4 installation.

    Does "value" mean directory path?

    Using regedit, searched for the string you suggested. One hit: "C:\Users\SCS\AppData\Local\Logos4\Logos4.exe", which appears to be consistent with a normal Win 7 installation. E.g. C:\Users\username\AppData\Local\Logos4\Data\random\ResourceManager\Resources

    Also searched for "Logos4" and did not find any paths for an XP installation. E.g. C:\Documents and Settings\username\Local Settings\Application Data\Logos4\Data\random\ResourceManager\Resources

    Do these search results increase the probability of success with deleting the resources in the XP path directory?

  • tom
    tom Member Posts: 3,213 ✭✭✭

    Scott,

    I am going to say yes and yes.

    You did mention in your first post that L4 seemed to be struggling because it was attempting to keep two resource directories.  I will also say that L4 was struggling simply because it is L4.  More than once a person has stated that he/she purchased a new super computer to run L4, and L4 ran slow on it.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,339

    Scott S said:

    Using regedit, searched for the string you suggested. One hit: "C:\Users\SCS\AppData\Local\Logos4\Logos4.exe", which appears to be consistent with a normal Win 7 installation.

    You should be looking for a Name  of "InstallDirectory" within HKEY_CURRENT_USER\Software\Logos4. The value under Data is the path. You have found the executable name which is in the appropriate path. 

    Provided you installed Logos4 onto Windows 7 (eg. from the web link) then your only mistake was to copy the resources across. You might avoid further downloads if you use the scan command in Logos 4 eg. scan  <XP-resource-path> and then remove the folder at <XP-resource-path>.

    Note:  replace <XP-resource-path>  with the full path name.

    Dave
    ===

    Windows 11 & Android 13

  • Scott S
    Scott S Member Posts: 423 ✭✭

    You did mention in your first post that L4
    seemed to be struggling because it was attempting to keep two resource
    directories.

    Yesterday, looking for the Cranmer freebie, I entered "Update
    Resources" in the Command Bar and was surprised to see over 900 MB of
    resources that needed to be updated. I wondered why so many updates
    might have been missed, started poking around and found a duplicate
    resource directory. I characterized L4 missing updates as "struggling",
    and speculated that L4 might be getting confused by the duplicate
    resource directories. 

    More than once a person has stated that
    he/she purchased a new super computer to run L4, and L4 ran slow on
    it.

    Yeah, I've seen these perplexing posts. Fortunately, that's not the case
    my new laptop, which runs L4 very well.

  • Scott S
    Scott S Member Posts: 423 ✭✭

    You should be looking for a Name  of "InstallDirectory" within HKEY_CURRENT_USER\Software\Logos4. The value under Data is the path. You have found the executable name which is in the appropriate path.

    Dave, thanks for the additional detailed instructions. It probably is apparent that I've not studied the Registry.

    Let me confirm that I understand: I navigated to "HKEY_CURRENT_USER\Software\Logos4", which shows InstallDirectory as "C:\Users\SCS\AppData\Local\Logos4\".

    Provided you installed Logos4 onto Windows 7 (eg. from the web link) then your only mistake was to copy the resources across. You might avoid further downloads if you use the scan command in Logos 4 eg. scan  <XP-resource-path> and then remove the folder at <XP-resource-path>.

    Note:  replace <XP-resource-path>  with the full path name.

    It is my recollection that I installed L4 from a web link. That was two months ago.

    I don't know to what extent my resources may need updating. To check for needed updates, would I do the following:

    1. Delete resources in XP path.

    2. Use the Scan command. (Would this command, (a) tell L4 that the XP directory was no longer valid, and (b) insure that the Win 7 directory of resources is valid?)

    3. Enter Update Resources in the Command Bar to check which resources in the Win 7 directory need to be added or updated.

    Am I on the right track?  Thanks in advance.

  • Keep Smiling 4 Jesus :)
    Keep Smiling 4 Jesus :) MVP Posts: 23,165

    Scott S said:

    I don't know to what extent my resources may need updating. To check for needed updates, would I do the following:

    The scan command copies licensed, usable resource files within specified path into your Logos4 resources folder.

    One option is:

    1. Use scan <XP Path> command (if diagnostic logging is enabled, could look for AddScanPath in Logos4.log file)
    2. Restart Logos 4 (if diagnostic logging is enabled, could look in Logos4Indexer.log to see what is discovered and copied by the indexer)
    3. After indexer is done, delete XP Path (to free up disk space)
    4. Optional: use update resources command

    Wiki has => Diagnostic Logging with steps for adding/modifying a value in the registry to enable (or disable) Logos 4 logging.  Using the ctrl key to enable logging only causes Logos4.log to be created.  The Logos 4 Indexer uses the registry value for logging.

    Keep Smiling [:)]

  • Dave Hooton
    Dave Hooton MVP Posts: 36,339

    Scott S said:

    Am I on the right track?

    If you follow the steps in KS4J's reply you will get any "missing" resources from the XP path loaded into the correct resource path of Logos 4.  When finished, the Update resources command will indicate any other missing resources.

    Dave
    ===

    Windows 11 & Android 13

  • Scott S
    Scott S Member Posts: 423 ✭✭

    When finished, the Update resources command will indicate any other missing resources.

    I worked my way through most of the recommended steps above, however the Update Resources command shows 962.2 MB of updates each time it is entered. This is the initial problem I had 962.2 MB Update - What is it?

    If I accept the updates, the amount downloaded doubles or triples (2-3.5 g) as the download proceeds.  I lost 10 g of free space, as if the update files are sitting in a temp folder somewhere that Windows Disk Clean-up doesn't find.

  • Scott S
    Scott S Member Posts: 423 ✭✭

    Logos tech support (Mike) guided me to deleting a few folders, which would automatically rebuild, so the update process would work properly. Then he graciously helped me clean up a few self-inflicted problems. Excellent support.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,339

    Scott S said:

    Then he graciously helped me clean up a few self-inflicted problems.

    Excellent result (and honesty about the cause!).

    Dave
    ===

    Windows 11 & Android 13