Page 16 of 61

Re: Android part 2

Posted: 17 Apr 2019, 05:41
by Laicus
Tecumseh1976 wrote: 17 Apr 2019, 01:58 Has anyone had any luck getting changes to cfg files to stick? I have tried everything I can think of to add esp files.
ESP / ESM files are added to the openmw.cfg file after the lines with the names of the main ESM:
content = Morrowind.esm
content = Bloodmoon.esm
content = Tribunal.esm
content = MOD1.esm
content = MOD2.esp

BSA archives are added at the beginning of the openmw.cfg file, also after the lines with the name of the main archives:
fallback-archive = Morrowind.bsa
fallback-archive = Tribunal.bsa
fallback-archive = Bloodmoon.bsa
fallback-archive = MOD1.bsa

Re: Android part 2

Posted: 17 Apr 2019, 14:16
by Tecumseh1976
Yep tried that countless times and ways... as soon as I launch the game it goes away.

content=Morrowind.esm
content=Bloodmoon.esm
content=Tribunal.esm
content=Better_heads.esm

Re: Android part 2

Posted: 17 Apr 2019, 18:58
by reddragon72
Tecumseh1976 wrote: 17 Apr 2019, 14:16 Yep tried that countless times and ways... as soon as I launch the game it goes away.

content=Morrowind.esm
content=Bloodmoon.esm
content=Tribunal.esm
content=Better_heads.esm
the entries go away in the file? If so try this build https://github.com/xyzz/openmw-android/ ... 2019-04-01

Re: Android part 2

Posted: 17 Apr 2019, 19:29
by pulion
Is there any way to fix the memory leak problem? Or is this a common problem of OpenMV, and not just the port on the android?

Re: Android part 2

Posted: 17 Apr 2019, 20:53
by Tecumseh1976
reddragon72 wrote: 17 Apr 2019, 18:58 the entries go away in the file? If so try this build https://github.com/xyzz/openmw-android/ ... 2019-04-01
That is the build I have been using. Thank you for the suggestion though.

Re: Android part 2

Posted: 20 Apr 2019, 00:24
by thephantomfiddler
Can we get an update to SDL 2.0.9? That may fix the black screen on resume issues.

Re: Android part 2

Posted: 20 Apr 2019, 04:38
by xyzz
thephantomfiddler wrote: 20 Apr 2019, 00:24 Can we get an update to SDL 2.0.9? That may fix the black screen on resume issues.
The black screen on resume has nothing to do with sdl, it's happening because when an android application is minimized the opengl context gets lost and needs to be recreated (which includes reloading all textures and etc)

Re: Android part 2

Posted: 20 Apr 2019, 11:48
by gc168
Hi all, new user of Android app and it's been amazing! Still can't believe this works at all on a phone :D
If I found an issue/bug, do I post it here or start a new thread? Thanks in advance.

Re: Android part 2

Posted: 20 Apr 2019, 17:51
by thephantomfiddler
xyzz wrote: 20 Apr 2019, 04:38
thephantomfiddler wrote: 20 Apr 2019, 00:24 Can we get an update to SDL 2.0.9? That may fix the black screen on resume issues.
The black screen on resume has nothing to do with sdl, it's happening because when an android application is minimized the opengl context gets lost and needs to be recreated (which includes reloading all textures and etc)
So right now, other than stability (and potentially more controller support because of SDL Android supporting hidapi), there really isn't anything with updating to the latest SDL currently?

Re: Android part 2

Posted: 20 Apr 2019, 19:49
by xyzz
gc168 wrote: 20 Apr 2019, 11:48 Hi all, new user of Android app and it's been amazing! Still can't believe this works at all on a phone :D
If I found an issue/bug, do I post it here or start a new thread? Thanks in advance.
You can post them here but make sure it's not been reported before.
thephantomfiddler wrote: 20 Apr 2019, 17:51
xyzz wrote: 20 Apr 2019, 04:38
thephantomfiddler wrote: 20 Apr 2019, 00:24 Can we get an update to SDL 2.0.9? That may fix the black screen on resume issues.
The black screen on resume has nothing to do with sdl, it's happening because when an android application is minimized the opengl context gets lost and needs to be recreated (which includes reloading all textures and etc)
So right now, other than stability (and potentially more controller support because of SDL Android supporting hidapi), there really isn't anything with updating to the latest SDL currently?
I'm not aware of any stability issues with our SDL either; the problem with updating is that they break compatibility with the Java API in every minor release (such as 2.0.8=>2.0.9), and this basically requires me to spend a few hours doing a manual three-way merge of our SDL2 Java code. Also, every time they change controller-related stuff in SDL code, this requires me to go through my gamepad emulation code and fix it (and PR to openmw since that's where the bulk of the code lives), which again I'd rather not do unless there are real massive improvements in the new version.