Save State Hacking Guide
This is a set of instructions for hex editing a .brm file for Lunar: Eternal Blue. This can enable you to alter many states of the game, including giving characters stats, items, and equipment not normally attainable in the game. You can download a corresponding hacked save state from the game saves section.
The instructions here are provided by netequevaris, a.k.a. Steven Benjamin. LunarNET is only hosting the content and has provided some minor formatting/editing changes.
This is the set of instructions for hex editing a brm file for Lunar Eternal Blue. It is possible to hack the iso file itself (I did), but with that, it's nearly impossible to find the gold and magic exp values (and without the magic exp, it's hard to save with Hiro at level 99 at the start of the game), so the brm is the most convenient hack, unless people just want to play a hacked version.
Location: Pos. 1 to 8 - Pos. 9 to 16
00000AC0: 00 00 01 63 03 E7 03 E7 - 03 E7 03 E7 FF FF FF FF
The 4th position is important, it is the level modifier (for Hiro - all character information is stored separately). I have mine set to level 99, but, unless you are levelling yourself, you should either not use it, or set it to level 99 due to complications that arise [if you set it to level 99, you also need to fix your stats]. The fifth and sixth positions are for Hiro's current hp, and the seventh and eighth position are for his maximum mp.
The same is true for positions 9-12, the first two are for current mp, and the second two are for maximum mp. The next eight values (including the first four values of the next line) are for Hiro's stats. In order, they are:
Attack, Defense, Wisdom, Magic Endurance, Luck, Agility, Range, and # of attacks. This is not the natural order found in the stat information in the 'equip' page on the character information screen in the game.
Location: Pos. 1 to 4 | 5 to 8 | - | Pos. 9 to 12 | 13 to 16
00000AD0: FF DC 28 28 | 00 01 1C 43 | - | 00 00 FF D7 | 03 06 09 DC
For some reason, the agility number (here, in the second position) does not work well at FF. After the stat digits, we have two important sets of 4 values. The first set (here 00 01 1C 43) represents experience earned. It has no function other than giving you a nice, big number - you will not level up rapidly by giving yourself 9 million exp at the start of the game. The next four values (00 00 FF D7) represent an interesting 'problem'. This is not TNL (so that 00 will not yield a level up). It corresponds to the amount of experience accumulated TNL. Thus if you need 100 exp TNL, and of that 100 you have earned 20, this value will be: 00 00 00 14 (hex value for 20) rather than the hex value for '80'. This field will not exceed 65000 or so exp points. Even if you use a code to get 9 million exp (and the number in the status screen will look massive), the game acts as though you have earned 65000 exp - so you will level rapidly at the start of the game, but, eventually, maximizing this number will yield you one level per edit.
The next 4 numbers are for Hiro's wind magic (the values of which are listed below). Simply setting the best magic is NOT a good idea. If you give yourself powerful wind magic without boosting the magic level, you will be stuck with your best spells but only at magic level 1. The best thing to do is to use Magic Experience to boost your magic level first, and then, if you want to modify what spells Hiro has then use these digits.
Location: Pos. 1 to 8 - Pos. 9 to 16
00000AE0: 0D 0E 0F 10 00 00 00 00 - 15 00 00 00 49 B3 7F A1
The first four digits are Hiro's 'sword magic' spells like Poe Sword. If you boost your level to 99 in 0AC, then you need to give yourself these four spells because you can only obtain them through the course of levelling. The next 4 values correspond to Hiro's non-existent magic spells. Some characters, like Lemina and Ronfar will have more values (Ice and Fire for Lemina, and Healing and Gambling for Ronfar). Positions 9-12 represent the magic gained from items - special item magic. The final four positions in this line correspond to Hiro's equipped items (the values of which are listed below).
Location: Pos. 1 to 8 - Pos. 9 to 14 | 15 to 16
00000AF0: 33 2B 0B 1B 36 46 46 49 - 4B 4C 50 50 51 51 | 04 06
The first two values of this line correspond to Hiro's 2 equipped accessories. The next 12 values (through value 14: the second '51') correspond to Hiro's inventory. The value '04' indicates 'Gwyn' and 06 represents his level. All characters' information is stored in the same order (and in the sequence: Hiro, Gwyn, Ronfar, Jean, Lemina, and Leo). Thus:
- Gwyn's data is stored from the end of 0AF0 until the last 6 values of 0B30, which begin Ronfar's 'set'.
- Jean's information begins in position 7 in line 0B70 and ends after the second value in line 0BB0.
- Lemina's information begins in the 3rd position of line 0BB0 and runs until the last 2 values in 0BE0.
- Leo's information begins in the last two places of line 0BE0 and runs through the tenth value in line 0C20.
- I have not entirely figured out Ruby's inventory, but it seems to begin after Leo's data, but I haven't gotten it to work.
A quick pointer on Hiro's inventory: at the start of the game, do NOT modify the first two items, which are necessary for the game to advance. Also, you can only modify brm files that have ONE save. Any more saves and your edits will not work. So, either do all your changes at once, or keep making new save files.
Sadly, my notes are a bit messy on the gold/magic exp values, but I know that gold is in line 0DB0 as are Magic Exp points (that Ruby holds). Offhand, it seems like values 4-6 represent Magic Experience and 10-12 represent gold. 98 96 7F will give you 9,999,999, which is the max for both. You can earn more gold through battles, but even when you enter shops, you only effectively have 9,999,999. It is also the maximum for your magic experience, which is more than enough to level up all of everybody's magic to level 30 and save as often as you'd like.
The characters' natural (i.e. if you were to level up) stats for level 99:
Hiro & Leo:
|
Ronfar:
|
Jean:
|
Lemina:
|
HP: 963
MP: 777
Atk: 255
Def: 128
Agl: 124
Wis: 192
Luck: 255
M. End: 128
# of Atk: 3
Range: 20
|
HP: 872
MP: 820
Atk: 192
Def: 112
Agl: 115
Wis: 224
Luck: 224
M. End: 128
# of Atk: 2
Range: 19
|
HP: 888
MP: 879
Atk: 192
Def: 112
Agl: 135
Wis: 224
Luck: 192
M. End: 112
# of Atk: 4
Range: 21
|
HP: 775
MP: 960
Atk: 112
Def: 96
Agl: 108
Wis: 215
Luck: 192
M. End: 133
# of Atk: 1
Range: 18
|
Here are the corresponding values for items in the game:
Item digits:
|
00 (NULL)
01 LEFT EYE JEWEL
02 RIGHT EYE JEWEL
03 MASK
04 WHITE DRAGON AURA
05 ENTRY PASS
06 BLUE DRAGON AURA
07 BLACK DRAGON AURA
08 BORGAN'S KEY
09 TEARS OF ALTHENA
0A RED DRAGON AURA
0B LUCIA'S PENDANT
0C RIGHT DRAGON EYE
0D LEFT DRAGON EYE
0E SPECIAL WINE
0F DELIVERY RECEIPT
10 LUNA'S LETTER
11 WHITE DRAGON CREST
12 BLUE DRAGON CREST
13 BLACK DRAGON CREST
14 RED DRAGON CREST
15 GODDESS CREST
16 NEEDLES (no effect, no image)
17 VITALITY VIAL
18 HERB
19 DOVER NUT
1A STAR LIGHT
1B SILVER LIGHT
1C ANGEL TEARS
1D HOLY WATER
1E SPRING WATER
1F SUNFLOWER SEEDS
20 PURITY HERB
21 DRAGONFLY WING
22 WHITE DRAGON WINGS
23 FIRE RING
24 HEAL RING
25 SNAKE RING
26 ANGEL RING
27 PARTY MASK
28 FRESH RING
29 REFRESHER RING
2A PLASMA RING
2B TRI-RING
2C ALTHENA'S LETTER
2D LOVE PENDANT
2E DRAGON ANGEL CREST
2F HEAT RING
30 PHOENIX RING
31 GODDESS PIN
32 ILLUSION RING
33 LUCIA'S TEAR
34 SHIRO TAIL
35 LYNX TAIL
36 DIMENSION RING
37 WIND PENDANT
38 EARTH CRUX
39 DAGGER
3A ANCIENT KNIFE
3B RITUAL DAGGER
3C SILVER DAGGER
3D FABULOUS DAGGER
3E SHORT SWORD
3F LONG SWORD
|
40 GREAT SWORD
41 IRON SCIMITAR
42 FLAME SABER
43 BATTLE SHADOW
44 PLATINUM SCIMITAR
45 PLATINUM BLADE
46 GRIM SABER
47 ONYX SWORD
48 ICE BLADE
49 DARK SCIMITAR
4A WIND SWORD
4B GHALEON'S SWORD
4C ALTHENA'S SWORD
4D WHITE FANG
4E BATTLE SABER
4F BLOOD SABER
50 GRIM RAPIER
51 SILVER SHARION
52 FEATHER FAN
53 IRON FAN
54 GLASS FAN
55 RAZOR FAN
56 GODDESS FAN
57 KAISER KNUCKLE
58 HELL SPIKE
59 THUNDER CLAW
5A ATOMIC PUNCH
5B FLAME FIST
5C BOW
5D MYSTIC BOW
5E DARK BOW
5F FURY BOW
60 IMMORTAL BOW
61 WATER STAFF
62 THUNDER STAFF
63 ONYX STAFF
64 SOUL STAFF
65 DRAGON STAFF
66 SHAMAN STAFF
67 MACE
68 FLAIL
69 BATTLE HAMMER
6A IRON MACE
6B THOR'S HAMMER
6C HOLY STAFF
6D PICK AXE
6E JUSTICE ROD
6F MAGIC ROD
70 SINISTRON
71 PEASANT CLOTHES
72 LEATHER ARMOR
73 SCALE ARMOR
74 IRON ARMOR
75 STEEL ARMOR
76 PLATE MAIL
77 KNIGHT ARMOR
78 ONYX ARMOR
79 PHOENIX MAIL
7A LIGHTNING ARMOR
7B THUNDER ARMOR
7C ANGEL ARMOR
7D PLATINUM ARMOR
7E KING'S MAIL
7F DRAGON ARMOR
|
80 PRETTY DRESS
81 FLARED DRESS
82 GRACEFUL DRESS
83 BATTLE DRESS
84 AURA DRESS
85 GODDESS DRESS
86 SEAL WRAP
87 EAGLE WRAP
88 TIGER WRAP
89 IMMORTAL WRAP
8A SPIKED JACKET
8B WISDOM ROBE
8C JUDGMENT ROBE
8D AURA ROBE
8E BLAZING ROBE
8F IMMORTAL ROBE
90 ICE ROBE
91 FLAME ROBE
92 ROBE OF EYES
93 CLOTH TUNIC
94 SHELL ARMOR
95 PRIEST'S CLOTHES
96 SAINT CLOTHES
97 JUSTICE CLOTHES
98 GAMBLIN' SUIT
99 WOOD SHIELD
9A IRON SHIELD
9B STEEL SHIELD
9C PLATINUM SHIELD
9D THUNDER SHIELD
9E ONYX SHIELD
9F FLAMING SHIELD
A0 STORM SHIELD
A1 DRAGON SHIELD
A2 IRON BRACELET
A3 STEEL BRACELET
A4 ONYX BRACELET
A5 AURA BRACELET
A6 GODDESS BRACELET
A7 JUSTICE BRACELET
A8 LIFE BRACELET
A9 PSYCHO BRACELET
AA MYSTRA BRACELET
AB CHAIN HELM
AC IRON HELM
AD STEEL HELM
AE PLATINUM HELM
AF THUNDER HELM
B0 ONYX HELM
B1 PYRO HELM
B2 SAFETY HELM
B3 DRAGON HELM
B4 BANDANNA
B5 LUCKY BANDANNA
B6 STUDLY BANDANNA
B7 GOLD CLIP
B8 GODDESS CLIP
B9 WISDOM CAP
BA JUSTICE BANDANNA
BB HEADBAND
BC PINK BOW
BD WISDOM TIARA
BE MYSTERY TIARA
BF STAFF (Gwyn's weapon, useless)
|
Here are the corresponding values for magic spells in the game:
Magic digits:
|
00 (NULL)
01 BOOMERANG
02 MULTI-BOOMERANG
03 CROSS BOOMERANG
04 SQUALL
05 TEMPEST
06 GALE VORTEX
07 RUSHING BREEZE
08 FORCE WIND
09 BLACK STORM
0A CYCLONE
0B SUPER CYCLONE
0C SOUL BLASTER
0D POE SWORD
0E SYBILLUM SWORD
0F BATTALION SWORD
10 DARK SWORD
11 HEAL LITANY
12 RECOVERY LITANY
13 PURITY LITANY
14 CALM LITANY
15 REST LITANY
16 TRANQUIL LITANY
17 LIGHT LITANY
18 BRIGHT LITANY
19 SHINING LITANY
1A PRIEST LITANY
1B SAINT LITANY
1C ALTHENA LITANY
1D CHANCE DICE
1E LUCKY DICE
1F DESTINY DICE
20 RISK ROULETTE
21 SWORD ROULETTE
22 DESTINY ROULETTE
23 ANGER FLAME
24 RAGE FLAME
25 IMMORTAL FLAME
26 HADES WAGER
27 RECOVERY WAGER
28 PURITY WAGER
29 HERBAL BREEZE
2A CLEAN MAGIC
2B LOKI MAGIC
2C REVIVE MAGIC
2D BUTTERFLY DANCE
2E SWALLOW DANCE
2F VULTURE DANCE
|
30 NEEDLE STEP
31 NEEDLE KICK
32 NEEDLE CHOP
33 CHARM DANCE
34 TEMPTING DANCE
35 FANTASY DANCE
36 DOPPLE DANCE
37 PUNK DANCE
38 SLAM DANCE
39 HADUKEN
3A AURA WAVE
3B COMET TAIL
3C BLUE DRAGON CHOP
3D FLAME
3E FLAME SHOT
3F FLAME BOMB
40 FIRE RING
41 HOT ZONE
42 BURNING RAGE
43 POWER FLAME
44 POWER FACTORY
45 POWER DRIVE
46 PYRO PILLAR
47 PYRE PILLAR
48 CREMATORIUM
49 ICEPICK
4A ICE ARROW
4B ICE LANCE
4C ICE WALL
4D FREEZE TRAP
4E FREEZE CLAW
4F ICE SHELL
50 ICE BARRIER
51CRYO-SHIELD
52 BLIZZARD
53 ICE DRIVER
54 NITRO DAGGER
55 SPELL SUCKER
56 PRESSURE COOKER
57 MAGIC SWIPER
58 MAGIC SHIELD
59 ROCK VIPER
5A ROCK COBRA
5B ROCK RIOT
5C EARTH SPIKE
5D EARTH KNUCKLE
5E EARTH FANGS
5F ASTEROID BREAK
|
60 COMET BREAK
61 SOLAR BREAK
62 CRACKPOT
63 CRACK POINT
64 CRACK ZONE
65 FLASH BLADE
66 BUZZ BLADE
67 SOUL BLADE
68 GRIZZLE GASH
69 PULSE LASER
6A NAPALM SHOT
6B PLASMA RAIN
6C THUNDER BLOW
6D PLASMA SHOCK
6E LIGHTNING BOMB
6F SPARK CANNON
70 SOUL RUSH
71 ATOMIC BURN
72 SOUL FINGER
73 IRON TIGER
74 MYSTIC DEFENDER
75 RED DRAGON ANGER
76 BL DRAGON VIGOR
77 W DRAGON PROTECT
78 BK DRAGON SHIELD
79 ALTHENA'S LIGHT
7A ALTHENA'S LOVE
|
|