Forum Replies Created
-
AuthorPosts
-
April 27, 2026 at 9:12 am in reply to: New DOAE Enhancement: Equip All Officers in One Session #55888
MiDKnighT
ModeratorSo I have 3 “quality of life” enhancements from this.
1. Fixing the clunky menu to make it easier to equip multiple items/officers
http://doaerhguide.wikidot.com/destiny-of-an-emperor-rom-hacking-guide-page-2#toc582. Display pack size/space on the screen.
http://doaerhguide.wikidot.com/destiny-of-an-emperor-rom-hacking-guide-page-2#toc593. Adding a “grace period” so that you don’t enter a battle one step after the last battle.
http://doaerhguide.wikidot.com/start#toc58Idea for a 4th is to fix the cave thing where you can fight in chapter 1 then gullwing to a chapter 8 cave and fight chapter 1 enemies. I’ll look into this. I’m thinking that when you warp into a cave it should set the “chapter for battles” variable to the same as the area the warp is coming from. I’ll see how feasible this is.
March 5, 2026 at 2:25 pm in reply to: New DOAE Enhancement: Equip All Officers in One Session #55874MiDKnighT
ModeratorFinished this one. Another “quality of life” enhancement. One annoying thing about the original game was when you’d go to buy an item or pass an item and it would tell you “Liu Bei cannot carry anymore”. Now you can see how many items are in your pack before your buy anything or if you are passing items back and forth:
.webp)
More details here:
http://doaerhguide.wikidot.com/destiny-of-an-emperor-rom-hacking-guide-page-2#toc47March 3, 2026 at 11:44 pm in reply to: New DOAE Enhancement: Equip All Officers in One Session #55873MiDKnighT
ModeratorPart 2 is done. Now RIGHT arrow will move the menu forward (between General–>Item–>Equip). Now you can use the LEFT and RIGHT arrows to freely navigate forwards and backwards between those 3 menus. I also fixed the timing as the previous LEFT was a bit jumpy. I have a cooldown timer of 02 which acts similar to the existing in game menus. 1 was too jumpy and 3 was too slow. There’s a balance between speed and jumpiness. Now it is acting more like a real DOAE menu.
Updated the same section of the wiki:
http://doaerhguide.wikidot.com/destiny-of-an-emperor-rom-hacking-guide-page-2#toc46Of course I thought this would take about an hour to do since the game already supported going forward in the menus with the A button (the RIGHT arrow mimics the A button). But of course there are always unforseen complications, stack problems, etc… so this took a good chunk of one day.
The next “quality of life” enhancement I’d like to do is update the general menus in the weapon shop, merchant shop, and “general” menu I just updated to list the number of items in each officer’s “pack” after their name like “Liu Bei (5)”. That way if you are buying an item or passing an item you know exactly who has room in their pack for it. This was also an annoying part of the original game where you’d often get “so and so can’t carry anymore” when trying to buy an item or something. With this change that won’t happen. I expect this to be harder than the RIGHT arrow functionality but not as hard as the LEFT arrow functionality (I hope).
All 3 of these enhancements will go into Yuan Shao’s Revenge 3.08 whenever that happens. I’ve also offered up these changes to Boneduke for “King Wu of Wei” in case he wants to get his hands dirty with DOAE modding again.
March 2, 2026 at 10:00 pm in reply to: New DOAE Enhancement: Equip All Officers in One Session #55872MiDKnighT
ModeratorHey long time no chat.
Ya this enhancement has been on my radar for a long time but it was a daunting task to do. Years ago Ludmeister and I came up with this enhancement which allowed you to equip all the items for 1 officer:
http://doaerhguide.wikidot.com/destiny-of-an-emperor-rom-hacking-guide-page-2#toc45
But what I always wanted to do was what was done here. Even with a very experienced 6502 assembly modder (ludmeister) we struggled with it. With A.I. readily available I thought that would be what would get me over the hump. I overestimated how much help I would get from A.I. for sure. What I thought would take a couple of days took a week. I was shocked at how many times it gave me code revisions that were either flat out wrong, full of errors, or would keep breaking stuff. I even told it to check all the branches before giving me any code and it would still screw it up lol. I’d say the biggest benefit of A.I. was giving me some ideas that I hadn’t thought of before. Like edge detection which was actually really important or the game would interpret you hitting the left arrow as left left left left left. Apparantly all NES games have some kind of edge detection for the controller inputs.
I should probably update the guide and mention that this is an expanded ROM only feature. There’s simply no room to do this in the original ROM. The system page on the original ROM (page 0F) is jam packed with stuff. It’s actually impressive how much the original developers were able to squeeze into that one 16k page. But…apparantly not enough room for a good menu system like its counterpart Final Fantasy 1 had. I always wished DOAE could have a menu / item system like FF1. This solution is still not THAT good but it’s certainly better than what was in the original game where you had to tear down all the menus after doing anything. With this enhancement I figure players could do more of the fun stuff and less of the cumbersome menu/item swapping/equipping.
March 2, 2026 at 6:35 am in reply to: New DOAE Enhancement: Equip All Officers in One Session #55870MiDKnighT
ModeratorI could see a couple of evolutions to this enhancement.
1. Currently the RIGHT arrow acts just like the LEFT. It goes back to the previous menu. This should be a fairly easy change but I was thinkign RIGHT could emulate the A button. Ie…go to the next menu.
2. This one would be A LOT harder. But I was thinking of putting the number of items in your pack next to the names here:

So you know who’s pack is full before trying to give them an item.
MiDKnighT
ModeratorNice – are the stats pulled directly from the ROM or did some poor soul do this by hand?
MiDKnighT
ModeratorTwo more streamers playing the mod. That’s 3 now for Yuan Shao’s Revenge 3.0. After watching some of the last 2 streamers I definately don’t have to ramp up difficulty anymore. In earlier versions people were over-leveled particularly in chapters 5-7. That is no longer the case it seems.
Lu Bu Feng Xian’s Playthrough
Krudler Tinglebottoms’ Playthrough
MiDKnighT
ModeratorVersion 3.07 released – this fixes a game breaking treasure chest bug introduced by version 3.06 :(
MiDKnighT
ModeratorThe item issue seems to be fixed. However, when recovering TP with the plan, the number is displayed strangely like ‘gained 852738 TP.’ The actual amount of TP recovered is normal, so it does not affect play.
I haven’t seen that one. I’ll take a look.
EDIT: It is not happening for me. Which battle did this happen on? Were you low on TP? Almost full? I need more details :)
MiDKnighT
ModeratorHello Whale,
Are you able to make hex changes to your ROM to test out a fix?
It looks like trying to fix a problem where trying to open an empty chest freezes the game caused this side effect where some chests are broken. Here’s the fix – please try it out and let me know if can. If everything works as expected I’ll release a 3.07 release with this fix:
0x30756: 40 –> 1F
0x30797-0x307A2: 90F468684C9D0668A99C4860 –> 4C0A8768A99C486000000000
June 2, 2025 at 2:33 pm in reply to: Playing DOAE Mods on a Handheld Device If You Can’t Play on Your Phone #55738MiDKnighT
ModeratorI also heard that for iOS you should be able to run the Provenance App – can run in compatibility with FCEUX. That should allow to play the 1MB ROMs.
MiDKnighT
ModeratorThe Destiny of an Emperor mod Yuan Shao’s Revenge 3.06 (Bugfix release) is now available!
http://doaerhguide.wikidot.com/yuan-shao-s-revenge
Changelog for Version 3.06 (Bug fix release):
– Fix Chang An warp (it was leaving you one tile left of Chang An preventing you from passing without chariots.
– Fix talking to He Jin making officers disappear bug.
– Fix opening empty treasure chest freezing game bug.
– Fix level up bug where it would report on officers not in your party in the early game.
– Enhancement: Report new tactics on level up.
– Enhancement: Using duel on a smart general or ruler may result in them sending their champion instead.
– Fix duel bug where the wrong general gets the spoils of winning (haste, rally)
– Fix duel bug where an extra character kept showing up on the screen (usually “U”)
– Enhancement: Have a couple of NPCs lay down where appropriate.
– Fix issue where trying to equip a weapon that they can’t equip de-equips their previous weapon.Known issues:
– After the Ma Teng battle there will be a temporary freeze after battle. Simply hit select to get out of it.
– Yuan Shu is still outside complaining of Dong Zhuo even after you beat him at Luo Yang.
– Very rare: game freezes have happened in the past but I haven’t seen any in a while. Save regularly.
If anyone has a save state right before this happens I’d love to see it.
– Very rare: enemy may attack themselves. This is so rare I haven’t been able to catch/trace it.
If anyone has a save state right before this happens I’d love to see it.MiDKnighT
ModeratorIt’s a slight annoyance though when I try to equip something that a given character can’t equip, it unequips their current item.
This is fixed.
0x388B8: BD0061297FC95FB0039D0061E8C6F3D0EF –> A93D2082C4EAEAEAEAEAEAEAEAEAEAEAEA
0xEBCE3: 4C90BC0000000000000000000000 –> A5F9C900F005A6FA9D00614C90BC
0xF48B0:
0000000000000000A90E2082C4C90085
F985FABD0061C9BF9008C9DFB00485F9
86FA297FC95FB0039D0061E8C6F3D0E3
4CA888How it works: If someone goes to equip a weapon, store their existing equipped weapon in memory. It will still de-equip the weapon when they try to equip a different weapon but if they can’t equip the new weapon, grab the previous equipped weapon in memory and re-equip it.
MiDKnighT
ModeratorI had always wanted my jailer and at least one villager to lie down. Figured out how to do that and updated the guide.

Here’s my running bug list:
https://docs.google.com/spreadsheets/d/1bxSPpA4P3gox8-SH9TBIArRZ4QqIH-YuI9klZDsoAMwThere are a couple I’d like to look at before releasing 3.06:
– There is a freeze of a few seconds after Ma Teng battle.
– Trying to equip a weapon unequips existing weaponMiDKnighT
ModeratorSome duel bug fixes.
Finally got this feature back that was broken for a long time:

Now smart generals or specified rulers can send out their champion instead of taking the duel themselves.
Also fixed a couple of other issues. One where the wrong general was getting the Haste/Rally “boost” for winning. And the bug since the beginning of the duel tactic where an extra “U” gets written to the screen when a general loses the duel. Changes:
Perhaps you’d like to face… FIX:
0x45EA: EE–> EAFix wrong bonuses given / (skip cleanup up $B0-BF which was breaking this):
0x4A10:
D08DA678BDE46185BEAA20CB86C955B0
054C8F88EAEAA96D20508FA478EAEAEADual extra character on the scren fix:
0x4AFC: 60000000 –> 20188D60
0x4D20: A97D8D18032057E2A97D8D180360
0x4D6A: 2057E2 –> 20108D -
AuthorPosts

