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
-
February 10, 2013 at 11:24 pm #27502
Niahak
ModeratorHmm. There's nothing special about Yangzhou in the code, so maybe I need to adjust how it determines what bits to set?
I'll see if I can get the text bank stuff in tonight. It's been a busy weekend, but I should be able to get back to DoaEditor tonight or tomorrow.
February 11, 2013 at 4:54 pm #27503MiDKnighT
ModeratorQuote:I'll see if I can get the text bank stuff in tonight. It's been a busy weekend, but I should be able to get back to DoaEditor tonight or tomorrow.
:geek:
February 11, 2013 at 11:01 pm #27504Niahak
ModeratorI've got a concern about the maximum length of the new text bank…
There are a bunch of pointers at the end where the first part of each pointer is
Code:8A8A8A8A8A8A8A8Aand the second part is
Code:ABABABABABABABABIn theory, that sounds nice because there's so much room for expansion. But in practice, treating that as the endpoint for the textbank means that you're stepping on the toes of two chunks of code added in the expansion process (at 0x3CFE4-0x3CFE6 and 0x3DE71).
The question is, though, those sections were added to support the additional sprite and portrait banks. Should the location of that additional code have been updated to a new page what with the uber expansion? Should it be included at the very beginning of the process (Portraits + Sprites prior to copying the page to the other section of the ROM)?
February 11, 2013 at 11:09 pm #27505MiDKnighT
ModeratorThe new text banks should only be on page 0F which is the old system page. Typing from my phone but the range for page 0F is at the end of the rom hacking guide.
February 12, 2013 at 2:52 am #27506MiDKnighT
ModeratorOK now that I have a chance to look at this on my laptop, I see what you're talking about. Let me explain… Page 0F was the "system page" on both the original ROM and the 500k expanded ROM. In other words, this was the most important page in the ROM.
In the 1MB ROM, the system page is copied to two places, page 1F and page 3F which should be identical. Any code that used to be on page 0F would have to be in 1F and 3F. That means that if we had code before at these places: at 0x3CFE4-0x3CFE6 and 0x3DE71.
Then in the 1MB ROM it would have to be at:
0x7CFE4-0x7CFE6 and 0x7DE71
AND
0xFCFE4-0xFCFE6 and 0xFDE71
The new text banks should be able to use the entire 0F page (0x3C010-0x4000F) since the new mapping format will not care about that page at all (it will be reading page 1F or 3F as the system page).
February 12, 2013 at 4:10 am #27507Niahak
ModeratorYeah, sorry you had to type all that out – about 15 minutes after my last post, I realized I was being dumb and the answer was pretty obvious from the other changes ;)
I have something ready to release, but I haven't had the chance to test it thoroughly. Just tried it with the standard unchanged DOAE. If you guys are comfortable being guinea pigs, I can release it tomorrow morning.
February 12, 2013 at 4:51 am #27508Niahak
ModeratorYou guys can decide whether you want to be guinea pigs or not…
http://www.niahak.org/images/DOAE/DoaEdv098l.zip
I've tested it briefly with the base ROM, but that's it. Use at your own risk, etc. etc. The sooner I know that all this works well, the better for me so I can clean this up a bit and get it checked-in.
February 13, 2013 at 2:34 pm #27509MiDKnighT
ModeratorI just downloaded it and opened my 1MB ROM but don't see any way to use the new text banks. Is it supposed to be available under battles ?
February 13, 2013 at 9:16 pm #27510sonic.penguin
ModeratorSame problem as mentioned by Midknight, there is no way to adjust the text in the new banks with DOAEditor. Just see at the end
"blah" and 9425 zero's
February 13, 2013 at 10:27 pm #27511Niahak
ModeratorUh, there are about 28 completely new lines in the Lines tab at the end, before the "blah" and 9425 zeros (which is what the last line with content consists of). They start with "Water and Fire Tactic Protection Increased" and end with "I challenge thee, [OFFICER-2] to a duel."
That said, I didn't test the Battle tab initially but it does seem to work.
February 13, 2013 at 11:07 pm #27512sonic.penguin
ModeratorGot it. I see now.
So are the old duel text banks usable for adding new text or is modifying them going to mess things up?
Are you going to be able to add more (blank) text banks to the game that can be used for battle taunts?
February 14, 2013 at 1:30 am #27513MiDKnighT
ModeratorQuote:So are the old duel text banks usable for adding new text or is modifying them going to mess things up?Yes you can use them.
Quote:Are you going to be able to add more (blank) text banks to the game that can be used for battle taunts?There should be room for A LOT of blank text lines. Niahak you're not using them all?
February 14, 2013 at 1:38 am #27514sonic.penguin
ModeratorQuote:There should be room for A LOT of blank text lines. Niahak you're not using them all?February 14, 2013 at 2:00 am #27515Niahak
ModeratorQuote:There should be room for A LOT of blank text lines. Niahak you're not using them all?I'm loading them, but I remove empty lines from all banks normally. I could make it variable per bank, since we know better what's going on with this bank.
February 14, 2013 at 2:19 am #27516sonic.penguin
ModeratorQuote:I'm loading them, but I remove empty lines from all banks normally. I could make it variable per bank, since we know better what's going on with this bank.:finger: Just as long as we don't have them overflowing into other banks again.
-
AuthorPosts
- You must be logged in to reply to this topic.

