Itoo Software Forum

Author Topic: Error loading Raiclone library  (Read 9520 times)

Keith678

  • Jr. Member
  • **
  • Posts: 72
Error loading Raiclone library
« 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.

Keith678

  • Jr. Member
  • **
  • Posts: 72
Re: Error loading Raiclone library
« Reply #1 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)?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3050
Re: Error loading Raiclone library
« Reply #2 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


Paul Roberts
iToo Software

Keith678

  • Jr. Member
  • **
  • Posts: 72
Re: Error loading Raiclone library
« Reply #3 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.






Keith678

  • Jr. Member
  • **
  • Posts: 72
Re: Error loading Raiclone library
« Reply #4 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.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3050
Re: Error loading Raiclone library
« Reply #5 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!
Paul Roberts
iToo Software

Keith678

  • Jr. Member
  • **
  • Posts: 72
Re: Error loading Raiclone library
« Reply #6 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"

Keith678

  • Jr. Member
  • **
  • Posts: 72
Re: Error loading Raiclone library
« Reply #7 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.
« Last Edit: August 21, 2024, 03:01:42 PM by Keith678 »

Keith678

  • Jr. Member
  • **
  • Posts: 72
Re: Error loading Raiclone library
« Reply #8 on: August 21, 2024, 03:07:22 PM »
Okay I was able to fix it.

Once I changed the Library Paths.