@@ -629,7 +629,7 @@ private void PopulateTree(ObservableCollection<TreeNodeViewModel> roots, object
629629 {
630630 PopulateDetailedTree ( roots , detailedBlocks , isLeft ) ;
631631 }
632- else if ( data is Models . SRRFileData srrData )
632+ else if ( data is ReScene . Core . Comparison . SRRFileData srrData )
633633 {
634634 PopulateSRRTree ( roots , srrData , isLeft ) ;
635635 }
@@ -684,7 +684,7 @@ private static void PopulateDetailedTree(ObservableCollection<TreeNodeViewModel>
684684 roots . Add ( rootNode ) ;
685685 }
686686
687- private static void PopulateSRRTree ( ObservableCollection < TreeNodeViewModel > roots , Models . SRRFileData srrData , bool isLeft )
687+ private static void PopulateSRRTree ( ObservableCollection < TreeNodeViewModel > roots , ReScene . Core . Comparison . SRRFileData srrData , bool isLeft )
688688 {
689689 SRRFile srr = srrData . SRRFile ;
690690
@@ -1272,31 +1272,31 @@ private void ShowProperties(CompareNodeData nodeData, ObservableCollection<Prope
12721272 case CompareNodeType . SRSFileInfo :
12731273 if ( nodeData . Data is SRSFileDataBlock fd )
12741274 {
1275- ShowSrsFileInfoProperties ( properties , fd ) ;
1275+ ShowSRSFileInfoProperties ( properties , fd ) ;
12761276 }
12771277
12781278 break ;
12791279
12801280 case CompareNodeType . SRSTrack :
12811281 if ( nodeData . Data is SRSTrackDataBlock track )
12821282 {
1283- ShowSrsTrackProperties ( properties , track , nodeData . FileName ) ;
1283+ ShowSRSTrackProperties ( properties , track , nodeData . FileName ) ;
12841284 }
12851285
12861286 break ;
12871287
12881288 case CompareNodeType . SRSContainerChunks :
12891289 if ( nodeData . Data is SRSContainerChunk chunk )
12901290 {
1291- ShowSrsContainerChunkProperties ( properties , chunk ) ;
1291+ ShowSRSContainerChunkProperties ( properties , chunk ) ;
12921292 }
12931293
12941294 break ;
12951295
12961296 case CompareNodeType . OSOHash :
12971297 if ( nodeData . Data is SRROsoHashBlock oso )
12981298 {
1299- ShowOsoHashProperties ( properties , oso ) ;
1299+ ShowOSOHashProperties ( properties , oso ) ;
13001300 }
13011301
13021302 break ;
@@ -1434,9 +1434,9 @@ private void ShowDetailedBlockProperties(ObservableCollection<PropertyItem> prop
14341434 }
14351435
14361436 var otherData = isLeft ? _rightData : _leftData ;
1437- if ( otherData is Models . SRRFileData otherSrrData )
1437+ if ( otherData is ReScene . Core . Comparison . SRRFileData otherSRRData )
14381438 {
1439- foreach ( List < RARDetailedBlock > volumeBlocks in otherSrrData . VolumeDetailedBlocks . Values )
1439+ foreach ( List < RARDetailedBlock > volumeBlocks in otherSRRData . VolumeDetailedBlocks . Values )
14401440 {
14411441 RARDetailedBlock ? match = volumeBlocks . FirstOrDefault ( b =>
14421442 b . BlockType == block . BlockType && b . ItemName == block . ItemName ) ;
@@ -1463,7 +1463,7 @@ private void ShowSRRArchiveProperties(ObservableCollection<PropertyItem> propert
14631463 AddComparedProperty ( properties , "RAR Volumes" , srr . RARFiles . Count . ToString ( ) , "RAR Volumes Count" ) ;
14641464 AddComparedProperty ( properties , "Stored Files" , srr . StoredFiles . Count . ToString ( ) , "Stored Files Count" ) ;
14651465 AddComparedProperty ( properties , "Archived Files" , srr . ArchivedFiles . Count . ToString ( ) , "Archived Files Count" ) ;
1466- AddComparedProperty ( properties , "Header CRC Errors" , srr . HeaderCrcMismatches . ToString ( ) , "Header CRC Errors" ) ;
1466+ AddComparedProperty ( properties , "Header CRC Errors" , srr . HeaderCRCMismatches . ToString ( ) , "Header CRC Errors" ) ;
14671467 AddComparedProperty ( properties , "Has Comment" , FileComparer . FormatBool ( ! string . IsNullOrEmpty ( srr . ArchiveComment ) ) , "Has Comment" ) ;
14681468
14691469 properties . Add ( new PropertyItem { Name = "--- Reconstruction Hints ---" , Value = "" , IsSeparator = true } ) ;
@@ -1524,7 +1524,7 @@ private void ShowRAR4FileProperties(ObservableCollection<PropertyItem> propertie
15241524 properties . Add ( new PropertyItem { Name = "Type" , Value = header . IsDirectory ? "Directory" : "File" } ) ;
15251525 AddComparedProperty ( properties , "Unpacked Size" , $ "{ header . UnpackedSize : N0} bytes", "Unpacked Size" ) ;
15261526 AddComparedProperty ( properties , "Packed Size" , $ "{ header . PackedSize : N0} bytes", "Packed Size" ) ;
1527- AddComparedProperty ( properties , "CRC32" , header . FileCrc . ToString ( "X8" ) , "CRC" ) ;
1527+ AddComparedProperty ( properties , "CRC32" , header . FileCRC . ToString ( "X8" ) , "CRC" ) ;
15281528 AddComparedProperty ( properties , "Compression Method" , FileComparer . GetCompressionMethodName ( ( int ? ) header . CompressionMethod ) , "Compression Method" ) ;
15291529 properties . Add ( new PropertyItem { Name = "Dictionary Size" , Value = $ "{ header . DictionarySizeKB } KB" } ) ;
15301530 AddComparedProperty ( properties , "Modified Time" , header . ModifiedTime ? . ToString ( "yyyy-MM-dd HH:mm:ss" ) ?? "N/A" , "Modified Time" ) ;
@@ -1537,7 +1537,7 @@ private void ShowRAR5FileProperties(ObservableCollection<PropertyItem> propertie
15371537 properties . Add ( new PropertyItem { Name = "File Name" , Value = info . FileName } ) ;
15381538 properties . Add ( new PropertyItem { Name = "Type" , Value = info . IsDirectory ? "Directory" : "File" } ) ;
15391539 AddComparedProperty ( properties , "Unpacked Size" , $ "{ info . UnpackedSize : N0} bytes", "Unpacked Size" ) ;
1540- AddComparedProperty ( properties , "CRC32" , info . FileCrc ? . ToString ( "X8" ) ?? "N/A" , "CRC" ) ;
1540+ AddComparedProperty ( properties , "CRC32" , info . FileCRC ? . ToString ( "X8" ) ?? "N/A" , "CRC" ) ;
15411541 AddComparedProperty ( properties , "Compression Method" , FileComparer . GetCompressionMethodName ( info . CompressionMethod ) , "Compression Method" ) ;
15421542 properties . Add ( new PropertyItem { Name = "Dictionary Size" , Value = $ "{ info . DictionarySizeKB } KB" } ) ;
15431543 if ( info . ModificationTime . HasValue )
@@ -1618,12 +1618,12 @@ private static void ShowRarVolumeProperties(ObservableCollection<PropertyItem> p
16181618 properties . Add ( new PropertyItem
16191619 {
16201620 Name = "Header CRC" ,
1621- Value = $ "0x{ rarFile . Crc : X4} ",
1621+ Value = $ "0x{ rarFile . CRC : X4} ",
16221622 ByteRange = new ByteRange { Offset = p , Length = 2 }
16231623 } ) ;
16241624 }
16251625
1626- private void ShowSrsFileInfoProperties ( ObservableCollection < PropertyItem > properties , SRSFileDataBlock fd )
1626+ private void ShowSRSFileInfoProperties ( ObservableCollection < PropertyItem > properties , SRSFileDataBlock fd )
16271627 {
16281628 AddComparedProperty ( properties , "App Name" , fd . AppName , "App Name" ) ;
16291629
@@ -1651,7 +1651,7 @@ private void ShowSrsFileInfoProperties(ObservableCollection<PropertyItem> proper
16511651 } ) ;
16521652 }
16531653
1654- private void ShowSrsTrackProperties ( ObservableCollection < PropertyItem > properties , SRSTrackDataBlock track , string ? trackName )
1654+ private void ShowSRSTrackProperties ( ObservableCollection < PropertyItem > properties , SRSTrackDataBlock track , string ? trackName )
16551655 {
16561656 List < PropertyDifference > ? trackDiffs = trackName is not null ? GetTrackDiffs ( trackName ) : null ;
16571657
@@ -1724,7 +1724,7 @@ private void ShowSrsTrackProperties(ObservableCollection<PropertyItem> propertie
17241724 } ) ;
17251725 }
17261726
1727- private static void ShowSrsContainerChunkProperties ( ObservableCollection < PropertyItem > properties , SRSContainerChunk chunk )
1727+ private static void ShowSRSContainerChunkProperties ( ObservableCollection < PropertyItem > properties , SRSContainerChunk chunk )
17281728 {
17291729 properties . Add ( new PropertyItem { Name = "Label" , Value = chunk . Label } ) ;
17301730 properties . Add ( new PropertyItem { Name = "Chunk ID" , Value = chunk . ChunkId } ) ;
@@ -1734,7 +1734,7 @@ private static void ShowSrsContainerChunkProperties(ObservableCollection<Propert
17341734 properties . Add ( new PropertyItem { Name = "Total Size" , Value = $ "{ chunk . BlockSize : N0} bytes ({ FormatUtilities . FormatSize ( chunk . BlockSize ) } )" } ) ;
17351735 }
17361736
1737- private static void ShowOsoHashProperties ( ObservableCollection < PropertyItem > properties , SRROsoHashBlock oso )
1737+ private static void ShowOSOHashProperties ( ObservableCollection < PropertyItem > properties , SRROsoHashBlock oso )
17381738 {
17391739 long p = oso . BlockPosition + 7 ; // skip base header (CRC + type + flags + headerSize)
17401740
0 commit comments