Esempio n. 1
0
        private void DebugVPKLoader()
        {
            VPKLoader loader = new VPKLoader();

            loader.LoadVPK("VitaShell.vpk");
            MessageBox.Show(string.Format("{0}:\nVPK STATE:{1}", loader.FileName, loader.Type.ToString()));
        }
Esempio n. 2
0
        private void ParamForm_Load(object sender, EventArgs e)
        {
            VPKLoader vpkLoader = new VPKLoader();

            vpkLoader.LoadVPK(path);
            this.textBoxSFOInfo.Lines = new string[]
            {
                string.Format("{0}:    {1}", "Content ID  ", vpkLoader.Package_CONTENT_ID),
                string.Format("{0}:    {1}", "STITLE      ", vpkLoader.Package_STITLE),
                string.Format("{0}:    {1}", "TITLE       ", vpkLoader.Package_TITLE),
                string.Format("{0}:    {1}", "TITLE ID    ", vpkLoader.Package_TITLE_ID),
                string.Format("{0}:    {1}", "DISP VER    ", vpkLoader.Package_PSP2_DISP_VER),
                string.Format("{0}:    {1}", "SYSTEM VER  ", vpkLoader.Package_PSP2_SYSTEM_VER),
                string.Format("{0}:    {1}", "VERSION     ", vpkLoader.Package_VERSION),
                string.Format("{0}:    {1}", "APP VER     ", vpkLoader.Package_APP_VER)
            };
        }