Home › Forums › Destiny of an Emperor › [MOD] Destiny of an Emperor Rise of Ieyasu 2.0
Tagged: Destiny of an Emperor Mods, Ieyasu, sonic.penguin
- This topic has 401 replies, 18 voices, and was last updated 3 years, 7 months ago by
MiDKnighT.
-
AuthorPosts
-
April 23, 2012 at 2:27 am #41903
Stallion Fury
ParticipantHow do I patch the new updates in without having to start all over again with a brand new sav file?
April 23, 2012 at 1:03 pm #41904sonic.penguin
ModeratorJust copy over the original with the new file. Granted, if you have NOT patched it since the original release, I would probably start a new game since there were lots of bug fixes that can only be fixed upon starting a new game.
April 25, 2012 at 2:28 pm #41905MiDKnighT
ModeratorQuote:Oh yeah, any luck on finding out about the memory clearing for those "ghost resurrectings"OK so I started looking at this. In my code here is the check to see if there is a general in the slot or not:
00:8380:B9 A9 60 LDA $60A9,Y @ $60AF = #$54 <– Load general ID of target
00:8383:C9 00 CMP #$00 <– Is there a general in this slot?
00:8385:F0 F2 BEQ $8379
The full enemy target selection code is:
Enemy Target Choice – Enemy randomly chooses a dead ally to bring back to life:
00:8355:18 CLC
00:8356:8A TXA
00:8357:A6 78 LDX $0078 = #$05 <– General who's turn it is
00:8359:9D E4 61 STA $61E4,X @ $61E9 = #$02 <– Store target
00:835C:84 BE STY $00BE = #$00
00:835E:BC 00 62 LDY $6200,X @ $6205 = #$1E <– What tactic are they using?
00:8361:C0 1D CPY #$1D <– Is it life or raise?
00:8363:B0 0C BCS $8371
00:8365:AA TAX
00:8366:E6 78 INC $0078 = #$05 <– Go to next ally.
00:8368:A4 BE LDY $00BE = #$00
00:836A:A9 00 LDA #$00
00:836C:85 BE STA $00BE = #$00
00:836E:4C 50 83 JMP $8350
00:8371:A8 TAY
00:8372:AD FA 01 LDA $01FA = #$06 <– Random number
00:8375:69 05 ADC #$05 <– Cycle through at least 5 times to look for dead allies
00:8377:85 BF STA $00BF = #$00
00:8379:C8 INY
00:837A:C0 0A CPY #$0A <– If we've hit the last ally, start at top again
00:837C:D0 02 BNE $8380
00:837E:A0 05 LDY #$05
00:8380:B9 A9 60 LDA $60A9,Y @ $60AF = #$54 <– Load general ID of target
00:8383:C9 00 CMP #$00 <– Is there a general in this slot?
00:8385:F0 F2 BEQ $8379
00:8387:B9 9E 60 LDA $609E,Y @ $60A3 = #$80 <– Is the target alive or dead?
00:838A:C9 00 CMP #$00 <– Ignore and choose a different target if they are alive
00:838C:F0 05 BEQ $8393
00:838E:C6 BF DEC $00BF = #$00
00:8390:4C 99 83 JMP $8399
00:8393:98 TYA
00:8394:9D E4 61 STA $61E4,X @ $61E9 = #$02 <– Store target to bring back
00:8397:C6 BF DEC $00BF = #$00
00:8399:A5 BF LDA $00BF = #$00
00:839B:C9 00 CMP #$00
00:839D:D0 DA BNE $8379
00:839F:BD E4 61 LDA $61E4,X @ $61E9 = #$02 <– Load target
00:83A2:A8 TAY
00:83A3:A9 00 LDA #$00
00:83A5:85 BE STA $00BE = #$00
00:83A7:E6 78 INC $0078 = #$05 <– Go to next ally.
00:83A9:4C 50 83 JMP $8350
I'm using the save state that you provided and found the problem. I was one off on checking the general slot. I should have been starting at $60AA instead of $60A9. So it was confused and thought it was looking at Ninja force in the 3rd enemy slot when Ninja force existed in the 2nd enemy slot. The change to fix is simple. Just change the A9 to AA:
0x30391: A9 –> AA
I'll change the Hacking guide, my IPS patch version, and the Yuan Shao mod version.
April 25, 2012 at 3:11 pm #41906MiDKnighT
ModeratorI also moved this topic to the DOAE forum, makes more sense for it to be there.
April 25, 2012 at 5:29 pm #41907sonic.penguin
ModeratorDont you hate it when that happens? just one off… If i had a nickel for every time I've done that >_<. Thanks for checking into it! Despite your busy schedule, did you ever get the chance to give this a run-through? New version just got uploaded :finger:
April 25, 2012 at 5:52 pm #41908MiDKnighT
ModeratorNot yet but that chick I was fighting in the save state was beating the crap out of me. Her agility based attack would take out two guys in one hit.
April 25, 2012 at 10:47 pm #41909sonic.penguin
Moderatorhaha, no that was only because I used the walkthrough walls hack to get that savestate for you, but actually that would not be the realistic level you would be at.
April 26, 2012 at 8:52 am #41910Lord Yuan Shu
KeymasterDownloaded this and played it for a short bit. Two coolest things so far are the opening edits (particularly the now-blue Destiny of an Emperor logo at the top) and the new bar colors. The soldier bar color thing must have happened when I was MIA, I'll have to research that. How the hell did you make the logo blue at the top lol? Change the palette color in the code or is that done through photoshop?
My main thing with this is I don't know anything about the story to this game which is what put me off to try it before. But just since this mod is so advanced I'll probably tough it out and see what impressions I collect.
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingApril 26, 2012 at 1:47 pm #41911sonic.penguin
ModeratorWant to change the soldier color bars? That's just as easy as changing other colors, but you still need to used the color palette by MidKnighT. Just change the values starting at 3ADF8-3ADFC
You MAY notice that there are 6 values, but only 5 color changes in game. Pink, Orange, Yellow, Blue, Green. By tweaking the actual soldier bar threshold values, I have unlocked the hidden 6th color change in the Rise of Ieyasu mod.
Quote:Downloaded this and played it for a short bit. Two coolest things so far are the opening edits (particularly the now-blue Destiny of an Emperor logo at the top) and the new bar colors. The soldier bar color thing must have happened when I was MIA, I'll have to research that. How the hell did you make the logo blue at the top lol? Change the palette color in the code or is that done through photoshop?Yeah, the opening intro took FOREVER to change 1 letter at a time with spacing X_x, glad you actually watched it :)
I changed the logo pretty easily, I'll have to check how later, but it was a change via the code. I did the same thing in the upcoming Rise of Lu Bu 2.0 which I will be releasing shortly with MAJOR and much needed updates.
Quote:My main thing with this is I don't know anything about the story to this game which is what put me off to try it before. But just since this mod is so advanced I'll probably tough it out and see what impressions I collect.I still hope you enjoy it though :finger:
April 26, 2012 at 2:46 pm #41912MiDKnighT
ModeratorQuote:Yeah, the opening intro took FOREVER to change 1 letter at a time with spacing X_x, glad you actually watched itWow I just downloaded it to see this. That's great. We need to add this to the hacking guide. Can you do a write-up on it?
April 26, 2012 at 4:40 pm #41913sonic.penguin
ModeratorProbably, but it'll take a long time. I actually found this to be useful especially for all the modders. Changing generic forces felt like a MUST for making the mod more unique.
Because I use it myself and since its not available in DOAEditor, here is the info on changing generic forces portraits/sprite/AP/Color:
To change the portrait of pirate force, brigand force, bandit force, rebel force, or even the Wu pirates, you need to first change the background from black 00 to some other color such as white 09. Once that is done, simply replace the 6 slices/strips for each force found below.
Pirate Force Portrait Color 32810
Pirate Force Portrait Strips 3280A-3280F
Brigand Force Portrait Color 32831
Brigand Force Portrait Strips 3282B-32830
Bandit Force Portrait Color 32853
Bandit Force Portrait Strips 3284D-32852
Rebel Force Portrait Color 32874
Rebel Force Portrait Strips 3286E-32873
Pirate (in Wu House) Portrait Color 33A79
Pirate Portrait Strips 33A73-33A78
For example, if I change
32810 to 09
3280A to 00
3280B to 01
3280C to 02
3280D to 03
3280E to 04
3280F to 05
Then we will get Liu Bei's portrait to appear every time we encounter a Pirate Force. Pretty scary huh?
Note: The 6th Hex value BEFORE the first portrait slice controls the AP/Color of the Force. The 7th Hex value BEFORE the first portrait slice will allow you to change the sprite. These have address but I haven't typed them out yet.
April 26, 2012 at 4:55 pm #41914MiDKnighT
ModeratorOK I'm adding that to the guide but I think we'd still love to have the opening bio stuff in the guide too as I'm sure many modders will want to do that.
April 26, 2012 at 4:59 pm #41915Lord Yuan Shu
KeymasterYep. Modding the opening would be key. I know that's one of the things James said he wanted to do for his mods (particularly the Wei one).
As for the "forces" types…I just like to leave mine. They don't deserve a portrait because I would never bother to look at it huohu Well except for special forces like the Gongsun horses.
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingApril 28, 2012 at 4:37 pm #41916Stallion Fury
ParticipantAlright, finally figured out how to use IPS patches so I don't have to start from the beginning again just for the new music, lol. Love the sound change, since the field music was getting kind of boring over so many games. Though I assume the field music would change eventually as with the original unification of Jing?
Though personally, I would have left the fortress (not castle) music as it was.
April 28, 2012 at 5:04 pm #41917sonic.penguin
ModeratorAll you need to do is copy over the original, you shouldnt have to use Lunar IPS or anything like that.
Yes, it does change @ the unification of Jing, but to the original DOAE stock one. Couldn't decide which one to pick really b/c I was working on the Rise of Lu Bu Mod 2.0
Any suggestions for it?
-
AuthorPosts
- You must be logged in to reply to this topic.

