Ejemplo n.º 1
0
        public const string dumpPath = @"D:\Switch\ACNH\Unpackv2\patched_acnh_1_8_0\"; // should have your romBCSVfs and romSARCfs in it. Use https://github.com/berichan/ACNH_Dumper

        // Requires you to dump your own menu icon map using sysbot on your switch using the other project in this solution (NH_Sysbot_Tools) and move the berimap file it creates into /NH_CreationEngine/Dumpfiles/mainIcon.berimap
        // once you get your items filtered you may use my fork of switch toolbox to batch convert textures, this preserves filenames (untick both top options, one of them is creating new folder which you don't need) https://github.com/berichan/Switch-Toolbox
        static void Main(string[] args)
        {
            //ShowNMTFile();
            //Util.SearchAllBCSVFor("FencePegRope");
            //Util.PrintBigFolders(PathHelper.ModelPath);

            //SpriteCreationEngine.GenerateMenuIconList();
            //SpriteParser.DumpImagesToSingleFile(@"D:\Switch\ACNH\Unpackv2\patched_acnh_1_8_0\Output\Sprites\Spritesbfres_menu\proc", @"D:\Switch\ACNH\Unpackv2\patched_acnh_1_8_0\Output\Sprites\imagedump_menu.dmp");

            //SpriteCreationEngine.DoItemSearch();
            SpriteParser.DumpImagesToSingleFile(@"D:\Switch\ACNH\Unpackv2\Images_Master", @"D:\Switch\ACNH\Unpackv2\patched_acnh_1_8_0\Output\Sprites\imagedump.dmp");

            //ModelCreationEngine.DoItemSearchUnitIcon();

            //PointerCreationEngine.GenerateUnitIconPointer();
            //SpriteParser.DumpImagesToSingleFile(@"D:\Switch\ACNH\Unpackv2\Images_UnitIcon_Master", @"D:\Switch\ACNH\Unpackv2\patched_acnh_1_4_0\Output\Sprites\imagedump_manual.dmp");

            //ClassCreationEngine.CreateReaction();

            //var watch = System.Diagnostics.Stopwatch.StartNew();
            //BCSVHelper.RedumpBCSV();
            //BCSVHelper.CreateMenuIconParam(@"D:\Switch\ACNH\Unpackv2\patched_acnh_1_7_0\romBCSVfs\Bcsv\text\menuicon.txt");
            //DoEverything();
            //watch.Stop();
            //Console.WriteLine(string.Format("All files written in {0}ms", watch.ElapsedMilliseconds));
        }
Ejemplo n.º 2
0
 public static void SetCurrentInstance(SpriteParser sp) => CurrentInstance = sp;