Moi on memory stick

Next
 From:  armin
4030.1 
Hi,

Is there actually a way to set up the path to the Moi default settings file in a way,
that if the drive letter changes it will still be found?

Sometimes my jump drive comes up with drive letter "X" and the next time with
drive letter "y".

Thanks in advance.

Armin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4030.2 In reply to 4030.1 
Hi Armin - when MoI starts up it will also look for the moi.ini file (where all the settings are stored) in the same folder as the moi.exe program file itself.

So if you copy your moi.ini file containing your settings onto your USB drive, it should find it there no matter what the drive letter happens to be.

By default the moi.ini file is created in this location:

On Windows XP:
C:\Documents and Settings\[your user name]\Application Data\Moi\moi.ini

On Windows Vista or 7:
C:\Users\[your user name]\AppData\Roaming\Moi\moi.ini

By default it is located under the "App data" folder because since Windows Vista Windows tries to prevent programs from modifying files in the \Program Files folder. But anyway that's where you go to find the initial moi.ini file that you can then copy to the USB drive.

In addition to the moi.ini file, there are also some files in that same spot that store your license key information, they're called moi_v1_license.key and moi_v2_license.key . You'll want to copy these files to the USB drive into the same folder as moi.exe as well so that your license keys information will be found when you launch MoI and you won't have to enter it in.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  armin
4030.3 In reply to 4030.2 
Hi Michael,

Thanks for the answer ... I'm sorry, I should have phrased my question
differently.

I actually meant the "default.3dm" file. The path for that file is set up
somewhere under options. I guess I just leave that empty and override
the existing file. Haven't tried that yet, but I will later.

Armin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4030.4 In reply to 4030.3 
Hi Armin, I see - that's called the "Template file".

The options dialog box won't let you enter in a value without a full path, but you can do it by editing the moi.ini file directly in a text editor like notepad.

Try this - open up the moi.ini file and edit the line for

[Settings]
Startup template=

And put your template file name in there without any path in front of it like this:

[Settings]
Startup template=default.3dm


Then copy that default.3dm file onto that USB drive in the same spot as moi.exe and it should probably get found when you launch the program, since a filename that has no path in it implicitly uses the program's current folder when the program tries to open it.

Does that do what you need?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4030.5 In reply to 4030.3 
Hi Armin, also with the method above - when you launch a program from a Windows shortcut icon, one of the properties for the shortcut is a setting called "Start in:" - that sets what the current directory is for the program when it is launched.

If you're starting MoI from a shortcut you'll probably want to leave that "Start in" setting in the shortcut itself to be blank which should probably make the folder that the program is in to be its current directory.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4030.6 In reply to 4030.3 
Hi Armin, also I see now that there is a bug in that setting in the Options dialog, where if you type in filename in the text field there (to the left of the "..."), what you typed in there does not stick if you close the dialog directly after that.

If you switch to a different category (like to "Grid" or "Shortcut keys", etc...) before closing the dialog that will actually make a directly typed in template file setting to stick and so you can use that method to enter in a value without a path using the options dialog.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  armin
4030.7 In reply to 4030.6 
Hi Michael - thanks again. Yes, that works perfectly. Actually I tried to clear the path
in the option dialog before, but it always just came back to where it was. Now I know
at least why.

Armin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All