Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Keith678 on August 20, 2024, 12:49:58 pm

Title: Error loading Raiclone library
Post by: Keith678 on August 20, 2024, 12:49:58 pm
Hi,

When I load any of the raiclone objects I get some errors:

-saying it cannot find the matlib library. We use netwrok drives so more than one personat the office can access the files.

I've followed this topic - https://forum.itoosoft.com/faq-18/installing-railclone-3-assets-in-a-shared-network-path/

It use to work fine but now nothing seems to load right. Re installed everything too and still nothing.

Any help would be great. Thanks.
Title: Re: Error loading Raiclone library
Post by: Keith678 on August 20, 2024, 01:15:11 pm
Maybe I'm wrong but this line is where it's getting lost

Code: [Select]
<matlib>$(LIBROOTPATH)\..\..\matlib\$(RENDERER).mat</matlib>
I'm not sure what defines $(LIBROOTPATH)?
Title: Re: Error loading Raiclone library
Post by: Paul Roberts on August 21, 2024, 12:04:08 pm
Hi, thanks for getting in touch.

The issue is that the material libraries in your setup appear to be in a different location relative to the library from the default installation.

In a standard installation the libraries are installed here:

C:\Users\[name]\AppData\Local\Itoo Software\RailClone Pro\lib\default1

And the material libraries here

C:\Users\[name]\AppData\Local\Itoo Software\RailClone Pro\matlib

In your setup I assume the libraries are here (or at least they should be):

R:\DRAWING_RESOURCES\3DSTUDIO\ITOO\RAILCLONE PRO LIBRARY\lib\default1

In which case the materials should be here

R:\DRAWING_RESOURCES\3DSTUDIO\ITOO\RAILCLONE PRO LIBRARY\matlib

And maps should be here

R:\DRAWING_RESOURCES\3DSTUDIO\ITOO\RAILCLONE PRO LIBRARY\maps

This is necessary because the matlibs are loaded relative to the library so the integrity of the original directory structure is important.

I hope that helps,

Paul


Title: Re: Error loading Raiclone library
Post by: Keith678 on August 21, 2024, 12:10:07 pm
Thanks for the reply Paul,

So my Library is setup without the lib folder.

I'll fix that and see if it works.





Title: Re: Error loading Raiclone library
Post by: Keith678 on August 21, 2024, 12:34:20 pm
So it's still not working.

Changed the regdit, re-installed railclone and still the same error.
Title: Re: Error loading Raiclone library
Post by: Paul Roberts on August 21, 2024, 12:35:31 pm
can you please show me your directory structure again. Just to check it is all correct.

Thanks!
Title: Re: Error loading Raiclone library
Post by: Keith678 on August 21, 2024, 12:39:23 pm
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Itoo Software\RailClone Pro]

[HKEY_LOCAL_MACHINE\Software\Itoo Software\RailClone Pro\LibraryDir]
"RailClone Library"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\lib\\default1"

[HKEY_LOCAL_MACHINE\Software\Itoo Software\RailClone Pro\MacroDir]
"Library"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\macros"

[HKEY_LOCAL_MACHINE\Software\Itoo Software\RailClone Pro\MatlibDir]
"Materials"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\matlib"

[HKEY_LOCAL_MACHINE\Software\Itoo Software\RailClone Pro\TexturePaths]
"1"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\maps"

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Itoo Software\RailClone Pro]

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Itoo Software\RailClone Pro\LibraryDir]
"RailClone Library"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\lib\\default1"

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Itoo Software\RailClone Pro\MacroDir]
"Library"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\macros"

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Itoo Software\RailClone Pro\MatlibDir]
"Materials"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\matlib"

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Itoo Software\RailClone Pro\TexturePaths]
"1"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\maps"


Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Itoo Software\RailClone Pro]

[HKEY_CURRENT_USER\Software\Itoo Software\RailClone Pro\LibraryDir]
"RailClone Library"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\lib\\default1"

[HKEY_CURRENT_USER\Software\Itoo Software\RailClone Pro\MacroDir]
"Library"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\macros"

[HKEY_CURRENT_USER\Software\Itoo Software\RailClone Pro\MatlibDir]
"Materials"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\matlib"

[HKEY_CURRENT_USER\Software\Itoo Software\RailClone Pro\TexturePaths]
"1"="R:\\DRAWING_RESOURCES\\3DSTUDIO\\ITOO\\RAILCLONE PRO LIBRARY\\iTOO\\maps"
Title: Re: Error loading Raiclone library
Post by: Keith678 on August 21, 2024, 02:53:29 pm
Okay if I put the 'matlib' folder into R:\DRAWING_RESOURCES\3DSTUDIO it can find it and it works. Which makes seense with the "\..\.." as it's going up two folders.

I just don't understand why the index file targets this
Code: [Select]
<matlib>$(LIBROOTPATH)\..\..\matlib\$(RENDERER).mat</matlib>.

I can bulk rename these index files but if i ever need to reinstall these again it would be a problem again.

I can see my librootpath is R:\DRAWING_RESOURCES\3DSTUDIO\ITOO\RAILCLONE PRO LIBRARY so thats why it looking for it two folders up.
Title: Re: Error loading Raiclone library
Post by: Keith678 on August 21, 2024, 03:07:22 pm
Okay I was able to fix it.

Once I changed the Library Paths.