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 6, 2011 at 1:50 pm #39730
sonic.penguin
ModeratorQuote:Regardless… congratulations on getting Multi-Zeal to work. Did it work just by modifying the tactic data, or did you have to dig a little deeper into code?Nah, just correct modification. The issue was the once I changed it to non-targeting it started Bei Ji'ing the enemies lol.
I'll have to check the values and post them in a bit or you can look at them yourself by just downloading the rise of lu bu mod which is kept pretty current. For some reason I dont know if they worked exactly like healing ones or not.
The big issue with switching tactics around is it totally messes up tactic learned priority. Putting Gui Han learned earlier meant players wouldnt learn doubt, escape and lose TP, but got that fixed now as well. This is a big issue I am seeing might happen be odd to figure out w/ an 8 tactic expansion is where to allocate new tactics/replace old ones/not mess up priority to learn them which would take a lot of detailed and specific changes.
November 6, 2011 at 1:58 pm #39731MiDKnighT
ModeratorI added credits to the guide. Search for "Credit". This is to highlight who made the discovery so you know who to send the beer to or who to bug if you have problems with it. :lol:
Let me know if I got any of the credits wrong.
November 6, 2011 at 1:59 pm #39732MiDKnighT
ModeratorQuote:This is a big issue I am seeing might happen be odd to figure out w/ an 8 tactic expansion is where to allocate new tactics/replace old ones/not mess up priority to learn them which would take a lot of detailed and specific changes.That's what 8 tactic expansion is for. For example you have Negate as an end game tactic. How about keeping it most of the game? You could do that if you put it in slot 7 or 8.
FYI…
Quote:Inputted A2808E9E6000 at 3630A, changed to FF at 36314 and gave it a try… for some reason liu bei still left hehe. Did i miss something?I just tested it and it worked fine for me. Are you sure your hex is in the right spots?
November 6, 2011 at 2:41 pm #39733ludmeister
ParticipantQuote:Let me know if I got any of the credits wrong.It all looks good! I'm gonna play around with this and see what kind of 8-tactic list I can come up with that doesn't make one strategist style totally dominate.
When all else fails... manipulate the source code.
November 6, 2011 at 2:43 pm #39734MiDKnighT
ModeratorQuote:It all looks good! I'm gonna play around with this and see what kind of 8-tactic list I can come up with that doesn't make one strategist style totally dominate.I figure "negate" is a great slot 7 or 8 candidate. Others that come to mind are ambush, retreat, return. Once I figure out how to do "Life" that would be a good one.
Also can you help with the tactic box formatting thing? I'm pretty stumped on that.
November 6, 2011 at 2:59 pm #39735Niahak
ModeratorMiDKnighT, I've got a question about the portrait lookup code…
There was a bug since Li Su has a nonzero value in that "unknown" section, but it's less than 0xf1. You said that you'd modify the code to fix it so that byte values less than 0xf1 are ignored, but I don't think you updated the procedure here, so I had to go off of some guesswork:
Code:00:8344:49 80 EOR #$80Means that the following stuff is only executed if it's greater than 0x80, right? Is it sufficient to change this to 0x49 0xf0? If so, I'll go ahead and make this change in the editor.
November 6, 2011 at 3:04 pm #39736ludmeister
ParticipantQuote:Also can you help with the tactic box formatting thing? I'm pretty stumped on that.I'm gonna look into that pretty soon. Also, did you check to see if the enemy AI could use tactics #7/8? I was going to see about that as well.
When all else fails... manipulate the source code.
November 6, 2011 at 3:05 pm #39737MiDKnighT
ModeratorHi Niahak, I changed the code in the guide.
Quote:00:8344:49 80 EOR #$80Means that the following stuff is only executed if it's greater than 0x80, right? Is it sufficient to change this to 0x49 0xf0? If so, I'll go ahead and make this change in the editor.
No don't do that! In the original DoaE portraits, half are stored on page 2 and half are stored on page 3. It is splitting those at 80. So basically half of Xu Zhu's portrait is on page 2 and half is on page 3. That EOR #$80 is handling that. I'll show you the changes I made to only look at >= F1:
OLD CODE:
00:8330:85 15 STA $0015 = #$DA
00:8332:84 25 STY $0025 = #$00
00:8334:A0 11 LDY #$11
00:8336:B1 F3 LDA ($F3),Y @ $AE29 = #$F1
00:8338:10 04 BPL $833E <—- Was looking at anything over 80
00:833A:E9 E0 SBC #$E0
00:833C:85 F1 STA $00F1 = #$02
00:833E:A5 15 LDA $0015 = #$DA
00:8340:10 06 BPL $8348
00:8342:49 80 EOR #$80
00:8344:E6 F1 INC $00F1 = #$02
00:8346:85 15 STA $0015 = #$DA
00:8348:A4 25 LDY $0025 = #$00
00:834A:4C DA CF JMP $CFDA
FIXED CODE:
00:8330:85 15 STA $0015 = #$0F
00:8332:84 25 STY $0025 = #$0F
00:8334:A0 11 LDY #$11
00:8336:B1 F3 LDA ($F3),Y @ $B8F9 = #$36
00:8338:C9 F1 CMP #$F1 <—- changed, now looking at F1 or higher
00:833A:90 04 BCC $8340 <—- changed
00:833C:E9 E0 SBC #$E1 <—- changed
00:833E:85 F1 STA $00F1 = #$02
00:8340:A5 15 LDA $0015 = #$0F
00:8342:10 06 BPL $834A
00:8344:49 80 EOR #$80
00:8346:E6 F1 INC $00F1 = #$02
00:8348:85 15 STA $0015 = #$0F
00:834A:A4 25 LDY $0025 = #$0F
00:834C:4C DA CF JMP $CFDA
November 6, 2011 at 3:11 pm #39738MiDKnighT
ModeratorQuote:I'm gonna look into that pretty soon.Thank you. Maybe what you find will give me a boost.
Quote:Also, did you check to see if the enemy AI could use tactics #7/8? I was going to see about that as well.Yep, enemies are using 8 tactics too. Err wait, they are on the list. Not sure if they are using them yet. Checking…
EDIT: Haven't seen them use slots 7 or 8 yet, bummer. Will have to flush that out.
November 6, 2011 at 3:20 pm #39739ludmeister
ParticipantI'm running into trouble because I already have used that space in 3ffe0-3fff4… It borks the ROM to put the Name string into the other 12 bytes at the end of the block. Bleargh.
When all else fails... manipulate the source code.
November 6, 2011 at 3:29 pm #39740MiDKnighT
ModeratorQuote:I'm running into trouble because I already have used that space in 3ffe0-3fff4…Was it something good? What did you put there?
November 6, 2011 at 3:36 pm #39741ludmeister
ParticipantQuote:Was it something good? What did you put there?Yeah, I put in the tail end of my damage algorithm. I didn't like how DoaE gives its damage bonuses for Soldier totals, wanted to implement a more DoaE2 like approach.
The silver lining in this is that there is be another string for displaying Officer Names… it displays them on one line. That's accessed by a menu that comes up when you select Command -> General. I'm looking for that right now.
That string that you moved was the display for the officer's name…. EDIT: No, I don't think it was either. I'm obviously a little confused at the moment.
When all else fails... manipulate the source code.
November 6, 2011 at 4:40 pm #39742Lord Yuan Shu
KeymasterYou guys are great.
Quote:I didn't like how DoaE gives its damage bonuses for Soldier totals, wanted to implement a more DoaE2 like approach.It is definitely pretty arbitrary how it works. You have 1000 soldiers and you get this great big bonus but you go down to 980 and your damage isn't any more than it would be if you had 120 soldiers.
I had an idea, after playing DoaE II. Not sure how feasible this is. You know what's cool about DoaE II though? We can use tactics OUT of battle. Mostly just so that we can heal up before a fight.
It is pretty silly in Destiny of an Emperor I that we can't use tactics in battle. We've all been before a gate or castle and fought a random fight just so we can heal up (well, I seem to do that often).
Again, not sure how easy this would be. Plus with DoaE II, EVERY healing spell can be used on one ally or all allies. But out of battle it is just on one ally.
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingNovember 6, 2011 at 9:02 pm #39743Niahak
ModeratorQuote:No don't do that! In the original DoaE portraits, half are stored on page 2 and half are stored on page 3. It is splitting those at 80. So basically half of Xu Zhu's portrait is on page 2 and half is on page 3. That EOR #$80 is handling that. I'll show you the changes I made to only look at >= F1:Yep, should've realized it was more complicated than that ;)
Thanks for the updated code.
I've updated DoaE to use the new portrait code, and added a new feature. I'll be uploading shortly.
November 6, 2011 at 9:07 pm #39744MiDKnighT
ModeratorQuote:…and added a new feature. I'll be uploading shortly.Everytime you say that I feel like this:

What goodies does Niahak have for us now?
-
AuthorPosts
- You must be logged in to reply to this topic.

