Home › Forums › Destiny of an Emperor › Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com )
Tagged: Battles, Destiny of an Editor, Destiny of an Emperor, Destiny of an Emperor hacking, Destiny of an Emperor Mods, Destiny of an Emperor Rom, DoaE rom, DoaE Rom hacking, FCEUX, Feidian, Graphics, hacking DoaE, Map, NES ROM hacking, nes8 template, Portraits, ROM Hacking, ROM hacking information
- This topic has 985 replies, 17 voices, and was last updated 2 years, 9 months ago by
MiDKnighT.
-
AuthorPosts
-
November 9, 2011 at 2:58 pm #39820
MiDKnighT
ModeratorI think ROM expansion and portrait/sprite code are a given as well as the Iron Ore bug fix. The rest we can vote on. Started a thread/poll.
November 9, 2011 at 3:20 pm #39821MiDKnighT
ModeratorQuote:What about the castle tactic? I was never even sure it did anything although it was supposed to raise AC somehow?Quote:Again, I don't know, but that would be a fun thing to test. Now, from what I remember from Meteorstrike's research into the Castle tactic, it doesn't actually modify AC, but it modifies a separate value… the enemy's defensive fortification value. This is only actually set in gate/fort/castle battles… all but one- when you attack Nan Yang from the west (that gate is supposed to be under construction, according to intelligence gathered ). When the enemy uses Castle, it increases the fortification value, and if an ally uses it, it decreases the fortification value. I do not know if the enemy can fortify itself if it happens to use the tactic in the field.Ahh… I didn't think about the Castle tactic. That's a good candidate tactic to modify or replace.
November 9, 2011 at 8:22 pm #39822MiDKnighT
ModeratorAdded 2 chapters to the guide. Split the BATTLES section into "BATTLES" and "DAMAGE AND TACTICS". Also added a new chapter for the "DOAE IPS PATCH" which will have more info in the coming days.
November 10, 2011 at 2:32 am #39823ludmeister
ParticipantMiDKnighT-
For some reason, when I applied the 8 tactics to my ROM, the general's name disappeared from the status screen, and the list of tactics in the status screen only allows 6 tactics. Could you help me find out what happened?

EDIT: Found the value necessary for making the list 8 tactics long:
0x3b74b: "05" -> "07"
Still searching for how/where the name is getting placed…
When all else fails... manipulate the source code.
November 10, 2011 at 3:20 am #39824MiDKnighT
ModeratorQuote:Still searching for how/where the name is getting placed…Hi Lud, play with the end of the 0x3EA30 line. That positions the name.
November 10, 2011 at 3:34 am #39825ludmeister
ParticipantIt's totally skipping the name display; it's not reading from that portion of the Status Screen display string. I think a pointer is wonky somewhere.
Found it! The problem is with my reading. I changed the pointer in 0x3edf0… not 0x3ee00, as the guide stated. Boy, hex editing is picky work :roll:
When all else fails... manipulate the source code.
November 10, 2011 at 3:51 am #39826MiDKnighT
ModeratorYa, that's probably why we need an IPS patch :wink:
And another update. "Life" is working for allies!!! And it was very small and easy to implement. Now just need to get it to work for enemies… A scary thought…
It's not perfect yet though… It still says that my army retreated at the end. Gotta flush that out.
November 10, 2011 at 2:12 pm #39827ludmeister
ParticipantQuote:Now just need to get it to work for enemies… A scary thought…True… You'll need to allow enemies to even select that tactic, since enemies are restricted from receiving Tui Lu/Gui Huan as picks for their tactics. (In stock DoaE, enemies got to receive Yi Xin, even though by level they could learn one of the other two).
When all else fails... manipulate the source code.
November 10, 2011 at 2:36 pm #39828sonic.penguin
ModeratorQuote:@ 0x3a1d2-0x3a1f9:—- a91c 2082 c400 0000 0000 0000 0000
0000 0000 0000 0000 0000 d006 208d ab4c
5aa1 0000 0000 0000 a678
In the agility based attacks Ludmeister, what does the —- mean? should that section be skipped starting at 3a1d6?
November 10, 2011 at 2:46 pm #39829ludmeister
ParticipantHey Sonic,
Sorry about that, should have been more specific. "—-" is just a placeholder. (In the example above, it corresponds to code you shouldn't change at 0x3a1d0.) Don't edit anything there; it was just to make things easier to visualize on the site, to let 2-byte-wide columns of hex code to line up a bit more easy to read.
When all else fails... manipulate the source code.
November 10, 2011 at 4:03 pm #39830sonic.penguin
ModeratorQuote:3. Assigning your new sprite to a general. The current sprites available are 00-53. If you have loaded pages 1C, 1D, and 1E with sprites then you can now use slots 54-D1.Essentially you have 3 new ROM pages for sprites (1C, 1D, and 1E). You can now load 42 sprites into each page at the following locations:
0x70090 (page 1C)
0x74090 (page 1D)
0x78090 (page 1E)
Need a little help on this one since DOAE editor does not allow direct lookup of sprites atm, what hex address would I find for say Liu Bei, Zhang Fei, and Guan Yu aka what sort of order does the hex follow sprite wise. Also, Im just assuming, that I would replace the Liu Bei sprite hex with another one form LYS list o'sprites, but what function do I need to pick its colors/weapons like it does in the DOAEditor.
NOTE: I have already figured out the feidian issues and have already uploaded new portraits/sprites into the expanded rom. Midknights version of php works**
November 10, 2011 at 4:09 pm #39831MiDKnighT
ModeratorSonic, just replace the spritetable.tbl in DoaEditor with this and you can assign the new sprites:
November 10, 2011 at 4:23 pm #39832MiDKnighT
ModeratorQuote:True… You'll need to allow enemies to even select that tactic, since enemies are restricted from receiving Tui Lu/Gui Huan as picks for their tactics. (In stock DoaE, enemies got to receive Yi Xin, even though by level they could learn one of the other two).Yep… That will be the first nut to crack.
Update: "Life" is fully functional for allies. It essentially revives the target with 400 HP then calls the "Salve" code to give them an HP boost to around 800-900.
Now that I know how to do "Life", "Raise" will be very easy to do. All I need to do is the same thing then call the "Wan Fu" code to resurrect and max out HP.
The biggest challenge now is getting enemies to add Life or Raise to their tactic list and having them target it correctly.
Another thing to think about. The way I have it now Life/Raise will succeed 100% of the time. Should I add some randomness to it?
November 10, 2011 at 4:23 pm #39833MiDKnighT
ModeratorQuote:True… You'll need to allow enemies to even select that tactic, since enemies are restricted from receiving Tui Lu/Gui Huan as picks for their tactics. (In stock DoaE, enemies got to receive Yi Xin, even though by level they could learn one of the other two).Yep… That will be the first nut to crack.
Update: "Life" is fully functional for allies. It essentially revives the target with 400 HP then calls the "Salve" code to give them an HP boost to around 800-900.
Now that I know how to do "Life", "Raise" will be very easy to do. All I need to do is the same thing then call the "Wan Fu" code to resurrect and max out HP.
November 10, 2011 at 5:47 pm #39834DragonAtma
ModeratorSomething to try:
Life has an (Int out of 256) chance out of working and restores (Int*2) soldiers.
Raise has an (Int out of 256) chance out of working and restores (Max Soldiers-400)*(Int/256) soldiers, plus the original 400 of course!
Obviously for both it uses the caster's Int not the dead guy's Int! ;)
-
AuthorPosts
- You must be logged in to reply to this topic.

