Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

skill edit tutorial(skillnormal.tbl) - A Tutorial for Metaphor: ReFantazio.

For those of you who want to edit your skills but don't have any tools available and don't know how to edit, I'll tell you how to "manual" edit them. 
It's easy because it's similar in structure to p5r, but I haven't found a flag for the skill's elements (at least not in skillnormal.tbl)
Passive skills are hard-coded(=in exe) like p5r, so we need help from ghidra and others so it is not covered here.

First, extract base.cpk with a tool like "CriFsLib.GUI"
The file that needs to be modified is located in "\COMMON\battle\table\skillnormal.tbl"
Open with any hex editor
As you can see in the capture, 3 lines are one skill. Dragged is skill number 1, 'bot'
You can find the full skill code at https://fearlessrevolution.com/viewtopic.php?t=31583
or spreadsheet I wrote in my native language
https://docs.google.com/spreadsheets/d/e/2PACX-1vTLDv10dYkygN2egUdBgY-vHqAtI7muy1_qHYkAjl1SXg3I4bWYVb7wteHs18uuyXPk58f_GXK43cHL/pubhtml?gid=969202805&single=true

If you knew the location of the skill you want to modify, now it's offset
Please understand that there may be some incorrect expressions since I live in a non-English speaking country.
The value that adds a specific offset to the starting address(ex: 0x30) is the byte that needs to be modified.
0x2 : Conditions(01 : menu only, 02 : battle only, 03 : menu+battle, 0A : back row only - Gunner skill)
0x3 : Phys/Magic(01 : Phys, 02 : Magic)
0x4 : Range(01 : Short Range, 02 : Long Range)
p.s.Most physical skills are 01 and all magic skills are 02, But Gunner's physical skills are 02
0x5 : Cost Type(01 : HP, 02 : MP, 03 : Money)
0x6 : HP Cost(Percentage), It's a 2bytes little endian value(18 00 -> 0x0018), Brawler Skill Only
0x8 : MP Cost, Unlike HP, it is a fixed value.
0xC : Target Count(00 : Single FOE, 01 : All FOE, 02 : Fishy Frenzy Only, 03 : Dummy?)
0xD : Target Side(01 : Friend, 02 : Enemy)
0xE : Target Condition(00 : None, 10 : Self Only, 20 : Friend Only, 40 : Died Friend Only)
0x14 : Accuracy(63 : default)
0x15 : Minimum Hit Count(01 : Default)
0x16 : Maximum Hit Count(01 : Default)
0x17 : Dealing Type(00 : Non-Dealing Skill, 01 : Default Deal, 02 : Default Heal, 04 : Deal Fixed Value, 05 : Heal Fixed Value, 06 : Brawler Skills, 08 : Last Resort/Ultimate Last Resort Only, 09 : Plundering Life Only, 0A : Deal Percentage Value, 0B : Heal Percentage Value, 0C : Pluder Life Only, 0E : ?, 11 : Life Steal Only)
0x18 : Power, It's a 2bytes little endian value(Doubling this value does not double the damage)
Percentage or Fixed Value is applied as is.
0x1a : MP Deal/Heal Type(05 : Heal Fixed Value, 0B : Heal Percentage Value, 0D : Drain Fixed Value, 11 : Plunder Magic, Life Steal Only, 1A : Dummy?)
0x1c : MP Power
0x1e : Apply/Cure(01 : Apply, 02 : Cure)
0x1f : Probability of Apply/Cure 
0x20 : Ailments, These 3 bytes are bitflags
- 0x01=0000 0001=Poison
- 0x02=0000 0010=Malady
- 0x04=0000 0100=Paralysis
- 0x08=0000 1000=Hex
- 0x10=0001 0000=Burn
- 0x20=0010 0000=Frostbite
- 0x40=0100 0000=Dummy?
- 0x80=1000 0000=Dummy?
0x21
- 0x01=0000 0001=Dummy?
- 0x02=0000 0010=Dummy?
- 0x04=0000 0100=Dummy?
- 0x08=0000 1000=Dummy?
- 0x10=0001 0000=Charm
- 0x20=0010 0000=Daze
- 0x40=0100 0000=Forget
- 0x80=1000 0000=Sleep
0x22
- 0x01=0000 0001=Rage
- 0x02=0000 0010=Anxiety
- 0x04=0000 0100=Stun
- 0x08=0000 1000=Die
- 0x10=0001 0000=Dummy?
- 0x20=0010 0000=Dummy?
- 0x40=0100 0000=Dummy?
- 0x80=1000 0000=Dummy?
Since it is a bit flag, it can be applied simultaneously (0x03=0000 0011=Poison&Malady)

0x29 : Flags with special functions
I will only write about things that I have tested and confirmed.
03 : all miss
06 : ignore resistance
0C : Steal(Rare Item)
0D : When you attack an enemy applied ailments, a weak hit will definitely occur.
0E : Random Power
0F : The press icon is randomly increased or decreased
10 : Steal(MAG)
13, 14 : Skill unavailable despite having enough MP's
15 : Increased damage to an enemy applied Anxiety(An enemy-only skill's flag, so you can't applied anxiety on the enemy without modding)
17 : Increase press icons when enemies are knocked down
18 : When you attack an enemy applied ailments, a critical hit will definitely occur.(phys only)
19 : Increased damage to human enemy
1A : 'Automatic recovery from status ailments will always take the most turns possible.'

That's all I've found so far. All that's left is to save the modified table and apply it to the game
If you don't want to use reloaded2, you can use tools like CriPakGUI.exe to repack base.cpk
If you are using reloaded2, create a mod and put skillnormal.tbl in the Reloaded2\Mods\[mod title]\MFEssentials\CPK\base\COMMON\battle\table

I wrote this every time atlus game came out, and I wasn't going to write it this time because other tools or 010 templates come out over time, however, it's already been two weeks since the game was released, but the skill mod didn't come up at all, so I wrote it hoping that the skill mod would come up
Login or Sign up to access this!
Login or Sign up to access this!

Comments

No comments yet!

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
me
Special Thanks
P5R 010 Template Author

Author

Login or Sign up to access this!
Login or Sign up to access this!
Login or Sign up to access this!

Game

Login or Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Share

  • 5.8k
  • 3
Login or Sign up to access this!

More from Submitter

More Other/Misc Tutorials

arrow_back