Пример #1
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                backend.getText(path, textBoxBI1, 0x13, 0x6502, 0); // Getting a "I" here that is not supposed to be there if start is 0x6500 0x15 bytes "67"
                backend.getText(path, textBoxBI2, 0x1F, 0x6518, 0);
                backend.getText(path, textBoxBI3, 0xB, 0x653B, 0);
                backend.getText(path, textBoxBI4, 0x19, 0x6549, 0);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #2
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                backend.getText(path, textBoxDL1, 0x15, 0x1C215, 1);
                backend.getText(path, textBoxDL2, 0x11, 0x1C22D, 1);
                backend.getText(path, textBoxDL3, 0xB, 0x1C241, 1);
                backend.getText(path, textBoxDL4, 0x12, 0x1C24E, 1);
                backend.getText(path, textBoxDL5, 0x6, 0x1C263, 1);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #3
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                backend.getText(path, textBoxPG1, 0x10, 0x6310, 0);
                backend.getText(path, textBoxPG2, 0xB, 0x6323, 0);
                //backend.getText(path, textBoxPG3, 0x3, 0x6330, 0); // should be "END" but showing "NDZ"
                backend.getText(path, textBoxPG4, 0xB, 0x6338, 0);
                //backend.getText(path, textBoxPG5, 0x3, 0x6345, 0); // should be "END" but showing "NDY"
                backend.getText(path, textBoxPG6, 0xD, 0x634D, 0);
                backend.getText(path, textBoxPG7, 0x8, 0x636B, 0);
                //backend.getText(path, textBoxPG8, 0x3, 0x6375, 0); // should be "END" but showing "NDW"
                backend.getText(path, textBoxPG9, 0x10, 0x64E0, 0);
                backend.getText(path, textBoxPG10, 0xB, 0x64F3, 0);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #4
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                backend.getText(path, textBoxWN1, 0x7, 0x641E, 0);
                backend.getText(path, textBoxWN2, 0xD, 0x6429, 0);
                backend.getText(path, textBoxWN3, 0x3, 0x6439, 0);
                backend.getText(path, textBoxWN4, 0x9, 0x643F, 0);
                backend.getText(path, textBoxWN5, 0xE, 0x644C, 0);
                backend.getText(path, textBoxWN6, 0xC, 0x645E, 0);
                backend.getText(path, textBoxWN7, 0xC, 0x646E, 0);
                backend.getText(path, textBoxWN8, 0x8, 0x647E, 0);
                backend.getText(path, textBoxWN9, 0xC, 0x648A, 0);
                backend.getText(path, textBoxWN10, 0xB, 0x649A, 0);
                backend.getText(path, textBoxWN11, 0xC, 0x64A9, 0);
                backend.getText(path, textBoxWN12, 0x3, 0x64B8, 0);
                backend.getText(path, textBoxWN13, 0xB, 0x64BE, 0);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #5
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                // $1E2D7 - $1E639 - Game Credits
                backend.getText(path, textBoxC1, 0x12, 0x1E2D7, 0);
                backend.getText(path, textBoxC2, 0x8, 0x1E2EC, 0);
                backend.getText(path, textBoxC3, 0x9, 0x1E2F7, 0);
                backend.getText(path, textBoxC4, 0x9, 0x1E303, 0);
                backend.getText(path, textBoxC5, 0x4, 0x1E30F, 0);
                backend.getText(path, textBoxC6, 0x7, 0x1E316, 0);
                backend.getText(path, textBoxC7, 0xD, 0x1E320, 0);
                backend.getText(path, textBoxC8, 0x6, 0x1E330, 0);
                backend.getText(path, textBoxC9, 0xA, 0x1E339, 0);
                backend.getText(path, textBoxC10, 0x3, 0x1E346, 0);
                backend.getText(path, textBoxC11, 0x3, 0x1E34C, 0);
                backend.getText(path, textBoxC12, 0x9, 0x1E352, 0);
                backend.getText(path, textBoxC13, 0x7, 0x1E35E, 0);
                backend.getText(path, textBoxC14, 0x8, 0x1E368, 0);
                backend.getText(path, textBoxC15, 0xC, 0x1E373, 0);
                backend.getText(path, textBoxC16, 0xB, 0x1E382, 0);
                backend.getText(path, textBoxC17, 0x6, 0x1E390, 0);
                backend.getText(path, textBoxC18, 0x8, 0x1E399, 0);
                backend.getText(path, textBoxC19, 0xE, 0x1E3A4, 0);
                backend.getText(path, textBoxC20, 0x10, 0x1E3B5, 0);
                backend.getText(path, textBoxC21, 0xF, 0x1E3C8, 0);
                backend.getText(path, textBoxC22, 0xB, 0x1E3DA, 0);
                backend.getText(path, textBoxC23, 0xF, 0x1E3E8, 0);
                backend.getText(path, textBoxC24, 0xF, 0x1E3FA, 0);
                backend.getText(path, textBoxC25, 0x12, 0x1E40C, 0);
                backend.getText(path, textBoxC26, 0x10, 0x1E421, 0);
                backend.getText(path, textBoxC27, 0xE, 0x1E434, 0);
                backend.getText(path, textBoxC28, 0x12, 0x1E445, 0);
                backend.getText(path, textBoxC29, 0x10, 0x1E45A, 0);
                backend.getText(path, textBoxC30, 0xE, 0x1E46D, 0);
                backend.getText(path, textBoxC31, 0xF, 0x1E47E, 0);
                backend.getText(path, textBoxC32, 0xE, 0x1E490, 0);
                backend.getText(path, textBoxC33, 0x10, 0x1E4A1, 0);
                backend.getText(path, textBoxC34, 0x11, 0x1E4B4, 0);
                backend.getText(path, textBoxC35, 0x11, 0x1E4C8, 0);
                backend.getText(path, textBoxC36, 0xD, 0x1E4DC, 0);
                backend.getText(path, textBoxC37, 0xD, 0x1E4EC, 0);
                backend.getText(path, textBoxC38, 0xC, 0x1E4FC, 0);
                backend.getText(path, textBoxC39, 0xC, 0x1E50B, 0);
                backend.getText(path, textBoxC40, 0xC, 0x1E51B, 0);
                backend.getText(path, textBoxC41, 0xF, 0x1E52A, 0);
                backend.getText(path, textBoxC42, 0xB, 0x1E53C, 0);
                backend.getText(path, textBoxC43, 0xA, 0x1E54A, 0);
                backend.getText(path, textBoxC44, 0xD, 0x1E557, 0);
                backend.getText(path, textBoxC45, 0x11, 0x1E567, 0);
                backend.getText(path, textBoxC46, 0xD, 0x1E57B, 0);
                backend.getText(path, textBoxC47, 0xE, 0x1E58B, 0);
                backend.getText(path, textBoxC48, 0x14, 0x1E59C, 0);
                backend.getText(path, textBoxC49, 0x12, 0x1E5B3, 0);
                backend.getText(path, textBoxC50, 0xF, 0x1E5C8, 0);
                backend.getText(path, textBoxC51, 0xC, 0x1E5DA, 0);
                backend.getText(path, textBoxC52, 0xA, 0x1E5E9, 0);
                backend.getText(path, textBoxC53, 0x6, 0x1E5F6, 0);
                backend.getText(path, textBoxC54, 0x8, 0x1E5FF, 0);
                backend.getText(path, textBoxC55, 0x8, 0x1E60A, 0);
                backend.getText(path, textBoxC56, 0x8, 0x1E615, 0);
                backend.getText(path, textBoxC57, 0x6, 0x1E620, 0);
                backend.getText(path, textBoxC58, 0x9, 0x1E629, 0);
                backend.getText(path, textBoxC59, 0x5, 0x1E635, 0);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #6
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                backend.getText(path, textBoxE1, 0x15, 0x1C26C, 1);
                backend.getText(path, textBoxE2, 0x10, 0x1C284, 1);
                backend.getText(path, textBoxE3, 0x8, 0x1A3BB, 1);
                backend.getText(path, textBoxE4, 0x18, 0x1C297, 1);
                backend.getText(path, textBoxE5, 0x16, 0x1C2B2, 1);
                backend.getText(path, textBoxE6, 0x15, 0x1C2CB, 1);
                backend.getText(path, textBoxE7, 0x8, 0x1C2E3, 1);
                backend.getText(path, textBoxE8, 0x18, 0x1C2EE, 1);
                backend.getText(path, textBoxE9, 0x7, 0x1C309, 1);
                backend.getText(path, textBoxE10, 0x17, 0x1C313, 1);
                backend.getText(path, textBoxE11, 0x14, 0x1C32D, 1);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #7
0
        private void readRomText()
        {
            try {
                string path = textBoxFilename.Text;

                Backend backend = new Backend();

                backend.getText(path, textBoxName1, 0xA, 0x61F1, 0);
                backend.getText(path, textBoxName2, 0xA, 0x61FB, 0);
                backend.getText(path, textBoxName3, 0xA, 0x6205, 0);
                backend.getText(path, textBoxName4, 0xA, 0x620F, 0);
                backend.getText(path, textBoxName5, 0xA, 0x6219, 0);
                backend.getText(path, textBoxName6, 0xA, 0x6223, 0);
                backend.getText(path, textBoxName7, 0xA, 0x622D, 0);
                backend.getText(path, textBoxName8, 0xA, 0x6237, 0);

                backend.getText(path, textBoxName9, 0xC, 0x637D, 0);  // push start
                backend.getText(path, textBoxName10, 0x6, 0x638C, 0); // spark
                backend.getText(path, textBoxName11, 0x6, 0x6395, 0); // snake
                backend.getText(path, textBoxName12, 0x6, 0x639E, 0); // needle
                backend.getText(path, textBoxName13, 0x3, 0x63AA, 0); // man (spark)
                backend.getText(path, textBoxName14, 0x3, 0x63B3, 0); // man (snake)
                backend.getText(path, textBoxName15, 0x3, 0x63BC, 0); // man (needle)
                backend.getText(path, textBoxName16, 0x6, 0x63C3, 0); // hard
                backend.getText(path, textBoxName17, 0x6, 0x63CC, 0); // top
                backend.getText(path, textBoxName18, 0x3, 0x63D8, 0); // man (hard)
                backend.getText(path, textBoxName19, 0x3, 0x63E1, 0); // man (top)
                backend.getText(path, textBoxName20, 0x6, 0x63E7, 0); // gemini
                backend.getText(path, textBoxName21, 0x6, 0x63F0, 0); // magnet
                backend.getText(path, textBoxName22, 0x6, 0x63F9, 0); // shadow
                backend.getText(path, textBoxName23, 0x3, 0x6405, 0); // man (gemini)
                backend.getText(path, textBoxName24, 0x3, 0x640E, 0); // man (magnet)
                backend.getText(path, textBoxName25, 0x3, 0x6417, 0); // man (shadow)

                enableMenuItems();
                enableButtons();
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #8
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                backend.getText(path, textBoxRL1, 0xB, 0x1A3C7, 1);
                backend.getText(path, textBoxRL2, 0x9, 0x1A3D5, 1);
                backend.getText(path, textBoxRL3, 0xB, 0x1A3E1, 1);
                backend.getText(path, textBoxRL4, 0x5, 0x1A3EF, 1);
                backend.getText(path, textBoxRL5, 0xE, 0x1A3F8, 1);
                backend.getText(path, textBoxRL6, 0x6, 0x1A409, 1);
                backend.getText(path, textBoxRL7, 0x6, 0x1A412, 1);
                backend.getText(path, textBoxRL8, 0xA, 0x1A41B, 1);
                backend.getText(path, textBoxRL9, 0xE, 0x1A429, 1);
                backend.getText(path, textBoxRL10, 0x5, 0x1A43A, 1);
                backend.getText(path, textBoxRL11, 0x8, 0x1A442, 1);
                backend.getText(path, textBoxRL12, 0x5, 0x1A44D, 1);
                backend.getText(path, textBoxRL13, 0xE, 0x1A456, 1);
                backend.getText(path, textBoxRL14, 0x6, 0x1A467, 1);
                backend.getText(path, textBoxRL15, 0xA, 0x1A470, 1);
                backend.getText(path, textBoxRL16, 0x5, 0x1A47D, 1);
                backend.getText(path, textBoxRL17, 0xD, 0x1A486, 1);
                backend.getText(path, textBoxRL18, 0x9, 0x1A496, 1);
                backend.getText(path, textBoxRL19, 0x8, 0x1A4A2, 1);
                backend.getText(path, textBoxRL20, 0xC, 0x1A4AD, 1);
                backend.getText(path, textBoxRL21, 0xE, 0x1A4BD, 1);
                backend.getText(path, textBoxRL22, 0xA, 0x1A4CE, 1);
                backend.getText(path, textBoxRL23, 0xB, 0x1A4DB, 1);
                backend.getText(path, textBoxRL24, 0x5, 0x1A4E9, 1);
                backend.getText(path, textBoxRL25, 0xD, 0x1A4F2, 1);
                backend.getText(path, textBoxRL26, 0x7, 0x1A502, 1);
                backend.getText(path, textBoxRL27, 0x7, 0x1A50C, 1);
                backend.getText(path, textBoxRL28, 0x5, 0x1A516, 1);
                backend.getText(path, textBoxRL29, 0xB, 0x1A51F, 1);
                backend.getText(path, textBoxRL30, 0xC, 0x1A52D, 1);
                backend.getText(path, textBoxRL31, 0x5, 0x1A53C, 1);
                backend.getText(path, textBoxRL32, 0xE, 0x1A545, 1);
                backend.getText(path, textBoxRL33, 0x6, 0x1A556, 1);
                backend.getText(path, textBoxRL34, 0xC, 0x1A55F, 1);
                backend.getText(path, textBoxRL35, 0x8, 0x1A56E, 1);
                backend.getText(path, textBoxRL36, 0x10, 0x1A57A, 1);
                backend.getText(path, textBoxRL37, 0x9, 0x1A58D, 1);
                backend.getText(path, textBoxRL38, 0xA, 0x1A599, 1);
                backend.getText(path, textBoxRL39, 0xA, 0x1A5A6, 1);
                backend.getText(path, textBoxRL40, 0x7, 0x1A5B3, 1);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #9
0
        private void readRomText()
        {
            try {
                Backend backend = new Backend();

                backend.getText(path, textBoxRC1, 0x5, 0x1C0D3, 0);
                backend.getText(path, textBoxRC2, 0xA, 0x1C0DB, 0);
                backend.getText(path, textBoxRC3, 0x8, 0x1C0E8, 0);
                backend.getText(path, textBoxRC4, 0x8, 0x1C0F3, 0);
                backend.getText(path, textBoxRC5, 0x5, 0x1C0FE, 0);
                backend.getText(path, textBoxRC6, 0xA, 0x1C106, 0);
                backend.getText(path, textBoxRC7, 0x7, 0x1C113, 0);
                backend.getText(path, textBoxRC8, 0x3, 0x1C11D, 0);
                backend.getText(path, textBoxRC9, 0x5, 0x1C123, 0);
                backend.getText(path, textBoxRC10, 0xA, 0x1C12B, 0);
                backend.getText(path, textBoxRC11, 0x9, 0x1C138, 0);
                backend.getText(path, textBoxRC12, 0x7, 0x1C144, 0);
                backend.getText(path, textBoxRC13, 0x5, 0x1C14E, 0);
                backend.getText(path, textBoxRC14, 0x8, 0x1C156, 0);
                backend.getText(path, textBoxRC15, 0x8, 0x1C161, 0);
                backend.getText(path, textBoxRC16, 0x5, 0x1C16C, 0);
                backend.getText(path, textBoxRC17, 0x5, 0x1C174, 0);
                backend.getText(path, textBoxRC18, 0x7, 0x1C17C, 0);
                backend.getText(path, textBoxRC19, 0x7, 0x1C186, 0);
                backend.getText(path, textBoxRC20, 0x7, 0x1C190, 0);
                backend.getText(path, textBoxRC21, 0x5, 0x1C19A, 0);
                backend.getText(path, textBoxRC22, 0x9, 0x1C1A2, 0);
                backend.getText(path, textBoxRC23, 0x7, 0x1C1AE, 0);
                backend.getText(path, textBoxRC24, 0x8, 0x1C1B8, 0);
                backend.getText(path, textBoxRC25, 0x5, 0x1C1C3, 0);
                backend.getText(path, textBoxRC26, 0x9, 0x1C1CB, 0);
                backend.getText(path, textBoxRC27, 0x8, 0x1C1D7, 0);
                backend.getText(path, textBoxRC28, 0x6, 0x1C1E2, 0);
                backend.getText(path, textBoxRC29, 0x5, 0x1C1EB, 0);
                backend.getText(path, textBoxRC30, 0xA, 0x1C1F3, 0);
                backend.getText(path, textBoxRC31, 0x8, 0x1C200, 0);
                backend.getText(path, textBoxRC32, 0x7, 0x1C20B, 0);
                backend.getText(path, textBoxRC33, 0x5, 0x188D3, 0);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }