Author Topic: FFV Viewer  (Read 20091 times)

Jorgur

  • Moderator
  • *
  • Posts: 437
  • Gender: Male
    • View Profile
Re: FFV Gear Viewer
« Reply #60 on: March 29, 2016, 07:25:35 AM »
The error is in the side menu. Screenshot attached.

Sorry, I have no more info. Everything I know is already in the wiki.
« Last Edit: March 29, 2016, 05:02:58 PM by Jorgur »

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Gear Viewer
« Reply #61 on: March 29, 2016, 09:22:40 AM »
I see, the Param 2 is not inverted. Probably I have corrected it after my upload, sorry about that.
 
Soon there will be a new version where this is correct and many (probably all) formulas parsed, so you will not see '???' and hopefully some GBA parsing in it too :D

BTW some status inflicting attacks have duration. What is the measure for it?

samurai goroh

  • FF5 Hacker
  • *
  • Posts: 221
  • Gender: Male
    • View Profile
    • My page
Re: FFV Gear Viewer
« Reply #62 on: March 29, 2016, 10:38:55 AM »
P.S. DO you have info for 5E, 5F dmg formulas?
In 0B Param2 mean % for status (Param3), not AtkPower. Also highest bit mean something, but I dont know what
I have them labeled as follow:
5E = Increase stat while Singing
5F = Creature Type only Damage
I'm the best in the universe! Just remember! [F-zero X]

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Gear Viewer
« Reply #63 on: March 30, 2016, 06:34:41 AM »
Thank you very much samurai goroh!

With that info a new version 4.1 is out. Now all formulas for magic should be parsed and no '???' should appear. If you see something wrong, incorrect, typos please tell me.

IMPORTANT If you know where the Magic/ability info (8 bytes) is stored in GBA, please tell me even if you are not 100% sure. Also I need hints on where to find the same info for the GBA+ content!!!

x0_000

  • Siren
  • *
  • Posts: 72
    • View Profile
Re: FFV Gear Viewer
« Reply #64 on: March 30, 2016, 08:11:45 PM »
The spells are split into two tables (one for white/black/blue/time/monster and one for gaia/mixes/animals/necromancer/a bunch of stuff). The regular spell table is at 08149E7C. Here's a reference for the entries (I forgot to mark it but the first list of spells are the spellblades, the second set of blanks are the spells the summons cast; note that this is distinct from the actual summon spell.):

Code: [Select]
03 01 01 00 00 04 00 82
03 02 02 00 00 04 00 82
03 03 04 00 00 04 00 82
03 04 08 04 00 04 00 81
04 05 00 04 00 02 00 81
04 06 00 40 00 04 00 82
04 07 01 00 00 04 00 85
04 08 02 00 00 04 00 85
04 09 04 00 00 04 00 85
05 0A 00 40 00 04 00 86
03 0B 00 40 00 04 00 88
05 0C 08 00 00 04 00 83
05 0D 01 00 00 04 00 8F
05 0E 02 00 00 04 00 8F
05 0F 04 00 00 04 00 8F
05 10 10 00 00 02 00 8A
05 11 00 80 00 04 00 9E
05 12 00 20 00 04 00 81
10 00 0F 00 B0 02 00 04 cure
1D 78 00 00 38 02 00 01 libra
19 FB FF FF 30 02 00 02 poisona
13 4B 5A 04 B8 02 00 02 silence
14 80 00 40 30 02 00 03 protect
15 5A 00 10 B8 02 00 05 mini
10 00 2D 00 B0 02 00 09 cura
1A 32 00 01 34 02 00 1D raise
13 4B 00 10 38 02 00 04 confuse
13 80 00 02 30 02 00 06 blink
14 80 00 20 30 02 00 05 shell
19 8A 0B FF 34 02 00 0A esuna
11 00 B4 00 B0 02 00 1B curaga
14 80 9A 80 30 02 00 0F reflect
13 80 A0 08 30 02 00 08 berserk
1A 63 00 10 34 02 00 32 arise
06 00 F1 10 38 02 00 14 holy
19 F7 F4 02 38 02 00 8C dispel
06 00 0F 01 B8 04 00 04 fire
06 00 0F 02 B8 04 00 04 blizzard
06 00 0F 04 B8 04 00 04 thunder
12 63 00 04 38 04 00 02 poison
13 5A 00 40 B8 04 00 03 sleep
15 50 00 20 B8 04 00 08 toad
06 00 32 01 B8 04 00 0A fira
06 00 32 02 B8 04 00 0A blizzara
06 00 32 04 B8 04 00 0A thundara
0D 4B 2D 00 38 04 00 8D drain
12 4B 00 40 38 04 00 0F break
0C 08 69 FF B8 04 00 10 bio
06 00 B9 01 B8 04 00 19 firaga
06 00 B9 02 B8 04 00 19 blizzaga
06 00 B9 04 B8 04 00 19 thundaga
08 00 FE 00 38 04 00 27 flare
17 50 00 80 38 04 00 1D death
0E 63 08 00 38 04 00 81 osmose
1E 00 00 00 00 08 00 81 speed
16 5F F7 04 38 08 00 03 slow
14 80 00 01 30 08 00 03 regen
1F 64 00 00 40 08 00 83 mute
16 80 FB 08 30 08 00 05 haste
12 80 80 08 B0 08 00 0A float
07 63 08 00 38 08 00 09 gravity
14 5A 5A 10 38 08 00 08 stop
20 64 00 00 00 08 00 8F teleport
09 00 08 00 38 08 00 87 comet
16 50 F7 04 48 08 00 09 slowga
21 64 00 00 00 08 00 81 return
07 63 0E 00 38 08 00 12 graviga
16 80 FB 08 40 08 00 0F hastega
13 5A 00 80 38 08 00 04 old
09 00 0E 00 48 08 03 AA meteor
22 64 00 00 00 08 00 CD quick
18 32 00 00 38 08 00 14 banish
00 00 00 00 28 10 00 84
00 00 00 00 28 10 00 88
00 00 00 00 28 10 00 82
00 00 00 00 48 10 00 8A
00 00 00 00 48 10 00 8C
00 00 00 00 48 10 00 8B
00 00 00 00 48 10 00 99
00 00 00 00 40 10 00 92
00 00 00 00 28 10 00 A1
00 00 00 00 40 10 00 AD
00 00 00 00 48 10 00 A0
00 00 00 00 48 10 00 B0
00 00 00 00 24 10 00 E3
00 00 00 00 48 10 00 A7
00 00 00 00 48 10 00 C2
5E 00 00 80 00 20 00 80
5E 00 00 40 00 20 00 80
14 80 00 01 40 20 00 80
5E 00 00 10 00 20 00 80
5E 00 00 08 00 20 00 80
5F 01 E1 FF 48 20 00 80 requiem
14 63 78 10 48 20 00 80 romeo ballad
13 63 00 10 48 20 00 80 alluring air
0A 64 1E 00 38 10 00 84 choco kick
1B 00 1E 00 28 10 00 88 whisperwhind
13 64 78 20 28 10 00 82 constrict
06 00 26 02 48 10 00 8A diamond dust
06 00 35 04 48 10 00 8C judgement bolt
06 00 2D 01 48 10 00 8B hellfire
2D 00 6E 20 48 10 00 99 gaia's wrath
23 63 32 00 00 10 00 92 earthen wall
12 63 00 40 28 10 00 A1 demon eye
14 80 9A 80 40 10 00 AD ruby light
06 00 A5 40 48 10 00 A0 thunderstorm
18 80 00 00 48 10 00 B0 zantetsuken
06 00 69 01 48 10 00 E3 flames of rebirth
06 00 C3 80 48 10 00 A7 tsunami
06 00 FA 00 48 10 00 C2 megaflare
0A 80 4B 00 38 10 00 84 fat chocobo
0A 80 FF 00 48 10 00 B0 gungnir
1A 80 E0 10 24 10 00 80
0D 80 2D 00 38 00 00 80 drain spear
0E 80 04 00 38 00 00 80 osmose lance
7F 00 00 00 28 10 00 80
07 63 01 00 08 20 00 80 silver harp
07 63 02 40 00 20 00 80 dream harp
07 63 03 10 00 20 00 80 lamia harp
6C 00 4B 11 00 00 00 80 apollo harp
00 00 00 00 00 00 00 80
0E 80 08 00 38 04 00 80 mystery waltz
0D 80 2D 00 38 04 00 80 jitterbug
13 80 00 10 38 02 00 80 tempting tango
14 80 00 20 30 02 00 80 magic shell
1C 01 02 00 00 00 00 00 sword dance
1C 02 01 00 00 00 00 00 ice aura
13 80 78 20 38 00 00 80 entangle
01 00 00 00 38 01 80 80 attack
02 00 00 00 38 01 80 80 special technique
29 80 1E 10 38 01 40 8A doom
17 63 00 80 3C 01 40 81 roulette
6C 00 4B 40 48 01 40 A6 aqua breath
4B 05 00 80 48 01 40 16 level 5 death
4D 04 0C 00 48 01 40 09 level 4 graviga
4C 02 00 80 48 01 40 0B level 2 old
4E 03 FE 00 48 01 40 12 level 3 flare
12 42 00 20 38 01 40 85 pond's chorus
12 42 00 10 38 01 40 85 lilliputian lyric
12 4B 00 01 48 01 40 87 flash
13 5A 00 C0 38 01 40 89 time slip
13 80 00 08 40 01 40 83 moon flute
3D 42 78 20 38 01 40 95 death claw
06 00 14 40 B8 01 40 04 aero
06 00 32 40 B8 01 40 0A aera
06 00 8C 40 B8 01 40 18 aeroga
06 00 32 01 38 01 40 85 flamethrower
50 80 03 00 38 01 40 80 goblin punch
51 42 40 00 38 01 40 1B dark spark
51 50 20 00 38 01 40 13 off guard
55 00 00 80 20 01 40 8D transfusion
58 80 50 2D 38 01 40 06 mind blast
6D 63 02 00 38 01 40 82 vampire
53 4B 08 00 38 01 40 83 might guard
27 08 00 60 40 01 40 48 self destruct
2B 00 10 80 28 01 40 81 ????
54 63 00 00 38 01 40 83 1000 needles
28 80 E8 03 38 01 40 99 white wind
5A 00 00 00 40 01 40 9C missile
07 4B 0C 00 38 01 40 87 ribbit
15 80 00 20 30 01 80 85
71 00 00 00 04 01 80 80
44 00 00 00 04 01 80 80
61 00 00 00 BC 01 00 80
62 00 00 00 BC 01 00 80
27 80 00 00 00 01 00 80
63 00 00 00 48 01 00 80
0B 00 E3 40 B8 01 00 1E delta attack
65 80 80 80 BC 01 00 80
00 00 00 00 00 01 00 80
00 00 00 00 38 00 00 80
06 00 32 40 48 01 80 80 wind slash
00 00 00 00 04 01 80 80
66 00 00 00 B8 01 00 00
19 F7 FF FF 48 01 80 0A 100Gs
27 80 00 00 04 01 80 80
2E 63 4B 80 38 01 80 80 reaper's sword
27 80 00 00 B8 01 80 80
2C 80 78 20 38 01 80 0A blaster
12 32 00 40 38 01 80 80
5C 42 00 40 38 01 80 80
12 4B 00 04 B8 01 80 80 spore
0B 08 CB 04 48 01 80 80 poison breath
5D 80 00 00 2C 01 80 80 danse macabre
5D 80 00 00 2C 01 80 80
3F 00 05 00 48 01 80 80
4F 32 00 02 3C 01 80 80
13 4B 00 10 B8 01 80 80
13 4B 78 20 38 01 80 80
57 01 7F 04 B8 01 80 80
13 4B 00 40 38 01 80 80
14 4B 5A 10 B8 01 80 00
12 63 00 C0 38 01 80 E3
2C 01 78 04 38 01 80 80
0F 63 00 00 48 01 80 80
0F 32 00 00 38 01 80 80
0F 63 00 00 28 01 80 80
0C 00 1E 78 38 01 80 80
07 63 08 10 38 01 80 80
0C 00 4B 78 38 01 80 80
0C 10 B4 78 48 01 80 B2
0C 20 0F FF 48 01 80 80
06 00 44 01 48 01 80 00
06 00 14 02 48 01 80 00
06 00 8C 02 48 01 80 80
0C 02 3C 78 48 01 80 80
06 00 14 04 38 01 80 00
2D 00 78 20 48 01 80 80
09 00 08 40 78 01 80 80
06 00 C3 80 48 01 80 80
06 00 F0 00 48 01 80 00
51 50 80 00 B8 01 80 80
16 63 F7 04 B8 01 80 80
52 63 F7 04 B8 01 80 80
2D 00 9B 20 48 01 80 80
6F 00 00 00 38 80 80 80
19 8A 03 FF B0 01 80 80
13 80 00 02 20 01 80 80
2A 40 04 00 48 01 80 80
2A 01 04 00 48 01 80 80
2A 04 04 00 48 01 80 80
2A 00 08 FF 48 01 80 80
01 00 00 00 38 01 80 80
11 00 87 00 B0 01 00 80
07 4B 08 80 28 01 80 80
08 00 FF 00 48 01 80 80
29 42 00 80 28 01 80 85
70 80 00 80 BC 01 80 80
29 63 00 80 28 01 80 80
40 63 80 00 48 01 80 80
40 63 40 00 A8 01 80 80
00 00 00 00 B8 01 00 80
0A 80 69 00 38 01 00 80
27 80 00 00 00 08 00 80
0F 63 00 00 38 01 00 80
12 63 00 40 38 01 00 80
67 00 00 00 4C 01 00 80
6A 00 00 00 00 00 00 80
60 00 00 00 04 00 00 80
68 00 00 00 BC 01 00 80
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
7E 00 0E 00 48 08 03 AA
87 00 50 00 38 01 80 8F
13 4B 7D 90 48 01 80 92
8A 10 BE 02 38 01 80 A6
88 04 BE 08 48 01 80 A6
8B 08 BE 01 A8 01 80 A6
88 40 BE 40 48 01 80 A6
89 20 BE 04 48 01 80 A6
8C 00 00 00 B8 01 80 AA
08 00 C8 00 48 01 80 B4
8D 00 FE 00 48 01 80 C2

081498DC has the data for mixes/gaia/animal spells. I don't have the table itself extracted but the order is:
Code: [Select]
00 - Mysidian Rabbit (does nothing)
01 - Squirrel
02 - Bee Storm
03 - Nightingale
04 - Flying Squirrel
05 - Falcon
06 - Skunk
07 - Wild Boar
08 - Unicorn
09 - Dud Potion
0a - Potion
0b - Lifewater
0c - X-Potion
0d - Elixir
0e - Resurrection
0f - Maiden's Kiss
10 - Ether
11 - Neutralizer
12 - Cure Blindness
13 - Dragon Power
14 - Devil's Juice
15 - Hi Potion
16 - Balm of Gilead
17 - Triple Ether
18 - Spare 1 (does nothing)
19 - Reincarnate
1a - Lilith's Kiss
1b - Resist Poison
1c - Resist Fire
1d - Dragon Shielding
1e - Dark Ether
1f - Dud Potion
20 - Mix No. 23 (500 damage?)
21 - Mix No. 24 (does nothing)
22 - Goliath Tonic
23 - Antilixir
24 - Phoenix Down
25 - Kiss of Life
26 - Lifeshield
27 - Remedy
28 - Resist Ice
29 - Resist Thunder
2a - Dragon Defense
2b - Death Potion
2c - Blessed Kiss
2d - Succubus Kiss
2e - Levisalve
2f - Lamia Kiss
30 - Dragon Kiss
31 - Toad Kiss
32 - Holy Water
33 - Bacchus' Cider
34 - Samson's Might
35 - Elemental Power
36 - Holy Breath
37 - Dud Potion (poisons)
38 - Protect Potion
39 - Turtle Soup
3a - Hastyade
3b - Dud Potion (confuses)
3c - TNT
3d - Antidote
3e - Smelling Salts
3f - Poison Breath
40 - Poison
41 - Eye Drop
42 - Dark Sigh
43 - Dark Gas
44 - Dragon Breath
45 - Dark Breath
46 - Shadowflare
47 - Spare 2 (does nothing, but hilarious animation)
48 - Spare 3
49 - Gust
4a - Earthquake
4b - Wind Slash
4c - Twister
4d - Branch Arrow
4e - Leaf Dance
4f - Branch Spear
50 - Bindweed
51 - Sandstorm
52 - Quicksand
53 - Desert Storm
54 - Heat Sand
55 - Tsunami
56 - Whirlpool
57 - Big Wave
58 - Big Wave (2x damage)
59 - Phantom
5a - Ignuus Faatus
5b - Bottomless Bog
5c - Poison Mist
5d - Waterfall
5e - Stalactite
5f - Cave-In
60 - Sonic Boom
61 - Squid
62 - Dummy
63 - Squid
64 - Dummy
65 - Squid
66 - Dummy
67 - Squid
68 - Dummy
69 - Flameshot
6a - Flameburst
6b - Flamecannon
6c - Watershot
6d - Water Burst
6e - Watercannon
6f - Spark Shot
70 - Spark Burst
71 - Spark Cannon
72 - Dark Shot
73 - Dark Burst
74 - Dark Cannon
75 - Normal Shot
76 - Normal Burst
77 - Normal Cannon
78 - Killer Shot
79 - Killer Burst
7a - Killer Cannon
7b - Slow Shot
7c - Slow Burst
7d - Slow Cannon
7e - Dragon Shot
7f - Dragon Burst
80 - Dragon Cannon
81 - Chaos Shot
82 - Chaos Burst
83 - Chaos Cannon
84 - Quake Shot
85 - Quake Burst
86 - Quake Cannon
87 - Power Shot
88 - Power Burst
89 - Power Cannon
8a - Vulner Shot
8b - Vulner Burst
8c - Vulner Cannon
8d - Silver Shot
8e - Silver Burst
8f - Silver Cannon
90 - Divine Shot
91 - Divine Burst
92 - Divine Cannon
93 - Needle Shot
94 - Needle Burst
95 - Needle Cannon
96 - Minishot
97 - Miniburst
98 - Minicannon
99 - Skeleton
9a - Rajiformes
9b - Flaremancer
9c - Zombie Dragon
9d - Cleansing
9e - Deluge
9f - Eruption
a0 - Starfall
a1 - Rockslide
a2 - Divine Judgement
a3 - Healing Wind
a4 - Blessing
a5 - Hurricane
a6 - Pestilence
a7 - Finisher!
a8 - Critical Hit
a9 - Elemental Attack!
aa - Rejuvenation
ab - Recuperation
ac - Brimstone
ad - Black Frost
ae - Judgement
af - Salientia
b0 - Doom
b1 - Still Wing

Some of the ability data is located at 081478d0, here's the map for it (the big blank in the middle are the magic abilities):

Code: [Select]
7F 00 00 00 08 00 00 00 ; Null
7F 00 00 00 08 00 00 00 ; Other
7F 00 00 00 08 00 00 00 ; Item
40 80 80 00 00 00 00 00 ; Row
7F 00 00 00 00 00 80 00 ; Defend
7F 00 00 00 38 00 00 00 ; Attack
7F 00 00 00 00 00 40 00 ; Guard
30 00 00 00 48 00 00 00 ; Kick
7F 00 00 00 38 00 00 00 ; Focus
42 80 1E FA 00 00 00 00 ; Chakra
20 64 00 00 08 00 00 00 ; Flee
43 28 00 00 2C 00 00 00 ; Steal
7F 00 00 00 28 00 00 00 ; Mug
7F 00 00 00 28 00 00 80 ; Jump
7F 00 00 00 28 00 00 00 ; Lance
20 64 00 00 40 00 00 00 ; Smoke
13 80 00 02 00 00 00 00 ; Image
45 80 00 00 28 00 00 C0 ; Throw
7F 00 00 00 38 00 00 02 ; Mineuchi
46 32 96 00 48 00 00 00 ; Zeninage
18 55 00 00 48 00 00 00 ; Iainuki
7F 00 00 00 08 00 00 00 ; Animals
7F 00 00 00 38 00 00 80 ; Aim
7F 00 00 00 08 00 00 8C ; Rapidfire
7F 00 00 00 08 00 00 00 ; Call
1D 30 00 00 28 00 00 00 ; Check
1D F8 00 00 28 00 00 00 ; Scan
47 32 1E 10 28 00 00 00 ; Calm
69 00 00 00 28 00 00 00 ; Control
48 00 00 00 28 00 00 00 ; Catch
7F 00 00 00 08 00 00 00 ; Release
7F 00 00 00 30 00 00 00 ; Mix
7F 00 00 00 08 00 00 00 ; Drink
19 8A 0B FF 44 00 00 00 ; Recover
1A 00 80 01 40 00 00 00 ; Revive
7F 00 00 00 08 00 00 00 ; Gaia
7F 00 00 00 00 00 00 00 ; Unused?
7F 00 00 00 08 00 00 00 ; Hide
7F 00 00 00 08 00 00 00 ; Reveal
7F 00 00 00 08 00 00 00 ; Unused?
7F 00 00 00 00 00 00 00 ; Sing
49 32 00 00 28 00 00 00 ; Flirt
4A 19 00 00 28 00 00 00 ; Dance
7F 00 00 00 08 00 00 00 ; Mimic
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 10 ; Focus
7F 00 00 00 08 00 10 80 ; Jump
7F 00 00 00 38 00 00 00 ; Patarillo (Dummy)
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
7F 00 00 00 08 00 00 00
84 00 00 00 28 00 00 00 ; Open Fire
85 00 00 00 48 00 00 00 ; Combine
80 00 00 00 48 00 00 00 ; Bladeblitz
81 00 00 00 28 00 00 00 ; Finisher

Note that modifying this data doesn't necessarily change the ability effects (Modifying Chakra's targeting for example does nothing), the actual effects seem to be hardcoded in other places.

I don't remember if there's supposed to be another table or not off the top of my head.
« Last Edit: March 30, 2016, 08:26:42 PM by x0_000 »

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Gear Viewer
« Reply #65 on: March 31, 2016, 09:54:04 AM »
BIG, BIG thank you x0_000!!!

Version 4.2 is out with GBA info. It seems that GBA dont use 'unavoidable' bit and extends DF to a whole byte. That is why there are some glitches with SNES info (reporting wrong formula, when 'unavoidable' bit is used). In extended space GBA adds new DF ($80 .. $8F) on which I have no info. On some I guessed their meaning, but for others I have no clue.

Also it seems that data I have gathered (most likely) dont have info on Predict, Oath, OpenFire. Pretty much all that you see after last Combine magic is probably random things totally not related with the associate name *rolling eyes toward x0_000*

x0_000

  • Siren
  • *
  • Posts: 72
    • View Profile
Re: FFV Gear Viewer
« Reply #66 on: March 31, 2016, 12:21:51 PM »
A few of them should be from the Necromancer (Skeleton, Rajiforme, Flaremancer, Zombie Dragon) or Oracle (Divine Judgment, Pestilence, Eruption, Starfall, etc.) abilities. I got the names by livehacking the !Gaia spells and seeing the results, although I guess it's been a while since I did that. I actually have some videos of some of the actual non-existent spells:

https://www.youtube.com/watch?v=Bbc-ruvQxWI
https://www.youtube.com/watch?v=sapvrqkjH2s

My guess is that they're on different tables (separated by a null entry or something) that just happen to be next to each other in the code.

Edit: After some code diving it looks like Oath uses the table starting at 08149E7C, and Condemn, Predict and Combine use the table at 081498DC.
« Last Edit: March 31, 2016, 12:31:35 PM by x0_000 »

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Gear Viewer
« Reply #67 on: April 01, 2016, 02:23:25 AM »
Names are OK, they are in order on that Text chunk. The names that you see in my app come from there, I haven't entered them manually.

The only thing I lack is the data (8 bytes) for them. 081498DC segment provide correct info for Animals, Mix, Gaia, Combine in that order. After the last Combine (Mini Cannon) and before 08149E7C there are bytes (in pair of 8) that I can not relate to any of Actions (magic/ability) that I know.
The match that I use to relate is Power which for all GBA+ content is stored in Param2. For specific power values I use Algorithm FAQ for GBA.

08149E7C contain SNES info but in the last unused slots it adds DarkArts.

So the missing data is for Oath, OpenFire, Predict. Unless they are hard-coded there should be such info.

P.S. Just out of curiosity, do you guys know what Squid/Dummy could be? It repeats 4 times and is between Gaia and Combine? They seems to use DF $82 with Param 2 - Ath Power, Param 3 - Element

x0_000

  • Siren
  • *
  • Posts: 72
    • View Profile
Re: FFV Gear Viewer
« Reply #68 on: April 02, 2016, 12:57:02 AM »
I'll try to remember to investigate this more thoroughly this summer when I inevitable get hankering for ffva hacking again.

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Viewer
« Reply #69 on: May 20, 2016, 07:48:35 AM »
Regardless how much I try not to, I keep developing that parser, because it helps me understand how Square did it :D

Version 5.0 is out!!!
- Big change - the name. It was about time to do it, because the more functionality I add it widens its scope.
- a new tab Ability. There are things inside that I haven't seen in any FFV editor/parser.
- a new tab Job. This is still WIP, but I know what I need and where to get, so just needs time.
- there are many, many small changes and fixes in previous parsings, thanks to increased knowledge of FFV and reading the asm code. There are still blind spots though ...
- NO GBA yet for Job/Ability.

There are national holidays and I bought a new car ... so I will take a short break :D That is the reason to release 5.0 although there is still work to be done.


P.S. How Equipment info in Job/Abilities relate to bits, representing Equipment types of gear?
It seems to me that last 5-6 bits for armor in Job/Abilities are interpreted differently in different FFV programs/documents. What should be the real meaning? More precisely: 'Common', 'Glove', 'Ring', 'Thief Gear', 'Chemist Gear' (Jorgur interpretation). samurai goroh uses 'Armlet/Wristlet' instead of ring and 'various' instead of common

x0_000

  • Siren
  • *
  • Posts: 72
    • View Profile
Re: FFV Viewer
« Reply #70 on: May 20, 2016, 01:06:08 PM »
Common, Glove, Ring, etc. are just markers used by the game to determine what items a job can equip. Common should mean that there it's available to all jobs. If you go to 08156E6C in a GBA ROM that's a table of bitflags the game uses to determine what can be equipped, the flags should be
Code: [Select]
0x00000001 - knives
0x00000002 - ninja knives
0x00000004 - swords
0x00000008 - knight swords
0x00000010 - lance
0x00000020 - axe
0x00000040 - hammer
0x00000080 - katanas
0x00000100 - rods
0x00000200 - staves
0x00000400 - flails
0x00000800 - bows
0x00001000 - harps
0x00002000 - whips
0x00004000 - bells
0x00008000 - unused? (No non-Freelancer job has this flag.)
0x00010000 - shields
0x00020000 - heavy helmets
0x00040000 - light helmets
0x00080000 - dancer helmets
0x00100000 - heavy armor
0x00200000 - light armor
0x00400000 - mage armor
0x00800000 - general armor/accessory (All jobs have this flag...?)
0x01000000 - heavy accessories/gloves
0x02000000 - diamond/power/silver/rings
0x04000000 - thief gloves/thief
0x08000000 - angel robe/chemist
0x10000000 - mage helmets/exotic
0x20000000 - unused
0x40000000 - unused
0x80000000 - unused

Jorgur

  • Moderator
  • *
  • Posts: 437
  • Gender: Male
    • View Profile
Re: FFV Viewer
« Reply #71 on: May 21, 2016, 04:52:43 AM »
I checked out the new version, and I have not yet found any problems or typos.

There is a table that connects each 1-byte Equipment Type Value to 4 bytes of Equipment Type Flags.
Look for [Equipment type] definitions: http://slickproductions.org/slickwiki/index.php/Jorgur:FF5_Item_data#Overview

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Viewer
« Reply #72 on: May 24, 2016, 01:36:33 PM »
Could you quote this table here? Also if you know the location of that table in the ROM, please share the address. At one point in my Dmg Calculator I will have to limit the equipment, depending on a class/ability :)

x0_000

  • Siren
  • *
  • Posts: 72
    • View Profile
Re: FFV Viewer
« Reply #73 on: May 24, 2016, 02:14:12 PM »
The GBA Table is
Code: [Select]
0D 00 B3 01 00 00 A4 02 01 00 A4 06 11 00 B3 01
03 00 A4 02 81 00 B3 01 61 00 B3 01 01 08 A4 02
05 00 B3 01 00 06 C0 12 01 01 C0 12 01 07 C0 12
01 01 C0 12 05 01 E5 12 05 03 E4 12 01 20 A4 02
01 06 E4 1A 01 40 C0 12 01 10 C0 12 01 00 EC 12
01 01 C0 12 00 06 C0 12 05 00 E5 12 3D 08 B3 01
01 03 F7 1F FF FF FF FF
Written as a sequence of words it's
Code: [Select]
01B3000D 02A40000 06A40001 01B30011
02A40003 01B30081 01B30061 02A40801
01B30005 12C00600 12C00101 12C00701
12C00101 12E50105 12E40305 02A42001
1AE40601 12C04001 12C01001 12EC0001
12C00101 12C00600 12E50005 01B3083D
1FF70301 FFFFFFFF

Jorgur

  • Moderator
  • *
  • Posts: 437
  • Gender: Male
    • View Profile
Re: FFV Viewer
« Reply #74 on: May 25, 2016, 02:24:28 AM »
The ROM address for the table in the SNES version is in the link I just posted.