Package info.ata4.io

Examples of info.ata4.io.DataInputReader


    @Override
    public void processAsset(AssetFile asset) throws IOException {
        List<ObjectPath> paths = asset.getPaths();
        List<AssetRef> refTable = asset.getReferences();
        AssetHeader header = asset.getHeader();
        TypeTree typeTree = asset.getTypeTree();
       
        ps.println("Header");
        ps.println("  File size: " + StringUtils.humanReadableByteCount(header.getFileSize(), true));
        ps.println("  Tree size: " + StringUtils.humanReadableByteCount(header.getTreeSize(), true));
        ps.println("  Format: " + header.getFormat());
        ps.println("  Data offset: " + header.getDataOffset());
        ps.println();
       
        ps.println("Serialized data");
        ps.println("  Revision: " + typeTree.getEngineVersion());
        ps.println("  Version: " + typeTree.getVersion());
        ps.println("  Type tree: " + BooleanUtils.toStringYesNo(!typeTree.getFields().isEmpty()));
        ps.println("  Objects: " + paths.size());
        ps.println();
       
        if (!refTable.isEmpty()) {
            ps.println("External references");
View Full Code Here


       
        // learn structs
        List<Path> bundles = downloader.getDownloadedFiles();
        boolean learn = true;
        if (learn && !bundles.isEmpty()) {
            DisUnityOptions opts = new DisUnityOptions();
           
//            opts.setCommand("learn");
//            opts.getFiles().addAll(bundles);
           
//            DisUnityProcessor processor = new DisUnityProcessor(opts);
View Full Code Here

    public boolean isRecursive() {
        return recursive;
    }

    public ClassFilter getClassFilter() {
        return new SimpleClassFilter(classListInclude, classListExclude);
    }
View Full Code Here

        jc.addCommand(new LearnCmd());
        jc.addCommand(new ListCmd(out));
        jc.addCommand(new SplitCmd());
       
        // bundle commands
        jc.addCommand(new BundleExtractCmd());
        jc.addCommand(new BundleInjectCmd());
        jc.addCommand(new BundleListCmd(out));
       
        // debug commands
        jc.addCommand(new DebugDeserializerCmd());
View Full Code Here

        jc.addCommand(new ListCmd(out));
        jc.addCommand(new SplitCmd());
       
        // bundle commands
        jc.addCommand(new BundleExtractCmd());
        jc.addCommand(new BundleInjectCmd());
        jc.addCommand(new BundleListCmd(out));
       
        // debug commands
        jc.addCommand(new DebugDeserializerCmd());
        jc.addCommand(new DebugStructDBCmd());
View Full Code Here

        jc.addCommand(new SplitCmd());
       
        // bundle commands
        jc.addCommand(new BundleExtractCmd());
        jc.addCommand(new BundleInjectCmd());
        jc.addCommand(new BundleListCmd(out));
       
        // debug commands
        jc.addCommand(new DebugDeserializerCmd());
        jc.addCommand(new DebugStructDBCmd());
    }
View Full Code Here

            return;
        }
       
        JCommander jcc = jc.getCommands().get(cmdName);
       
        Command cmd = (Command) jcc.getObjects().get(0);
        cmd.setOptions(opts);
        cmd.run();
    }
View Full Code Here

        jc.addCommand(new BundleExtractCmd());
        jc.addCommand(new BundleInjectCmd());
        jc.addCommand(new BundleListCmd(out));
       
        // debug commands
        jc.addCommand(new DebugDeserializerCmd());
        jc.addCommand(new DebugStructDBCmd());
    }
View Full Code Here

        jc.addCommand(new BundleInjectCmd());
        jc.addCommand(new BundleListCmd(out));
       
        // debug commands
        jc.addCommand(new DebugDeserializerCmd());
        jc.addCommand(new DebugStructDBCmd());
    }
View Full Code Here

        jc.addObject(opts);

        PrintStream out = System.out;
       
        // asset commands
        jc.addCommand(new DumpCmd());
        jc.addCommand(new DumpStructCmd());
        jc.addCommand(new ExtractCmd());
        jc.addCommand(new ExtractRawCmd());
        jc.addCommand(new ExtractTxtCmd());
        jc.addCommand(new ExtractStructCmd());
View Full Code Here

TOP

Related Classes of info.ata4.io.DataInputReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.