abcdefg30
aa73b19ee2
Give an proper error when a file is not found
2017-02-19 17:35:22 +01:00
Taryn Hill
38304bc57b
Throw an InvalidOperationException when a mod manifest references a bogus package
...
Bogus packages are packages that:
* Cannot be located on disk
* Are of an unsupported format
2017-02-18 16:55:26 -06:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
3df9efb95d
Rework mod enumeration / caching.
...
- Replaced ModMetadata.AllMods with Game.Mods.
- Store / reference mod Manifest instead of ModMetadata.
- Removes engine dependency on ModContent class.
2016-08-08 22:36:07 +01:00
Paul Chote
f4c42581d5
Remove legacy CAB package support.
2016-07-13 21:01:56 +01:00
Taryn Hill
6a228f0428
FileSystem: Use TryGetValue in Mount(string, string)
2016-07-03 08:25:14 -05:00
Paul Chote
c706e68b73
Rework zip file updating.
2016-07-01 21:58:26 +01:00
Paul Chote
293b6202ef
Add support for oramod packages.
2016-02-28 20:30:40 +00:00
Paul Chote
5c32a77179
Don't dispose mod packages when returning to mod chooser.
2016-02-28 20:25:40 +00:00
Paul Chote
be52c1cb72
Properly use the virtual filesystem for map loading and saving.
2016-02-28 19:27:33 +00:00
Paul Chote
617113fa86
Rework IReadWritePackage interface.
2016-02-28 10:18:50 +00:00
Paul Chote
b5f792b997
Fix unmounting of explicit packages.
2016-02-28 10:18:49 +00:00
Oliver Brakmann
4f1fa3acec
Merge pull request #10786 from pchote/mappreview-packages
...
Remove internal use of map paths.
2016-02-23 22:52:54 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
226081d379
Remove map saving shim method.
2016-02-21 16:11:36 +00:00
Paul Chote
9978e20a83
Introduce IReadOnlyFileSystem interface.
2016-02-18 18:12:31 +00:00
Paul Chote
a229e4253f
Implement new syntax for mod-specific filesystem requests.
2016-02-15 00:44:36 +00:00
Paul Chote
a0bc556172
Implement new syntax for package-specific filesystem requests.
2016-02-15 00:44:36 +00:00
Paul Chote
6c6826c3f3
Fix mod assembly loading on Windows.
2016-02-07 23:38:12 +00:00
Paul Chote
00945dc9ef
Tidy IReadOnlyPackage interface and implementations.
2016-02-01 22:49:12 +00:00
Paul Chote
feab81bdea
Remove IReadOnlyPackage.Priority.
...
Priority is now determined solely by order in mod.yaml
(later packages take priority of earlier ones).
2016-02-01 22:49:11 +00:00
Paul Chote
cbfd9bb921
Properly handle multiple mount/unmount requests.
2016-02-01 22:49:11 +00:00
Paul Chote
fcccc0f5f9
Merge mod Folders into Packages.
2016-02-01 22:49:11 +00:00
Paul Chote
31cc399579
Remove unused package annotations.
2016-01-29 20:41:20 +00:00
Paul Chote
cbf2b1984a
Auto detect mix type.
2016-01-29 20:41:20 +00:00
Paul Chote
6085de7263
Remove unused PackagePaths.
2016-01-29 19:59:31 +00:00
Paul Chote
86e4cb763d
Replace FileSystem hash index with a regular string cache.
...
This requires that .mix files have valid max database
entries for all files used by the mod.
2016-01-29 19:56:16 +00:00
Paul Chote
bdb8fd48ca
Remove legacy package creation code.
2016-01-16 10:37:21 +00:00
Paul Chote
f8d0b97e8d
Split IPackage into IReadOnlyPackage and IReadWritePackage.
2016-01-16 10:37:21 +00:00
Pavel Penev
e3f5697f7e
Some more renaming from "folder" to "package"
2016-01-14 22:08:49 +02:00
Pavel Penev
45382d193a
Rename IFolder to IPackage
2016-01-11 21:53:48 +02:00
Pavel Penev
d08a400565
Add a context argument to package files contructors
2015-12-14 03:42:25 +02:00
Pavel Penev
1b88d24cfa
Unstatic GlobalFileSystem and rename it to FileSystem
...
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00