Home › Forums › Destiny of an Emperor › New Mod: Hero of Chaos (Cao Cao Mod)
- This topic has 190 replies, 8 voices, and was last updated 5 years, 1 month ago by
Lady Cao Zhang.
-
AuthorPosts
-
January 18, 2014 at 9:41 am #53071
sonic.penguin
ModeratorAdded to the guide:
— Manually Editing Officer Stats
Credit: Niahak w/notes by sonic penguinHere is a more accurate breakdown of how officer data is displayed in the hex:
Officer structure notes (from various sources, as well as DoaEd code).
Raw Hex Values: for example FF=255
ID # – this is not a raw hex number, it is a pointer to another table where the data is stored. This data can be easily referenced to in the ‘tables’ folder of DOAEditor.STR – (Raw Hex Value)
INT (Raw Hex Value)
Region (chapter in which they are encountered) (Raw Hex Value)
Sprite (Graphic) (ID # from doae table)
Sprite Color (ID # from doae table)
DP as Enemy (ID # from doae table)
Soldiers (Enemy) (ID # from doae table)
Soldiers (Ally) (ID # from doae table)
Tactics (ID # from doae table)
AGI (Raw Hex Value)
Portrait Slice 1
Portrait Slice 2
Portrait Slice 3
Portrait Slice 4
Portrait Slice 5
Portrait Slice 6
Portrait BG (single-color BG only)
Page the portrait slices are found in (F0-FF)
unknown
Name Spacing
Officer NameJanuary 18, 2014 at 9:46 am #53072sonic.penguin
Moderatorlol seven pages of discussion already. At this rate it will be done in a month or two, not a year.
War fan is pretty cheesy. That’s a Dynasty Warriors creation (or was it in the fictional RTK books as well, I forget). DragonAtma knows his stuff he would know.
Good to see James around. I’m sure his mind is blown seeing some of this stuff.
Yeah yeah, I think everyone knows that, but it IS just a game…. (ducks and covers!) :ninja:
Well, Zhuge Liang is just iconic because he is always depicted with the peacock feather fan and I know for a fact I’m not going to use the shepherd staff icon because there is already a rod icon as well. That’s just 1 too many sticks in my book! So maybe we can reach a compromise here and just make a darn war fan! :WWJanuary 18, 2014 at 10:30 am #53073sonic.penguin
ModeratorAnd they said it couldn’t be done… voila!
-
This reply was modified 12 years, 4 months ago by
sonic.penguin.
January 18, 2014 at 10:50 am #53074MiDKnighT
ModeratorThis got trickier with the expanded items. I had to check Ludmeister’s Remix to see how he did it. Make sure the AP’s for Xiahou Dun and Yuan are right. They might be one weapon off.
Changes:
0×35440: 658D4E658D73604CC097EAEA
0x3556C: D3DF000000000000D4DF000000000000C1DF
0x375E0:
A90A8DF861A9028DC260A9148DC060A9
158DC160A90F8DB4608DB5608DB6604C
3C94This doesn’t work, it still locks up on starting a new game.
Seriously? Send me your latest ROM and I’ll fix. I’ll also look into the shop thing more soon.
January 18, 2014 at 11:01 am #53076sonic.penguin
ModeratorOkay, sending it. Also I was wondering about story flow/progressions, can someone confirm the highlights for the Story of Cao Cao:
Serves He Jin as Imperial Minister
Flees the capital after fallout w/ Dong Zhuo (Xiahou Bro’s join)
Forms coalition vs. Dong Zhuo
Forms coalition vs Lu Bu
Rescues the Emperor and wipes out Li Jue and Co.
Guan Yu joins Cao Cao/Wipes out Yuan Shu (or rather Sun Ce/Liu Bei does?)
Yuan Shao wiped out at Guan Du and subsequently Guan Yu leaves
Invasion of Jing Zhou
Battle of Red Cliffs – major loss
Cao Cao becomes King of Wei
Escape from Ma Chao/Battle of Tong Pass
Battle of Han Zhong
Cao Cao dies/ Cao Pi takes over and declares himself EmperorJanuary 18, 2014 at 11:16 am #53079MiDKnighT
ModeratorJames has some good stuff on Cao Cao’s history like this:
January 18, 2014 at 11:45 am #53080MiDKnighT
ModeratorUgg I had the last address typed wrong. Sorry. Should be:
0×35440: 658D4E658D73604CC097EAEA
0x3556C: D3DF000000000000D4DF000000000000C1DF
0x357D0:
A90A8DF861A9028DC260A9148DC060A9
158DC160A90F8DB4608DB5608DB6604C
3C94January 18, 2014 at 11:57 am #53081sonic.penguin
ModeratorJanuary 18, 2014 at 12:00 pm #53082MiDKnighT
ModeratorIs the AP right for Xiahou’s weapons starting off?
January 18, 2014 at 12:22 pm #53083sonic.penguin
ModeratorYep. Xiahou Dun has a stronger weapon similiar to an Ax+ so its 25 AP but Xiahou Yuan has a Simple Bow with lower stats but it hits twice so its 15 AP. Cao Cao looks good too. My question for Cao Cao, however, is there a way to make his Agility level up much like the Tigers? Otherwise he starts off in Chapter 1 with MONSTER agility. I could probably swap out a tiger ID with his but…
January 18, 2014 at 1:08 pm #53084sonic.penguin
ModeratorIt seems that they are categorized by the LAST hex value in their series, for example, the first 3 below referencing http://kongming.net/doae/rom_hacking/battles/
Officer Hex values this affects:
A6-A8 Liu Bei (referenced as A8 @ kongming.net)
39-3B Chen Deng (referenced as 3B @ kongming.net)
A1-A4 Guan Suo (referenced as A4 @ kongming.net)
9A-9D Pang Tong
55-56 Sun Ce
98-99 Zhou Cang
05-08 Zhou Chao
3C-3D MI Zhu
B5-B7 Lu Bu (Shu)
45-46 Liu KuiOn another note, these are ALL sprites that I wanted to know how their sprite X,Y data was stored so they could be moved around to different locations. This might be useful to put in the guide. It might also be the key to discovering how James originally replaced the “Yuan Shu has the Imperial Seal” messenger with a recruitable Dian Wei.
An update on this one, the answer is YES! These sprite values are determined by the last number in the sequence and that is where the actual data is stored. So Zhou Chao 05-08 would have his LDR values stored at 7AC08, VIT values at 7AB08, and POL values at 7AC08.
From my testing I put values 05,06, and 07 to 00 and it still worked beacuse I had the 08 value filled in. I also noted that the officer profile will have to be manually changed like this as well until DOAEditor gets this functioning properly.
January 18, 2014 at 1:41 pm #53085sonic.penguin
Moderator0x7a660 – 0x7a6df: These are the random rare drops. 8 regions, 16 items per region. You will probably want to make these more helpful drops, such as equipment, as they can be offered rarely and thus can be made to not totally break the game. The format for this table is exactly the same as the common drop table.
\
I’m pretty sure this caused me to get an equipped “Nu Long” as I was wandering through chapter 1, not sure. I was like, holy cow I’ve gotta change how these guys stats because they’re slaughtering! Then I checked and the guy @ the top of my formation had a Nu Long equipped >_>I’m not sure how those values line up with an equipped Nu Long which would be D0 which I only see at 7A669
January 18, 2014 at 2:09 pm #53086sonic.penguin
ModeratorJanuary 18, 2014 at 3:14 pm #53088MiDKnighT
ModeratorFrom the last two posts your item drop table is probably messed up. That’s lud’s thing though, he did a write up on it in the guide.
January 18, 2014 at 3:43 pm #53092sonic.penguin
ModeratorOkay, gonna dissect it then:
0x7a660 – 0x7a6df: These are the random rare drops. 8 regions, 16 items per region.
AD9060AABD2064C900D005A908856E
604A4A4A4A856E6000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
0000000000000000So I tried FF’ing out the values and the game freezes at the end of battles. The regular tables seem fine but it’s this one that is wankey. The values here don’t make any sense for items and are likely the end of the code for something else?
-
This reply was modified 12 years, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.

