File tree 6 files changed +816
-2
lines changed
6 files changed +816
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ public enum Task
42
42
ExportQuests ,
43
43
ReplaceArchive ,
44
44
SdPrintTest ,
45
- GiveMaps
45
+ GiveMaps ,
46
+ FindInnEvents ,
47
+ PrintQuests
46
48
}
47
49
}
Original file line number Diff line number Diff line change 15
15
using XbTool . Serialization ;
16
16
using XbTool . Types ;
17
17
using XbTool . Xb2 ;
18
+ using XbTool . Xb2 . GameData ;
18
19
19
20
namespace XbTool
20
21
{
@@ -96,6 +97,12 @@ internal static void RunTask(Options options)
96
97
case Task . GiveMaps :
97
98
GiveMaps ( options ) ;
98
99
break ;
100
+ case Task . FindInnEvents :
101
+ FindInnEvents ( options ) ;
102
+ break ;
103
+ case Task . PrintQuests :
104
+ PrintQuests ( options ) ;
105
+ break ;
99
106
default :
100
107
throw new ArgumentOutOfRangeException ( ) ;
101
108
}
@@ -463,7 +470,6 @@ private static void SdPrintTest(Options options)
463
470
var localFs = new LocalFileSystem ( "output" ) ;
464
471
fs . CopyFileSystem ( localFs , options . Progress ) ;
465
472
}
466
-
467
473
private static void GiveMaps ( Options options )
468
474
{
469
475
if ( options . Input == null ) throw new NullReferenceException ( "No input file was specified." ) ;
@@ -475,5 +481,19 @@ private static void GiveMaps(Options options)
475
481
BdatStringCollection tables = GetBdatStringCollection ( options ) ;
476
482
Xbde . Maps . ReadMap ( tables , options ) ;
477
483
}
484
+
485
+ private static void FindInnEvents ( Options options )
486
+ {
487
+ BdatStringCollection tables = GetBdatStringCollection ( options ) ;
488
+ HeartToHeart . PrintH2Hs ( tables ) ;
489
+ //HeartToHeart.FindInnEvents(tables);
490
+
491
+ }
492
+
493
+ private static void PrintQuests ( Options options )
494
+ {
495
+ BdatStringCollection tables = GetBdatStringCollection ( options ) ;
496
+ Quest . ReadQuests ( tables ) ;
497
+ }
478
498
}
479
499
}
You can’t perform that action at this time.
0 commit comments