Jump to content
  • 0
Solares

Mod Organizer Windows Compatibility Fix Recommendation

Question

I hope this post is not out of date, but I could never figure out who to contact.

 

I read all the old threads between the previous developers of MO and FNIS, who seemed to have moved on?

I noticed that they never once discussed the Windows OS, but seemed to blame one another.

 

MO is fine and FNIS is fine, but you are operating on top of Windows.

 

I was able to examine some old MO source and utilities code but not the FNIS code.

 

I would like to suggest a relatively simple Windows Compatibility Modification.

 

The Microsoft close statement does not really exist, in that it does nothing more than invoke select IO.

 

The problem with pending file I/O under Windows is that anything can happen and often does.
 
a) The file eventually closes. Okay usually.
b) The file fails to update at all. Kind of Okay.
c) The file is deleted. Not Okay.
 
The problem is exacerbated when you are dealing with a lot of files and multiple applications, like MO, FNIS and Skyrim.
 
FNIS needs to read MO files. Skyrim needs to read MO and FNIS files, which may still be pending.
 

The file I/O will have to be flushed anyway if you plan to immediately use the file.

Why leave yourself at the mercy of the Windows Operating System by leaving file I/O pending?
 
This is why Microsoft, got rid of the power switch 0/1; but was that a work around to an existing Windows problem?
 

I recommend doing a flush IO prior to calling close. 

 

MO is extremely well written and clean.

MO seems to open and close files during object construction and destruction.

Examination of the utility library shows that the class destructor calls close.

 

All you have to do is stick in a few flush IO statements prior to destruction.

Edited by Solares

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Mopotter
      1. I've been using MO 2 for years for 3 of my games, Skyrim, Skyrim SE and FA4.  No problems and yesterday  I know I did something wrong because the top line of items is missing and Skyrim SE is the only game I can access.  But I don't know what I did or how to fix it.  I've  uninstalled and reinstalled with no change.   Hoping someone has done this and can explain how to fix it.  

    • By Ayohaych
      Hey all.
      Sorry if this has been asked but I couldn't find anything.
      I got a Steam Deck recently and was in the process of setting Skyrim SE up with mods.
      Right now it actually works, however I can't seem to figure out how to launch Skyrim SE Launcher? I need to change settings so it runs better.
      When I open Skyrim from Steam, or use bottles to run Skyrim SE Launcher, it launches MO2. From there I have to select SKSE and hit run and it launches.
      If I click the drop down and select Skyrim Special Edition Launcher, it says an instance of mod organizer is already running.
      Any ideas on how I can get around this to launch the launcher so I can change my settings?
      It seems there is _SkrimLauncher.exe file that must of been automatically created by MO2, however when I run that with Bottles, and make changes, it doesn't seem to have the changes when I run SKSE.
      Thanks for any help!
    • By koopastroopas
      I have always used Wrye with MO but now on a fresh install of everything(Skyrim SE) when I try to rebuild the Bashed Patch I get an error saying "file not found, it may have been moved, edited or deleted. I have no idea what that means since it doesn't even tell me what file is supposedly missing. Any ideas as to whats going on here?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.