DOAEditor and Romhacking for Destiny of an Emperor

Use this forum to discuss hex-editing or otherwise altering any Three Kingdoms game, and to promote modded titles and patches.

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby MiDKnighT » Mon Jan 08, 2018 10:48 pm

It took me a little bit to remember but I think I remember now. There are basically 2 tiles for each value. Ie... there are 2 different E6 tiles. At the end of that graphic section, there are bits that say which version of the tile each is. By bits I mean like 00101100 (can convert between hex and binary in a programming calculator). The bits tell it which type of tile it will use. Ie...the "0" E6 tile or the "1" E6 tile.

For more info look here: http://doaerhguide.wikidot.com/#toc15

At the "Build the Map Tiles" section. We called that binary stuff the "control code".
User avatar
MiDKnighT
Sage
 
Posts: 275
Joined: Mon Oct 16, 2006 4:16 pm

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby Boneduke » Tue Jan 09, 2018 12:43 pm

Awesome!! Tried just now and it works perfectly. Funny I feel like I've read the wiki inside out and some of these issues it just doesnt click until you point it out hehe - really appreciated!
Boneduke
Initiate
 
Posts: 45
Joined: Sun Aug 13, 2017 5:09 pm

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby Boneduke » Wed Jan 17, 2018 11:54 pm

Hey Midknight, sent you a PM - have a new bug in my ROM just noticed in the past couple weeks. Not a huge one, just seems that when an item is used during battle (Elixir, revive etc), it works, but the item doesnt get consumed. Some more detail is in the PM.

In general also wanted to ask about "Spoils of War" enhancement. I was looking at the details for patch 1.3 and it says

- POL is used for item drops and more to come for POL.
- Spoils of war enhancement (item drops)

Which I take to mean, that I am using the POL version rather than the original.

Been working on adjusting the items that drop and the Common ones seems to be working fine. When I look at the original hex in my ROM for that section (7a5e0) it look as I'd expect (lots of entries with hex IDs that match item drops) and when I change it to my own configuration, I see the new items appear in game. So that is fine.

According to the wiki this is the code for the enhancement

A200A9009D05629DAF60E8E006D0F560
00000000000000A90E2082C44C50A5EA
2082C400000000000000000000000000
2020A52050A6A2021E0005387E0005CA
10F6A92EC500F00FA5AD65604A65AF65
10297FC56E3005A90E4C40A565AE4A65
61651165AD290F856EAD3670AACA8A29
070A0A0A0A656E856EEAEAEAA5AE6552
651165626563297FC9153010A56EA8B9
D0A5856EA900856F4C37A5EAA56EA8B9
50A6856EA900856F4C37A5EA00000000
31313131313131313132303030282B2C
313131313131323232303030282B2C38
323232323232323330303028282B2C38
323232333333303028282B2B2C2C3838
32333333333330302828282B2C2C3838
33333333333334303028282B2C2C3838
34343434343434303028282B2C2C3838
343434343434302128282B2B2C2C3838

AD9060AABD2064C900D005A908856E60
4A4A4A4A856E60000000000000000000


The part in red is the section where you specify the Common drops. Which aligns to the location the wiki indicates for where to specify the Common items (7a5e0).

However the wiki then states to do the same thing for Rare items (16 x 8 regions) at location 0x7a660. However that location is the hex above that I colored green. It seems to be used for something else (many of the entries there like AD, 90, AA, they dont correspond to items) and when I pasted my configuration for Rare drops at this location, it caused the game to freeze. So I think definitely I should not be putting my Rare drop configuration here.

There does seem to be sufficient blank space immediately after this section (7a667 to 7a6ee) however that is a little more space than is needed to fit the 8x16 "table". So I didnt want to arbitrarily paste it in, maybe even if its works, it breaks something else.

I looked at this same section in the hex in Flames of Wu mod and it has similar kind of entries in the Common drop section - however at 0x7a660 its completely different - doesnt match my whats in my ROM/whats above, nor does it look like a table for rare drops. So I'm stumped. Do you remember how this one works?
Boneduke
Initiate
 
Posts: 45
Joined: Sun Aug 13, 2017 5:09 pm

Previous

Return to Three Kingdoms Game Editing & Mods

Who is online

Users browsing this forum: No registered users and 1 guest

Copyright © 2002–2008 Kongming’s Archives. All Rights Reserved