Beispiel #1
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x31, textBoxBI1, 0xB14E, 0);
                backend.updateROMText(absoluteFilename, 0x1B, textBoxBI2, 0x873D, 0);
                backend.updateROMText(absoluteFilename, 0xE, textBoxBI3, 0xAC93, 0);
                //    backend.updateROMText(absoluteFilename, 0x19, textBoxBI4, 0x6549, 0);

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #2
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x4, textBoxPG1, 0x7E66, 0);  //HEAL
                backend.updateROMText(absoluteFilename, 0x4, textBoxPG2, 0x7E6B, 0);  //HURT
                backend.updateROMText(absoluteFilename, 0x5, textBoxPG3, 0x7E70, 0);  //SLEEP
                backend.updateROMText(absoluteFilename, 0x7, textBoxPG4, 0x7E76, 0);  //RADIANT
                backend.updateROMText(absoluteFilename, 0x9, textBoxPG5, 0x7E7E, 0);  //STOPSPELL
                backend.updateROMText(absoluteFilename, 0x7, textBoxPG6, 0x7E88, 0);  //OUTSIDE
                backend.updateROMText(absoluteFilename, 0x6, textBoxPG7, 0x7E90, 0);  //RETURN
                backend.updateROMText(absoluteFilename, 0x5, textBoxPG8, 0x7E97, 0);  //REPEL
                backend.updateROMText(absoluteFilename, 0x8, textBoxPG9, 0x7E9D, 0);  //HEALMORE
                backend.updateROMText(absoluteFilename, 0x8, textBoxPG10, 0x7EA6, 0); //HURTMORE

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

                backend.updateROMText(absoluteFilename, 0x50, textBoxCC1, 0x8A72, 0);    //<To become strong enough to face future trials thou must first battle many foes>
                backend.updateROMText(absoluteFilename, 0x5F, textBoxCC2, 0x8AC3, 0);    //<King Lorik will record thy deeds in his Imperial Scroll so thou may return to thy quest later>
                backend.updateROMText(absoluteFilename, 0x3B, textBoxCC3, 0x8B23, 0);    //<When the sun and rain meet, a Rainbow Bridge shall appear>
                backend.updateROMText(absoluteFilename, 0x21, textBoxCC4, 0x8B5F, 0);    //<Never does a brave person steal>
                backend.updateROMText(absoluteFilename, 0x55, textBoxCC5, 0x8B81, 0);    //<There was a time when Brecconary was a paradise.~Then the Dragonlord゜s minions came>
                backend.updateROMText(absoluteFilename, 0x1F, textBoxCC6, 0x8BD7, 0);    //<Let us wish the warrior well!'
                backend.updateROMText(absoluteFilename, 0x20, textBoxCC7, 0x8BF8, 0);    //<May the light be thy strength!'
                backend.updateROMText(absoluteFilename, 0x38, textBoxCC8, 0x8C19, 0);    //<If thy Hit Points are high enough, by all means, enter>
                backend.updateROMText(absoluteFilename, 0x7D, textBoxCC9, 0x8C52, 0);    //<We are merchants who have traveled much in this land.~Many of our colleagues have been killed by servants of the Dragonlord>
                backend.updateROMText(absoluteFilename, 0x51, textBoxCC10, 0x8CD0, 0);   //<Rumor has it that entire towns have been destroyed by the Dragonlord゜s servants>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxCC11, 0x8D22, 0);   //<Welcome to Tantegel Castle>
                backend.updateROMText(absoluteFilename, 0x55, textBoxCC12, 0x8D3F, 0);   //<In Garinham,look for the grave of Garin.~Thou must push on a wall of darkness there>
                backend.updateROMText(absoluteFilename, 0x12, textBoxCC13, 0x8D95, 0);   //<A word of advice>
                backend.updateROMText(absoluteFilename, 0x29, textBoxCC14, 0x8DA9, 0);   //<Save thy money for more expensive armor>
                backend.updateROMText(absoluteFilename, 0x34, textBoxCC15, 0x8DD3, 0);   //<Listen to what people say.~It can be of great help>
                backend.updateROMText(absoluteFilename, 0x15, textBoxCC16, 0x8E08, 0);   //<Beware the bridges!'
                backend.updateROMText(absoluteFilename, 0x20, textBoxCC17, 0x8E1F, 0);   //<Danger grows when thou crosses>
                backend.updateROMText(absoluteFilename, 0x33, textBoxCC18, 0x8E40, 0);   //<There is a town where magic keys can be purchased>
                backend.updateROMText(absoluteFilename, 0x36, textBoxCC19, 0x8E74, 0);   //<Some say that Garin゜s grave is home to a Silver Harp>
                backend.updateROMText(absoluteFilename, 0x16, textBoxCC20, 0x8EAB, 0);   //<Enter where thou can>
                backend.updateROMText(absoluteFilename, 0x41, textBoxCC21, 0x8EC2, 0);   //<Welcome!~Enter the shop and speak to its keeper across the desk>
                backend.updateROMText(absoluteFilename, 0x25, textBoxCC22, 0x8F04, 0);   //<Thou art most welcome in Brecconary>
                backend.updateROMText(absoluteFilename, 0x32, textBoxCC23, 0x8F2A, 0);   //<Watch thy Hit Points when in the Poisonous Marsh>
                backend.updateROMText(absoluteFilename, 0x5B, textBoxCC24, 0x8F5D, 0);   //<Go north to the seashore, then follow the coastline west until thou hath reached Garinham>
                backend.updateROMText(absoluteFilename, 0x1E, textBoxCC25, 0x8FB9, 0);   //<No,I am not Princess Gwaelin>
                backend.updateROMText(absoluteFilename, 0x33, textBoxCC26, 0x8FD8, 0);   //<Please,save us from the minions of the Dragonlord>
                backend.updateROMText(absoluteFilename, 0x36, textBoxCC27, 0x900C, 0);   //<See King Lorik when thy experience levels are raised>
                backend.updateROMText(absoluteFilename, 0x3A, textBoxCC28, 0x9043, 0);   //<Art thou the descendant of Erdrick?~Hast thou any proof?'
                backend.updateROMText(absoluteFilename, 0x3B, textBoxCC29, 0x907E, 0);   //<Within sight of Tantegel Castle to the south is Charlock,'
                backend.updateROMText(absoluteFilename, 0x20, textBoxCC30, 0x90BB, 0);   //<The fortress of the Dragonlord>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxCC31, 0x90DC, 0);   //<This bath cures rheumatism>
                backend.updateROMText(absoluteFilename, 0x67, textBoxCC32, 0x90F9, 0);   //<East of Hauksness there is a town, ゚tis said, where one may purchase weapons of extraordinary quality>
                backend.updateROMText(absoluteFilename, 0x23, textBoxCC33, 0x9161, 0);   //<Rimuldar is the place to buy keys>
                backend.updateROMText(absoluteFilename, 0x31, textBoxCC34, 0x9185, 0);   //<Hast thou seen Nester?~I think he may need help>
                backend.updateROMText(absoluteFilename, 0x1E, textBoxCC35, 0x91B7, 0);   //<Dreadful is the South Island>
                backend.updateROMText(absoluteFilename, 0x4C, textBoxCC36, 0x91D7, 0);   //<Great strength and skill and wit only will bring thee back from that place>
                backend.updateROMText(absoluteFilename, 0x39, textBoxCC37, 0x9224, 0);   //<Golem is afraid of the music of the flute, so ゚tis said>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxCC38, 0x925E, 0);   //<This is the village of Kol>
                backend.updateROMText(absoluteFilename, 0x43, textBoxCC39, 0x927B, 0);   //<In legends it is said that fairies know how to put Golem to sleep>
                backend.updateROMText(absoluteFilename, 0x41, textBoxCC40, 0x92BF, 0);   //<The harp attracts enemies.~Stay away from the grave in Garinham>

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try
            {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x16, textBoxFF1, 0xAFB6, 0);  //chants the spell of Σ.
                backend.updateROMText(absoluteFilename, 0x15, textBoxFF2, 0xAFCD, 0);  //ь゜s spell is blocked.
                backend.updateROMText(absoluteFilename, 0x45, textBoxFF3, 0xAFFE, 0);  //<If thou hast collected all the Treasure Chests,~a key will be found>
                backend.updateROMText(absoluteFilename, 0x58, textBoxFF4, 0xB045, 0);  //<Once used, the key will disappear, but the door will be open and thou may pass through>
                backend.updateROMText(absoluteFilename, 0x5B, textBoxFF5, 0xB09E, 0);  //<East of this castle is a town where armor, weapons, and many other items may be purchased>
                backend.updateROMText(absoluteFilename, 0x3F, textBoxFF6, 0xB0FB, 0);  //<Return to the Inn for a rest if thou art wounded in battle, ь>
                backend.updateROMText(absoluteFilename, 0x11, textBoxFF7, 0xB13C, 0);  //<Sleep heals all>
                backend.updateROMText(absoluteFilename, 0x2F, textBoxFF8, 0xB14E, 0);  //<Descendant of Erdrick, listen now to my words>
                backend.updateROMText(absoluteFilename, 0x49, textBoxFF9, 0xB17F, 0);  //<It is told that in ages past Erdrick fought demons with a Ball of Light>
                backend.updateROMText(absoluteFilename, 0x52, textBoxFF10, 0xB1CA, 0); //<Then came the Dragonlord who stole the precious globe and hid it in the darkness>
                backend.updateROMText(absoluteFilename, 0x53, textBoxFF11, 0xB21E, 0); //<Now, ь, thou must help us recover the Ball of Light and restore peace to our land>
                backend.updateROMText(absoluteFilename, 0x21, textBoxFF12, 0xB273, 0); //<The Dragonlord must be defeated>
                backend.updateROMText(absoluteFilename, 0x53, textBoxFF13, 0xB296, 0); //<Take now whatever thou may find in these Treasure Chests to aid thee in thy quest>
                backend.updateROMText(absoluteFilename, 0x4C, textBoxFF14, 0xB2EB, 0); //<Then speak with the guards, for they have much knowledge that may aid thee>
                backend.updateROMText(absoluteFilename, 0x22, textBoxFF15, 0xB339, 0); //<May the light shine upon thee, ь>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxFF16, 0xB35D, 0); //The tablet reads as follows:
                backend.updateROMText(absoluteFilename, 0x2A, textBoxFF17, 0xB37D, 0); // <I am Erdrick and thou art my descendant>
                backend.updateROMText(absoluteFilename, 0x55, textBoxFF18, 0xB3A9, 0); // <Three items were needed to reach the Isle of Dragons, which is south of Brecconary>
                backend.updateROMText(absoluteFilename, 0x5A, textBoxFF19, 0xB400, 0); // <I gathered these items, reached the island, and there defeated a creature of great evil>
                backend.updateROMText(absoluteFilename, 0x3F, textBoxFF20, 0xB45C, 0); // <Now I have entrusted the three items to three worthy keepers>
                backend.updateROMText(absoluteFilename, 0x57, textBoxFF21, 0xB49D, 0); // <Their descendants will protect the items until thy quest leads thee to seek them out>
                backend.updateROMText(absoluteFilename, 0x3C, textBoxFF22, 0xB4F6, 0); // <When a new evil arises, find the three items, then fight!'
                backend.updateROMText(absoluteFilename, 0xF, textBoxFF23, 0xB533, 0);  //Excellent move!
                backend.updateROMText(absoluteFilename, 0x41, textBoxFF24, 0xB543, 0); //<ь?~This is Gwaelin.~Know that thou hath reached the final level>
                backend.updateROMText(absoluteFilename, 0x10, textBoxFF25, 0xB586, 0); //Thou art asleep.
                backend.updateROMText(absoluteFilename, 0x16, textBoxFF26, 0xB599, 0); //Thou art still asleep.
                backend.updateROMText(absoluteFilename, 0x9, textBoxFF27, 0xB5B2, 0);  //ь awakes.
                backend.updateROMText(absoluteFilename, 0x15, textBoxFF28, 0xB5BC, 0); //The ё hath recovered.
                backend.updateROMText(absoluteFilename, 0xE, textBoxFF29, 0xB5D2, 0);  //It is dodging!
                backend.updateROMText(absoluteFilename, 0x16, textBoxFF30, 0xB5E1, 0); //There is no door here.
                backend.updateROMText(absoluteFilename, 0x1B, textBoxFF31, 0xB5F8, 0); //Thou hast not a key to use.
                backend.updateROMText(absoluteFilename, 0x25, textBoxFF32, 0xB614, 0); //<Death should not have taken thee, ь>
                backend.updateROMText(absoluteFilename, 0x21, textBoxFF33, 0xB63B, 0); //<I will give thee another chance>
                backend.updateROMText(absoluteFilename, 0x19, textBoxFF34, 0xB65E, 0); //Thy power increases by Ɠ.
                backend.updateROMText(absoluteFilename, 0x22, textBoxFF35, 0xB678, 0); //Thy Response Speed increases by Ɠ.
                backend.updateROMText(absoluteFilename, 0x20, textBoxFF36, 0xB69C, 0); // Thy Maximum Hitϋ increase by Ɠ.
                backend.updateROMText(absoluteFilename, 0x22, textBoxFF37, 0xB6BE, 0); // Thy Maximum Magicϋ increase by Ɠ.
                backend.updateROMText(absoluteFilename, 0x3D, textBoxFF38, 0xB6E1, 0); //<To reach the next level, thy Experienceϋ must increase by Ɠ>
                backend.updateROMText(absoluteFilename, 0xD, textBoxFF39, 0xB720, 0);  //<Now, go, ь!'
                backend.updateROMText(absoluteFilename, 0x26, textBoxFF40, 0xB72E, 0); //<Thou hast failed and thou art cursed>

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #5
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try
            {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x64, textBoxBB1, 0x9C10, 0);  //<゚Tis said that the Dragonlord hath claws that can cleave iron and fiery breath that can melt stone>
                backend.updateROMText(absoluteFilename, 0x21, textBoxBB2, 0x9C76, 0);  //<Dost thou still wish to go on?'~
                backend.updateROMText(absoluteFilename, 0x39, textBoxBB3, 0x9C98, 0);  //<This is a magic place.~Hast thou found a magic temple?'~
                backend.updateROMText(absoluteFilename, 0x30, textBoxBB4, 0x9CD2, 0);  //<When entering the cave, take with thee a torch>
                backend.updateROMText(absoluteFilename, 0x1B, textBoxBB5, 0x9D03, 0);  //<Go to the town of Cantlin>
                backend.updateROMText(absoluteFilename, 0x2F, textBoxBB6, 0x9D1F, 0);  //<I have heard that powerful enemies live there>
                backend.updateROMText(absoluteFilename, 0x16, textBoxBB7, 0x9D4F, 0);  //<Thou art truly brave>
                backend.updateROMText(absoluteFilename, 0x29, textBoxBB8, 0x9D66, 0);  //<In this temple do the sun and rain meet>
                backend.updateROMText(absoluteFilename, 0x3B, textBoxBB9, 0x9D91, 0);  //<Howard had it, but he went to Rimuldar and never returned>
                backend.updateROMText(absoluteFilename, 0x3A, textBoxBB10, 0x9DCD, 0); //<To the south, I believe, there is a town called Rimuldar>
                backend.updateROMText(absoluteFilename, 0x30, textBoxBB11, 0x9E08, 0); //<That is good>~<No one will say thou art afraid>
                backend.updateROMText(absoluteFilename, 0x11, textBoxBB12, 0x9E39, 0); //<Go to the south>
                backend.updateROMText(absoluteFilename, 0x2D, textBoxBB13, 0x9E4B, 0); //<Where oh where can I find Princess Gwaelin?'
                backend.updateROMText(absoluteFilename, 0x23, textBoxBB14, 0x9E79, 0); //<Thank you for saving the Princess>
                backend.updateROMText(absoluteFilename, 0x2A, textBoxBB15, 0x9E9D, 0); //<Oh, my dearest Gwaelin!'~<I hate thee, ь>
                backend.updateROMText(absoluteFilename, 0x3E, textBoxBB16, 0x9EC8, 0); //<Tell King Lorik that the search for his daughter hath failed>
                backend.updateROMText(absoluteFilename, 0x14, textBoxBB17, 0x9F08, 0); //<I am almost gone....'
                backend.updateROMText(absoluteFilename, 0x31, textBoxBB18, 0x9F1D, 0); //<Who touches me?'~<I see nothing, nor can I hear>
                backend.updateROMText(absoluteFilename, 0x29, textBoxBB19, 0x9F4F, 0); //<Dost thou know about Princess Gwaelin?'~
                backend.updateROMText(absoluteFilename, 0x4B, textBoxBB20, 0x9F79, 0); //<Half a year now hath passed since the Princess was kidnapped by the enemy>
                backend.updateROMText(absoluteFilename, 0x40, textBoxBB21, 0x9FC6, 0); //<Never does the King speak of it, but he must be suffering much>
                backend.updateROMText(absoluteFilename, 0x1D, textBoxBB22, 0xA008, 0); //<ь, please save the Princess>
                backend.updateROMText(absoluteFilename, 0xD, textBoxBB23, 0xA026, 0);  //<Oh, brave ь>
                backend.updateROMText(absoluteFilename, 0x2F, textBoxBB24, 0xA034, 0); //<I have been waiting long for one such as thee>
                backend.updateROMText(absoluteFilename, 0x25, textBoxBB25, 0xA065, 0); //<Thou hast no business here.~Go away>
                backend.updateROMText(absoluteFilename, 0x20, textBoxBB26, 0xA08B, 0); //<If thou art cursed, come again>
                backend.updateROMText(absoluteFilename, 0x21, textBoxBB27, 0xA0AC, 0); //<I will free thee from thy curse>
                backend.updateROMText(absoluteFilename, 0x9, textBoxBB28, 0xA0CF, 0);  //<Now, go>
                backend.updateROMText(absoluteFilename, 0x68, textBoxBB29, 0xA0D9, 0); //<Though thou art as brave as thy ancestor, ь, thou cannot defeat the great Dragonlord with such weapons>
                backend.updateROMText(absoluteFilename, 0x1F, textBoxBB30, 0xA143, 0); //<Thou shouldst come here again>
                backend.updateROMText(absoluteFilename, 0x22, textBoxBB31, 0xA163, 0); //<Finally thou hast obtained it, ь>
                backend.updateROMText(absoluteFilename, 0x3E, textBoxBB32, 0xA186, 0); //<Is that a wedding ring?'~<Thou seems too young to be married>
                backend.updateROMText(absoluteFilename, 0x1F, textBoxBB33, 0xA1C5, 0); //<All true warriors wear a ring>
                backend.updateROMText(absoluteFilename, 0x50, textBoxBB34, 0xA1E5, 0); //<ь゜s coming was foretold by legend.~May the light shine upon this brave warrior>
                backend.updateROMText(absoluteFilename, 0x18, textBoxBB35, 0xA237, 0); //<Thou may go and search>
                backend.updateROMText(absoluteFilename, 0x48, textBoxBB36, 0xA251, 0); //<From Tantegel Castle travel 70 leagues to the south and 40 to the east>
                backend.updateROMText(absoluteFilename, 0xF, textBoxBB37, 0xA29B, 0);  //<It゜s a legend>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxBB38, 0xA2AB, 0); //<Thy bravery must be proven>
                backend.updateROMText(absoluteFilename, 0x18, textBoxBB39, 0xA2C9, 0); //<Thus, I propose a test>
                backend.updateROMText(absoluteFilename, 0x48, textBoxBB40, 0xA2E3, 0); //<There is a Silver Harp that beckons to the creatures of the Dragonlord>

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #6
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x6, textBoxE1, 0x7AC7, 1);   //Bamboo --- Start Weapons
                backend.updateROMText(absoluteFilename, 0x4, textBoxE2, 0x7ACE, 1);   //Club
                backend.updateROMText(absoluteFilename, 0x6, textBoxE3, 0x7AD3, 1);   //Copper
                backend.updateROMText(absoluteFilename, 0x4, textBoxE4, 0x7ADA, 1);   //Hand
                backend.updateROMText(absoluteFilename, 0x5, textBoxE5, 0x7ADF, 1);   //Broad
                backend.updateROMText(absoluteFilename, 0x5, textBoxE6, 0x7AE5, 1);   //Flame
                backend.updateROMText(absoluteFilename, 0x9, textBoxE7, 0x7AEB, 1);   //Erdrick's
                backend.updateROMText(absoluteFilename, 0x4, textBoxE8, 0x7BC7, 1);   //Pole
                backend.updateROMText(absoluteFilename, 0x5, textBoxE9, 0x7BCD, 1);   //Sword
                backend.updateROMText(absoluteFilename, 0x3, textBoxE10, 0x7BD3, 1);  //Axe
                backend.updateROMText(absoluteFilename, 0x6, textBoxE11, 0x7BD7, 1);  //Sword
                backend.updateROMText(absoluteFilename, 0x6, textBoxE12, 0x7BDD, 1);  //Sword
                backend.updateROMText(absoluteFilename, 0x6, textBoxE13, 0x7BE3, 1);  //Sword
                backend.updateROMText(absoluteFilename, 0x7, textBoxE14, 0x7AF5, 1);  //Clothes --- Start Armor
                backend.updateROMText(absoluteFilename, 0x7, textBoxE15, 0x7AFD, 1);  //Leather
                backend.updateROMText(absoluteFilename, 0x5, textBoxE16, 0x7B05, 1);  //Chain
                backend.updateROMText(absoluteFilename, 0x4, textBoxE17, 0x7B0B, 1);  //Half
                backend.updateROMText(absoluteFilename, 0x4, textBoxE18, 0x7B10, 1);  //Full
                backend.updateROMText(absoluteFilename, 0x5, textBoxE19, 0x7B15, 1);  //Magic
                backend.updateROMText(absoluteFilename, 0x9, textBoxE20, 0x7B1B, 1);  //Erdrick's
                backend.updateROMText(absoluteFilename, 0x5, textBoxE21, 0x7BEA, 1);  //Armor
                backend.updateROMText(absoluteFilename, 0x4, textBoxE22, 0x7BF0, 1);  //Mail
                backend.updateROMText(absoluteFilename, 0x5, textBoxE23, 0x7BF5, 1);  //Plate
                backend.updateROMText(absoluteFilename, 0x5, textBoxE24, 0x7BFB, 1);  //Plate
                backend.updateROMText(absoluteFilename, 0x5, textBoxE25, 0x7C01, 1);  //Armor
                backend.updateROMText(absoluteFilename, 0x5, textBoxE26, 0x7C07, 1);  //Armor
                backend.updateROMText(absoluteFilename, 0x5, textBoxE27, 0x7B25, 1);  //Small --- Shields
                backend.updateROMText(absoluteFilename, 0x5, textBoxE28, 0x7B2B, 1);  //Large
                backend.updateROMText(absoluteFilename, 0x6, textBoxE29, 0x7B31, 1);  //Silver
                backend.updateROMText(absoluteFilename, 0x6, textBoxE30, 0x7C0D, 1);  //Shield
                backend.updateROMText(absoluteFilename, 0x6, textBoxE31, 0x7C14, 1);  //Shield
                backend.updateROMText(absoluteFilename, 0x6, textBoxE32, 0x7C1B, 1);  //Shield

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x5, textBoxC1, 0x7C80, 0);  //Slime
                backend.updateROMText(absoluteFilename, 0x3, textBoxC2, 0x7C86, 0);  //Red: for Slime or Dragon [i dont know]
                backend.updateROMText(absoluteFilename, 0x6, textBoxC3, 0x7C8A, 0);  //Drakee
                backend.updateROMText(absoluteFilename, 0x5, textBoxC4, 0x7C91, 0);  //Ghost
                backend.updateROMText(absoluteFilename, 0x8, textBoxC5, 0x7C97, 0);  //Magician
                backend.updateROMText(absoluteFilename, 0xA, textBoxC6, 0x7CA0, 0);  //Magidrakee
                backend.updateROMText(absoluteFilename, 0x8, textBoxC7, 0x7CAB, 0);  //Scorpion
                backend.updateROMText(absoluteFilename, 0x5, textBoxC8, 0x7CB4, 0);  //Druin
                backend.updateROMText(absoluteFilename, 0xB, textBoxC9, 0x7CBA, 0);  //Poltergeist
                backend.updateROMText(absoluteFilename, 0x5, textBoxC10, 0x7CC6, 0); //Droll
                backend.updateROMText(absoluteFilename, 0x8, textBoxC11, 0x7CCC, 0); //Drakeema
                backend.updateROMText(absoluteFilename, 0x8, textBoxC12, 0x7CD5, 0); //Skeleton
                backend.updateROMText(absoluteFilename, 0x7, textBoxC13, 0x7CDE, 0); //Warlock
                backend.updateROMText(absoluteFilename, 0x5, textBoxC14, 0x7CE6, 0); //Metal: for Slime or Scorpion [i dont know]
                backend.updateROMText(absoluteFilename, 0x4, textBoxC15, 0x7CEC, 0); //Wolf
                backend.updateROMText(absoluteFilename, 0x6, textBoxC16, 0x7CF1, 0); //Wraith
                backend.updateROMText(absoluteFilename, 0x5, textBoxC17, 0x7CF8, 0); //Metal: for Slime or Scorpion [i dont know]
                backend.updateROMText(absoluteFilename, 0x7, textBoxC18, 0x7CFE, 0); //Specter
                backend.updateROMText(absoluteFilename, 0x8, textBoxC19, 0x7D06, 0); //Wolflord
                backend.updateROMText(absoluteFilename, 0x9, textBoxC20, 0x7D0F, 0); //Druinlord
                backend.updateROMText(absoluteFilename, 0x9, textBoxC21, 0x7D19, 0); //Drollmagi
                backend.updateROMText(absoluteFilename, 0x6, textBoxC22, 0x7D23, 0); //Wyvern
                backend.updateROMText(absoluteFilename, 0x5, textBoxC23, 0x7D2A, 0); //Rogue
                backend.updateROMText(absoluteFilename, 0x6, textBoxC24, 0x7D30, 0); //Wraith
                backend.updateROMText(absoluteFilename, 0x5, textBoxC25, 0x7D37, 0); //Golem
                backend.updateROMText(absoluteFilename, 0x7, textBoxC26, 0x7D3D, 0); //Goldman
                backend.updateROMText(absoluteFilename, 0x6, textBoxC27, 0x7D45, 0); //Knight
                backend.updateROMText(absoluteFilename, 0xA, textBoxC28, 0x7D4C, 0); //Magiwyvern
                backend.updateROMText(absoluteFilename, 0x5, textBoxC29, 0x7D57, 0); //Demon
                backend.updateROMText(absoluteFilename, 0x8, textBoxC30, 0x7D5D, 0); //Werewolf
                backend.updateROMText(absoluteFilename, 0x5, textBoxC31, 0x7D66, 0); //Green
                backend.updateROMText(absoluteFilename, 0xA, textBoxC32, 0x7D6C, 0); //Starwyvern
                backend.updateROMText(absoluteFilename, 0x6, textBoxC33, 0x7D77, 0); //Wizard
                backend.updateROMText(absoluteFilename, 0x3, textBoxC34, 0x7D7E, 0); //Axe
                backend.updateROMText(absoluteFilename, 0x4, textBoxC35, 0x7D82, 0); //Blue
                backend.updateROMText(absoluteFilename, 0x8, textBoxC36, 0x7D87, 0); //Stoneman
                backend.updateROMText(absoluteFilename, 0x6, textBoxC37, 0x7D90, 0); //Armored
                backend.updateROMText(absoluteFilename, 0x3, textBoxC38, 0x7D98, 0); //Red
                backend.updateROMText(absoluteFilename, 0xA, textBoxC39, 0x7D9C, 0); //Dragonlord
                backend.updateROMText(absoluteFilename, 0xA, textBoxC40, 0x7DA7, 0); //Dragonlord
                backend.updateROMText(absoluteFilename, 0x5, textBoxC41, 0x7DB3, 0); //Slime
                backend.updateROMText(absoluteFilename, 0x8, textBoxC42, 0x7DC4, 0); //Scorpion
                backend.updateROMText(absoluteFilename, 0x5, textBoxC43, 0x7DCF, 0); //Slime
                backend.updateROMText(absoluteFilename, 0x8, textBoxC44, 0x7DDA, 0); //Scorpion
                backend.updateROMText(absoluteFilename, 0x6, textBoxC45, 0x7DE3, 0); //Knight
                backend.updateROMText(absoluteFilename, 0x6, textBoxC46, 0x7DEE, 0); //Knight
                backend.updateROMText(absoluteFilename, 0x6, textBoxC47, 0x7DF6, 0); //Dragon
                backend.updateROMText(absoluteFilename, 0x6, textBoxC48, 0x7DFF, 0); //Knight
                backend.updateROMText(absoluteFilename, 0x6, textBoxC49, 0x7E06, 0); //Dragon
                backend.updateROMText(absoluteFilename, 0x6, textBoxC50, 0x7E0E, 0); //Knight
                backend.updateROMText(absoluteFilename, 0x6, textBoxC51, 0x7E15, 0); //Dragon
                //   backend.updateROMText(absoluteFilename, 0x6, textBoxC52, 0x7E15, 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!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #8
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try
            {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x10, textBoxGG1, 0xB756, 0);  //<Leave at once!'
                backend.updateROMText(absoluteFilename, 0x4, textBoxGG2, 0xB767, 0);   //<$$'
                backend.updateROMText(absoluteFilename, 0xA, textBoxGG3, 0xB76C, 0);   //<Really?'~
                backend.updateROMText(absoluteFilename, 0x40, textBoxGG4, 0xB777, 0);  //<I am glad thou hast returned.~All our hopes are riding on thee>
                backend.updateROMText(absoluteFilename, 0x2B, textBoxGG5, 0xB7B9, 0);  //<See me again when thy level has increased>
                backend.updateROMText(absoluteFilename, 0x26, textBoxGG6, 0xB7E6, 0);  //The Dragonlord revealed his true self!
                backend.updateROMText(absoluteFilename, 0x22, textBoxGG7, 0xB80E, 0);  //Thou hast found the Ball of Light.
                backend.updateROMText(absoluteFilename, 0x47, textBoxGG8, 0xB832, 0);  //Radiance streams forth as thy hands touch the object and hold it aloft.
                backend.updateROMText(absoluteFilename, 0x5C, textBoxGG9, 0xB87B, 0);  //Across the land spreads the brilliance until all shadows are banished and peace is restored.
                backend.updateROMText(absoluteFilename, 0x1E, textBoxGG10, 0xB8D8, 0); //<The legends have proven true>
                backend.updateROMText(absoluteFilename, 0x28, textBoxGG11, 0xB8F8, 0); //<Thou art indeed of the line of Erdrick>
                backend.updateROMText(absoluteFilename, 0x28, textBoxGG12, 0xB922, 0); //<It is thy right to rule over this land>
                backend.updateROMText(absoluteFilename, 0x1A, textBoxGG13, 0xB94C, 0); //<Will thou take my place?'
                backend.updateROMText(absoluteFilename, 0x25, textBoxGG14, 0xB968, 0); //ь thought carefully before answering.
                backend.updateROMText(absoluteFilename, 0x12, textBoxGG15, 0xB98F, 0); //I cannot,'~said ь.
                backend.updateROMText(absoluteFilename, 0x46, textBoxGG16, 0xB9A4, 0); //<If ever I am to rule a country, it must be a land that I myself find>
                backend.updateROMText(absoluteFilename, 0x1D, textBoxGG17, 0xB9EC, 0); //Gwaelin said:~<Please, wait>~
                backend.updateROMText(absoluteFilename, 0x27, textBoxGG18, 0xBA0A, 0); //<I wish to go with thee on thy journey>
                backend.updateROMText(absoluteFilename, 0x21, textBoxGG19, 0xBA33, 0); //<May I travel as thy companion?'~
                backend.updateROMText(absoluteFilename, 0x1F, textBoxGG20, 0xBA55, 0); //<Hurrah!~Hurrah!~Long live ь!'~
                backend.updateROMText(absoluteFilename, 0x23, textBoxGG21, 0xBA75, 0); //<Thou hast brought us peace, again>
                backend.updateROMText(absoluteFilename, 0x1D, textBoxGG22, 0xBA99, 0); //<Come now, King Lorik awaits>
                backend.updateROMText(absoluteFilename, 0x45, textBoxGG23, 0xBAC5, 0); //And thus the tale comes to an end$$~unless the dragons return again.~
                backend.updateROMText(absoluteFilename, 0x41, textBoxGG24, 0xBB11, 0); //<Will thou tell me now of thy deeds so they won゜t be forgotten?'~
                backend.updateROMText(absoluteFilename, 0x3F, textBoxGG25, 0xBB53, 0); //<Thy deeds have been recorded on the Imperial Scrolls of Honor>
                backend.updateROMText(absoluteFilename, 0x28, textBoxGG26, 0xBB94, 0); //<Dost thou wish to continue thy quest?'~
                backend.updateROMText(absoluteFilename, 0x16, textBoxGG27, 0xBBBD, 0); //<Rest then for awhile>
                backend.updateROMText(absoluteFilename, 0x7, textBoxGG28, 0xBBD5, 0);  //<Go ь!'
                backend.updateROMText(absoluteFilename, 0x37, textBoxGG29, 0xBBDD, 0); //Please push RESET, hold it in, then turn off the POWER.
                backend.updateROMText(absoluteFilename, 0x61, textBoxGG30, 0xBC16, 0); //If you turn the power off first, the Imperial Scroll of Honor containing your deeds may be lost.~
                backend.updateROMText(absoluteFilename, 0x42, textBoxGG31, 0xBC7C, 0); //Unfortunately, NO deeds were recorded on Imperial Scroll number Ɠ.

                /*      backend.updateROMText(absoluteFilename, 0x25, textBoxGG32, 0xB614, 0); //
                 *    backend.updateROMText(absoluteFilename, 0x21, textBoxGG33, 0xB63B, 0); //
                 *    backend.updateROMText(absoluteFilename, 0x19, textBoxGG34, 0xB65E, 0); //
                 *    backend.updateROMText(absoluteFilename, 0x22, textBoxGG35, 0xB678, 0); //
                 *    backend.updateROMText(absoluteFilename, 0x20, textBoxGG36, 0xB69C, 0); //
                 *    backend.updateROMText(absoluteFilename, 0x22, textBoxGG37, 0xB6BE, 0); //
                 *    backend.updateROMText(absoluteFilename, 0x3D, textBoxGG38, 0xB6E1, 0); //
                 *    backend.updateROMText(absoluteFilename, 0xD,  textBoxGG39, 0xB720, 0); //
                 *    backend.updateROMText(absoluteFilename, 0x26, textBoxGG40, 0xB72E, 0); //*/

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x2F, textBoxRC1, 0xB14E, 0);    //<Descendant of Erdrick, listen now to my words>
                backend.updateROMText(absoluteFilename, 0x49, textBoxRC2, 0xB17F, 0);    //<It is told that in ages past Erdrick fought demons with a Ball of Light>
                backend.updateROMText(absoluteFilename, 0x52, textBoxRC3, 0xB1CA, 0);    //<Then came the Dragonlord who stole the precious globe and hid it in the darkness>
                backend.updateROMText(absoluteFilename, 0x53, textBoxRC4, 0xB21E, 0);    //<Now, ь, thou must help us recover the Ball of Light and restore peace to our land>
                backend.updateROMText(absoluteFilename, 0x21, textBoxRC5, 0xB273, 0);    //<The Dragonlord must be defeated>
                backend.updateROMText(absoluteFilename, 0x53, textBoxRC6, 0xB296, 0);    //<Take now whatever thou may find in these Treasure Chests to aid thee in thy quest>
                backend.updateROMText(absoluteFilename, 0x4C, textBoxRC7, 0xB2EB, 0);    //<Then speak with the guards, for they have much knowledge that may aid thee>
                backend.updateROMText(absoluteFilename, 0x22, textBoxRC8, 0xB339, 0);    //<May the light shine upon thee, ь>
                backend.updateROMText(absoluteFilename, 0x10, textBoxRC9, 0x8038, 0);    //ё hath woken up.
                backend.updateROMText(absoluteFilename, 0xE, textBoxRC10, 0x804B, 0);    //Thou art dead.
                backend.updateROMText(absoluteFilename, 0x41, textBoxRC11, 0x805A, 0);   //<Thou art strong enough!~Why can thou not defeat the Dragonlord?'
                backend.updateROMText(absoluteFilename, 0x3B, textBoxRC12, 0x809D, 0);   //<If thou art planning to take a rest, first see King Lorik>
                backend.updateROMText(absoluteFilename, 0x28, textBoxRC13, 0x80D9, 0);   //ь held the Rainbow Drop toward the sky.~
                backend.updateROMText(absoluteFilename, 0x1D, textBoxRC14, 0x8104, 0);   //But no rainbow appeared here.
                backend.updateROMText(absoluteFilename, 0x39, textBoxRC15, 0x8122, 0);   //<Good morning.~Thou hast had a good night゜s sleep I hope>
                backend.updateROMText(absoluteFilename, 0x18, textBoxRC16, 0x815D, 0);   //<I shall see thee again>
                backend.updateROMText(absoluteFilename, 0x35, textBoxRC17, 0x8176, 0);   //<Good morning.~Thou seems to have spent a good night>
                backend.updateROMText(absoluteFilename, 0xD, textBoxRC18, 0x81AD, 0);    //<Good night>~
                backend.updateROMText(absoluteFilename, 0x1A, textBoxRC19, 0x81BB, 0);   //<Okay.~Good-bye, traveler>
                backend.updateROMText(absoluteFilename, 0x5C, textBoxRC20, 0x81D6, 0);   //<Welcome to the traveler゜s Inn.~Room and board is Ɠ GOLD per night.~Dost thou want a room?'~
                backend.updateROMText(absoluteFilename, 0x16, textBoxRC21, 0x8233, 0);   //<All the best to thee>
                backend.updateROMText(absoluteFilename, 0x1A, textBoxRC22, 0x824A, 0);   //<There are no stairs here>
                backend.updateROMText(absoluteFilename, 0x18, textBoxRC23, 0x8265, 0);   //<Thou cannot enter here>
                backend.updateROMText(absoluteFilename, 0x17, textBoxRC24, 0x827E, 0);   //<There is no one there>
                backend.updateROMText(absoluteFilename, 0x30, textBoxRC25, 0x8296, 0);   //<I thank thee.~Won゜t thou buy one more bottle?'~
                backend.updateROMText(absoluteFilename, 0x54, textBoxRC26, 0x82C7, 0);   //<Will thou buy some Fairy Water for 38 GOLD to keep the Dragonlord゜s minions away?'~
                backend.updateROMText(absoluteFilename, 0x17, textBoxRC27, 0x831C, 0);   //<I will see thee later>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxRC28, 0x8334, 0);   //<Thou hast not enough money>
                backend.updateROMText(absoluteFilename, 0x2C, textBoxRC29, 0x8352, 0);   //<I am sorry, but I cannot sell thee anymore>
                backend.updateROMText(absoluteFilename, 0x37, textBoxRC30, 0x837F, 0);   //<Here,take this key.~Dost thou wish to purchase more?'~
                backend.updateROMText(absoluteFilename, 0x54, textBoxRC31, 0x83B7, 0);   //<Magic keys!~They will unlock any door.~Dost thou wish to purchase one for Ɠ GOLD?'~
                backend.updateROMText(absoluteFilename, 0xC, textBoxRC32, 0x840C, 0);    //<I am sorry>
                backend.updateROMText(absoluteFilename, 0x19, textBoxRC33, 0x841A, 0);   //A curse is upon thy body.

                backend.updateROMText(absoluteFilename, 0x1A, textBoxRC34, 0x8435, 0);   //<Thou hast no possessions>
                backend.updateROMText(absoluteFilename, 0x20, textBoxRC35, 0x8450, 0);   //<Wilt thou sell anything else?'~
                backend.updateROMText(absoluteFilename, 0x11, textBoxRC36, 0x8471, 0);   //<I cannot buy it>
                backend.updateROMText(absoluteFilename, 0x43, textBoxRC37, 0x8483, 0);   //<Thou said the ϊ.~I will buy thy ϊ for Ɠ GOLD.~Is that all right?'~
                backend.updateROMText(absoluteFilename, 0x19, textBoxRC38, 0x84C7, 0);   //<What art thou selling?'~
                backend.updateROMText(absoluteFilename, 0x26, textBoxRC39, 0x84E1, 0);   //<I will be waiting for thy next visit>
                backend.updateROMText(absoluteFilename, 0x20, textBoxRC40, 0x8508, 0);   //<Dost thou want anything else?'~

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #10
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try
            {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x23, textBoxAA1, 0x9301, 0);  //<I゜m too busy.~Ask the other guard>
                backend.updateROMText(absoluteFilename, 0x3C, textBoxAA2, 0x9325, 0);  //<I suggest making a map if thy path leads into the darkness>
                backend.updateROMText(absoluteFilename, 0x5E, textBoxAA3, 0x9362, 0);  //<Once there was a town called Hauksness far to the south,but I do not know if it still exists>
                backend.updateROMText(absoluteFilename, 0x1E, textBoxAA4, 0x93C1, 0);  //<I hate people!~Go! Leave me!゜
                backend.updateROMText(absoluteFilename, 0x33, textBoxAA5, 0x93E0, 0);  //<They say that Erdrick゜s armor was hidden long ago>
                backend.updateROMText(absoluteFilename, 0x3D, textBoxAA6, 0x9414, 0);  //<Many believe that Princess Gwaelin is hidden away in a cave>
                backend.updateROMText(absoluteFilename, 0x3E, textBoxAA7, 0x9452, 0);  //<I have heard of one named Nester.~Dost thou know such a one?゜
                backend.updateROMText(absoluteFilename, 0x50, textBoxAA8, 0x9491, 0);  //<Garin, a wandering minstrel of legendary fame, is said to have built this town>
                backend.updateROMText(absoluteFilename, 0x35, textBoxAA9, 0x94E2, 0);  //<Welcome to Garinham.~May thy stay be a peaceful one>
                backend.updateROMText(absoluteFilename, 0x3F, textBoxAA10, 0x9518, 0); //<It is said that the Princess was kidnapped and taken eastward>
                backend.updateROMText(absoluteFilename, 0x49, textBoxAA11, 0x9558, 0); //<Come buy my radishes! They are fresh and cheap.~Buy thy radishes today!'
                backend.updateROMText(absoluteFilename, 0x69, textBoxAA12, 0x95A2, 0); //<To learn how proof may be obtained that thy ancestor was the great Erdrick, see a man in this very town>
                backend.updateROMText(absoluteFilename, 0x33, textBoxAA13, 0x960C, 0); //<゚Tis said that Erdrick゜s sword could cleave steel>
                backend.updateROMText(absoluteFilename, 0x25, textBoxAA14, 0x9640, 0); //<Welcome to Cantlin, the castle town>
                backend.updateROMText(absoluteFilename, 0x22, textBoxAA15, 0x9666, 0); //<What shall I get for thy dinner?'
                backend.updateROMText(absoluteFilename, 0x10, textBoxAA16, 0x9689, 0); //<I know nothing>
                backend.updateROMText(absoluteFilename, 0x31, textBoxAA17, 0x969A, 0); //<I゜m Nester.~Hey, where am I? No, don゜t tell me!'
                backend.updateROMText(absoluteFilename, 0x7A, textBoxAA18, 0x96CC, 0); //<Grandfather used to say that his friend, Wynn, had buried something of great value at the foot of a tree behind his shop>
                backend.updateROMText(absoluteFilename, 0x30, textBoxAA19, 0x9747, 0); //<It is said that many have held Erdrick゜s armor>
                backend.updateROMText(absoluteFilename, 0x2D, textBoxAA20, 0x9779, 0); //<The last to have it was a fellow named Wynn>
                backend.updateROMText(absoluteFilename, 0x43, textBoxAA21, 0x97A7, 0); //<My Grandfather Wynn once had a shop on the east side of Hauksness>
                backend.updateROMText(absoluteFilename, 0xA, textBoxAA22, 0x97EB, 0);  //<Welcome!'
                backend.updateROMText(absoluteFilename, 0x37, textBoxAA23, 0x97F6, 0); //<Who art thou?~Leave at once or I will call my friends>
                backend.updateROMText(absoluteFilename, 0x32, textBoxAA24, 0x982E, 0); //<I am Orwick, and I am waiting for my girl friend>
                backend.updateROMText(absoluteFilename, 0x33, textBoxAA25, 0x9861, 0); //<The scales of the Dragonlord are as hard as steel>
                backend.updateROMText(absoluteFilename, 0x40, textBoxAA26, 0x9895, 0); //<Over the western part of this island Erdrick created a rainbow>
                backend.updateROMText(absoluteFilename, 0x62, textBoxAA27, 0x98D7, 0); //<゚Tis also said that he entered the darkness from a hidden entrance in the room of the Dragonlord>
                backend.updateROMText(absoluteFilename, 0x5B, textBoxAA28, 0x993A, 0); //<Thou shalt find the Stones of Sunlight in Tantegel Castle,~if thou has not found them yet>
                backend.updateROMText(absoluteFilename, 0x21, textBoxAA29, 0x9996, 0); //<Welcome to the town of Rimuldar>
                backend.updateROMText(absoluteFilename, 0x32, textBoxAA30, 0x99B8, 0); //<No, I have no tomatoes.~I have no tomatoes today>
                backend.updateROMText(absoluteFilename, 0x2F, textBoxAA31, 0x99EB, 0); //<You are ь?~It has been long since last we met>
                backend.updateROMText(absoluteFilename, 0x58, textBoxAA32, 0x9A1B, 0); //<Good day,I am Howard. Four steps south of the bath in Kol thou shalt find a magic item>
                backend.updateROMText(absoluteFilename, 0x23, textBoxAA33, 0x9A74, 0); //<Before long the enemy will arrive>
                backend.updateROMText(absoluteFilename, 0x59, textBoxAA34, 0x9A98, 0); //<Heed my warning! Travel not to the south for there the monsters are fierce and terrible>
                backend.updateROMText(absoluteFilename, 0x50, textBoxAA35, 0x9AF2, 0); //<In this world is there any sword that can pierce the scales of the Dragonlord?'
                backend.updateROMText(absoluteFilename, 0x24, textBoxAA36, 0x9B43, 0); //<Orwick is late again. I゜m starving>
                backend.updateROMText(absoluteFilename, 0x3D, textBoxAA37, 0x9B68, 0); //<Many have been the warriors who have perished on this quest>
                backend.updateROMText(absoluteFilename, 0x20, textBoxAA38, 0x9BA7, 0); //<But for thee I wish success, ь>
                backend.updateROMText(absoluteFilename, 0x1D, textBoxAA39, 0x9BC8, 0); //<Hast thou found the flute?'~
                backend.updateROMText(absoluteFilename, 0x29, textBoxAA40, 0x9BE6, 0); //<Hast thou been to the southern island?'~

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x7, textBoxDL1, 0x706B, 1);   //COMMAND
                backend.updateROMText(absoluteFilename, 0x4, textBoxDL2, 0x7074, 1);   //TALK
                backend.updateROMText(absoluteFilename, 0x5, textBoxDL3, 0x7079, 1);   //SPELL
                backend.updateROMText(absoluteFilename, 0x6, textBoxDL4, 0x707F, 1);   //STATUS
                backend.updateROMText(absoluteFilename, 0x4, textBoxDL5, 0x7086, 1);   //ITEM
                backend.updateROMText(absoluteFilename, 0x6, textBoxDL6, 0x708C, 1);   //STAIRS
                backend.updateROMText(absoluteFilename, 0x4, textBoxDL7, 0x7093, 1);   //DOOR
                backend.updateROMText(absoluteFilename, 0x6, textBoxDL8, 0x7099, 1);   //SEARCH
                backend.updateROMText(absoluteFilename, 0x4, textBoxDL9, 0x70A0, 1);   //TAKE
                backend.updateROMText(absoluteFilename, 0x4, textBoxDL10, 0x6FDD, 1);  //NAME
                backend.updateROMText(absoluteFilename, 0x8, textBoxDL11, 0x6FE5, 1);  //STRENGTH
                backend.updateROMText(absoluteFilename, 0x7, textBoxDL12, 0x6FF1, 1);  //AGILITY
                backend.updateROMText(absoluteFilename, 0x7, textBoxDL13, 0x6FFC, 1);  //MAXIMUM
                backend.updateROMText(absoluteFilename, 0x2, textBoxDL14, 0x7004, 1);  //HP
                backend.updateROMText(absoluteFilename, 0x7, textBoxDL15, 0x700A, 1);  //MAXIMUM
                backend.updateROMText(absoluteFilename, 0x2, textBoxDL16, 0x7012, 1);  //MP
                backend.updateROMText(absoluteFilename, 0x6, textBoxDL17, 0x7018, 1);  //ATTACK
                backend.updateROMText(absoluteFilename, 0x5, textBoxDL18, 0x701F, 1);  //POWER
                backend.updateROMText(absoluteFilename, 0x7, textBoxDL19, 0x7028, 1);  //DEFENSE
                backend.updateROMText(absoluteFilename, 0x5, textBoxDL20, 0x7030, 1);  //POWER
                backend.updateROMText(absoluteFilename, 0x6, textBoxDL21, 0x7039, 1);  //WEAPON
                backend.updateROMText(absoluteFilename, 0x5, textBoxDL22, 0x7045, 1);  //ARMOR
                backend.updateROMText(absoluteFilename, 0x6, textBoxDL23, 0x7050, 1);  //SHIELD
                backend.updateROMText(absoluteFilename, 0x7, textBoxDL24, 0x70AC, 1);  //COMMAND
                backend.updateROMText(absoluteFilename, 0x5, textBoxDL25, 0x70B5, 1);  //FIGHT
                backend.updateROMText(absoluteFilename, 0x5, textBoxDL26, 0x70BB, 1);  //SPELL
                backend.updateROMText(absoluteFilename, 0x3, textBoxDL27, 0x70C1, 1);  //RUN
                backend.updateROMText(absoluteFilename, 0x4, textBoxDL28, 0x70C5, 1);  //ITEM
                backend.updateROMText(absoluteFilename, 0x3, textBoxDL29, 0x7103, 1);  //YES
                backend.updateROMText(absoluteFilename, 0x2, textBoxDL30, 0x7108, 1);  //NO
                backend.updateROMText(absoluteFilename, 0x3, textBoxDL31, 0x7113, 1);  //BUY
                backend.updateROMText(absoluteFilename, 0x4, textBoxDL32, 0x7118, 1);  //SELL
                backend.updateROMText(absoluteFilename, 0x5, textBoxDL33, 0x70D1, 1);  //SPELL

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #12
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try
            {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x18, textBoxEE1, 0xAA9F, 0);  //But there found nothing.
                backend.updateROMText(absoluteFilename, 0x18, textBoxEE2, 0xAAB8, 0);  //There is a treasure box.
                backend.updateROMText(absoluteFilename, 0x12, textBoxEE3, 0xAAD1, 0);  //ь discovers the ϊ.
                backend.updateROMText(absoluteFilename, 0x2D, textBoxEE4, 0xAAE4, 0);  //Feel the wind blowing from behind the throne.
                backend.updateROMText(absoluteFilename, 0x21, textBoxEE5, 0xAB12, 0);  //There is nothing to take here, ь.
                backend.updateROMText(absoluteFilename, 0x1A, textBoxEE6, 0xAB34, 0);  //Of GOLD thou hast gained Ɠ
                backend.updateROMText(absoluteFilename, 0x33, textBoxEE7, 0xAB4F, 0);  //Fortune smiles upon thee, ь.~Thou hast found the ϊ.
                backend.updateROMText(absoluteFilename, 0x1B, textBoxEE8, 0xAB83, 0);  //Unfortunately, it is empty.
                backend.updateROMText(absoluteFilename, 0x7B, textBoxEE9, 0xAB9F, 0);  //Heed my voice,~<ь, for this is Gwaelin.~To reach the next level thou must raise thy Experienceϋ × by Ɠ.~My hope is with thee>
                backend.updateROMText(absoluteFilename, 0x29, textBoxEE10, 0xAC1C, 0); //<From where thou art now, my castle lies$
                backend.updateROMText(absoluteFilename, 0x13, textBoxEE11, 0xAC48, 0); //Ɠ to the north and$
                backend.updateROMText(absoluteFilename, 0x13, textBoxEE12, 0xAC5D, 0); //Ɠ to the south and$
                backend.updateROMText(absoluteFilename, 0xE, textBoxEE13, 0xAC72, 0);  //Ɠ to the east>
                backend.updateROMText(absoluteFilename, 0xE, textBoxEE14, 0xAC83, 0);  //Ɠ to the west>
                backend.updateROMText(absoluteFilename, 0xE, textBoxEE15, 0xAC93, 0);  //Aш draws near!
                backend.updateROMText(absoluteFilename, 0x16, textBoxEE16, 0xACA4, 0); //The ё is running away.
                backend.updateROMText(absoluteFilename, 0x22, textBoxEE17, 0xACBD, 0); //The ё attacked before ь was ready.
                backend.updateROMText(absoluteFilename, 0xA, textBoxEE18, 0xACE0, 0);  //ь attacks!
                backend.updateROMText(absoluteFilename, 0x24, textBoxEE19, 0xACEB, 0); //The ё゜s Hitϋ have been reduced by Ɠ.
                backend.updateROMText(absoluteFilename, 0x36, textBoxEE20, 0xAD10, 0); //The attack failed and there was no loss of Hit Points!
                backend.updateROMText(absoluteFilename, 0x8, textBoxEE21, 0xAD49, 0);  //Command?
                backend.updateROMText(absoluteFilename, 0x1E, textBoxEE22, 0xAD52, 0); //That cannot be used in battle.
                backend.updateROMText(absoluteFilename, 0x21, textBoxEE23, 0xAD73, 0); //But that spell hath been blocked.
                backend.updateROMText(absoluteFilename, 0x18, textBoxEE24, 0xAD95, 0); //The spell will not work.
                backend.updateROMText(absoluteFilename, 0x1D, textBoxEE25, 0xADAE, 0); //Thou hast put the ё to sleep.
                backend.updateROMText(absoluteFilename, 0x20, textBoxEE26, 0xADCC, 0); //The ё゜s spell hath been blocked.
                backend.updateROMText(absoluteFilename, 0x28, textBoxEE27, 0xADEF, 0); //Thou hast done well in defeating the ё.~
                backend.updateROMText(absoluteFilename, 0x1E, textBoxEE28, 0xAE19, 0); //Thy Experience~increases by Ɠ.
                backend.updateROMText(absoluteFilename, 0x18, textBoxEE29, 0xAE38, 0); //Thy GOLD~increases by Ɠ.
                backend.updateROMText(absoluteFilename, 0x51, textBoxEE30, 0xAE54, 0); //Courage and wit have served thee well.~Thou hast been promoted to the next level.
                backend.updateROMText(absoluteFilename, 0x1E, textBoxEE31, 0xAEA9, 0); //Thou hast learned a new spell.
                backend.updateROMText(absoluteFilename, 0x35, textBoxEE32, 0xAEC8, 0); //Quietly Golem closes his eyes and settles into sleep.
                backend.updateROMText(absoluteFilename, 0xE, textBoxEE33, 0xAEFE, 0);  //ё looks happy.
                backend.updateROMText(absoluteFilename, 0x16, textBoxEE34, 0xAF0F, 0); //ь started to run away.
                backend.updateROMText(absoluteFilename, 0x19, textBoxEE35, 0xAF26, 0); //But was blocked in front.
                backend.updateROMText(absoluteFilename, 0x10, textBoxEE36, 0xAF40, 0); //ь used the Herb.
                backend.updateROMText(absoluteFilename, 0x10, textBoxEE37, 0xAF53, 0); //The ё is asleep.
                backend.updateROMText(absoluteFilename, 0xE, textBoxEE38, 0xAF66, 0);  //The ё attacks!
                backend.updateROMText(absoluteFilename, 0x18, textBoxEE39, 0xAF75, 0); //Thy Hitś decreased by Ɠ.
                backend.updateROMText(absoluteFilename, 0x28, textBoxEE40, 0xAF8E, 0); //A miss! No damage hath been scored!

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try
            {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x1D, textBoxRR1, 0x8529, 0);  //<Thou cannot hold more Herbs>
                backend.updateROMText(absoluteFilename, 0x1B, textBoxRR2, 0x8548, 0);  //<Thou cannot carry anymore>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxRR3, 0x8565, 0);  //<Thou hast not enough money>
                backend.updateROMText(absoluteFilename, 0x1C, textBoxRR4, 0x8583, 0);  //<The ϊ?~Thank you very much>
                backend.updateROMText(absoluteFilename, 0x17, textBoxRR5, 0x85A1, 0);  //<What dost thou want?'~
                backend.updateROMText(absoluteFilename, 0x35, textBoxRR6, 0x85B9, 0);  //<Welcome.~We deal in tools.~What can I do for thee?'~
                backend.updateROMText(absoluteFilename, 0x19, textBoxRR7, 0x85EF, 0);  //<Oh, yes?~That゜s too bad>
                backend.updateROMText(absoluteFilename, 0x12, textBoxRR8, 0x860A, 0);  //<Is that Okay.?'~¢
                backend.updateROMText(absoluteFilename, 0x46, textBoxRR9, 0x861D, 0);  //<We deal in weapons and armor.~Dost thou wish to buy anything today?'~
                backend.updateROMText(absoluteFilename, 0x8, textBoxRR10, 0x8664, 0);  //<The ϊ?'
                backend.updateROMText(absoluteFilename, 0x22, textBoxRR11, 0x866E, 0); //<Then I will buy thy ϊ for Ɠ GOLD>
                backend.updateROMText(absoluteFilename, 0x23, textBoxRR12, 0x8692, 0); //<Sorry.~Thou hast not enough money>
                backend.updateROMText(absoluteFilename, 0x27, textBoxRR13, 0x86B7, 0); //<Dost thou wish to buy anything more?'~
                backend.updateROMText(absoluteFilename, 0x1E, textBoxRR14, 0x86DF, 0); //<What dost thou wish to buy?'~
                backend.updateROMText(absoluteFilename, 0xF, textBoxRR15, 0x86FE, 0);  //<I thank thee>~
                backend.updateROMText(absoluteFilename, 0x14, textBoxRR16, 0x870E, 0); //<Please, come again>
                backend.updateROMText(absoluteFilename, 0x19, textBoxRR17, 0x8723, 0); //ь chanted the spell of Σ.
                backend.updateROMText(absoluteFilename, 0x1B, textBoxRR18, 0x873D, 0); //ь cannot yet use the spell.
                backend.updateROMText(absoluteFilename, 0x12, textBoxRR19, 0x8759, 0); //Thy MP is too low.
                backend.updateROMText(absoluteFilename, 0x15, textBoxRR20, 0x876E, 0); //But nothing happened.
                backend.updateROMText(absoluteFilename, 0x1A, textBoxRR21, 0x8784, 0); //REPEL has lost its effect.
                backend.updateROMText(absoluteFilename, 0x28, textBoxRR22, 0x879F, 0); //A torch can be used only in dark places.
                backend.updateROMText(absoluteFilename, 0x2A, textBoxRR23, 0x87C8, 0); //ь sprinkled the Fairy Water over his body.
                backend.updateROMText(absoluteFilename, 0x24, textBoxRR24, 0x87F3, 0); //The Fairy Water has lost its effect.
                backend.updateROMText(absoluteFilename, 0x2C, textBoxRR25, 0x8818, 0); //The Wings of the Wyvern cannot be used here.
                backend.updateROMText(absoluteFilename, 0x30, textBoxRR26, 0x8845, 0); //ь threw The Wings of the Wyvern up into the sky.
                backend.updateROMText(absoluteFilename, 0x21, textBoxRR27, 0x8876, 0); //ь donned the scale of the dragon.
                backend.updateROMText(absoluteFilename, 0x31, textBoxRR28, 0x8898, 0); //Thou art already wearing the scale of the dragon.
                backend.updateROMText(absoluteFilename, 0x1A, textBoxRR29, 0x88CA, 0); //ь blew the Fairies゜ Flute.
                backend.updateROMText(absoluteFilename, 0x2A, textBoxRR30, 0x88E5, 0); //Nothing of use has yet been given to thee.
                backend.updateROMText(absoluteFilename, 0x1C, textBoxRR31, 0x8910, 0); //ь put on the Fighter゜s Ring.
                backend.updateROMText(absoluteFilename, 0x2E, textBoxRR32, 0x892D, 0); //ь adjusted the position of the Fighter゜s Ring.
                backend.updateROMText(absoluteFilename, 0x15, textBoxRR33, 0x895C, 0); //ь held the ϊ tightly.
                backend.updateROMText(absoluteFilename, 0x24, textBoxRR34, 0x8972, 0); //ь played a sweet melody on the harp.
                backend.updateROMText(absoluteFilename, 0x1F, textBoxRR35, 0x8997, 0); //ь put on the ϊ and was cursed!.
                backend.updateROMText(absoluteFilename, 0x1B, textBoxRR36, 0x89B8, 0); //Thy body is being squeezed.
                backend.updateROMText(absoluteFilename, 0x1C, textBoxRR37, 0x89D4, 0); //The ϊ is squeezing thy body.
                backend.updateROMText(absoluteFilename, 0x15, textBoxRR38, 0x89F1, 0); //<Cursed one,be gone!'
                backend.updateROMText(absoluteFilename, 0x44, textBoxRR39, 0x8A07, 0); //<I am looking for the castle cellar.~I heard it is not easily found>
                backend.updateROMText(absoluteFilename, 0x25, textBoxRR40, 0x8A4C, 0); //<Thou must have a key to open a door>

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #14
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x11, textBoxRL1, 0x72C0, 1);   //BEGIN A NEW QUEST
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL2, 0x72DA, 1);    //ADVENTURE LOG 1
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL3, 0x72F2, 1);    //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL4, 0x730A, 1);    //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL5, 0x731B, 1);    //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL6, 0x7333, 1);    //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL7, 0x734B, 1);    //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL8, 0x735C, 1);    //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL9, 0x7374, 1);    //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL10, 0x7385, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL11, 0x739D, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL12, 0x73AE, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL13, 0x73BF, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL14, 0x73D7, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL15, 0x73F1, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL16, 0x740B, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL17, 0x741E, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL18, 0x7438, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL19, 0x7452, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL20, 0x7465, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL21, 0x747F, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL22, 0x7492, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL23, 0x74AC, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL24, 0x74BF, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0xF, textBoxRL25, 0x74D2, 1);   //ADVENTURE LOG
                backend.updateROMText(absoluteFilename, 0x10, textBoxRL26, 0x7223, 1);  //CONTINUE A QUEST
                backend.updateROMText(absoluteFilename, 0x10, textBoxRL27, 0x7261, 1);  //CONTINUE A QUEST
                backend.updateROMText(absoluteFilename, 0x14, textBoxRL28, 0x7235, 1);  //CHANGE MESSAGE SPEED
                backend.updateROMText(absoluteFilename, 0x14, textBoxRL29, 0x7273, 1);  //CHANGE MESSAGE SPEED
                backend.updateROMText(absoluteFilename, 0x11, textBoxRL30, 0x7289, 1);  //BEGIN A NEW QUEST
                backend.updateROMText(absoluteFilename, 0xC, textBoxRL31, 0x729C, 1);   //COPY A QUEST
                backend.updateROMText(absoluteFilename, 0xD, textBoxRL32, 0x724B, 1);   //ERASE A QUEST
                backend.updateROMText(absoluteFilename, 0xD, textBoxRL33, 0x72AA, 1);   //ERASE A QUEST
                backend.updateROMText(absoluteFilename, 0x4, textBoxRL34, 0x719C, 1);   //BACK
                backend.updateROMText(absoluteFilename, 0x3, textBoxRL35, 0x71A1, 1);   //END
                backend.updateROMText(absoluteFilename, 0xD, textBoxRL36, 0x71AC, 1);   //Which Message
                backend.updateROMText(absoluteFilename, 0xC, textBoxRL37, 0x71BC, 1);   //Speed Do You
                backend.updateROMText(absoluteFilename, 0xC, textBoxRL38, 0x71CB, 1);   //Want To Use?
                backend.updateROMText(absoluteFilename, 0x4, textBoxRL39, 0x71DB, 1);   //FAST
                backend.updateROMText(absoluteFilename, 0x6, textBoxRL40, 0x71E2, 1);   //NORMAL
                backend.updateROMText(absoluteFilename, 0x4, textBoxRL41, 0x71EB, 1);   //SLOW
                backend.updateROMText(absoluteFilename, 0x5, textBoxRL42, 0x74ED, 1);   //LEVEL
                backend.updateROMText(absoluteFilename, 0xE, textBoxRL43, 0x74F6, 1);   //Do You Want To
                backend.updateROMText(absoluteFilename, 0xA, textBoxRL44, 0x7506, 1);   //Erase This
                backend.updateROMText(absoluteFilename, 0xA, textBoxRL45, 0x7512, 1);   //Character?
                backend.updateROMText(absoluteFilename, 0x3, textBoxRL46, 0x7525, 1);   //YES
                backend.updateROMText(absoluteFilename, 0x2, textBoxRL47, 0x752A, 1);   //NO

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            } catch (Exception ex) {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #15
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try
            {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x40, textBoxDD1, 0xA32D, 0);  //<Bring this to me and I will reward thee with the Staff of Rain>
                backend.updateROMText(absoluteFilename, 0x22, textBoxDD2, 0xA36E, 0);  //<Thou hast brought the harp. Good>
                backend.updateROMText(absoluteFilename, 0x61, textBoxDD3, 0xA392, 0);  //<In thy task thou hast failed. Alas, I fear thou art not the one Erdrick predicted would save us>
                backend.updateROMText(absoluteFilename, 0x9, textBoxDD4, 0xA3F5, 0);   //<Go now!'
                backend.updateROMText(absoluteFilename, 0x4C, textBoxDD5, 0xA3FF, 0);  //<Now the sun and rain shall meet and the Rainbow Drop passes to thy keeping>
                backend.updateROMText(absoluteFilename, 0x27, textBoxDD6, 0xA44C, 0);  //<Thou art brave indeed to rescue me, ь>
                backend.updateROMText(absoluteFilename, 0x21, textBoxDD7, 0xA475, 0);  //<I am Gwaelin, daughter of Lorik>
                backend.updateROMText(absoluteFilename, 0xF, textBoxDD8, 0xA498, 0);   //<But thou must>
                backend.updateROMText(absoluteFilename, 0x20, textBoxDD9, 0xA4A9, 0);  //Princess Gwaelin embraces thee.~
                backend.updateROMText(absoluteFilename, 0xF, textBoxDD10, 0xA4CB, 0);  //<I゜m so happy!'
                backend.updateROMText(absoluteFilename, 0x63, textBoxDD11, 0xA4DB, 0); //<Forever shall I be grateful for the gift of my daughter returned to her home, ь.~Accept my thanks>
                backend.updateROMText(absoluteFilename, 0x1F, textBoxDD12, 0xA540, 0); //<Now, Gwaelin, come to my side>
                backend.updateROMText(absoluteFilename, 0x4A, textBoxDD13, 0xA561, 0); //Gwaelin then whispers:~<Wait a moment,please.~I would give a present to ь>
                backend.updateROMText(absoluteFilename, 0x1A, textBoxDD14, 0xA5AD, 0); //<Please accept my love, ь>
                backend.updateROMText(absoluteFilename, 0x36, textBoxDD15, 0xA5C9, 0); //<And I would like to have something of thine--a token>
                backend.updateROMText(absoluteFilename, 0x16, textBoxDD16, 0xA601, 0); //<Please give me thy ϊ>
                backend.updateROMText(absoluteFilename, 0x46, textBoxDD17, 0xA618, 0); //<Even when we two are parted by great distances, I shall be with thee>
                backend.updateROMText(absoluteFilename, 0xD, textBoxDD18, 0xA660, 0);  //<Farewell, ь>
                backend.updateROMText(absoluteFilename, 0x11, textBoxDD19, 0xA66F, 0); //<I love thee, ь>~
                backend.updateROMText(absoluteFilename, 0x18, textBoxDD20, 0xA681, 0); //<Dost thou love me, ь?'~
                backend.updateROMText(absoluteFilename, 0x51, textBoxDD21, 0xA69A, 0); //<When thou art finished preparing for thy departure, please see me.~I shall wait>
                backend.updateROMText(absoluteFilename, 0x31, textBoxDD22, 0xA6EC, 0); //<I am greatly pleased that thou hast returned, ь>
                backend.updateROMText(absoluteFilename, 0x3F, textBoxDD23, 0xA71F, 0); //<Before reaching thy next level of experience thou must gain Ě>
                backend.updateROMText(absoluteFilename, 0x5A, textBoxDD24, 0xA760, 0); //<If thou dies I can bring thee back for another attempt without loss of thy deeds to date>
                backend.updateROMText(absoluteFilename, 0x33, textBoxDD25, 0xA7BD, 0); //<Goodbye now, ь.~Take care and tempt not the Fates>
                backend.updateROMText(absoluteFilename, 0x23, textBoxDD26, 0xA7F1, 0); //<Will thou take me to the castle?'~
                backend.updateROMText(absoluteFilename, 0x19, textBoxDD27, 0xA815, 0); //<Take the Treasure Chest>
                backend.updateROMText(absoluteFilename, 0x30, textBoxDD28, 0xA82F, 0); //<Welcome, ь.~I am the Dragonlord--King of Kings>
                backend.updateROMText(absoluteFilename, 0x66, textBoxDD29, 0xA861, 0); //<I give thee now a chance to share this world and to rule half of it if thou will now stand beside me>
                backend.updateROMText(absoluteFilename, 0x3A, textBoxDD30, 0xA8C9, 0); //<What sayest thou?~Will the great warrior stand with me?'~
                backend.updateROMText(absoluteFilename, 0x14, textBoxDD31, 0xA904, 0); //<Thou art a fool!®¢~
                backend.updateROMText(absoluteFilename, 0x3F, textBoxDD32, 0xA918, 0); //<Then half of this world is thine, half of the darkness, and$$'
                backend.updateROMText(absoluteFilename, 0x3B, textBoxDD33, 0xA959, 0); //Thy journey is over.~Take now a long, long rest.~Hahahaha$$
                backend.updateROMText(absoluteFilename, 0x5E, textBoxDD34, 0xA996, 0); //If thou would take the ϊ, thou must now discard some other item.~Dost thou wish to have the ϊ?
                backend.updateROMText(absoluteFilename, 0x19, textBoxDD35, 0xA9F5, 0); //Thou hast given up thy ϊ.
                backend.updateROMText(absoluteFilename, 0x15, textBoxDD36, 0xAA0F, 0); //What shall thou drop?
                backend.updateROMText(absoluteFilename, 0x18, textBoxDD37, 0xAA25, 0); //Thou hast dropped thy ϊ.
                backend.updateROMText(absoluteFilename, 0x13, textBoxDD38, 0xAA3E, 0); //And obtained the ϊ.
                backend.updateROMText(absoluteFilename, 0x29, textBoxDD39, 0xAA52, 0); //That is much too important to throw away.
                backend.updateROMText(absoluteFilename, 0x20, textBoxDD40, 0xAA7C, 0); //ь searched the ground all about.

                MessageBox.Show("Updated Text!", "Dragon Warrior Text Editor", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #16
0
        private void buttonUpdateText_Click(object sender, EventArgs e)
        {
            try {
                string  absoluteFilename = path;
                Backend backend          = new Backend();

                backend.updateROMText(absoluteFilename, 0x4, textBoxWN1, 0x7B38, 0);  //Herb
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN2, 0x7B3D, 0);  //Torch
                backend.updateROMText(absoluteFilename, 0x8, textBoxWN3, 0x7B43, 0);  //Dragon's
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN4, 0x7B4C, 0);  //Wings
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN5, 0x7B52, 0);  //Magic
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN6, 0x7B58, 0);  //Fairy
                backend.updateROMText(absoluteFilename, 0x7, textBoxWN7, 0x7B5E, 0);  //Ball of
                backend.updateROMText(absoluteFilename, 0x6, textBoxWN8, 0x7B66, 0);  //Tablet
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN9, 0x7B6D, 0);  //Fairy
                backend.updateROMText(absoluteFilename, 0x6, textBoxWN10, 0x7B73, 0); //Silver
                backend.updateROMText(absoluteFilename, 0x8, textBoxWN11, 0x7B7A, 0); //Staff of
                backend.updateROMText(absoluteFilename, 0x9, textBoxWN12, 0x7B83, 0); //Stones of
                backend.updateROMText(absoluteFilename, 0x9, textBoxWN13, 0x7B8D, 0); //Gwaelin's
                backend.updateROMText(absoluteFilename, 0x7, textBoxWN14, 0x7B97, 0); //Rainbow
                backend.updateROMText(absoluteFilename, 0x6, textBoxWN15, 0x7B9F, 0); //Cursed
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN16, 0x7BA6, 0); //Death
                backend.updateROMText(absoluteFilename, 0x9, textBoxWN17, 0x7BAC, 0); //Fighter's
                backend.updateROMText(absoluteFilename, 0x9, textBoxWN18, 0x7BB6, 0); //Erdrick's
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN19, 0x7C24, 0); //Scale
                backend.updateROMText(absoluteFilename, 0x3, textBoxWN20, 0x7C2B, 0); //Key
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN21, 0x7C3C, 0); //Flute
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN22, 0x7C35, 0); //Light
                backend.updateROMText(absoluteFilename, 0x4, textBoxWN23, 0x7C42, 0); //Harp
                backend.updateROMText(absoluteFilename, 0x4, textBoxWN24, 0x7C47, 0); //Rain
                backend.updateROMText(absoluteFilename, 0x8, textBoxWN25, 0x7C4C, 0); //Sunlight
                backend.updateROMText(absoluteFilename, 0x4, textBoxWN26, 0x7C55, 0); //Love
                backend.updateROMText(absoluteFilename, 0x4, textBoxWN27, 0x7C5A, 0); //Drop
                backend.updateROMText(absoluteFilename, 0x4, textBoxWN28, 0x7C5F, 0); //Belt
                backend.updateROMText(absoluteFilename, 0x8, textBoxWN29, 0x7C64, 0); //Necklace
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN30, 0x7C72, 0); //Token
                backend.updateROMText(absoluteFilename, 0x4, textBoxWN31, 0x7C6D, 0); //Ring
                backend.updateROMText(absoluteFilename, 0x5, textBoxWN32, 0x7C2F, 0); //Water

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