Home › Forums › Destiny of an Emperor › Destiny of an Editor (permanent beta test mode active)
Tagged: Destiny of an Editor, Destiny of an Emperor, Huo Hu, Niahak, ROM Hacking, Xian Zhu Xuande, Zhuge Liang
- This topic has 1,129 replies, 26 voices, and was last updated 10 years, 12 months ago by
MiDKnighT.
-
AuthorPosts
-
June 1, 2013 at 1:46 am #27549
MiDKnighT
ModeratorHoly wow I didn't even know the portrait selector was done. How did I miss that. Thanks Niahak! GL with the above issue and let me know if I can help.
EDIT: The portrait selector is GREAT! Huge time saver. Kudos on that. Hoping that you have more trouble finding games on stream so that you can make awesome enhancements to DoaEditor like this :thumright:
June 1, 2013 at 2:30 am #27550MiDKnighT
ModeratorWhat are you doing when you get that error sonic? I just tried with the ROM I use for making the IPS patch and didn't see the error.
June 1, 2013 at 10:53 am #27551sonic.penguin
ModeratorCheck it out for yourself. Download the latest version of FOW, apply the 1.3 IPS patch, then try using DOAEditor. This is the problem w/ having the test rom is that so many things are tested on it and while it has turned out nice, I keep having issues like this :P
This error pops up upon opening DOAEditor after the IPS patch is applied.
June 1, 2013 at 2:13 pm #27552MiDKnighT
ModeratorIt worked for me if I apply patch 1 and 2. Ya I know doing patch 1 is a pain but if it's broken I'd do both in order. I had to do the last DoaEditor fix in patch 1 because the text banks could expand and I don't want patch 2 touching it.
June 1, 2013 at 2:30 pm #27553sonic.penguin
ModeratorYou mean 1.1 patch 1 or 1.3 patch 1? Give it a try and see if you can get it working w/ doaeditor
June 1, 2013 at 2:31 pm #27554MiDKnighT
ModeratorNo not 1.1. Do patch 1.3 patch 1 then 1.3 patch 2.
Then you'll have to put all this stuff back. You can copy it from a previous version:
0x4450-0x446F = mismatch list – winner
0x4470-0x448F = mismatch list – loser
0x4490-0x44CF = no kill list
0x44D0-0x44EF = rare duel list (for rulers mainly)
0x44F0-0x450F = bigger no an sha list
0x5710-0x572F = tactic no fail list
0x5730-0x573F: STR bonus list (put tactic ID in this list for STR bonus)
0x5740-0x574F: AGI bonus list (put tactic ID in this list for AGI bonus)
0x5750-0x575F: INT bonus list (put tactic ID in this list for INT bonus)
0x7A400-0x7A4FF = where you assign a profile to an officer
0x7A510-0x7A6DF = profiles
0x7AA00-0x7ACFF = LDR, VIT, and POL settings for officers
Page 3E (0xF8010-0xFC00F) = expanded weapon and tactic names
And your tactic setup stuff.
Actually I just had a great idea… For the above stuff you can take save a version after applying patch 1 and 2. Then after you fix all the above lists make an IPS patch using the version right after patch 1 and 2 as the "unmodified" file and the one where you fixed all the lists as the "modified" file. Then in the future you can just apply patch 1, patch 2, then your custom IPS patch to fix your lists.
June 1, 2013 at 3:22 pm #27555MiDKnighT
ModeratorThat said, applying patch 1 is a major pain and it's rare that you would have to do it. But it's necessary any time there is a major structural change to the ROM (like expanding to 1MB, changing the text bank setup (which I just did), etc…
It's kinda like formatting the hard drive of your computer. You try to avoid it but every so often it's necessary.
June 1, 2013 at 6:10 pm #27556MiDKnighT
ModeratorAnd if doing patch 1+2 is too much of a pain to reset all your custom stuff you can send me the ROM (without patch 1 applied) and I can try to hexafix it.
June 2, 2013 at 3:25 am #27558sonic.penguin
ModeratorYep, I applied 1 then 2, but still unable to get DOAEditor to work. Version I'm working with is the same that is downloadable on the front page of the FOW thread. I haven't made any additional changes until I get the new updates to work.
June 2, 2013 at 2:11 pm #27560MiDKnighT
ModeratorHere I just applied patch 2 and did some hex fixes for the text banks, palettes, and such:
https://www.box.com/s/rn3nhoqp8ujjgj507ass
Works fine for me. Try deleting your DoaEditor folder and re-downloading / installing it also.
June 9, 2013 at 7:37 pm #27561MiDKnighT
ModeratorOK now I patched up a ROM and got a different error. Niahak do you know what this is telling us?
June 10, 2013 at 1:04 am #27562DragonAtma
ModeratorLooks to me as if one of the variables is the wrong type. It's as if the game tried to learn tactics at level Zhang Fei when it was expecting a number, and obviously that doesn't work well.
….why yes, as a not-too-good programmer, RMVX gave me a LOT of type mismatches…
June 10, 2013 at 2:14 pm #27563Niahak
ModeratorYeah, it's probably a mismatched variable.
Sorry for the delay, flight back from Japan got in late last night.
If you can find a way to get the ROM/IPS to me, I can take a look tonight.
June 10, 2013 at 2:28 pm #27564MiDKnighT
ModeratorOK I sent it to your niahak e-mail address. Let me know if I can help.
June 10, 2013 at 10:26 pm #27565Niahak
ModeratorLooks like officer 185 (Zhuge Liang)'s Portrait Background color is borked.
Acceptable values are 0xX0 to 0xX9, where X can be any value. 185's value is 0x0e.
The specific byte is at 0x33cdb.
Ma Chao's is too (0x33dc2).
It also seems to have a text overflow issue. Pointers to text in the bank starting at 0x2c010 (specifically 0x2c170 and afterward, and correspondingly at 0x2c370 and afterward) are lower than their predecessors in value (which is not allowed). To fix this, you can destroy all the values by setting them to F7F7F7… and B9B9B9… respectively.
After making these changes, I was able to import the ROM, but it has other serious issues. The patching progress apparently killed some officer names ("Z8??Qong", "Zh5ng Fei") and I'm guessing the text issue is indicative of another side effect. I wouldn't be surprised to hear if there were others if you played through all the way, that might not be merely issues in DoaEditor loading the ROM.
-
AuthorPosts
- You must be logged in to reply to this topic.

