Itoo Software Forum

Author Topic: loading error  (Read 490 times)

RF1950

  • Newbie
  • *
  • Posts: 12
loading error
« on: November 02, 2021, 10:41:24 PM »
Hello,
what could be casing the attached error (see attached)?
the software was not installed, it was unpacked
works on over a 100 machines, but i have 2 that are giving me this error
Thank you!

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: loading error
« Reply #1 on: November 03, 2021, 08:49:52 AM »
Hi, the installer adds several registry keys, which are needed to use the plugin.

You can copy them from a installed workstation, from: HKEY_LOCAL_MACHINE\SOFTWARE\Itoo Software\RailClone Pro

Carlos Quintero
iToo Software

RF1950

  • Newbie
  • *
  • Posts: 12
Re: loading error
« Reply #2 on: November 03, 2021, 03:37:41 PM »
here's what i have on all machines (including the ones with the error):

[HKEY_LOCAL_MACHINE\SOFTWARE\Itoo Software\RailClone Pro]
"LicservHost"="Lic1"
"KeepClipboardContent"=dword:00000000
"LicservPort"="16720"
"CheckTexturePath"=dword:00000001
"DynamicGeometry"=dword:00000001
"Installed"="2.0.3.230"
"LicserverPort"="16720"
"MainDir"="F:\\Max Tools\\ForestPro"
"MaxPath"="D:\\3ds Max 2022"
"StyleEditorPath"="F:\\Max Tools\\ForestPro"
"UseLicserver"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Itoo Software\RailClone Pro\LibraryDir]
"RailClone Library"="F:\\Max Tools\\ForestPro\\lib\\default1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Itoo Software\RailClone Pro\LibraryMacros]
"renderer"="@fn getRendererString = (v = #(#(1,0, \"standard\"), #(0x58f67d6c,0x4fcf3bc3, \"mentalray\"), #(0x73bab286,0x77f8fd0c, \"vray\")); for i in v do if ((i[1] == renderers.current.classid[1]) and (i[2] == renderers.current.classid[2])) then return i[3]; return \"standard\"; ); getRendererString();"

[HKEY_LOCAL_MACHINE\SOFTWARE\Itoo Software\RailClone Pro\TexturePaths]
"1"="F:\\Max Tools\\ForestPro\\maps"

[HKEY_LOCAL_MACHINE\SOFTWARE\Itoo Software\RailClone Pro\MacroDir]
"1"="F:\\Max Tools\\ForestPro\\macros"

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: loading error
« Reply #3 on: November 04, 2021, 09:21:56 AM »
At first sight, the configuration seems correct.

This specific error is triggered when "MainDir" is not defined, or result is a empty string.
In this step, it's not needed that target path is valid. Just the registry key must return some value.

Also take in account that plugin tries to read the configuration from three sources, in this order:

1.- Environment variables
2.- HKEY_LOCAL_MACHINE
3.- HKEY_CURRENT_USER

If environment variable is defined (in this case ITOO_SOFTWARE_RAILCLONE_PRO_MAINDIR), it's used instead registry keys.

I would suggest to try a standard installation. If it works, compare the registry values and change values manually (trial and error, basically).

Carlos Quintero
iToo Software

RF1950

  • Newbie
  • *
  • Posts: 12
Re: loading error
« Reply #4 on: November 04, 2021, 04:53:05 PM »
resolved!
thank you!