Home › Forums › Destiny of an Emperor › Destiny of an Emperor Hacking Notes
- This topic has 37 replies, 6 voices, and was last updated 15 years ago by Xian Zhu Xuande.
-
AuthorPosts
-
February 14, 2009 at 10:29 pm #29986Lord Yuan ShuKeymaster
As for Guo Si aka Guo Ji…he has always been rare. I mean we talk about Wang Gui and Zhou Chao and how they sometimes aren’t around…95% of the time, Guo Ji is not around. For me at least. Probably depends on the rom, the game, etc. But you can’t count on his spot. Generally you will only fight Xu Rong at that spot.
Well as far as MeteorStrike is concerned…I did read his bit how he sees what FCE Ultra spews out. However I wondered about the strange Yuan Shu text because he found the Bow in Ji Zhou, something no one knew about before that. So I figured he must have been able to find stuff without ‘doing’ it, but maybe in that particular instance when you enter Ji Zhou the code for the bow comes out since it’s present there. Oh well, that’s still a big help to get an extra Bow though they can be obsolete by that time (often times I go through Jing Zhou for Swords before the Yuan Shao fight anyway).
That Scimitar in Cheng Du would be nice. Care to put a screen or at least explain the location? I searched around the upper part of Cheng Du but I don’t care to search every spot on the ground lol. Maybe if my speed-up worked on Linux Emulators but it doesn’t for some reason….
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingFebruary 14, 2009 at 10:34 pm #29987Xian Zhu XuandeParticipantEditing Guide for Rebels, Bandits, Brigands and Pirates
Below you can find all the information you need to edit strength, intelligence, agility, attack power, defense power, and soldiers for the Rebels, Bandits, Brigands and Pirates through the game. Thanks go out to MeteorStrike! If not for his research this would not be possible.
Random Enemies’ Strength/Intelligence/Agility
Strength, Intelligence and Agility values for Bandits, Brigands, Pirates and Rebels are stored in two tables, one for Bandits, Brigands and Pirates, and another dedicated to Rebels, with eight entries—one for each chapter—and three hexadecimal values for each entry. Each entry’s hexadecimal values correspond to Strength, Intelligence and Agility. Strength and Agility are modified by a variance factor (see STR/INT Variance Factor below) but Agility is assigned as a raw value. Please note that if Strength or Intelligence are increased above 255 by the variance factor they will reset to 0 and start counting up from there. Values below 213 for Strength and Intelligence are probably safe unless a higher variance has been entered.
0x3E45B = Pirate/Brigand/Bandit Force
Code:Ch.1 20 17 04 = 32 23 04
Ch.2 24 1A 0C = 36 26 12
Ch.3 2A 1E 14 = 42 30 20
Ch.4 30 22 1C = 48 34 28
Ch.5 37 27 28 = 55 39 40
Ch.6 3F 2D 38 = 63 45 56
Ch.7 49 34 48 = 73 52 72 * Rebel Force only in Wu
Ch.8 54 3C 58 = 84 60 88 * Rebel Force only in Wei0x3E473 = Rebel Force
Code:Ch.1 2A 1E 08 = 42 30 08
Ch.2 30 23 18 = 48 35 24
Ch.3 38 28 28 = 56 40 40
Ch.4 40 2E 38 = 64 46 56
Ch.5 49 34 50 = 73 52 80
Ch.6 54 3C 70 = 84 60 112
Ch.7 61 45 90 = 97 69 144
Ch.8 6F 50 B0 = 111 80 1760x3E48B = STR/INT Variance Factor
Strength, Intelligence and Agility values for Bandits, Brigands, Pirates and Rebels are randomized based on one of sixteen hexadecimal values stored at 0x3E48B, which are, by default, 00 = 0, 19 = 25, 26 = 38, or 33 = 51. There are many duplicate entries. To determine the variance this value is applied to the equation 1+($value/256). Please see below for formulas for the game’s default values. And also note that if your multipliers create numbers larger than 255 they will cycle down to 0 an start counting up again.
Code:00 = 1 + ( 0 / 256 ) = 1.00
19 = 1 + ( 25 / 256 ) =~ 1.10
26 = 1 + ( 38 / 256 ) =~ 1.15
33 = 1 + ( 51 / 256 ) =~ 1.20Random Enemies’ Attack
Attack values are stored with one hexadecimal entry per chapter per unit of Pirate, Brigand, Bandit and Rebel Force. Pirates, Brigands and Bandits share attack values, but Rebels have their own table. To change defense values enter the desired value from the Weapon Selection Table below. Please note that the hexadecimal values entered correspond to a weapon in the game, not to a raw value (e.g. 09 would give the unit the same attack power as the Sword, which is 120 assuming you haven’t changed it elsewhere in the ROM).
0x3E49B = Pirate/Brigand/Bandit Force
Code:Ch.1 03 = 20 (Ax)
Ch.2 04 = 30 (Club)
Ch.3 04 = 30 (Club)
Ch.4 05 = 50 (Spear)
Ch.5 05 = 50 (Spear)
Ch.6 06 = 70 (Sabre)
Ch.7 07 = 100 (Trident) * Rebel Force only in Wu
Ch.8 08 = 80 (Bow) * Rebel Force only in Wei0x3E4A3 = Rebel Force
Code:Ch.1 02 = 15 (Flail)
Ch.2 03 = 20 (Ax)
Ch.3 03 = 20 (Ax)
Ch.4 04 = 30 (Club)
Ch.5 04 = 30 (Club)
Ch.6 05 = 50 (Spear)
Ch.7 05 = 50 (Spear)
Ch.8 06 = 70 (Sabre)Weapon Selection Table
Code:00 = 0 (N/A)
01 = 10 (Dagger)
02 = 15 (Flail)
03 = 20 (Ax)
04 = 30 (Club)
05 = 50 (Spear)
06 = 70 (Sabre)
07 = 100 (Trident)
08 = 80 (Bow)
09 = 120 (Sword)
0A = 140 (Battleax)
0B = 150 (Scimitar)
0C = 130 (Crossbow)
0D = 170 (Lance)
0E = 190 (Wan Sheng)
0F = 190 (Bo Ye)
10 = 240 (Qing Guang)
11 = 240 (Nu Long)
12 = 240 (Qing Long)
13 = 250 (Halberd)Random Enemies’ Defense
Attack values are stored with one hexadecimal entry per chapter per unit of Pirate, Brigand, Bandit and Rebel Force. Pirates and Brigands share defense values, but Bandits and Rebels have their own tables. To change defense values enter the desired value from the Defense Selection Table below.
0x3E4BB = Pirate/Brigand Force
Code:Ch.1 00 = 10
Ch.2 00 = 10
Ch.3 01 = 20
Ch.4 02 = 25
Ch.5 03 = 35
Ch.6 04 = 40
Ch.7 05 = 45 * Rebel Force only in Wu
Ch.8 06 = 48 * Rebel Force only in Wei0x3E4C3 = Bandit Force
Code:Ch.1 00 = 10
Ch.2 00 = 10
Ch.3 01 = 20
Ch.4 01 = 20
Ch.5 02 = 25
Ch.6 03 = 35
Ch.7 04 = 40 * Rebel Force only in Wu
Ch.8 05 = 45 * Rebel Force only in Wei0x3E4B3 = Rebel Force
Code:Ch.1 00 = 10
Ch.2 01 = 20
Ch.3 02 = 25
Ch.4 03 = 35
Ch.5 04 = 40
Ch.6 05 = 45
Ch.7 06 = 48
Ch.8 07 = 50Defense Selection Table
Code:00 = 10
01 = 20
02 = 25
03 = 35
04 = 40
05 = 45
06 = 48
07 = 50
08 = 60
09 = 70
15 = 80
0B = 85
16 = 90
28 = 95
0D = 100
0A = 110
43 = 130
0C = 160
0E = 170
0F = 180
48 = 185
59 = 200
C3 = 215
C8 = 230
51 = 244
1F = 255Random Enemies’ Soldiers
There are four possible soldier values for Bandit, Brigand, Pirate and Rebel Forces in each chapter. Whenever a unit is generated it is assigned one of the values below. Values are stored in two pairs. To convert to decimal reverse each hex value, treat as a single value, and convert to decimal (e.g. 0E 01 = 10E = 270). Do this in reverse to make a proper two-party hexadecimal entry into the ROM.
Chapter 1 0x3E41B
Code:64 00 = 100
64 00 = 100
78 00 = 120
8C 00 = 140Chapter 2 0x3E423
Code:78 00 = 120
78 00 = 120
96 00 = 150
B4 00 = 180Chapter 3 0x3E42B
Code:C8 00 = 200
DC 00 = 220
E6 00 = 230
FA 00 = 250Chapter 4 0x3E433
Code:E6 00 = 230
FA 00 = 250
0E 01 = 270
2C 01 = 300Chapter 5 0x3E43B
Code:2C 01 = 300
40 01 = 320
5E 01 = 350
7C 01 = 380Chapter 6 0x3E443
Code:BC 02 = 700
52 03 = 850
84 03 = 900
E8 03 = 1000Chapter 7 0x3E44B
Code:E8 03 = 1000
4C 04 = 1100
B0 04 = 1200
14 05 = 1300Chapter 8 0x3E453
Code:DC 05 = 1500
72 06 = 1650
08 07 = 1800
6C 07 = 1900Many thanks to MeteorStrike for making this possible!
March 27, 2009 at 4:28 am #29988Xian Zhu XuandeParticipantCapcom did not take precautions to handle the possibility that Zhang Fei or Guan Yu might not be in your party once you’ve completed Shu. In fact, if they’ve ever been removed from your party, the game loses track of them, and will delete someone random from your party (them if you put them in the right slot) and will not propagate them into Guiyang and Changsha. So make sure you do not make them billetable with Destiny of an Editor in your mod.
March 27, 2009 at 1:33 pm #29989Lord Yuan ShuKeymasterYea, I mentioned that during my Yuan Shu mod actually a few weeks back. Should have mentioned it in here too….
Let’s say you took both of those guys out and had a full party of 7. The bottom two characters will magically disappear from the game, while the Xiahou’s still show up at Chang Sha and Gui Yang.
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingMarch 27, 2009 at 2:03 pm #29990DragonAtmaModeratorWhat if you hunt down and change the "let’s dump the two guys who have been there forever!" code?
March 27, 2009 at 2:20 pm #29991Lord Yuan ShuKeymasterI don’t know, it’d be complicated I’m sure. The game wasn’t made to put those two guys in billeting and in turn it fucks up if they are not in the party at the time when they are sent to Chang Sha and Gui Yang. So with the game not seeing Zhang Fei or Guan Yu in your party, they just cut out the bottom two characters (or bottom one character, if you only put one of them in your billeting).
It would probably be less of a hassle for us to just work around it and ensure that the two characters who join as Zhang Fei and Guan Yu have no reason to be taken out (or simply, cannot be taken out so this bug doesn’t happen).
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingMarch 27, 2009 at 5:35 pm #29992Xian Zhu XuandeParticipantThey didn’t even appear in Changsha and Guiyang for me. No matter who vanished from my party the thrones in both cities were empty, though it *did* remove the bottom two slots from my war party. I imagine the game tracks their slots from the start and once they’ve changed there’s no really way to fix it up since it is stored in save data (just a guess). So no removing those two from the party.
March 30, 2009 at 9:50 pm #29993Xian Zhu XuandeParticipantI’ve mapped all the item references. :)
They are used in things like treasure contents, secret items on the map, and scripts.
Code:00 ~*006038 coins [glitch]
01 ~96 coins
02 ~237 coins
03 ~592 coins
04 ~1013 coins
05 ~1533 coins
06 ~4028 coins
07 ~29 food
08 ~125 food
09 ~821 food
0A ~2011 food
0B ~5902 food
0C ~10151 food
0D ~2098390 food
0E ~2148799 food
0F ~*86607 food [glitch]
10 [blank] ->
16 [blank]
17 Silver Key ->
18 Silver Key
19 Gemsword
1A Ma Letter [???]
1B Gun Powder
1C Intro Letr
1D Iron Ore
1E Dead Wood
1F Saltpeter
20 [glitch]
21 Chi Tu Ma [Red Hare]
22 Zhou Letr [Zhang Ltr]
23 Gold Key
24 Gullwing ->
28 Gullwing
29 [blank] ->
2A [blank]
2B Smoke Pot
2C Steed
2D Resurrect ->
30 Resurrect
31 Elixir A
32 Elixir B
33 Elixir C
34 Elixir D
35 Power Pill ->
38 Power Pill
39 Dagger ->
40 Dagger
41 Flail [Club]
42 Ax [Ax]
43 Club [Mace]
44 Spear [Flail]
45 Sabre [Spear]
46 Trident
47 Bow
48 Sword
49 Battleax [Great Ax]
4A Scimitar
4B Crossbow
4C Lance [Dadao]
4D Wan Sheng [Wansheng]
4E Bo Ye [Boye]
4F Qing Guang [Qingguang]
50 Nu Long [Nulong]
51 Qing Long [Qinglong]
52 Halberd
53 Robe ->
59 Robe
5A Leather ->
5B Leather
5C Padded ->
5D Padded
5E Ring M ->
5F Ring M
60 Chain M ->
61 Chain M
62 Splint M ->
63 Splint M
64 Plate M ->
65 Plate M
66 Bandana ->
68 Bandana
69 Cap
6A Hood
6B Wood H
6C Copper H
6D Bronze H
6E Iron H
6F Steel H
6F [glitch] ->
7F [glitch]
80 "I found a small keyhole." ->
FF "I found a small keyhole." -
AuthorPosts
- You must be logged in to reply to this topic.