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
-
November 1, 2011 at 9:45 pm #27085
sonic.penguin
Moderatorokay, upload feature is broken lol 1 sec
Alright, first picture is of the editor obviously, the second is what it looks like in game. As you can see, it is Ma Chao in picture 2, but that is referencing bank 0, not bank 1
November 1, 2011 at 9:49 pm #27086Niahak
ModeratorI downloaded it, the ROM's the correct size but it looks like the code to load portraits wasn't added.
At 0x3cfe4, the code is still
Code:10044980e6f1when it should be
Code:4C3083000000. Same with 0x7cfe4.
The other steps haven't been taken yet, either – so while DoaEd thinks it's dealing with an expanded ROM with portrait feature support, and the portraits themselves are in the right spot, the ROM wasn't modified to take advantage of them.
November 1, 2011 at 10:02 pm #27087MiDKnighT
ModeratorHe's not using my beautiful code? :o
Penguin you can fix it by adding the portrait code in the guide.
November 1, 2011 at 11:38 pm #27088sonic.penguin
ModeratorQuote:The other steps haven't been taken yet, either – so while DoaEd thinks it's dealing with an expanded ROM with portrait feature support, and the portraits themselves are in the right spot, the ROM wasn't modified to take advantage of them.Just assuming these are in the guide. After changing the code the game become unresponsive @ battles. Will check into what else i need to add.
November 1, 2011 at 11:47 pm #27089MiDKnighT
ModeratorQuote:Actually midknight expanded the rom via the hex editor. The portraits read in the DOAEditor properly, just dont import into the game.Oops… I did not add the portrait code to your ROM. I should have thought of that. My bad. But the steps should be pretty easy. Just paste the right hex in the right spots per the guide.
November 2, 2011 at 12:40 am #27090sonic.penguin
ModeratorGot it, wouldnt copy paste correctly so I just wrote it in manually (typed?) man, this game is so picky; you get 1 letter wrong and everything goes kookie. Boy arent I good :P Just kidding, thanks for the help guys.
Pics are spot on and look genuine and nice. Now just have to fix those ones with the black *dots*
November 2, 2011 at 2:52 am #27091Niahak
ModeratorOK, I've updated DoaEd to v0.96g.
All this does is fix a bug with portrait bank selection (allows you to switch back to 0 properly).
November 2, 2011 at 11:15 am #27092sonic.penguin
ModeratorCool, will try it. I did manage to get the game working with updated portraits with use of changing the 2 hex values + the code from the DOAE hacking page BUT for some reason the game freezes when opening the profile of Lu Su. It only does that once the portrait code has been added, even though all the new portraits load nicely. Have I got a buggy rom or what? I'll have to test it more to figure out why, all values are correct.
November 2, 2011 at 12:05 pm #27093Niahak
ModeratorAh… interesting. I wondered if that might have any effect.
Lu Su is one of the characters that has that "unknown byte" set to a nonzero value, if I remember right. It helped me find a bug in my portrait bank code.
Try setting his portrait value in DoaEd to 0 and save (yeah – I know it'll display zero, but save anyway).
November 2, 2011 at 12:10 pm #27094MiDKnighT
ModeratorYes Niahak I think that is exactly the problem. I'm going to make the portrait code more restrictive (ie…only use the new banks if "unknown" byte is set to F1 or higher). Currently it is branching at 80 which may be causing problems for several portraits.
November 2, 2011 at 12:18 pm #27095sonic.penguin
ModeratorQuote:Try setting his portrait value in DoaEd to 0 and save (yeah – I know it'll display zero, but save anyway).Bank or the 6 slices?
November 2, 2011 at 12:21 pm #27096MiDKnighT
ModeratorBank. It needs to be zero'd out.
November 2, 2011 at 12:27 pm #27097sonic.penguin
Moderatorgotcha, it works now. Only problem is that I mix portraits together, so im going to have to 0 out everything hehe
November 2, 2011 at 12:32 pm #27098MiDKnighT
ModeratorI just fixed the portrait code to make it more restrictive. I'll update the guide.
EDIT: OK, use the new portrait code in the guide, that should fix for all generals with their unknown bit < F1.
November 6, 2011 at 9:17 pm #27099Niahak
ModeratorOK, time for a new number!
Destiny of an Editor v0.97 is released.
This version makes a small fix to the portrait code used during expansion, and adds a new feature – battle editing!
Currently only modifying the officers is supported, but the implementation's pretty flexible. It shouldn't be that hard to add location support… and maybe taunts :)
Note that if you're crazy enough to add NEW battles, they won't be editable. For now it makes the most sense to only support existing battles…
I've got a few directions to go from here:
- Add taunt/location support
- Display Warps on Map (if not edit)
- Add portrait import / loading sprites directly
Any other thoughts?
-
AuthorPosts
- You must be logged in to reply to this topic.



