MoI discussion forum
MoI discussion forum

Full Version: List of latest files is incorrect

Show messages: All  1-7  8-9

From: Michael Gibson
18 Aug 2024   [#8] In reply to [#7]
Hi Fredrik, if you pass a command line parameter to moi.exe that ends in .ini, it will use that for the moi.ini file to use.

So with a parameter of -moi.ini , it will be trying to use a file named -moi.ini , inside the current directory I guess.

When passing in a moi.ini as a command line parameter you should pass in a full path (including the directory) and without the '-' at the front. If there are any spaces in the path put " " around it.

Probably what was happening was MoI was trying to use a moi.ini file in a location where it did not have file write permission.

- Michael
From: Fredrik (CARL_FREDRIK)
19 Aug 2024   [#9] In reply to [#8]
All i know that is when editing Moi.ini in Notepad++ instead of giving it a shortcut to the exe it started working again.
The newest files started to pop up accordingly and in order again when layed in Moi3D folder.

Ill guess the permission-part is a big part of the problem. I was unsucessful to give Moi.ini all authority status.
So i gave up the search for an all permit (Admin-rights to moi.ini).
It ended with giving Notepad++ all the admin-rights to the moi.ini instead.

It worked for me, although this is the first example not sucessful with giving permits and admin-rights to
individual folders or files.

Show messages: All  1-7  8-9