diff --git a/OpenRa.FileFormats/Package.cs b/OpenRa.FileFormats/Package.cs index cda9f79e20..3c86266141 100644 --- a/OpenRa.FileFormats/Package.cs +++ b/OpenRa.FileFormats/Package.cs @@ -38,9 +38,10 @@ namespace OpenRa.FileFormats return; } } + else + s.Seek( 0, SeekOrigin.Begin ); isEncrypted = false; - s.Seek(0, SeekOrigin.Begin); index = ParseTdHeader(s, out dataStart).ToDictionary(x => x.Hash); } diff --git a/OpenRa.Game/MainWindow.cs b/OpenRa.Game/MainWindow.cs index e0b2702bf5..957eccef2d 100755 --- a/OpenRa.Game/MainWindow.cs +++ b/OpenRa.Game/MainWindow.cs @@ -26,7 +26,9 @@ namespace OpenRa.Game public MainWindow(Settings settings) { - FileSystem.Mount(new Folder("../../../../")); + FileSystem.Mount( new Folder( "../../../../" ) ); + if( File.Exists( "../../../../main.mix" ) ) + FileSystem.Mount(new Package("main.mix")); FileSystem.Mount(new Package("redalert.mix")); FileSystem.Mount(new Package("conquer.mix")); FileSystem.Mount(new Package("hires.mix"));