Forum Replies Created
-
AuthorPosts
-
February 24, 2013 at 2:09 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27540
Niahak
ModeratorSonic: Sounds like overall you removed some text, in which case replacing with 8A8A8A and ABABAB as I posted above is perfectly safe.
February 23, 2013 at 5:08 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27536Niahak
ModeratorSonic, you can replace the 8A8A8A… and ABABAB… with whatever is the repeating pointer around 0x3C030 and 0x3C230. It's just the same value repeated 192 or so times :)
Still recommend a backup of course.
February 23, 2013 at 4:09 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27532Niahak
ModeratorNew release!
http://www.niahak.org/images/DOAE/DoaEdv098n.zip
The following assumes you haven't modified text in the new bank! If you have, instead of 8A and AB below, use the respective values that immediately precede those sections. You should have a long string of identical values.
OK, so in preparation for using the new DoaEditor, if you expanded using a previous version you should inject the following into 0x3C040:
Code:8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8AAnd the following into 0x3C240:
Code:ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABAB
ABABABABABABABABABABABABABABABABThis sets up the new text bank so it has 240 lines, which is what Editor drops in when it's expanding.
The new configuration for text banks
If you want to add a new text bank, you need the following info:
- Pointer start: e.g. 0x3c010. This is where the first chunk of pointers starts.
- Adjusted start point: e.g. 0x34010. This is (correct me if wrong MiDKnighT) where the page starts. This is the value to which combined pointers are added to get absolute addresses for text.
- RawStartPoint aka where text actually begins (e.g. 0x3c390).
- NumberOfPointers: The number of pointers to try to read. e.g. 48 or 240.
- BaseBankNumber: What bank number to start with, e.g. 10 or 0x0a.
- HardEndPoint: where the user should be cut off if they try to add too much text.
- UseHardEndpoint: A sad hack so that bank 1 works right. Set this to true.
All the values in the XML file have to be in decimal. Sorry!
February 20, 2013 at 10:30 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27531Niahak
ModeratorQuote:I'm not sure exactly what you mean but I guess we can play with it when the next release comes out to see.I was thinking we should have 255 pointers for *every* text bank?
Ie… shouldn't the new banks (0A and 0B) allow 255 each?
Again, thanks for all the great work on this! Will be super cool to have all this new room for text!
Technically in 0A and 0B 255 are possible in each, but you need to set up the pointers first. I'm not crazy enough to make new ones on the fly because that's really dangerous for the 4 in-game banks (01-04).
So what I'm doing is adding the setup for the first 255 pointers into the expansion code, and allowing the text table setup to be modified like the .TBL files for those who care to push things further.
February 20, 2013 at 2:16 am in reply to: Destiny of an Editor (permanent beta test mode active) #27523Niahak
ModeratorHey guys,
Planning an update in the next few days or so that allows text blocks that DoaEditor reads in to be configurable, the same way table files and such can be swapped out for other values. This way any new text banks you crazy guys add can be supported without me having to re-release.
That way you can add more pointers to the set in bank 3, change a value in a text file, and be able to use them instantly.
I'm also planning to update the expansion code to automatically add a total of 255 pointers in the third bank. Because why not :)
February 15, 2013 at 1:29 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27519Niahak
ModeratorIt all depends on how many text pointers are set up. I can set up more, of course – but it has to happen as part of the expansion process for now.
By pointers I mean this stuff:
0x3C010:
809DBCCDE3FF1A354F637588C5D5F104
21304D657EA1C4DC04214058687986A1
A78A8A8A8A8A8A8A8A8A8A8A8A8A8A8A
0x3C210:
83838383838384848484848484848485
85858585858585858686868686868686
86ABABABABABABABABABABABABABABAB
There are only 48 of them – no reason more can't be added.
February 14, 2013 at 10:25 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27517Niahak
ModeratorI don't see any particular risk in loading all the blank lines at this point, but then I expect you guys to try this out and let me know if modifying them breaks anything :)
http://www.niahak.org/images/DOAE/DoaEdv098m.zip
The new bank (everything after the last duel text) has plenty of room for new text.
This is still a beta, of course, so keep that in mind.
February 14, 2013 at 2:00 am in reply to: Destiny of an Editor (permanent beta test mode active) #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 13, 2013 at 10:27 pm in reply to: Destiny of an Editor (permanent beta test mode active) #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 12, 2013 at 4:51 am in reply to: Destiny of an Editor (permanent beta test mode active) #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 12, 2013 at 4:10 am in reply to: Destiny of an Editor (permanent beta test mode active) #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 11, 2013 at 11:01 pm in reply to: Destiny of an Editor (permanent beta test mode active) #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 10, 2013 at 11:24 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27502Niahak
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 8, 2013 at 8:16 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27495Niahak
ModeratorNew release with updates from MiDKnighT's fix:
http://www.niahak.org/images/DOAE/DoaEdv098k.zip
Sonic, can you try expanding your pre-expanded ROM and give dueling a shot?
Want to make sure this works before I move to support the new text bank.
Thanks!
February 7, 2013 at 1:21 am in reply to: Destiny of an Editor (permanent beta test mode active) #27485Niahak
ModeratorThink we need MiDKnighT's assistance on this one.
-
AuthorPosts