Jump to content
  • 0
Sign in to follow this  

sResourceArchiveList and MO managed archives 3rd party executables


When MO manages archives so that BSAs are loaded without esp it does so by adding them to the sResourceArchiveList in skyrim.ini

Obviously in reality it uses shorter names aaa,aab,aac, etc, and it may actually always do this despite the manage archive setting.


It seems that this sResourceArchiveList change is only visible to tesv.exe but not any other program that is executed from MO.


Am I missing something or is this the current known behavior?


This poses a problem when scanning "loaded" archives for resources with other tools started through MO, like xEdit.

These tools see something very different to the game.


Is there a known or planed fix?

Edited by sheson

Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

The sResourceArchiveList is turned into short-names and mapped back to regular file names for every application run through MO.

If an application sees something different than the game this may have two reasons:

a) it uses a different list of archives (i.e. hard-coded) in which case the application is inheritantly unreliable in this regard anyway.

b) the application reads the archive list in a different way than the game. I.e. an application could open the ini file as a txt file and parse it manually. There is no way MO could then "fix" the list. Again one could argue that if the application reads the archive list in a different way than the game it's the applications fault if it gets different results.


A little known fact: ini files can be placed in the registry and the regular windows ini-reads (which skyrim uses) would transparently fetch the values from registry instead of the ini files. Doing this for skyrim might even make sense to improve startup time. Of course tools that don't use windows ini-reads would not get the registry values.

This, combined with the fact that ini files are not a standardized file format and therefore every method of reading them might produce different results (i.e. because of different syntax for comments, different character encoding support, ... ) means that all tools that use different means of reading ini files than the game should also, technically at least, be considered unreliable.

Share this post

Link to post
Share on other sites
  • 0

Thanks. That is very helpful information. I will see if I can get expected result using the proper methods for the ini.



For future reference: Kernel32 - GetPrivateProfileString

Edited by sheson

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Similar Content

    • By GreenGoodMen
      I seem to been getting alot of ctds when installing perma. First i was getting a ctd at the main menu when i was at the main menu. I removed a mod a redid everything the ctds at the main menu stopped but now i keep on getting a ctd when leaving riverwood, and its a repeated ctd that happen when i leave riverwood everytime.
      MODlist/Load Order
    • By Bachvarov

      I have a serious issue where some of the items and NPCs have missing meshes apparently and I'm not sure how to figure out where the problem is! I found the problem first on Sunny and her dog, since I could see Doc and the other NPCs outside of the Saloon.

      EDIT: Fixed Sunny and her dog, by moving the Redesigned ESP after FCO, but now the Geckos still have missing meshes and the sound from weapons disappears after i shoot once! I think it might be a too many mods issue? I have 138, but i'll try to push em down to below 135 and see if it fixes it!

      EDIT 2: Putting the load order at 133 seem to have fixed everything!
    • By Kuldebar
      OK, who is using these together and what's the word?
  • 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.