0% found this document useful (0 votes)
347 views7 pages

Rune Factory 4 Hack Notes

The documents describe the file formats and structures for various data files related to recipes, items, crops, gifts, and NPCs in Rune Factory 3. Recipes have identifiers and level requirements. Items have names, prices and strengthening effects. Crops have growth times and parameters. Gifts have category and personality preferences. NPCs have base stats and drop tables. The files generally start with headers and use consistent offset-based structures.

Uploaded by

Cacing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
347 views7 pages

Rune Factory 4 Hack Notes

The documents describe the file formats and structures for various data files related to recipes, items, crops, gifts, and NPCs in Rune Factory 3. Recipes have identifiers and level requirements. Items have names, prices and strengthening effects. Crops have growth times and parameters. Gifts have category and personality preferences. NPCs have base stats and drop tables. The files generally start with headers and use consistent offset-based structures.

Uploaded by

Cacing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

rf3Recipe*.

bin
in the file header (first 0x1c in the file) 0x14 is the file size - footer (0x10 at
the end), 0x18 is number of recipes
Recipe format
size 0x14, start at 0x1c

0x0 result item


0x2,0x4,0x6,0x8,0xa,0xc ingredients
0xe Level required
0x10 Recipe ID

where Recipe ID is the flag used to determine if you learned that recipe.

last recorded recipe id is 0x286

rf3itemList.bin
Contains information about items

Seems to be a 0x28 sized structure per item.


starts at 0x1c with item 0
offsets - Descritpion
0x8 - Buying price
0xc - Selling price

prices

RF3ItemStrengthening.bin
contains the values that an item provides if used for upgrading equipment
% 0x100 ~= 7%, 0x800 = 50%, 0xa00 = 75%
structure seems to be 0x128 sized, starting at 0x1c

0x00 Dificulty
0x04 Atk
0x08 MAtk
0x0c def
0x10 MDef
0x14 Str
0x18 int
0x1c vit
0x20 diz
0x24 ???
0x28 crit %
0x2c knock %
0x30 stun %
0x34 ???
0x38 Psn atk %
0x3c Seal atk %
0x40 par atk %
0x44 slp atk %
0x48 ftg atk %
0x4c sick atk %
0x50 faint atk %
0x54 drain atk %
0x58 diz res %
0x5c crt res %
0x60 knock res %
0x64 psn res %
0x68 seal res %
0x6c par res %
0x70 slp res %
0x74 ftg res %
0x78 sick res %
0x7c faint res %
0x80 drain res %
0x84 ???

0x88 HP ?

rf3UseItemParam.bin
size 0xb4 starting in 0x1c

0x00 HP
0x04 RP
0x08 HP %
0x0c RP %
0x10 status
0x001 heal Psn
0x002 heal Seal
0x004 heal Par
0x008 heal slp
0x010 heal ftg
0x020 heal sick
0x040 cause psn
0x080 cause seal
0x100 cause par
0x200 cause slp
0x400 cause ftg
0x800 cause sick
0x1000 (not shown, but) instant faint
0x2000 (not shown) Lv up

0x14 ???
0x18 HP max
0x1c RP max
0x20 STR
0x24 Int
0x28 Vit
0x2c HP Max %
0x30 RP Max %
0x34 STR %
0x38 Int %
0x3c Vit %
0x40 crit %
0x44 knock res %
0x48 crt res %
0x4c Psn res %
0x50 seal res %
0x54 par res %
0x58 slp res %
0x5c ftg res %
0x60 sick res %
0x64 faint res %
0x68 Psn atk %
0x6c Seal atk %
0x70 par atk %
0x74 slp atk %
0x78 ftg atk %
0x7c sick atk %
0x80 faint atk %
0x84 Fire res %
0x88 Water res %
0x8c Earth res %
0x90 wind res %
0x94 Light res %
0x98 Dark res %
0x9c Love res %
0xa0 HP max + (permanent)
0xa4 STR max + (permanent)
0xa8 Int max + (permanent)
0xac Vit max + (permanent)
0xb0 ??? (always 0x10?)
item preferences (present folder)

item preferences have two important files:


rf3PresentCategory.bin contains item groups that a person will/won't like;
rf3PresentNpc*.bin contains the likes of the townsfolk.

Both files start with a 0x1c header where 0x14 is the address of the footer, and
0x1c is the number of entries.
In PresentNpc files, it is only considered one entry for both dislikes,likes and
loves. in Category file, there is 0x15
entries.
Both file's footers contain a list of addresses, pointing to addresses within the
file.

In both files a list containing list addresses is, starting at 0x10 of the footer,
with the folowing entry structure:
0x0 0
0x4 Category item list address
0x8 1
0xc pointer to end of footer containing the address to the list header.

rf3PresentCategory.bin
starts a list of addresses to categories, each followed by 8 bytes of zeros. there
are 21 categories in total:
0x00 garbage (weeds, branches, cans, etc)
0x01 cakes (pankakes, cake, choco cake, cheesecake ,apple pie, chocolate sponge)
0x02 remaining sweets (baked apple, donuts, cookies, flans, anything chocolate,
etc)
0x03 (pound cake, dumplings)
0x04 (french toast, glazed yam, jams, jam roll, steamed bread, cheese bread, honey)
0x05 flowers
0x06 medicines (stat ups, levelizer, status heal, recovery potions)
0x07 juices (only ones ended in Juice)
0x08 fruits (strawberry, pinapple, pink melon, their giant variants and the fruits
grown from trees)
0x09 milk (milk porridge, strawberry milk, milk s,m,l, hot milk and corn cereal)
0x0a rice and rice dishes
0x0b breads
0x0c Tomato and tomato Dishes
0x0d Eggs and egg dishes (fried eggs, omelets, boiled egg, egg bowl)
0x0e japanese dishes (misos, udons (minus curry udon), tempuras, rice porridge,
onigiris, pickles, bamboo rice, rice)
0x0f cheese and cheese dishes (fondue, pizzas, gratins, cheesecake and cheese
bread)
0x10 grape and grape dishes (grape liquer, jam and juice, raisin bread)
0x11 apple and apple dishes
0x12 curry dishes
0x13 western dishes (pizzas, gratins, dorias, stew, cheese fondue. omelets,
rizzoto)
0x14 (fried rice, gyoza (normal, boiled and steamed) manjus, meat dumpling)

rf3PresentNpc*.bin
starts with a list of 3 addresses, each poining to a list of Dislikes, likes and
loves, in this order. Each of those
lists starts with the number of elements in that list, followed by that number of
16bit pairs, where the first 2 is the
item id (or category id if its second byte is 0x81), and the 3rd and 4th bytes are
either 0xfff6 (-5), 0, 9 or 0xf. This
seems to determine something about its FP value, but I'm not sure it is used.
if the item second byte is 0x80, it is from a separate category file I have yet
found.
0x8000 = all dishes,
0x8002 = vegetables
0x8007 = Dragon drops
0x8008 = metals

NPC numbers:
01 Vishnal
02 Clorica
03 Volkanon
04 Forte
05 Kiel
06 Bado
07 Margaret
08 Dylas
09 Arthur
10 Porcoline
11 Xiao Pai
12 Lin Fa
13 Amber
14 Illuminata
15 Doug
16 Blossom
17 Dolce
18 Jones
19 Nancy
20 Leon
21 Ventuswill
22 Noel
23 Luna
24 Barret
25 Raven
26 ??? (hates turnip dishes, loves giant melon and turnip)
27 ??? (likes dishes, loves flowers)

rf3CropParam.bin
0x6c size structure

0x0 stage 1 time


0x1 stage 2 time
0x2 stage 3 time
0x3 stage 4 time

0x0c ???
0x18 days to regrow to after harvest (0 means no regrow)
0x1c number of crops

0x2c Overall level increase (fixed point 6 int) (0x08=0.25, 0x10 = 0.5 0x18 = 0.75,
0x20 = 1.0 )
0x30 Speed increase
0x34 Quality increase
0x38 Size increase
0x3c Number increase

0x60 Item when picked up


0x64 Seed (if any)
0x68 ???
0x69 (upper 4 bits) good seasons flags
0x1 spring
0x2 summer
0x4 fall
0x8 winter
0x6a (lower 4 bits) bad seasons flags

Crop order
0x00 ??? (No drop)
0x01 rock
0x02 ??? (No drop)
0x03 branch
0x04 ??? (No drop)
0x05 ??? (No drop)
0x06 ??? (No drop)
0x07 elli leaves
0x08 Medicinal herb
0x09 antidote grass
0x0a black grass
0x0b orange grass
0x0c red grass
0x0d yellow grass
0x0e blue grass
0x0f green grass
0x10 purple grass
0x11 indigo grass
0x12 white grass
0x13 weeds
0x14 withered grass
0x15 bamboo sprout
0x16 ??? (No drop)
0x17 ??? (no drop)
0x18 ??? (No drop)
0x19 ayngondaia lawn
0x1a ??? (No drop)
0x1b ??? (no drop)
0x1c ??? (No drop)
0x1d ??? (no drop)
0x1e ??? (No drop)
0x1f ??? (no drop)
0x20 ??? (No drop)
0x21 ??? (no drop)
0x22 ??? (No drop)
0x23 ??? (no drop)
0x25 ??? (no drop)
0x26 strawberry
0x27 cabbage
0x28 pink turnip
0x29 onion
0x2a toyherb
0x2b moondrop flower
0x2c cherry grass
0x2d lamp grass
0x2e emery flower
0x2f blue crystal
0x30 golden cabbage
0x31 pink melon
0x32 pumpkin
0x33 cucumber
0x34 corn
0x35 tomato
0x36 eggplant
0x37 pineapple
0x38 pink cat
0x39 ironleaf
0x3a 4-leaf clover
0x3b fireflower
0x3c green crystal
0x3d golden pumpkin
0x3e yam
0x3f potato
0x40 carrot
0x41 green pepper
0x42 spinash
0x43 charm blue
0x44 autumn grass
0x45 pom-pom grass
0x46 red crystal
0x47 golden potato
0x48 turnip
0x49 radish
0x4a leek
0x4b bok choy
0x4c noel grass
0x4d white crystal
0x4e golden turnip
0x4f hot-hot fruit
0x50 fodder
0x51 apple
0x52 orange
0x53 grapes
0x54 shining tree
0x55 dungeon
0x56 plant sword
0x57 magic plant shield
0x58 ??? (no drop)
0x59 ??? (no drop)
0x5a apple (no seed)
0x5b orange (no seed)
0x5c grapes (no seed)
rf3NpcParam.bin
contains all npc (human and monster) information
each structure is 0x134 in size, starting at 0x1c
Order of npcs is the same as the names in rf3TxtNpc_split2_1.bin

0x28 base HP
0x2c base str
0x30 base Int
0x34 base vit

0xe4 Common drop


0xe6 uncommon drop
0xe8 rare drop
0xea Ultra Rare drop

0x12c Produce
0x130 (0x4000 flag makes it produce items)

You might also like