How to edit the spells in rune(s2 on emulator)?

If you are stuck in the Dunan Unification Wars; or wish for more details on the gameplay systems, this is the place.
Post Reply
Poet
Posts: 28
Joined: Sat Aug 10, 2013 7:41 am

How to edit the spells in rune(s2 on emulator)?

Post by Poet »

As in,say i want to edit hungry friend as the level 1 spell of bright shield rune? Hope my point is not confusing to understand.
User avatar
Pyriel
Webmaster
Posts: 1229
Joined: Wed Aug 18, 2004 1:20 pm

Re: How to edit the spells in rune(s2 on emulator)?

Post by Pyriel »

I don't really have time to do all the work, but here's the information I have at hand.

Code: Select all

Rune Struct 0x3E bytes.

For Slot Mask
bit 4 - Head
bit 5 - Right Hand
bit 6 - Left Hand


0x00 - 0x14 - Name (Bright Shield) (21 bytes)
0x15 - 0x34 - Description (One of the 27 True Runes) (32 bytes)
0x35 - 0x35 - Slot Mask
0x36 - 0x36 - Unknown
0x37 - 0x37 - Unknown
0x38 - 0x3B - Spells
0x3C - 0x3D - Cost / 10
A8 10 3C 22 19 17 18 24 10 4D 18 19 15 1C 14 00
00 00 00 00 00 49 1E 15 10 1F 16 10 24 18 15 10
9A 9F 10 4E 22 25 15 10 4C 25 1E 15 23 00 00 00
00 00 00 00 00 20 01 00 22 23 24 25 00 00

Code: Select all

Spells (MAGI.BIN)
0001 Flaming Arrows
60 damage to all enemies
Damage: 003C
Element:Fire
Unknowns: 22 60 00 00 00 00


0002 Fire Wall
150 damage to 1 enemy row
Damage: 0096
Element:Fire
Unknowns: 22 E0 00 00 00 00


0003 Dancing Flames
300 damage to all enemies
Damage: 012C
Element:Fire
Unknowns: 22 60 00 00 00 00


0004 Explosion
700 damage vs. all enemies
Damage: 02BC
Element:Fire
Unknowns: 22 60 00 00 00 00


0005 Final Flame
900 damage vs. all enemies
Damage: 0384
Element:Fire
Unknowns: 22 60 00 00 00 00


0006 Kindness Drops
Fully heals 1 ally
Damage: 7D00
Element:Water
Unknowns: 23 10 00 00 00 00


0007 Protect Mist
Repel Magic for all allies 20%
Damage: 0014
Element:Water
Unknowns: 42 50 00 00 40 00


0008 Kindness Rain
Heals 300 HP for all allies
Damage: 012C
Element:Water
Unknowns: 23 50 00 00 00 00


0009 Silent Lake
No magic use for 3 turns
Damage: 0003
Element:Water
Unknowns: 42 70 00 08 00 00


000A Mother Ocean
Restores person to full HP
Damage: 7D00
Element:Water
Unknowns: A2 10 00 00 80 00


000B Wind of Sleep
Sleep vs. 1 enemy row
Damage: 0000
Element:Wind
Unknowns: 42 E0 00 20 00 00


000C Healing Wind
Fully heals 1 ally
Damage: 7D00
Element:Wind
Unknowns: 23 10 00 00 00 00


000D The Shredding
450 damage to all enemies
Damage: 01C2
Element:Wind
Unknowns: 22 60 00 00 00 00


000E Storm Warning
User only Reflects magic damage
Damage: 0000
Element:Wind
Unknowns: 42 30 00 00 40 00


000F Shining Wind
All Es 500 DMG, allies heal 500
Damage: 01F4
Element:Wind
Unknowns: 22 70 00 00 00 00


0010 Clay Guardian
Allies DEF x 1.5
Damage: 0000
Element:Earth
Unknowns: 02 10 00 00 00 00


0011 Revenge Earth
Allies counterattack 100%
Damage: 0064
Element:Earth
Unknowns: 02 10 00 00 00 00


0012 Canopy Defense
Repel Magic all (1 time, 100%)
Damage: 0000
Element:Earth
Unknowns: 42 50 00 00 40 00


0013 Earthquake
800 DMG vs. all Es on ground
Damage: 0320
Element:Earth
Unknowns: 22 60 00 00 00 00


0014 Guardian Earth
DEF and MDEF UP for all 5 turns
Damage: 0000
Element:Earth
Unknowns: 02 50 00 00 00 00


0015 Angry Blow
100 damage vs. 1 enemy
Damage: 0064
Element:Lightning
Unknowns: 22 20 00 00 00 00


0016 Thunder Runner
120 damage vs. 1 enemy column
Damage: 0064
Element:Lightning
Unknowns: 22 A0 00 00 00 00


0017 Bolt of Wrath
600 damage vs. 1 enemy
Damage: 0258
Element:Lightning
Unknowns: 22 20 00 00 00 00


0018 Thor Shot
1000 damage vs. 1 enemy
Damage: 03E8
Element:Lightning
Unknowns: 22 20 00 00 00 00


0019 Thunder Storm
1200 damage vs. 1 enemy
Damage: 04B0
Element:Lightning
Unknowns: 22 20 00 00 00 00


001A Finger of Death
Sudden death to 1 enemy
Damage: 0000
Element:Darkness
Unknowns: 42 20 00 00 80 00


001B Black Shadow
500 damage to all enemies
Damage: 01F4
Element:Darkness
Unknowns: 22 60 00 00 00 00


001C Hell
Sudden death vs. all enemies
Damage: 0000
Element:Darkness
Unknowns: 42 60 00 00 80 00


001D Judgment
1500 damage vs. 1 enemy
Damage: 05DC
Element:Darkness
Unknowns: 22 20 00 00 00 00


001E Scolding
30 DMG to 1 enemy. VS undead
Damage: 001E
Element:Holy
Unknowns: 22 20 00 00 00 00


001F Yell
Cures Unconscious vs 1 ally
Damage: 0000
Element:Holy
Unknowns: 82 18 00 00 80 00


0020 Charm Arrow
400 damage to all VS undead
Damage: 0190
Element:Holy
Unknowns: 22 60 00 00 00 00


0021 Scream
Heals 300 HP for all allies
Damage: 012C
Element:Holy
Unknowns: 23 50 00 00 00 00


0022 Great Blessing
Heals 70 HP for all allies
Damage: 0046
Element:Bright Shield
Unknowns: 23 50 00 00 00 00


0023 Shining Light
130 damage vs. all enemies
Damage: 0082
Element:Bright Shield
Unknowns: 22 60 00 00 00 00


0024 Battle Oath
Heals 300 HP for all allies
Damage: 012C
Element:Bright Shield
Unknowns: 23 50 00 00 00 00


0025 Forgiver Sign
Heals 2000 HP for all allies
Damage: 07D0
Element:Bright Shield
Unknowns: 22 20 00 00 00 00


0026 Flash Judgment
120 damage to 1 enemy
Damage: 0078
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0027 Twinkling Blade
100 DMG to all Sudden death 30%
Damage: 0064
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


0028 Piercing One
700 damage to 1 enemy
Damage: 02BC
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0029 Hungry Friend
1200 damage to all enemies
Damage: 04B0
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


002A Ready!
Teleports 1 enemy away
Damage: 0000
Element:Non-Elemental
Unknowns: 42 20 00 00 20 00


002B Set!
150 damage to all
Damage: 0096
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


002C Go!
Teleports all enemies somewhere
Damage: 0000
Element:Non-Elemental
Unknowns: 42 60 00 00 20 00


002D Stealer of Souls
300 damage to 1, heals own HP
Damage: 012C
Element:Darkness
Unknowns: 22 20 00 00 00 00


002E Final Bell
Death or 500 DMG to 1 E row
Damage: 01F4
Element:Darkness
Unknowns: 42 E0 00 00 80 00


002F Open Gate
50 damage to 1 enemy
Damage: 0032
Element:Fire
Unknowns: 22 20 00 00 00 00


0030 Kings Road
150 damage to all enemies
Damage: 0096
Element:Lightning
Unknowns: 22 60 00 00 00 00


0031 Pale Palace
500 damage to all enemies
Damage: 0190
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


0032 Empty World
900 vs. Es, allies hurt too
Damage: 0384
Element:Non-Elemental
Unknowns: 22 70 00 00 00 00


0033 Shining Pupil
120 damage vs. 1 enemy
Damage: 0078
Element:Lightning
Unknowns: 22 20 00 00 00 00


0034 Moonlit Forest
200 damage vs. 1 column
Damage: 00C8
Element:Lightning
Unknowns: 22 A0 00 00 00 00


0035 White Priestess
400 damage vs. all enemies
Damage: 0190
Element:Lightning
Unknowns: 22 60 00 00 00 00


0036 Scorched Earth
1300 damage to all enemies
Damage: 0514
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


0037 Storm Fang
1000 damage to all enemies
Damage: 03E8
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


0038 Water Dragon
800 vs. Es Heals all ally HP
Damage: 0320
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


0039 Thor
2000 vs. 1 E Heals all ally HP
Damage: 07D0
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


003A Blazing Camp
2000 vs. 1 enemy extra damage
Damage: 05DC
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


003B Taitan
ATT Up, For 2=hand sword
Damage: 0082
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


003C Viper
Sudden Death For 1=hand sword
Damage: 001E
Element:Non-Elemental
Unknowns: 62 20 00 00 80 00


003D Great Hawk
Attacks all Damage 1⁄2 For bow
Damage: 0032
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


003E Lion
1.5 vs.1 E MAG =50 For claws
Damage: 0096
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


003F Kite
Attacks all DMG1⁄2 For shuriken
Damage: 0032
Element:Non-Elemental
Unknowns: 22 60 00 00 00 00


0040 Unicorn
Vs.1 column DEF is 0 For spear
Damage: 0064
Element:Non-Elemental
Unknowns: 22 A0 00 00 00 00


0041 Gozz
Attacks 1 row For axe
Damage: 0064
Element:Non-Elemental
Unknowns: 22 E0 00 00 00 00


0042 Pixie
L=Range attack For staff
Damage: 0014
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0043 Banshee
Drains ally HP, gives to user
Damage: 0000
Element:Non-Elemental
Unknowns: 22 10 00 00 00 00


0044 Sylph
Reduces HP, gives to allies
Damage: 001E
Element:Non-Elemental
Unknowns: 22 50 00 00 00 00


0045 Chimera
Transfers status to others
Damage: 0014
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


0046 Nymph
Attack changes with luck value
Damage: 0000
Element:Non-Elemental
Unknowns: 42 20 00 00 00 00


0047 Dryad
Lvl 2 magic exchanged for Lvl 1
Damage: 0000
Element:Non-Elemental
Unknowns: 42 30 00 00 00 00


0048 ダミーの席法
ダミーの席法です
Damage: 0000
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


0049 ダミーの席法
ダミーの席法です
Damage: 0000
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


004A ダミーの席法
ダミーの席法です
Damage: 0000
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


004B ダミーの席法
ダミーの席法です
Damage: 0000
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


004C ダミーの席法
ダミーの席法です
Damage: 0000
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


004D ダミーの席法
ダミーの席法です
Damage: 0000
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


004E ダミーの席法
ダミーの席法です
Damage: 0000
Element:Non-Elemental
Unknowns: 42 10 00 00 00 00


004F Trick
Winup Doll ATK, 1 time
Damage: 012C
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0050 Shrike
2 x damage Accuracy =5%
Damage: 00C8
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0051 Falcon
2 x damage Accuracy =10%
Damage: 00C8
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0052 Mayfly
Attacks 1 row Ruins balance
Damage: 0064
Element:Non-Elemental
Unknowns: 22 E0 00 00 00 00


0053 Swallow
Sudden death 30% Ruins balance
Damage: 0064
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0054 Fire Breath
2 x damage Ruins balance
Damage: 00C8
Element:Fire
Unknowns: 22 20 00 00 00 00


0055 Groundhog
2 x damage 1 time only
Damage: 00C8
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0056 Fire Dragon
2 x damage 1⁄2 damage to self
Damage: 00C8
Element:Fire
Unknowns: 22 20 00 00 00 00


0057 Shinning Wind
Attacks 1 E Strong vs. flyers
Damage: 0064
Element:Wind
Unknowns: 22 20 00 00 00 00


0058 Shinning Wind
DMG to 1 row, Stong vs.flyers
Damage: 0042
Element:Wind
Unknowns: 22 E0 00 00 00 00


0059 Shinning Wind
Damages all Es Strong vs.flyers
Damage: 0032
Element:Wind
Unknowns: 22 60 00 00 00 00


005A Blue Drop
1.5 x DMG to 1 E Ruins balance
Damage: 0096
Element:Water
Unknowns: 22 20 00 00 00 00


005B Blue Drop
Damages 1 E row Ruins balance
Damage: 0064
Element:Water
Unknowns: 22 E0 00 00 00 00


005C Blue Drop
Damages all Es Ruins balance
Damage: 0064
Element:Water
Unknowns: 22 60 00 00 00 00


005D White Tiger
Fighters only 2 x damage
Damage: 00C8
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


005E Howling
Monster allies become berserk
Damage: 0000
Element:Non-Elemental
Unknowns: 22 30 00 00 00 00


005F Spider Slay
3 x damage 1 time only
Damage: 012C
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0060 Angry Dragon
DMGx2,1 time,Unlimited Berserk
Damage: 00C8
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0061 Twin Ring
2 x damage May ruin balance
Damage: 00C8
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0062 Rabid Fang
Power Up Combat=use,1 time only
Damage: 0000
Element:Non-Elemental
Unknowns: 22 30 00 00 00 00


0063 Q▪
Q▪
Damage: 0000
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0064 かり
かり
Damage: 0000
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0065 かり
かり
Damage: 0000
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0066 かり
かり
Damage: 0000
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0067 かり
かり
Damage: 0000
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0068 かり
かり
Damage: 0000
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00


0069 かり
かり
Damage: 0000
Element:Non-Elemental
Unknowns: 22 20 00 00 00 00
Character sets: http://suikodenbugfixes.wikispaces.com/ ... acter+Sets

Probably the easiest way to put all this together is to use Cheat Engine or something similar to search for the Rune's name or description. You have to use the character encoding I linked to find it, and search as an array of bytes. The text isn't ASCII/Unicode, so regular text searches won't help. Once you locate the Rune in memory, it's a simple matter of poking the value for Hungry Friend into its spell list. Now, where you'll run into trouble is that the game only loads what it needs as far as item descriptions, spells, etc. If you poke that value in, and the game had no need to load Hungry Friend before you did it, it'll crash the minute you try to use or look at the spell. The easiest way around this is to go into party change menu with Leona. The game will reload all that information when you try to swap characters. The other alternative is to make a code you can use at the beginning of the game, but the Runes are also loaded dynamically, if memory serves. There is likely no guarantee that a simple code would work, as the Bright Shield Rune might end up in different locations in memory, depending on your party.

The safest way to do it is to patch your disc or ISO image, but that would make the change permanent, at least as long as you're using that particular image.
User avatar
ninjaluc79
Posts: 867
Joined: Tue Sep 13, 2005 10:45 pm
Location: The Island Nations
Contact:

Re: How to edit the spells in rune(s2 on emulator)?

Post by ninjaluc79 »

Hmm, sweet.

So could these codes be used to edit the base damage of the rune spells as well?

I'm asking because I would like to balance out the magic runes as well as possible, such that Fire/Rage, Resurrection, and Bright Shield offensive spells become more useful while Lightning/Thunder spells become less broken.

I mean:

1. What do you use your Fire Mages in the final dungeon for if you can just Auto-Attack your way through?
2. The Luca Blight Battle sometimes becomes ridiculously easy because you can just slap a Lightning Rune on everyone with a L3 spell slot and kill him with a barrage of Bolt of Wrath spells.
3. I hate how Resurrection is so weak in this game, especially because they made Riou to have a high affinity for Resurrection (B in Resurrection, C in everything else).

Many thanks.
It's not all about knowledge, but it helps.
Post Reply