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 21, 2011 at 11:33 pm #27145
Niahak
ModeratorDo you still have a copy of this ROM? I'd be very interested in poking around with it (as well as a recent version of the mod, so I can compare what should be there with what is).
Maybe I need to look into some sort of logging system for the editor as well.
November 22, 2011 at 1:14 am #27146sonic.penguin
Moderatoreww, sorry not atm, but I'm sure I'll break one again soon, seems to happen every few days
November 22, 2011 at 2:24 am #27147sonic.penguin
ModeratorI knew it wouldnt take long… Dont worry about the goofed portraits, just notice how when battle engages it craps out
November 23, 2011 at 3:50 am #27148sonic.penguin
ModeratorOkay, I've had a lot of corruption, in fact every time on multple tests, when editing the line: Go home and tell Liu Bei how terrible [OFFICER] is.
November 23, 2011 at 3:58 pm #27149sonic.penguin
ModeratorI tested the above on the original DOAE and on the Yuan Shao mod and for some reason it only breaks my mod…
Thats going to totally screw up my battle taunts…
November 23, 2011 at 4:09 pm #27150MiDKnighT
ModeratorPenguin, I've had my ROM borked a couple of times recently by the text editor. I think it has to do with extending the size of the text bank too large.
" Go home and tell Liu Bei how terrible [OFFICER] is."
In the original DoaE and in the Yuan Shao mod there is probably a little bit of room to spare in the text bank, yours is probably full and hence extending it by a few characters is borking your ROM. I'm *guessing* that's what's happening.
November 23, 2011 at 4:43 pm #27151ludmeister
ParticipantQuote:Penguin, I've had my ROM borked a couple of times recently by the text editor. I think it has to do with extending the size of the text bank too large.My name is Ludmeister and I approve this message :cactuar:
In all seriousness, when I was doing my very simple text edits to finish off my mod, I borked my ROM a couple of times too, and this was exactly what I suspected was happening. Especially since text seems to not be stored in character-by-character format, but in a somewhat compressed way, it makes sense that even removing characters has a chance of making compressed size too large. I literally was storing a backup of my work every edit I made to make sure I didn't lose my work.
Text editing for Destiny of an Emperor seems to be a risky enterprise… not that it can particularly be helped (I wouldn't guess).
When all else fails... manipulate the source code.
November 23, 2011 at 7:36 pm #27152DragonAtma
ModeratorPost here and tell Lord Yuan Shu how terrible [this corruption] is.
…seriously, though, they did say that the text is divided into two groups; it's possible that said line is the last line of the first group — which could mean that lengthening it may override vital nontext characters.
November 24, 2011 at 12:15 am #27153sonic.penguin
Moderatoractually, i tried changin the text to just 'test' and it still borked my rom. I tried editing other roms and they were fine though…. every time i try to edit the line it messes up the rom.
November 24, 2011 at 1:18 am #27154MiDKnighT
ModeratorI'd recommend to give Niahak your pre-borked ROM and tell him which line to edit. That might help him see where the borking is happening.
November 24, 2011 at 3:35 am #27155sonic.penguin
Moderatorafter multiple attempts to get DOAEditor to work, it (finally) edited the line WITHOUT messing up the rom. I wonder why it was being so picky with that text line?
November 24, 2011 at 2:32 pm #27156MiDKnighT
ModeratorIn the midst of all these borked ROM posts, I again want to thank Niahak for his awesome tool and his contributions to the DoaE modding community! :thumright:
Hopefully we get the borking thing figured out. My guesstimate is that it has to do with extending the text bank beyond its limit.
November 24, 2011 at 3:24 pm #27157Niahak
ModeratorHey guys,
I'm out of town for the long weekend, but I'll get to the bottom of this when I get back.
Right now, the editor makes the following check when it prepares to save all the text:
1. Converts to hexadecimal
2. Checks the length of that hexadecimal against a static value (here's where I think the problem is – the value's too high so it could copy over important stuff)
3. If the length is too high, it should pop up a messagebox saying so. If you are not seeing this messagebox it is probably borked.
4. It'll also refuse to save the ROM.
I've suspected for a while that this step wasn't working right. I apologize for all your ROM-brokenness. :(
November 24, 2011 at 11:35 pm #27158sonic.penguin
Moderatormeh, just takes leaving a back up and saving frequently. Kind of an inconvenience, but still definitely better than editing each line of hex individually. Tool is still good in my book FLEXX
November 25, 2011 at 4:03 am #27159sonic.penguin
ModeratorSomehow it seems like the rom having a lot more text issues, might try one of the earlier builds and see if it still lets me edit text.
-
AuthorPosts
- You must be logged in to reply to this topic.

