@@ -546,18 +546,8 @@ public async Task<List<string>> GetTextureFiles(int materialVariant = -1)
546
546
}
547
547
548
548
549
- /// <summary>
550
- /// Gets all IMC Entries associated with this root node.
551
- /// </summary>
552
- /// <returns></returns>
553
- public async Task < List < string > > GetImcEntryPaths ( )
549
+ public string GetRawImcFilePath ( )
554
550
{
555
- // We need to locate and open the IMC file, and then check how many
556
- // actual sets are in it, and calculate the pointers to our associated
557
- // Set + Slot entries.
558
- // Then return them in the format of <ImcPath>::<Offset>
559
- var imcEntries = new List < string > ( ) ;
560
-
561
551
var imcPath = "" ;
562
552
if ( Info . SecondaryType == null )
563
553
{
@@ -571,6 +561,23 @@ public async Task<List<string>> GetImcEntryPaths()
571
561
var iId = Info . SecondaryId . ToString ( ) . PadLeft ( 4 , '0' ) ;
572
562
imcPath = Info . GetRootFolder ( ) + String . Format ( ImcFileFormat , new string [ ] { iPrefix , iId } ) ;
573
563
}
564
+ return imcPath ;
565
+
566
+ }
567
+
568
+ /// <summary>
569
+ /// Gets all IMC Entries associated with this root node.
570
+ /// </summary>
571
+ /// <returns></returns>
572
+ public async Task < List < string > > GetImcEntryPaths ( )
573
+ {
574
+ // We need to locate and open the IMC file, and then check how many
575
+ // actual sets are in it, and calculate the pointers to our associated
576
+ // Set + Slot entries.
577
+ // Then return them in the format of <ImcPath>::<Offset>
578
+ var imcEntries = new List < string > ( ) ;
579
+
580
+ var imcPath = GetRawImcFilePath ( ) ;
574
581
575
582
576
583
var _gameDirectory = XivCache . GameInfo . GameDirectory ;
0 commit comments