Commit Graph
15 Commits
Author SHA1 Message Date
Zash 3e9217b3c3 fix: valid files not accepted. 2022-04-05 23:31:33 +02:00
Zash 0567e4ff31 BasicModDataChecker: check / fix keys in definition order. 2022-04-04 22:20:45 +02:00
Zash a127433da5 + basic_feature: BasicModDataChecker - ModDataChecker with simple file patterns (glob). 2022-04-04 22:20:45 +02:00
Mikaël Capelle a83e96528f Apply isort. 2021-07-18 10:33:08 +02:00
Mikaël Capelle be9ad2cb1f Remove old pieces of code from BasicGameSaveGameInfo and fix W3 save game handling. 2021-02-26 20:57:38 +01:00
Mikaël Capelle ca7aa7f800 Fix position of savegame widget. 2021-02-07 17:32:39 +01:00
Mikaël Capelle cc5f5cc586 Minor fixes. Add missing %USERPROFILE% replacement. 2020-11-29 19:59:11 +01:00
Mikaël Capelle b385652e7a Update for IPluginGame::listSaves(). 2020-11-18 19:17:55 +01:00
Mikaël Capelle 53ad1f4f0c Add save file to W3 and DS2. 2020-10-17 12:53:31 +02:00
Chris Djali f20d5a3bd1 mtime was correct
Holt elaborated here: https://github.com/ModOrganizer2/modorganizer-basic_games/pull/4#issuecomment-668716972
2020-08-04 18:10:35 +01:00
Chris Djali 20ab101e63 Pathlib stuff
`os.path` is old and less safe than Pathlib, so I removed it while I wanted to meddle with this file anyway.

It looked suspicious that `getCreationTime` was returning the modification time instead of the creation time, so I changed that from `mtime` to `ctime`.

I also added handling for `value` being a `Path` object as that's the type for the thing it represents. I might not have needed the explicit `str` call as Path is implicitly convertible to `str` lots of the time, but I've not actually tested the change so wanted to play it safe.
2020-08-04 18:03:24 +01:00
Mikaël Capelle 27c497ae85 Allow QImage for basic game preview. 2020-06-13 20:53:00 +02:00
Mikaël Capelle 2b51e21f2e Clean save game basic feature. 2020-06-12 21:36:38 +02:00
Mikaël Capelle 09bcd4d68e Allow different return types in get_preview for saves. 2020-06-12 00:14:08 +02:00
Mikaël Capelle 374505d6c7 Add basic save game implementation. 2020-06-12 00:06:01 +02:00