DOAEditor and Romhacking for Destiny of an Emperor

Use this forum to discuss hex-editing or otherwise altering any Three Kingdoms game, and to promote modded titles and patches.

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby MiDKnighT » Mon Sep 24, 2018 12:32 pm

rcwardle wrote:Does anyone have in their notes where the coding needs to be changed for the starting location at the top of the game? Always exit at the start of the game and return after saving/quiting to where Lou Sang village is originally coded.


Try this:
http://www.lordyuanshu.com/forums/topic ... c-in-doae1

If I remember Lousang had 1 extra warp for some reason. Search the ROM for the outside warp address for Lousang and you should find them: 09070713
User avatar
MiDKnighT
Sage
 
Posts: 302
Joined: Mon Oct 16, 2006 4:16 pm

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby Boneduke » Mon Sep 24, 2018 12:35 pm

rcwardle wrote:Does anyone have in their notes where the coding needs to be changed for the starting location at the top of the game? Always exit at the start of the game and return after saving/quiting to where Lou Sang village is originally coded.


If you move the warp location via DOAEditor that will take care of your position when you exit Luosang on subsequent times you enter. That is because when you leave a town, the game doesnt have a pre-programmed location where it is instructed to put you. It just assumes "I'll put the player at whatever location they were at, when they entered the town.".

However there are other circumstances where that kind of assumption doesn't work. Namely where the game should put you the first time you leave Luosang (you didn't technically "enter" it - so the game can't assume any location). To change that, you have to use a hex editor.

The locations are:

0x035564
0x036001

They are not hard to find actually, you just need to search for the location of the original Luosang exit and you'll find them. As soon as you exit Luosang normally, you are in a location that is programmed into the ROM. Look up that location in the NES memory at $0060. You'll find it says 09070713. So search for that value in the ROM. You'll find its also found at the two locations I mention above. Change those to the location of your new Luosang, and you're all set. Use the same method of looking in the NES memory if you're not sure where the location of your new Luosang is.
Boneduke
Initiate
 
Posts: 67
Joined: Sun Aug 13, 2017 5:09 pm

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby rcwardle » Mon Sep 24, 2018 7:02 pm

Awesome! Thank you for the help guys.
rcwardle
Tyro
 
Posts: 12
Joined: Thu Feb 07, 2013 1:35 am

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby sonic.penguin » Thu Nov 01, 2018 1:52 am

An old bug is finally resolved. One where enemies randomly attack themselves.

Problem was that they would choose to use a heal tactic then due to a bad value in memory was ignoring the tactic and attacking. Unfortunately for them the target was still set for the heal so they end up hitting their own guys. Fix:

0x59A0:
A678BDAA60AAA91E2082C420E099A91E
2082C420B099A91E2082C40000000000
A678A5F3C900D00420E099608A0A0A0A
65F4EAEAAABDB065A6789D006220E099
60000000000000000000000000000000
A6789D0062C900F005A9019DD061203B
DFA20660000000000000000000000000


Image
Wow, its about time!... and whats this? Unlimited officer leave events AND a new IPS patch! You guys really have got it good now. When I was your age we had to hex-edit line by line up hill both ways in the snow barefoot, blah blah.

Keep the powder flowing everyone. Did Boneduke ever finish his mod?
User avatar
sonic.penguin
Langzhong
 
Posts: 525
Joined: Fri Sep 30, 2011 8:20 pm

Re: DOAEditor and Romhacking for Destiny of an Emperor

Unread postby Boneduke » Thu Nov 01, 2018 11:10 am

sonic.penguin wrote:Keep the powder flowing everyone. Did Boneduke ever finish his mod?


Was hoping to get it released in October but didnt quite make it. I'd say within the next 2 weeks for sure. Just a couple finishing touches left!
Boneduke
Initiate
 
Posts: 67
Joined: Sun Aug 13, 2017 5:09 pm

Previous

Return to Three Kingdoms Game Editing & Mods

Who is online

Users browsing this forum: No registered users and 1 guest

Copyright © 2002–2008 Kongming’s Archives. All Rights Reserved