Пример #1
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x13, textBoxBI1, 0x6502, 0);
                backend.updateROMText(absoluteFilename, 0x1F, textBoxBI2, 0x6518, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxBI3, 0x653B, 0);
                backend.updateROMText(absoluteFilename, 0x19, textBoxBI4, 0x6549, 0);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #2
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x15, textBoxDL1, 0x1C215, 1);
                backend.updateROMText(absoluteFilename, 0x11, textBoxDL2, 0x1C22D, 1);
                backend.updateROMText(absoluteFilename, 0xB, textBoxDL3, 0x1C241, 1);
                backend.updateROMText(absoluteFilename, 0x12, textBoxDL4, 0x1C24E, 1);
                backend.updateROMText(absoluteFilename, 0x6, textBoxDL5, 0x1C263, 1);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #3
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x10, textBoxPG1, 0x6310, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxPG2, 0x6323, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxPG4, 0x6338, 0);
                backend.updateROMText(absoluteFilename, 0xD, textBoxPG6, 0x634D, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxPG7, 0x636B, 0);
                backend.updateROMText(absoluteFilename, 0x10, textBoxPG9, 0x64E0, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxPG10, 0x64F3, 0);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #4
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x7, textBoxWN1, 0x641E, 0);
                backend.updateROMText(absoluteFilename, 0xD, textBoxWN2, 0x6429, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxWN3, 0x6439, 0);
                backend.updateROMText(absoluteFilename, 0x9, textBoxWN4, 0x643F, 0);
                backend.updateROMText(absoluteFilename, 0xE, textBoxWN5, 0x644C, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxWN6, 0x645E, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxWN7, 0x646E, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxWN8, 0x647E, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxWN9, 0x648A, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxWN10, 0x649A, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxWN11, 0x64A9, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxWN12, 0x64B8, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxWN13, 0x64BE, 0);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #5
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x12, textBoxC1, 0x1E2D7, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxC2, 0x1E2EC, 0);
                backend.updateROMText(absoluteFilename, 0x9, textBoxC3, 0x1E2F7, 0);
                backend.updateROMText(absoluteFilename, 0x9, textBoxC4, 0x1E303, 0);
                backend.updateROMText(absoluteFilename, 0x4, textBoxC5, 0x1E30F, 0);
                backend.updateROMText(absoluteFilename, 0x7, textBoxC6, 0x1E316, 0);
                backend.updateROMText(absoluteFilename, 0xD, textBoxC7, 0x1E320, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxC8, 0x1E330, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxC9, 0x1E339, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxC10, 0x1E346, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxC11, 0x1E34C, 0);
                backend.updateROMText(absoluteFilename, 0x9, textBoxC12, 0x1E352, 0);
                backend.updateROMText(absoluteFilename, 0x7, textBoxC13, 0x1E35E, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxC14, 0x1E368, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxC15, 0x1E373, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxC16, 0x1E382, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxC17, 0x1E390, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxC18, 0x1E399, 0);
                backend.updateROMText(absoluteFilename, 0xE, textBoxC19, 0x1E3A4, 0);
                backend.updateROMText(absoluteFilename, 0x10, textBoxC20, 0x1E3B5, 0);
                backend.updateROMText(absoluteFilename, 0xF, textBoxC21, 0x1E3C8, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxC22, 0x1E3DA, 0);
                backend.updateROMText(absoluteFilename, 0xF, textBoxC23, 0x1E3E8, 0);
                backend.updateROMText(absoluteFilename, 0xF, textBoxC24, 0x1E3FA, 0);
                backend.updateROMText(absoluteFilename, 0x12, textBoxC25, 0x1E40C, 0);
                backend.updateROMText(absoluteFilename, 0x10, textBoxC26, 0x1E421, 0);
                backend.updateROMText(absoluteFilename, 0xE, textBoxC27, 0x1E434, 0);
                backend.updateROMText(absoluteFilename, 0x12, textBoxC28, 0x1E445, 0);
                backend.updateROMText(absoluteFilename, 0x10, textBoxC29, 0x1E45A, 0);
                backend.updateROMText(absoluteFilename, 0xE, textBoxC30, 0x1E46D, 0);
                backend.updateROMText(absoluteFilename, 0xF, textBoxC31, 0x1E47E, 0);
                backend.updateROMText(absoluteFilename, 0xE, textBoxC32, 0x1E490, 0);
                backend.updateROMText(absoluteFilename, 0x10, textBoxC33, 0x1E4A1, 0);
                backend.updateROMText(absoluteFilename, 0x11, textBoxC34, 0x1E4B4, 0);
                backend.updateROMText(absoluteFilename, 0x11, textBoxC35, 0x1E4C8, 0);
                backend.updateROMText(absoluteFilename, 0xD, textBoxC36, 0x1E4DC, 0);
                backend.updateROMText(absoluteFilename, 0xD, textBoxC37, 0x1E4EC, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxC38, 0x1E4FC, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxC39, 0x1E50B, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxC40, 0x1E51B, 0);
                backend.updateROMText(absoluteFilename, 0xF, textBoxC41, 0x1E52A, 0);
                backend.updateROMText(absoluteFilename, 0xB, textBoxC42, 0x1E53C, 0);
                backend.updateROMText(absoluteFilename, 0xA, textBoxC43, 0x1E54A, 0);
                backend.updateROMText(absoluteFilename, 0xD, textBoxC44, 0x1E557, 0);
                backend.updateROMText(absoluteFilename, 0x11, textBoxC45, 0x1E567, 0);
                backend.updateROMText(absoluteFilename, 0xD, textBoxC46, 0x1E57B, 0);
                backend.updateROMText(absoluteFilename, 0xE, textBoxC47, 0x1E58B, 0);
                backend.updateROMText(absoluteFilename, 0x14, textBoxC48, 0x1E59C, 0);
                backend.updateROMText(absoluteFilename, 0x12, textBoxC49, 0x1E5B3, 0);
                backend.updateROMText(absoluteFilename, 0xF, textBoxC50, 0x1E5C8, 0);
                backend.updateROMText(absoluteFilename, 0xC, textBoxC51, 0x1E5DA, 0);
                backend.updateROMText(absoluteFilename, 0xA, textBoxC52, 0x1E5E9, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxC53, 0x1E5F6, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxC54, 0x1E5FF, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxC55, 0x1E60A, 0);
                backend.updateROMText(absoluteFilename, 0x8, textBoxC56, 0x1E615, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxC57, 0x1E620, 0);
                backend.updateROMText(absoluteFilename, 0x9, textBoxC58, 0x1E629, 0);
                backend.updateROMText(absoluteFilename, 0x5, textBoxC59, 0x1E635, 0);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #6
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x15, textBoxE1, 0x1C26C, 1);
                backend.updateROMText(absoluteFilename, 0x10, textBoxE2, 0x1C284, 1);
                backend.updateROMText(absoluteFilename, 0x8, textBoxE3, 0x1A3BB, 1);
                backend.updateROMText(absoluteFilename, 0x18, textBoxE4, 0x1C297, 1);
                backend.updateROMText(absoluteFilename, 0x16, textBoxE5, 0x1C2B2, 1);
                backend.updateROMText(absoluteFilename, 0x15, textBoxE6, 0x1C2CB, 1);
                backend.updateROMText(absoluteFilename, 0x8, textBoxE7, 0x1C2E3, 1);
                backend.updateROMText(absoluteFilename, 0x18, textBoxE8, 0x1C2EE, 1);
                backend.updateROMText(absoluteFilename, 0x7, textBoxE9, 0x1C309, 1);
                backend.updateROMText(absoluteFilename, 0x17, textBoxE10, 0x1C313, 1);
                backend.updateROMText(absoluteFilename, 0x14, textBoxE11, 0x1C32D, 1);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #7
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = textBoxFilename.Text;
                Backend backend          = new Backend();

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

                backend.updateROMText(absoluteFilename, 0xC, textBoxName9, 0x637D, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName10, 0x638C, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName11, 0x6395, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName12, 0x639E, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName13, 0x63AA, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName14, 0x63B3, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName15, 0x63BC, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName16, 0x63C3, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName17, 0x63CC, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName18, 0x63D8, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName19, 0x63E1, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName20, 0x63E7, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName21, 0x63F0, 0);
                backend.updateROMText(absoluteFilename, 0x6, textBoxName22, 0x63F9, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName23, 0x6405, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName24, 0x640E, 0);
                backend.updateROMText(absoluteFilename, 0x3, textBoxName25, 0x6417, 0);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #8
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0xB, textBoxRL1, 0x1A3C7, 1);
                backend.updateROMText(absoluteFilename, 0x9, textBoxRL2, 0x1A3D5, 1);
                backend.updateROMText(absoluteFilename, 0xB, textBoxRL3, 0x1A3E1, 1);
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL4, 0x1A3EF, 1);
                backend.updateROMText(absoluteFilename, 0xE, textBoxRL5, 0x1A3F8, 1);
                backend.updateROMText(absoluteFilename, 0x6, textBoxRL6, 0x1A409, 1);
                backend.updateROMText(absoluteFilename, 0x6, textBoxRL7, 0x1A412, 1);
                backend.updateROMText(absoluteFilename, 0xA, textBoxRL8, 0x1A41B, 1);
                backend.updateROMText(absoluteFilename, 0xE, textBoxRL9, 0x1A429, 1);
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL10, 0x1A43A, 1);
                backend.updateROMText(absoluteFilename, 0x8, textBoxRL11, 0x1A442, 1);
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL12, 0x1A44D, 1);
                backend.updateROMText(absoluteFilename, 0xE, textBoxRL13, 0x1A456, 1);
                backend.updateROMText(absoluteFilename, 0x6, textBoxRL14, 0x1A467, 1);
                backend.updateROMText(absoluteFilename, 0xA, textBoxRL15, 0x1A470, 1);
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL16, 0x1A47D, 1);
                backend.updateROMText(absoluteFilename, 0xD, textBoxRL17, 0x1A486, 1);
                backend.updateROMText(absoluteFilename, 0x9, textBoxRL18, 0x1A496, 1);
                backend.updateROMText(absoluteFilename, 0x8, textBoxRL19, 0x1A4A2, 1);
                backend.updateROMText(absoluteFilename, 0xC, textBoxRL20, 0x1A4AD, 1);
                backend.updateROMText(absoluteFilename, 0xE, textBoxRL21, 0x1A4BD, 1);
                backend.updateROMText(absoluteFilename, 0xA, textBoxRL22, 0x1A4CE, 1);
                backend.updateROMText(absoluteFilename, 0xB, textBoxRL23, 0x1A4DB, 1);
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL24, 0x1A4E9, 1);
                backend.updateROMText(absoluteFilename, 0xD, textBoxRL25, 0x1A4F2, 1);
                backend.updateROMText(absoluteFilename, 0x7, textBoxRL26, 0x1A502, 1);
                backend.updateROMText(absoluteFilename, 0x7, textBoxRL27, 0x1A50C, 1);
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL28, 0x1A516, 1);
                backend.updateROMText(absoluteFilename, 0xB, textBoxRL29, 0x1A51F, 1);
                backend.updateROMText(absoluteFilename, 0xC, textBoxRL30, 0x1A52D, 1);
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL31, 0x1A53C, 1);
                backend.updateROMText(absoluteFilename, 0xE, textBoxRL32, 0x1A545, 1);
                backend.updateROMText(absoluteFilename, 0x6, textBoxRL33, 0x1A556, 1);
                backend.updateROMText(absoluteFilename, 0xC, textBoxRL34, 0x1A55F, 1);
                backend.updateROMText(absoluteFilename, 0x8, textBoxRL35, 0x1A56E, 1);
                backend.updateROMText(absoluteFilename, 0x10, textBoxRL36, 0x1A57A, 1);
                backend.updateROMText(absoluteFilename, 0x9, textBoxRL37, 0x1A58D, 1);
                backend.updateROMText(absoluteFilename, 0xA, textBoxRL38, 0x1A599, 1);
                backend.updateROMText(absoluteFilename, 0xA, textBoxRL39, 0x1A5A6, 1);
                backend.updateROMText(absoluteFilename, 0x7, textBoxRL40, 0x1A5B3, 1);

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Пример #9
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

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

                MessageBox.Show("Updated Text!", "Mega Man 3 Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }