MoI discussion forum
MoI discussion forum

Full Version: List of latest files is incorrect

Show messages: All  1-6  7-9

From: Fredrik (CARL_FREDRIK)
18 Aug 2024   [#7] In reply to [#6]
It could be as easy as a moi.ini search-shortcut to the .exe.

I sucessfully duplicated a moi.ini where i gave it a moi.ini duplicate ex: "shortcut_to_moi.exe" -moi.ini

When i deleted the -moi.ini at the end after the last bracket "." the new files appeared again.
I put the moi.ini directly in the folder of Moi3D to eliminate the newest-files not appear in the menu.
It works for both v4 and v5.

Mvh
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-6  7-9