Commit Graph

860 Commits (master)

Author SHA1 Message Date
Andrei Kortunov bd59247270 Avoid trailing line breaks 1 month ago
Andrei Kortunov f0543c5500 Implement a context menu for data directories page (feature 8130) 1 month ago
pi03k 18080a83d6 Move from qt_wrap_ui to AUTOUIC for launcher and wizard
(#7348)
2 months ago
psi29a 1dc1bfe543 Merge branch 'launcherimportdefaults' into 'master'
Save/load INI importer flags in the launcher (#8189)

Closes #8189

See merge request OpenMW/openmw!4429
2 months ago
Alexei Kotov e78d3e8ac6 Add a lower cap to launcher viewing distance spinbox (#8208) 2 months ago
Alexei Kotov eea916a43d Save/load INI importer flags in the launcher (#8189) 2 months ago
Evil Eye 7bbb1bf05d Merge branch 'loosey-goosey' into 'master'
Store original representation of paths in content lists. Also compare against existing content lists in a more forgiving way.

See merge request OpenMW/openmw!4424
2 months ago
psi29a a11e683a40 Merge branch 'content-lists-could-provide-duplicate-fallback-archives' into 'master'
Gracefully handle content lists that specify duplicate BSAs

Closes #8200

See merge request OpenMW/openmw!4421
2 months ago
AnyOldName3 7640b6bcf4 Typo 2 months ago
AnyOldName3 c2b383ea92 Store original representation of paths in content lists
Also compare against existing content lists in a more forgiving way.

The first improvement makes it possible to use relative paths in openmw.cfg without the launcher canonicalising them.
This was really annoying if you used a relative path on purpose.
It also stops the launcher converting all paths to Qt's convention, where forward slashes are used on Windows even though they're not native.
The engine doesn't care, so you could always put either in the config file, but the launcher wouldn't stand for that, and would make them match.

To make this work, we need to store a path's originalRepresentation in the content list, compare paths loaded from openmw.cfg based on their originalRepresentation, and convert paths from originalRepresentation to absolute value when loading them from a content list.

The second improvement means that paths that are equivalent, but expressed differently (e.g. mismatched case on Windows, mismatched separators on Windows, or mild differences like unnecessary `./`es and doubled separators) don't trigger the creation of a new effectively-identical content list.

To make this work, we had to switch the comparison to lexicaly normalise the path first.
It could only be lexical normalisation as originalRepresentation might be absolute, relative, or absolute-but-based-on-a-path-slug, and we didn't want slugs to break things or relative paths to count as equivalent to absolute ones that refer to the same file.
The comparison is case-insensitive on Windows, and case-sensitive elsewhere.
This isn't strictly right, as you can have case-sensitive things mounted on Windows or tell a Linux directory to be case-insensitive, but we can't tell when that might happen based on a lexical path as it depends on real directory properties (and might differ for different parts of the path, which is too much hassle to support).
2 months ago
AnyOldName3 0537b53d21 Gracefully handle content lists that specify duplicate BSAs
Previously, if fed bad data, or a content list predated a BSA being moved to a non-user config file, or possibly in other situations (but not any of the obvious ones as those had other guards), the `selectedArchives` list could be longer than the number of archives available due to duplicate entries.

This ensures they're handled like entries specifying no-longer-present archives, and just skips the duplicates.
The same would happen elsewhere in similar situations, but those code paths aren't always taken.
2 months ago
AnyOldName3 7556ab6f90 Make the launcher ignore case in bsa names 2 months ago
trav5 16a691187c Tooltip for 'Factor Strength into Hand-to-Hand Combat'
Added the game launcher tooltip message for the setting
enabling the factoring of player strength into hand to
hand combat damage
3 months ago
psi29a f456978cc3 Merge branch 'blueshift' into 'master'
Launcher: Support extended selection for directories

See merge request OpenMW/openmw!4346
4 months ago
Alexei Kotov 073e4639bf Launcher: Support extended selection for directories 4 months ago
Alexei Kotov f393c40cbd Launcher: Fix Insert Above behavior when the directory is added automatically 4 months ago
Alexei Kotov 3a9e6de6fd Alternate row colors in directory and archive list 4 months ago
Alexei Kotov 8a7035020a Don't check subdirectories of valid content subdirectories (#8085) 5 months ago
Sam Hellawell b1b2cceec6 Update translation capitalization 5 months ago
Sam Hellawell 07e6ebdea1 Update english translation, add ruski translation 5 months ago
Max Yari 136be62146 Launcher checkbox
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
5 months ago
elsid 1bdc01273e
Move "debugging" function into Debug namespace 6 months ago
Alexei Kotov 888abc0097 Remove time played setting 6 months ago
Alexei Kotov 6ad914919b Remove launcher lighting settings that support runtime changes
Also update lighting method descriptions
7 months ago
psi29a cbf0471d8a Merge branch 'launch_button' into 'master'
Set minimum width for Launch OpenMW button

See merge request OpenMW/openmw!4162
7 months ago
Andrei Kortunov fb3687e62a Set minimum width for Launch OpenMW button 7 months ago
Alexei Kotov 593d4ff714 Move per-pixel lighting to the in-game settings 7 months ago
Yury Stepovikov 80d2b289e7 Fix archive selection when switching profiles (#7956) 7 months ago
Andrei Kortunov bf682d51a6 Support dark mode on Windows (feature 7985) 7 months ago
Andrei Kortunov bf568da6de Remove redundant checks 8 months ago
Andrei Kortunov 0262b33067 Update toolbar style sheet when theme changed 8 months ago
Andrei Kortunov b0930158df Use an auto raise mode to disable the border 8 months ago
psi29a ea7555c012 Merge branch 'feature/pplLauncherSetting' into 'master'
added force PPL checkbox

See merge request OpenMW/openmw!3857
8 months ago
Alexei Kotov 95cef34477 Bump the minimum launcher width to 775 8 months ago
Benjamin Y d62fb92b5b Fixed capitalization 8 months ago
Benjamin Y 3146015a00 Fixed Label Capitalization 8 months ago
bwyunker 563f5b37a3 Merge branch 'master' into feature/pplLauncherSetting 8 months ago
Andrei Kortunov 5e8dc9cc03 Fix stub icon color 8 months ago
Andrei Kortunov d97838def1 Improve launcher appearance 8 months ago
Andrei Kortunov 1bb48bcef7 Treat editor icons as scalable 8 months ago
Benjamin Y 8cc512cbc9 Convention fixes and remove confusing info 8 months ago
psi29a 8037a6e765 Merge branch 'portable-launcher' into 'master'
Portable Launcher (plus a whole slew of bugs fixes for problems I found that I suspect aren't on the tracker)

Closes #6846

See merge request OpenMW/openmw!3925
9 months ago
Andrei Kortunov e8c3c8115a Capitalize captions in Launcher and Wizard 9 months ago
Benjamin Y 76199e1fb2 Update settingspage.ui with description for PPL 9 months ago
AnyOldName3 47ef2d018f Always set userrole for archive list 9 months ago
AnyOldName3 e735bf67e1 Brace-initialise SettingValue
Clang didn't like it otherwise
9 months ago
AnyOldName3 a98a824f80 Config paths to info log, not verbose 9 months ago
AnyOldName3 59334f694d Don't forget to add path to UserRole 9 months ago
AnyOldName3 0e2f28156d Restore logging of openmw.cfg paths in launcher
Removed here https://gitlab.com/OpenMW/openmw/-/merge_requests/2650/diffs#be09c16519a3f26f4306b920c50e0e4215dffaee_329_328
9 months ago
AnyOldName3 0371791cce Break 9 months ago