Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

User openmw.cfg should be loaded second #11

Closed
licaon-kter opened this issue May 4, 2019 · 8 comments
Closed

User openmw.cfg should be loaded second #11

licaon-kter opened this issue May 4, 2019 · 8 comments

Comments

@licaon-kter
Copy link
Contributor

This is the user openmw.cfg. Feel free to modify it as you wish.\n"

Ok, but...

Loading config file: /storage/emulated/0/Android/data/is.xyz.omw/config/openmw.cfg
Loading config file: /data/user/0/is.xyz.omw/files/config/openmw.cfg
OpenMW version 0.46.0

...so if I add something ( https://github.com/OpenMW/android-port/issues/71 ) or anything

data="/sdcard/openmw/mod1"
data="/sdcard/openmw/mod2"
...
content=mod3.esp
content=mod4.esm
...

...then the openmw.cfg generated by the app is concatenated overriding anything that I change, right?

@xyzz
Copy link
Owner

xyzz commented May 4, 2019

The user file will take precedence. This isn't a problem for data or content lines, they wouldn't be overwritten just merged. It's not being concatenated either, it's using the normal openmw mechanism for loading user local/global config files.

@xyzz xyzz closed this as completed May 4, 2019
@licaon-kter
Copy link
Contributor Author

"Will take precedence" in a future commit or now?

I'll not seeing it now

@xyzz
Copy link
Owner

xyzz commented May 4, 2019

That's how it works now

@licaon-kter
Copy link
Contributor Author

licaon-kter commented May 4, 2019

Umm

Loading config file: /storage/emulated/0/Android/data/is.xyz.omw/config/openmw.cfg
Loading config file: /data/user/0/is.xyz.omw/files/config/openmw.cfg
OpenMW version 0.46.0
Using Central and Eastern European font encoding.
OSG version: 3.6.2
SDL version: 2.0.8
Loading settings file: /data/user/0/is.xyz.omw/files/config/settings-default.cfg
Loading settings file: /storage/emulated/0/Android/data/is.xyz.omw/config/settings.cfg
Adding BSA archive /storage/emulated/0/openmw/game/Data Files/Morrowind.bsa
Adding BSA archive /storage/emulated/0/openmw/game/Data Files/Tribunal.bsa
Adding BSA archive /storage/emulated/0/openmw/game/Data Files/Bloodmoon.bsa
Adding data directory /sdcard/openmw/optimiz
Adding data directory /storage/emulated/0/openmw/game/Data Files
Detected unusable controller: Android Accelerometer
Initializing OpenAL...
Opened "OpenSL"
Snip 8<....audio info.....
Failed to open video: Resource 'video/bethesda logo.bik' not found
Loading content file Lake Fjalding Anti-Suck.ESP
Error: ESM Error: File /sdcard/openmw/optimiz/Lake Fjalding Anti-Suck.ESP asks for parent file Morrowind.esm, but it has not been loaded yet. Please check your load order.
  File: /sdcard/openmw/optimiz/Lake Fjalding Anti-Suck.ESP
  Record: TES3
  Subrecord: DATA
  Offset: 0x1b5

@xyzz
Copy link
Owner

xyzz commented May 4, 2019

What exactly is the problem here?

@licaon-kter
Copy link
Contributor Author

licaon-kter commented May 4, 2019

The game folder and ESMs are added (from the app config) AFTER my content....so mods don't work...

# This is the user openmw.cfg. Feel free to modify it as you wish.
data="/sdcard/openmw/optimiz"

content=Lake Fjalding Anti-Suck.ESP

See the log...

/LE: If I add the game folder in my config, stuff gets loaded once from mine then AGAIN from the app config....since that's ADDed

@xyzz
Copy link
Owner

xyzz commented May 4, 2019

Well, it works the same way it works on desktop openmw. Though the difference is you don't write plugins to the global openmw.cfg on desktop, like we do on Android. So either it's openmw bug, or something unsupported. Either way, as I consider the user openmw.cfg an advanced feature (until multiple data folders are implemented), the intended solution is write all your mods to the user config and disable all mods from the mod manager.

@licaon-kter
Copy link
Contributor Author

licaon-kter commented May 4, 2019

Right....I see...will do that, thanks

/LE: I wasn't actually expecting to be able to uncheck the default esms, so I thought it can't be done like this. Indeed works ok. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants