Magic Rune Spells Data Location

If you are stuck in the Dunan Unification Wars; or wish for more details on the gameplay systems, this is the place.
Post Reply
User avatar
ninjaluc79
Posts: 867
Joined: Tue Sep 13, 2005 10:45 pm
Location: The Island Nations
Contact:

Magic Rune Spells Data Location

Post by ninjaluc79 »

Hi everyone.

Does anyone know where could I find the magic spells data in the ROM?

I would like to change some the spells' base power, like Thunder Runner (buff from 100 to 150), and more.

I have tried looking for it in this forum (I have seen it before) but I can't seem to find it.

As for the affinities, I think I'll just change Riou and Jowy's natural affinities to their respective TR's to B and A (to match their affinities to Resurrection and Darkness).

Thanks in advance.
It's not all about knowledge, but it helps.
User avatar
Pyriel
Webmaster
Posts: 1229
Joined: Wed Aug 18, 2004 1:20 pm

Re: Magic Rune Spells Data Location

Post by Pyriel »

/CDROM/280_GAME/MAGI.BIN

Code: Select all

#define NAMESIZE 21
#define DESCSIZE 32

/*
byte after description appears to be spell damage type:
0x22 - Enemy
0x23 - Heal
0x42 - Status

Next byte maybe spell delay? Actually, I think target indicator.

Byte 2 after spell damage type seems to be the spell element
0x01 - Fire
0x02 - Water
0x03 - Wind

byte 3 after element possibly indicates enemy effect?*/

typedef struct s2magic {
unsigned char name[NAMESIZE];
unsigned char desc[DESCSIZE];
unsigned char unk1;
unsigned char unk2;
unsigned char element;
unsigned char unk4;
unsigned char unk5;
unsigned char unk6;
unsigned char unk7;
signed int damage;
} T_S2MAGIC;

static const wchar_t *ElementName[10] = {
L"Non-Elemental"
, L"Fire"
, L"Water"
, L"Wind"
, L"Earth"
, L"Lightning"
, L"Holy"
, L"Darkness"
, L"Bright Shield"
, L"Unknown 1"
//, L"Unknown 2"
};
Edit: If you're looking to find it directly in your disc image, open the MAGI.BIN file in a text editor an copy about 16 bytes that aren't all zero or something, and then search the ISO/BIN whatever for that. A string of 16 random bytes is usually enough to get only one match, even in fairly large files.
User avatar
ninjaluc79
Posts: 867
Joined: Tue Sep 13, 2005 10:45 pm
Location: The Island Nations
Contact:

Re: Magic Rune Spells Data Location

Post by ninjaluc79 »

Many thanks. I will look into this as soon as I can.
It's not all about knowledge, but it helps.
Post Reply