Search found 2069 matches

by scrawl
19 Nov 2017, 14:58
Forum: Development
Topic: Journal alphabetical index with non-english content files
Replies: 6
Views: 161

Re: Journal alphabetical index with non-english content files

windows-1252 languages might use some accents e.g. áéèúäüö But I doubt that the index would list these because there are far too many combinations. I would guess that one of two things happens: - Topics starting with an accent are not available through the index - Accents are resolved to their 'base...
by scrawl
19 Nov 2017, 14:29
Forum: Development
Topic: Journal alphabetical index with non-english content files
Replies: 6
Views: 161

Re: Journal alphabetical index with non-english content files

convert all texts to the UTF-8 on game start We already do. Note that the journal converts to UTF-32 before rendering, but I don't think that's relevant for any of the code you'd be touching. Regarding encoding/language, is there any other language of Morrowind that uses the same encoding as the ru...
by scrawl
14 Nov 2017, 22:06
Forum: Development
Topic: Shadows
Replies: 159
Views: 10464

Re: Shadows

While I don't know the solution to that issue, I would think that a VM is probably a poor testing environment either way. Have you considered running from a Live USB stick with persistance enabled?
by scrawl
13 Nov 2017, 23:15
Forum: Development
Topic: Shadows
Replies: 159
Views: 10464

Re: Shadows

I do still have an issue with the custom build, though, in that the camera is locked pointing downwards independent of mouse movement. Have you tried adding 'no-grab=1' to your openmw.cfg? I kinda doubt that building on Linux alone will reproduce those things, because I'm on Linux and I couldn't re...
by scrawl
13 Nov 2017, 20:57
Forum: Support
Topic: Cmake Errors
Replies: 1
Views: 60

Re: Cmake Errors

Which OpenMW version are you talking about? As of current master, CMake 3.1 is the required minimum. Does this solve the issue?
by scrawl
13 Nov 2017, 18:14
Forum: Development
Topic: Share your cool development tricks.
Replies: 4
Views: 302

Re: Share your cool development tricks.

scripts for running the game: If you usually use those same arguments, you can just add them to openmw.cfg, for example: skip-menu=1 And instead of a savegame, I use a start script file (--script-run) to set up a testing character with a bunch of items, spells, etc. snippet I copy/paste into source...
by scrawl
08 Nov 2017, 01:50
Forum: Development
Topic: Shadows
Replies: 159
Views: 10464

Re: Shadows

I hadn't considered making the settings configurable at runtime, and am not convinced that osgShadow::VDSM can cope with that.
I don't foresee any problems on the osgShadow side. We can always delete the ShadowedScene and create a new one with new parameters if we can't change the existing ones.
by scrawl
08 Nov 2017, 01:19
Forum: Development
Topic: Shadows
Replies: 159
Views: 10464

Re: Shadows

Changing the shadows for the minimap and character preview would be far easier if I just toggled a nodemask rather than binding a bunch of textures. That's not going to work because the shader is still going to attempt to retrieve a shadow map that doesn't exist, just like it does now. Toggling the...
by scrawl
07 Nov 2017, 22:47
Forum: Development
Topic: Shadows
Replies: 159
Views: 10464

Re: Shadows

Can you start a PR on github (obviously not for merging yet) so it's easier to comment on things? And regarding the branches, we should probably pick one (my preference would be 'method two') which we can still change later if we change our mind.
by scrawl
07 Nov 2017, 21:10
Forum: Development
Topic: Changing some std::maps to std::unordered_map?
Replies: 6
Views: 280

Re: Changing some std::maps to std::unordered_map?

At risk of going against my own advice, I just want to mention that maps are used in ObjectCache / MultiObjectCache which forms the base of the entire resources system, so this one might be worth looking into. I'm just not sure if lookup or insertion is more common here. I'd definitely be interested...