Commit 0558c83
Add fomod installer support
Option types are not validated - contradicting group and
option types should be undefined behaviour.
However, to simplify, option type always wins the conflict
and we deliver a warning if needed.
As an example, in a SelectAll group a NotUsable option
would not be selected.
Remove fomod metadata handling
Rework fomod installer backend
Changed:
- User's choices are now "saved" when going to previous pages
- Folders to install are now properly merged based on priority
- Omitted destination attributes in file/folder tags are now
properly handled.
TODO:
- Update tests in test_bash repo
- Add some inline documentation
This must go into the final commit message:
Ignored tags:
- moduleImage
- fommDependency
Ignored attributes:
- position, colour - [moduleName]
- alwaysInstall, installIfUsable - [file, folder]
Note:
Rework exe-based game detection logic FFF fomods
@@ -64,3 +64,3 @@ def __init__(self, parent_window, installer, page_size, pos):
data_path = bass.dirs["mods"]
- ver = env.get_file_version(bass.dirs["app"].join(bush.game.exe).s)
+ ver = env.get_file_version(bass.dirs["app"].join(bush.game.launch_exe).s)
game_ver = u".".join([unicode(i) for i in ver])
Some wx cleanup in gui fomods
Cache images it does speedup loading them
(although that's probably due to my using balt.Image)
FFF couple typos
FileInfo(object): -> _FomodFileInfo(object): FFF WIP
Infernio: Updated for 'Rework game version calculation'
SSS Improve FOMOD installer link name
Should be FOMOD or FOMod, not Fomod. Also added three dots, since that
link opens an interactive dialog.
SSS to be squashed into the final FOMOD commit
_text = _(u'FOMOD Installer...') class variable SSS
No need to override __init__
Remove some leftover debug prints
Replace PageInfo with OrderedDict
Std lib is better. Port of dh-nunes/pyfomod@547494309
Add some docs to the fomod backend1 parent 486169a commit 0558c83
7 files changed
Lines changed: 1062 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | | - | |
| 843 | + | |
844 | 844 | | |
845 | 845 | | |
| 846 | + | |
846 | 847 | | |
847 | 848 | | |
848 | 849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2707 | 2707 | | |
2708 | 2708 | | |
2709 | 2709 | | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
2710 | 2713 | | |
2711 | 2714 | | |
2712 | 2715 | | |
| |||
2851 | 2854 | | |
2852 | 2855 | | |
2853 | 2856 | | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
2854 | 2862 | | |
2855 | 2863 | | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
2856 | 2867 | | |
2857 | 2868 | | |
2858 | 2869 | | |
| |||
0 commit comments