Forum Replies Created
-
AuthorPosts
-
sonic.penguin
ModeratorEmailed the latest file w/ a few things:
1. The mismatch list just doesn't seem to match up with the addresses.
2. The last person in the formation going first locks things up still. Wasn't this fixed? Maybe Patch 1.2 didn't have this fix.
This is from the Rise of Ieyasu Thread
Quote:I've had stack overflow issues before. This bug isn't overflowing the stack…but it gets fairly close. Ie…it gets within 10 bytes or so of overflowing the stack. Perhaps I should try limiting it further.
To understand the bug more let me show you what is happening. There are a handful of flavors of the bug but they basically end up doing the same kind of thing… Here's a different variation of the same problem:
It's enemy 09's turn:
$A92C:A6 78 LDX $0078 = #$09 A:06 X:12 Y:5E S:1C P:nvUBdIZC
$A92E:B9 A0 65 LDA $65A0,Y @ $65FE = #$12 A:06 X:09 Y:5E S:1C P:nvUBdIzC
Switch to page 08:
$C4B6:68 PLA A:00 X:FC Y:00 S:11 P:nvUBdIZC
$C4B7:8D F9 FF STA $FFF9 = #$AC A:08 X:FC Y:00 S:12 P:nvUBdIzC
PC jumps to EE79:
$86AE:F0 0B BEQ $86BB A:00 X:0A Y:0E S:10 P:nvUBdIZc
$86BB:A0 05 LDY #$05 A:00 X:0A Y:0E S:10 P:nvUBdIZc
$86BD:B1 CC LDA ($CC),Y @ $0762 = #$00 A:00 X:0A Y:05 S:10 P:nvUBdIzc
$EE79:08 PHP A:00 X:0A Y:05 S:0D P:nvUBdIZc
$EE7A:48 PHA A:00 X:0A Y:05 S:0C P:nvUBdIZc
Switch to page 08:
$C4B6:68 PLA A:00 X:FC Y:00 S:05 P:nvUBdIZC
$C4B7:8D F9 FF STA $FFF9 = #$AC A:08 X:FC Y:00 S:06 P:nvUBdIzC
Going to switch pages to page 01:
$8000:A9 01 LDA #$01 A:00 X:09 Y:5E S:1C P:nvUBdIZC
$8002:20 82 C4 JSR $C482 A:01 X:09 Y:5E S:1C P:nvUBdIzC
$C482:85 44 STA $0044 = #$1E A:01 X:09 Y:5E S:1A P:nvUBdIzC
$C484:85 ED STA $00ED = #$1E A:01 X:09 Y:5E S:1A P:nvUBdIzC
Push "01" to the stack:
$EF08:A5 ED LDA $00ED = #$01 A:00 X:FC Y:00 S:09 P:nvUBdIZC
$EF0A:48 PHA A:01 X:FC Y:00 S:09 P:nvUBdIzC
Pulling "01" from the stack and switching to that ROM page:
$C4B6:68 PLA A:00 X:0E Y:1C S:06 P:nvUBdIZc
$C4B7:8D F9 FF STA $FFF9 = #$AC A:01 X:0E Y:1C S:07 P:nvUBdIzc
The RTI here dumps us back to $86BF on ROM page 1 which is invalid.
$EF37:40 RTI A:00 X:0A Y:05 S:0D P:nvUBdIZc
$86BF:C4 AD CPY $00AD = #$85 A:00 X:0A Y:05 S:10 P:nvUbdIZc
$86C1:73 UNDEFINED A:00 X:0A Y:05 S:10 P:NvUbdIzc
So the whole bug is that it's executing code on the wrong page (01). I guess it expects to be on the original page which is page 08.
Regarding the IRQ stuff, the bottom of each ROM page references EE79 but not sure how that all works with IRQ just yet:
000000004804000008AC79EED8FF79EE
Writing this all out has helped me understand it a bit more but not sure how to fix just yet.
And this, but ROLB is now 1MB so…
Quote:That said, sonic, I think FOW is already 1MB right? We can work on getting RoLB and Ieyasu to 1MB then I can work on a fix in the 1MB format. I think this might be easier to fix in the 1MB ROM, or at least I'd need to fix in 1 format instead of 2.It would be easier to get RoLB and Ieyasu to 1MB than it would be to fix this bug in the 500k version.
So sonic here's my job for you:
1. Expand RoLB and Ieyasu via DoaEditor.
2. Make sure the hex lines up with the first post here:
http://www.lordyuanshu.com/forums/topic/uber-rom-expansion
If not, correct it with what is in the 1st post.
3. Fix the duel text (it will be the default duel text after the expansion).
4. If there are any problems with the expansion, send me the ROM and save state.
5. Then let's try to make the problem happen on a 1MB ROM. If you can get it to happen, send me ROM and save state.
I think we should just scrap the 500k ROMs – ie…get them all upgraded to 1MB.
The only difference I found in the code was at 0x80000 and 0x80001 being 5A and E4, instead they were C4 and 4C
June 13, 2013 at 5:40 pm in reply to: Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com ) #40474sonic.penguin
Moderatoremailed.
June 13, 2013 at 3:17 am in reply to: Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com ) #40472sonic.penguin
ModeratorQuote:0x4450-0x446F = mismatch list – winner0x4470-0x448F = mismatch list – loser
Have these changed?
sonic.penguin
ModeratorWorking on version 3.0!
Essentially, I'm changing it to what I originally wanted. Starting with Lu Bu and keeping him throughout. It's a lot of changes, but my past mod experiences has allowed me to finally bring it to fruition. This just wasn't possible 2 years ago… At any rate, stay tuned!
June 12, 2013 at 8:22 pm in reply to: Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com ) #40470sonic.penguin
ModeratorAwesome. Finally an end to the complete randomness of the retreat code. Maybe it will actually be useful to get away from some bosses.
sonic.penguin
ModeratorNew Integral Parts for DOAEditor:, my 2 cents
*Cave Modfications and correcting the exit points to be moved to the same location.
*Shop Menu Modifier + Price Modifier
*Additional Stat Modifier ie: Politics/Vitality
sonic.penguin
ModeratorNew Integral Parts for DOAEditor:, my 2 cents
*Cave Modfications and correcting the exit points to be moved to the same location.
*Shop Menu Modifier + Price Modifier
*Additional Stat Modifier ie: Politics/Vitality
sonic.penguin
ModeratorFor the new weapons, we'd really need a shop expansion making all shops sell the same amount of items as Chang An. Gold gains would really be an even bigger player.
June 11, 2013 at 4:22 pm in reply to: Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com ) #40467sonic.penguin
ModeratorThanks for updating 1.2. I need the address which makes the officers STR above a certain amount always duel, although I thought it was only INT based
I'm working on revamping Rise of Lu Bu and Hua Xiong isn't accepting duels from anyone (231 STR, 91 INT) unless someone super weak in which he is sending out someone else in his place which winds up being himself?? Heh. That is something that needs to be fixed with dueling that has bothered me is if there is no other strong person, they send themselves out which winds up being really quirky with the text Hua Xiong says to himself "Hua Xiong, go take care of that fool".
June 10, 2013 at 10:52 pm in reply to: Destiny of an Editor (permanent beta test mode active) #27566sonic.penguin
ModeratorQuote:"Z8??Qong", "Zh5ng Fei"I had that issue when applying patch 1.3
sonic.penguin
ModeratorJust give addresses on the guide when you're done :)
sonic.penguin
ModeratorThe slot method (previous version) seemed to work pretty good. Too much uniqueness might just be overbearing for modders. Customizing officers was only something I did rarely and only in such cases as end-game bosses or super unique situations ie: Lu Bu @ Hu Lao Gate always casting Duel or Guan Yu using godly tactics and skipping the crappy ones.
So you CAN make things like that but it might just be overbearing for modders and will only be used in rare cases at least in my experience.
sonic.penguin
ModeratorQuestions:
1So officers learn tactics based on profile regardless of intelligence with this modification?
2Is there a default profile if none is assigned or do officers learn nothing.
3If nothing is assigned to enemy officers, how is their profile set?
sonic.penguin
ModeratorSheesh! Do you live in Alaska and are snowed in or something? 4 weeks without power and I'd lose everything in the fridge, not to mention my mind :P
June 8, 2013 at 12:19 am in reply to: Destiny of an Emperor RH Guide ( MOVED! to http://doaerhguide.wikidot.com ) #40465sonic.penguin
ModeratorAlrhough it's a moot point at this time, IPS 1.2 still has the stack issue whenever dueling text pops up. I recently applied 1.2 to work with it on ROLB to update it a bit, plus I added the 2bit text, menu upgrades, portraits, etc. I might be sending it your way to get that resolved unless it was posted on some thread on what to fix for that.
As for the 1.3 IPS, I might not be adding that to Flames of Wu simply b/c it's going to change so much stuff, even officer stats, location/item names, tactic names/damage, weapon names/damage, item lists, etc and then I'd have to rebalance things with the new stat system.
Also, to make the new stat system more user friendly, Niahak hopefully could apply a DOAEditor version to make that process easier. I prefer user defined values rather than derived values b/c Zhang Fei really should only have like 40/255 politics, but I understand why you have your system as such.
-
AuthorPosts