ROM Hack Rune Factory 4 rom hacking + Test hack

JPAN

Member
OP
Newcomer
Joined
Nov 18, 2018
Messages
17
Trophies
0
Age
31
XP
760
Country
Portugal
In this thread I'm going to post some basic structure information for editing Rune Factory 4's recipes and item data. The entire content of this thread is included in the example hack .zip.


All files mentioned in this section belong in the "romfs/param/" folder. rf3itemList.bin, RF3ItemStrengthening.bin and rf3UseItemParam.bin change properties of items, rf3Recipe[category].bin represent the recipes in game. All the files start with a 0x1c sized header and end in a 0x10 sized footer. Header 0x14 is the footer address in the file, 0x18 is the number of entries in the file.

Every item in the game has an ID, like in many other games. That ID determines its position in the item files, and is used in recipes to identify the result and ingredients. The full list of IDs was not available online, so I made my own:

0001 - cabbage
0002 - king cabbage
0003 - pink turnip
0004 - collossal pink
0005 - pink melon
0006 - conqueror mellon
0007 - onion
0008 - ultra onion
0009 - pumpkin
000A - doom pumpkin
000B - cucumber
000C - kaiser cucumber
000D - corn
000E - gigant corn
000F - tomato
0010 - titan tomato
0011 - eggplant
0012 - emperor eggplant
0013 - yam
0014 - lordly yam
0015 - potato
0016 - princely potato
0017 - carrot
0018 - royal carrot
0019 - green pepper
001A - green pepper rex
001B - spinash
001C - sovereign spinash
001D - turnip
001E - tyrant turnip
001F - radish
0020 - noble radish
0021 - leek
0022 - legendary leek
0023 - bok choy
0024 - boss bok choy
0025 - hot hot fruit
0026 - giant hot hot fruit
0027 - bamboo sprout
0028 - golden cabbage
0029 - golden king cabbage
002A - golden pumpkin
002B - gldn doom pumpkin
002C - golden potato
002D - gold prince potato
002E - golden turnip
002F - golden tyrant turnip
0030 - mushroom
0031 - mushroom
0032 - mushroom
0033 - mushroom
0034 - mushroom
0035 - mushroom
0036 - monarch mushroom
0037 - strawberry
0038 - sultan strawberry
0039 - pineapple
003A - king pineapple
003B - grapes
003C - apple
003D - orange
003E - mealy apple
003F - toyherb
0040 - ultra toyherb
0041 - moondrop flower
0042 - ultra moondrop flower
0043 - pink cat
0044 - king pink cat
0045 - charm blue
0046 - great charm blue
0047 - medicinal herb
0048 - antidote grass
0049 - black grass
004A - orange grass
004B - red grass
004C - yellow grass
004D - blue grass
004E - green grass
004F - purple grass
0050 - indigo grass
0051 - white grass
0052 - weeds
0053 - withered grass
0054 - cherry grass
0055 - king cherry grass
0056 - lamp grass
0057 - kaiser lamp grass
0058 - blue crystal
0059 - big blue crystal
005A - emery flower
005B - great emery flower
005C - ironleaf
005D - super ironleaf
005E - 4-leaf clover
005F - great 4-leaf clover
0060 - firefower
0061 - big fireflower
0062 - green crystal
0063 - big green crystal
0064 - noel grass
0065 - large noel grass
0066 - autumn grass
0067 - big autumn grass
0068 - pom-pom grass
0069 - king pom-pom grass
006A - red crystal
006B - big red crystal
006C - white crystal
006D - big white crystal
006E - ayngondaia lawn
006F - the protein
0070 - intelligencer
0071 - vital gummy
0072 - heart drink
0073 - antidote potion
0074 - para-gone
0075 - roundoff
0076 - cold medicine
0077 - formuade
0078 - love potion
0079 - invinciroid
007A - levelizer
007B - heavy spice
007C - sweet powder
007D - sour drop
007E - mixed herbs
007F - recovery potion
0080 - healing potion
0081 - mystery potion
0082 - magical potion
0083 - object x
0084 - failed dish
0085 - disastrous dish *
0086 - trout sashimi
0087 - char sashimi
0088 - rainbow sashimi
0089 - salmon sashimi
008A - cherry sashimi
008B - taimen sashimi
008C - snapper sashimi
008D - glitter sashimi
008E - lover sashimi
008F - girella sashimi
0090 - skipjack sashimi
0091 - yellowtail sashimi
0092 - Tuna sashimi
0093 - sardine sashimi
0094 - needlefish sashimi
0095 - pike sashimi
0096 - flounder sashimi
0097 - Turbot sashimi
0098 - Fall sashimi
0099 - squid sashimi
009A - sunsquid sashimi
009B - lamp squid sashimi
009C - blowfish sashimi
009D - lobster sashimi
009E - shrimp sashimi
009F - fried veggies
00A0 - fried rice
00A1 - cabbage cakes
00A2 - french fries
00A3 - croquettes
00A4 - popcorn
00A5 - corn cereal
00A6 - miso eggplant
00A7 - fried eggs
00A8 - omelet
00A9 - omelet rice
00AA - baked apple
00AB - curry bread
00AC - french toast
00AD - donut
00AE - fried udon
00AF - tempura
00B0 - pancakes
00B1 - gyoza
00B2 - rizotto
00B3 - dry curry
00B4 - salted masu trout
00B5 - salted char
00B6 - salted R.Trout
00B7 - salted c. Salmon
00B8 - salted chub
00B9 - salted salmon
00BA - salted taimen
00BB - grilled c Carp
00BC - grilled Gibelio
00BD - grilled snapper
00BE - grilled Girella
00BF - grilled G. Snapper
00C0 - grilled L. Snapper
00C1 - grilled skipjack
00C2 - grilled mackarel
00C3 - grilled yellowtail
00C4 - salted pond smelt
00C5 - tuna teriyaki
00C6 - dried sardines
00C7 - grilled needlefish
00C8 - salted pike
00C9 - grilled Flounder
00CA - grilled turbot
00CB - grilled f Flounder
00CC - grilled squid
00CD - grilled sunsquid
00CE - grilled lamp squid
00CF - grilled blowfish
00D0 - grilled lobster
00D1 - grilled shrimp
00D2 - grilled S Flounder
00D3 - hot milk
00D4 - hot chocolate
00D5 - grape liqueur
00D6 - boiled pumpkin
00D7 - boiled spinash
00D8 - boiled egg
00D9 - glazed yam
00DA - boiled gyoza
00DB - strawberry jam
00DC - apple jam
00DD - grape jam
00DE - marmalade
00DF - cheese fondue
00E0 - udon
00E1 - curry udon
00E2 - tempura udon
00E3 - rice porridge
00E4 - milk porridge
00E5 - tempura bowl
00E6 - egg bowl
00E7 - stew
00E8 - curry rice
00E9 - ultimate curry
00EA - royal curry
00EB - relax tea
00EC - grilled miso
00ED - union stew
00EE - rockfish stew
00EF - corn on the cob
00F0 - baked onigiri
00F1 - sweet potato
00F2 - toast
00F3 - jam roll
00F4 - butter roll
00F5 - pizza
00F6 - seafood pizza
00F7 - doria
00F8 - seafood doria
00F9 - gratin
00FA - seafood gratin
00FB - yam of the ages
00FC - cookie
00FD - choco cookie
00FE - cake
00FF - chocolate cake
0100 - cheesecake
0101 - apple pie
0102 - pinapple juice
0103 - tomato juice
0104 - grape juice
0105 - orange juice
0106 - apple juice
0107 - strawberry milk
0108 - fruit juice
0109 - fruit smoothie
010A - vegetable juice
010B - veggie smoothie
010C - mixed juice
010D - mixed smoothie
010E - ketchup
010F - butter
0110 - gold juice
0111 - prelude to love
0112 - hot juice
0113 - steamed bread
0114 - cheese bread
0115 - meat dumpling
0116 - chinese manju
0117 - curry manju
0118 - steamed gyoza
0119 - pound cake
011A - chocolate sponge
011B - flan
011C - pumpkin flan
011D - dumplings
011E - salad
011F - sandwich
0120 - fruit sandwich
0121 - pickled turnip
0122 - pickles
0123 - bamboo rice
0124 - raisin bread
0125 - ice cream
0126 - relax tea leaves
0127 - onigiri
0128 - bread
0129 - salmon onigiri
012A - pickle mix
012B - turnip heaven
012C - rice
012D - chocolate
012E - wine
012F - elli leaves
0130 - milk s
0131 - milk m
0132 - milk l
0133 - egg s
0134 - egg m
0135 - egg l
0136 - mayonnaise
0137 - cheese
0138 - yogurt
0139 - honey
013A - flour
013B - oil
013C - curry powder
013D - rice flour
013E - medicine bread
013F - medicine bread +
0140 - cooking bread
0141 - cooking bread +
0142 - weapon bread
0143 - weapon bread +
0144 - accessory bread
0145 - accessory bread +
0146 - farming bread
0147 - farming bread +
0148 - broadsword
0149 - Steel sword
014A - Wind Sword
014B - aqua sword
014C - defender
014D - aerial blade
014E - burning sword
014F - sakura
0150 - luck blade
0151 - platinum sword
0152 - raventine
0153 - icifier
0154 - soul eater
0155 - smash blade
0156 - dragon slayer
0157 - sunspot
0158 - star saber
0159 - gaia sword
015A - grantale
015B - chaos blade
015C - rune blade
015D - steel sword +
015E - platinum sword +
015F - cutlass
0160 - back scratcher
0161 - durendal
0162 - gladius
0163 - gorgeous sword
0164 - spoon
0165 - rune legend
0166 - snakesword
0167 - veggieblade
0168 - invisiblade
0169 - plant sword
016A - claymore
016B - zweihander
016C - flame saber
016D - cyclone blade
016E - dancing dicer
016F - great sword
0170 - heaven Asunder
0171 - grand smasher
0172 - blue-eyed blade
0173 - poison blade
0174 - steel slicer
0175 - flamberge
0176 - shine blade
0177 - earth shade
0178 - bio smasher
0179 - punisher
017A - sea cutter
017B - volcanon
017C - snow crown
017D - moon shadow
017E - force Element
017F - zweihander +
0180 - Flamberge +
0181 - Katzbalger
0182 - big knife
0183 - katana
0184 - balmung
0185 - psycho
0186 - dekash
0187 - braveheart
0188 - belzebuth
0189 - daicone
018A - caliburn
018B - orochi
018C - spear
018D - lance
018E - needle spear
018F - halberd
0190 - water spear
0191 - blood lance
0192 - wood staff
0193 - poison spear
0194 - corsesca
0195 - silent grave
0196 - flare lance
0197 - heavy lance
0198 - iceberg
0199 - metus
019A - monk staff
019B - overbreak
019C - brionac
019D - feather lance
019E - belvarose
019F - bjor
01A0 - gungnir
01A1 - lance +
01A2 - corsesca +
01A3 - trident
01A4 - pitchfork
01A5 - dragon's fang
01A6 - gae bolg
01A7 - magical lance
01A8 - safety lance
01A9 - Legion
01AA - poison queen
01AB - pine club
01AC - fivestaff
01AD - battle hammer
01AE - war hammer
01AF - great hammer
01B0 - schnabel
01B1 - gigant hammer
01B2 - mjolnir
01B3 - spiked hammer
01B4 - flame hammer
01B5 - ice hammer
01B6 - sky hammer
01B7 - graviton hammer
01B8 - bone hammer
01B9 - crystal hammer
01BA - war hammer +
01BB - gigant hammer +
01BC - hammer
01BD - toy hammer
01BE - fatal crush
01BF - strong stone
01C0 - kongo
01C1 - bat
01C2 - iron bat
01C3 - splash star
01C4 - battle axe
01C5 - pole axe
01C6 - alldale
01C7 - great axe
01C8 - demon axe
01C9 - crescent axe
01CA - executioner
01CB - heat axe
01CC - frost axe
01CD - tomahawk
01CE - rock axe
01CF - double edge
01D0 - saint axe
01D1 - pole axe +
01D2 - crescent axe +
01D3 - axe
01D4 - lollipop
01D5 - battle scythe
01D6 - basilisk fang
01D7 - devil finger
01D8 - rod
01D9 - staff
01DA - silver staff
01DB - flare staff
01DC - ice staff
01DD - lightning wand
01DE - earth staff
01DF - wizard's staff
01E0 - mage staff
01E1 - rune staff
01E2 - mage staff +
01E3 - magic broom
01E4 - basket
01E5 - magic shot
01E6 - hell branch
01E7 - crimson staff
01E8 - bubble staff
01E9 - gaia rod
01EA - shooting star staff
01EB - cyclone rod
01EC - storm wand
01ED - ruby rod
01EE - emerald rod
01EF - sapphire rod
01F0 - amethyst rod
01F1 - aquamarine rod
01F2 - diamond rod
01F3 - friendly rod
01F4 - love-love rod
01F5 - sorcerer's wand
01F6 - hell curse
01F7 - algernon
01F8 - golden turnip staff
01F9 - sweet potato staff
01FA - elvish harp
01FB - syringe
01FC - short dagger
01FD - steel edge
01FE - wind edge
01FF - frost edge
0200 - steel katana
0201 - sonic dagger
0202 - salamander
0203 - twin blade
0204 - rampage
0205 - platinum edge
0206 - efreet
0207 - deep blizzard
0208 - dark invitation
0209 - force divide
020A - dragoon claw
020B - heart fire
020C - desert wind
020D - broken wall
020E - orcus sword
020F - chaos edge
0210 - rune edge
0211 - iron edge
0212 - emerald edge
0213 - thief knife
0214 - double scratch
0215 - priest saber
0216 - earnest edge
0217 - gorgeous lx
0218 - acutorimass
0219 - twin leeks
021A - Twin Justice
021B - Leather gloves
021C - brass knuckle
021D - Kote
021E - bear claws
021F - fists of fire
0220 - fists of water
0221 - fists of wind
0222 - fists of the earth
0223 - fists of light
0224 - fists of dark
0225 - gloves
0226 - cat punch
0227 - dragon claws
0228 - animal puppets
0229 - ironleaf fists
022A - golem punch
022B - hand of god
022C - caestus
022D - basal katar
022E - fenrir
022F - cheap hoe
0230 - Sturdy hoe
0231 - seasoned hoe
0232 - shiny hoe
0233 - blessed hoe
0234 - cheap waterpot
0235 - tin waterpot
0236 - lion waterpot
0237 - rainbow waterpot
0238 - joy waterpot
0239 - cheap sickle
023A - iron sickle
023B - quality sickle
023C - super sickle
023D - legendary sickle
023E - cheap Hammer
023F - iron Hammer
0240 - silver Hammer
0241 - golden Hammer
0242 - platinum Hammer
0243 - cheap axe
0244 - chopping axe
0245 - lumber axe
0246 - mountain axe
0247 - miracle axe
0248 - cheap pole
0249 - beginner's pole
024A - skilled pole
024B - famous pole
024C - sacred pole
024D - small shield
024E - iron shield
024F - round shield
0250 - platinum shield
0251 - heavy shield
0252 - knight shield
0253 - rune shield
0254 - magic shield
0255 - prism shield
0256 - element shield
0257 - chaos shield
0258 - turtle shield
0259 - bone shield
025A - kite shield
025B - magical shield
025C - monkey plush
025D - umbrella
025E - magic plant shield
025F - aquamarine ring
0260 - amethyst ring
0261 - emerald ring
0262 - sapphire ring
0263 - diamond ring
0264 - ruby ring
0265 - happy ring
0266 - cursed ring
0267 - fire ring
0268 - wind ring
0269 - water ring
026A - earth ring
026B - silver ring
026C - gold ring
026D - platinum ring
026E - critical ring
026F - silent ring
0270 - paralysis ring
0271 - poison ring
0272 - magic ring
0273 - cheap bracelet
0274 - bronze bracelet
0275 - silver bracelet
0276 - gold bracelet
0277 - platinum bracelet
0278 - aquamarine brooch
0279 - amethyst brooch
027A - emerald brooch
027B - sapphire brooch
027C - diamond brooch
027D - ruby brooch
027E - silver pendant
027F - heart pendant
0280 - star pendant
0281 - sun pendant
0282 - field pendant
0283 - dew pendant
0284 - earth pendant
0285 - holy amulet
0286 - charm
0287 - leather belt
0288 - lucky strike
0289 - talisman
028A - champ belt
028B - gloves
028C - work gloves
028D - badge
028E - power gloves
028F - magic charm
0290 - shield ring
0291 - rosary
0292 - courage badge
0293 - hero's proof
0294 - proof of wisdom
0295 - hand-knit scarf
0296 - fluffy scarf
0297 - art of attack
0298 - art of defense
0299 - art of magic
029A - earrings
029B - witch earrings
029C - magic earrings
029D - venti's charm
029E - venti's charm
029F - annette's necklace
02A0 - throwing ring
02A1 - stay-up ring
02A2 - strange pendant
02A3 - dolphin brooch
02A4 - engagement ring
02A5 - silver hairpin
02A6 - gold hairpin
02A7 - fancy hat
02A8 - headband
02A9 - feathered hat
02AA - brand glasses
02AB - spectacles
02AC - intelligent glasses
02AD - straw hat
02AE - fireproof hood
02AF - cute knitting
02B0 - black ribbon
02B1 - orange ribbon
02B2 - red ribbon
02B3 - yellow ribbon
02B4 - blue ribbon
02B5 - green ribbon
02B6 - purple ribbon
02B7 - indigo ribbon
02B8 - white ribbon
02B9 - turnip headgear
02BA - pumpkin headgear
02BB - spring headdress
02BC - summer headdress
02BD - autumn headdress
02BE - winter headdress
02BF - lolita headdress
02C0 - headdress
02C1 - cat ears
02C2 - crown
02C3 - four seasons
02C4 - silk hat
02C5 - feather boots
02C6 - heavy boots
02C7 - leather boots
02C8 - knight boots
02C9 - snow boots
02CA - ice skates
02CB - piyo sandals
02CC - step-in boots
02CD - ghost boots
02CE - iron geta
02CF - strider boots
02D0 - secret shoes
02D1 - wet boots
02D2 - sneaking boots
02D3 - fast step boots
02D4 - water shoes
02D5 - rocket wing
02D6 - silver boots
02D7 - gold boots
02D8 - bone boots
02D9 - fairy boots
02DA - free farming shoes
02DB - shirt
02DC - vest
02DD - wooly shirt
02DE - mercenary's cloak
02DF - mail
02E0 - cotton cloth
02E1 - chain mail
02E2 - scale vest
02E3 - protector
02E4 - wind cloak
02E5 - sparkling shirt
02E6 - platinum mail
02E7 - lamellar vest
02E8 - elvish cloak
02E9 - power protector
02EA - dragon cloak
02EB - rune vest
02EC - royal garter
02ED - four dragons' vest
02EE - brush
02EF - clippers
02F0 - magnifying glass
02F1 - turnip seeds
02F2 - potato seeds
02F3 - cucumber seeds
02F4 - strawberry seeds
02F5 - cabbage seeds
02F6 - moondrop seeds
02F7 - toyherb seeds
02F8 - tomato seeds
02F9 - corn seeds
02FA - onion seeds
02FB - pumpkin seeds
02FC - pineapple seeds
02FD - pink cat seeds
02FE - eggplant seeds
02FF - carrot seeds
0300 - yam seeds
0301 - spinash seeds
0302 - green pepper seeds
0303 - charm blue seeds
0304 - fodder seeds
0305 - cherry grass seeds
0306 - lamp grass seeds
0307 - blue crystal seeds
0308 - emery flower seeds
0309 - ironleaf seeds
030A - clover seeds
030B - fireflower seeds
030C - green crystal seeds
030D - noel grass seeds
030E - autumn grass seeds
030F - pom-pom grass sds
0310 - red crystal seeds
0311 - white crystal seeds
0312 - pink turnip seeds
0313 - radish seeds
0314 - leek seeds
0315 - bok choy seeds
0316 - gold cabbage seeds
0317 - gold pumpkin seeds
0318 - gold potato seeds
0319 - gold turnip seeds
031A - gold melon seeds
031B - hot-hot seeds
031C - apple tree seeds
031D - orange tree seeds
031E - grape tree seeds
031F - shining seeds
0320 - dungeon seed
0321 - sword seed
0322 - shield seed
0323 - wettable powder
0324 - greenifier
0325 - greenifier +
0326 - formula a
0327 - formula b
0328 - formula c
0329 - no rot a
032A - no rot b
032B - giantizer
032C - minimizer
032D - fodder
032E - fur s
032F - fur m
0330 - fur l
0331 - yarn
0332 - scrap metal
0333 - iron
0334 - bronze
0335 - silver
0336 - gold
0337 - platinum
0338 - orichalcum
0339 - diamond
033A - ruby
033B - emerald
033C - sapphire
033D - amethyst
033E - aquamarine
033F - cheap cloth
0340 - quality cloth
0341 - silk cloth
0342 - arrowhead
0343 - warrior's proof
0344 - glue
0345 - old bandage
0346 - gunpowder
0347 - earth crystal
0348 - devil horn
0349 - devil blood
034A - magic powder
034B - magic crystal
034C - shoulder piece
034D - giant's nail
034E - giant's gloves
034F - hammer piece
0350 - insect carapace
0351 - insect jaw
0352 - spider's thread
0353 - pretty thread
0354 - pretty carapace
0355 - rigid horn
0356 - scorpion tail
0357 - scorpion pincer
0358 - panther claw
0359 - dragon fang
035A - wolf fang
035B - quality fur
035C - bull's horn
035D - bird's feather
035E - wind crystal
035F - fur
0360 - root
0361 - spore
0362 - poison powder
0363 - plant stem
0364 - strong vine
0365 - fish fossil
0366 - water crystal
0367 - turtle shell
0368 - fire crystal
0369 - ghost hood
036A - skull
036B - broken hilt
036C - broken box
036D - fairy dust
036E - small crystal
036F - wooly furball
0370 - light crystal
0371 - dark crystal
0372 - love crystal
0373 - racoon crystal
0374 - dragon bones
0375 - red lion fur
0376 - blue lion fur
0377 - broken ice wall
0378 - ammonite
0379 - icy nose
037A - chest hair
037B - chimera tail
037C - grimoire scale
037D - legendary scale
037E - dragon fin
037F - moving branch
0380 - electro crystal
0381 - melody bottle
0382 - golem tablet
0383 - earthwyrm scale
0384 - firewyrm scale
0385 - ambrosia's thorns
0386 - lightning mane
0387 - cursed doll
0388 - puppetry strings
0389 - left rock shard
038A - right rock shard
038B - crystal skull
038C - throne of the empire
038D - wind dragon tooth
038E - rune sphere shard
038F - rafflesia petal
0390 - mtgu plate
0391 - cheap propeller
0392 - quality propeller
0393 - rusty screw
0394 - shiny screw
0395 - palm claw
0396 - malm claw
0397 - big crystal
0398 - rune crystal
0399 - green core
039A - red core
039B - yellow core
039C - blue core
039D - water dragon ash
039E - fire dragon ash
039F - earth dragon ash
03A0 - holy spore
03A1 - white stone
03A2 - invisible stone
03A3 - shade stone
03A4 - double steel
03A5 - 10-fold steel
03A6 - round stone
03A7 - glitta augite
03A8 - light ore
03A9 - scrap metal +
03AA - stick
03AB - quality puffy fur
03AC - yellow down
03AD - penguin down
03AE - ivory tusk
03AF - unbroken ivory tusk
03B0 - tiny golem stone
03B1 - paralysis poison
03B2 - black bird feather
03B3 - vine
03B4 - insect horn
03B5 - mysterious powder
03B6 - wet scale
03B7 - magic
03B8 - gold wolf fang
03B9 - blue giant's glove
03BA - thick stick
03BB - magic claw
03BC - glistening blade
03BD - fairy elixir
03BE - great hammer shard
03BF - golem stone
03C0 - blk tortoise shell
03C1 - thunderbird feather
03C2 - big giant's nail
03C3 - yellow feather
03C4 - quality worn cloth
03C5 - pirate's armor
03C6 - blade shard
03C7 - proof of rank
03C8 - turnip's miracle
03C9 - dragon scale
03CA - golem spirit stone
03CB - ancient orc cloth
03CC - queen's jaw
03CD - poison king
03CE - dangerous scissors
03CF - chimera's claw
03D0 - tablet of truth
03D1 - big bird's comb
03D2 - battle turnip
03D3 - black scale
03D4 - blue scale
03D5 - glitter scale
03D6 - crimson scale
03D7 - love scale
03D8 - dragonic stone
03D9 - masu trout
03DA - squid
03DB - taimen
03DC - sardine
03DD - char
03DE - chub
03DF - glitter snapper
03E0 - skipjack
03E1 - turbot
03E2 - gibelio
03E3 - salmon
03E4 - mackarel
03E5 - needlefish
03E6 - pike
03E7 - sunsquid
03E8 - shrimp
03E9 - snapper
03EA - throbby snapper
03EB - rainbow trout
03EC - flounder
03ED - blowfish
03EE - yellowtail
03EF - crucian carp
03F0 - tuna
03F1 - girella
03F2 - fall flounder
03F3 - cherry salmon
03F4 - lamp squid
03F5 - lobster
03F6 - pond smelt
03F7 - sand flounder
03F8 - rockfish
03F9 - can
03FA - boot
03FB - rare can
03FC - rock
03FD - branch
03FE - lumber
03FF - material stone
0400 - escape
0401 - fireball
0402 - big fire
0403 - explosion
0404 - water laser
0405 - parallel laser
0406 - delta laser
0407 - screw rock
0408 - earth spike
0409 - avenger rock
040A - sonic wind
040B - double sonic
040C - penetrate sonic
040D - light barrier
040E - shine
040F - prism
0410 - dark ball
0411 - dark snake
0412 - darkness
0413 - cure
0414 - cure all
0415 - master cure
0416 - medipoison
0417 - mediparalyze
0418 - mediseal
0419 - greeting spell
041A - power wave
041B - dash slash
041C - rush attack
041D - round break
041E - mind thrust
041F - gust
0420 - storm
0421 - blitz
0422 - twin attack
0423 - rail strike
0424 - wind slash
0425 - flash strike
0426 - naive blade
0427 - steel heart
0428 - delta strike
0429 - hurricane
042A - reaper slash
042B - millionstrike
042C - axel disater
042D - stardust upper
042E - tornado swing
042F - grand impact
0430 - giga swing
0431 - upper cut
0432 - double kick
0433 - straigth punch
0434 - neko damashi
0435 - rush punch
0436 - cyclone
0437 - rapid move
0438 - bonus concerto
0439 - striking march
043A - iron waltz
043B - minerals
043C - liquids
043D - claws and fangs
043E - sticks and stems
043F - cloths and skins
0440 - furs
0441 - strings
0442 - shards
0443 - powders and spores
0444 - scales
0445 - shells and bones
0446 - stones
0447 - turnip
0448 - crystals
0449 - jewels
044A - feathers
044B - jam
044C - curry
044D - squid
044E - battle turnip
044F - gold battle turnip
0450 - bullet
0451 - golden bullet
0452 - cherry turnip
0453 - disgusting food
0x43b to 0x44d are categories, and can be used in recipes to mean any item in that category can be used (such as iron or bronze in minerals)


rf3itemList.bin
Contains information about the items, including buying and selling price. Each structure is 0x28 in size, starting at item ID 0 on 0x1c.
Inside that structure, Buy Price is at 0x8 and Sell price is at 0xc, each being 4 byte integers.

rf3UseItemParam.bin
This file contains information about what effects a food/potion will have when ingested. It's displayed in the top of the item description. Each structure is 0xb4 in size, starting with item 0 at 0x1c.
There are two type of modifiers: integer modifiers, which range from ~-2 to 2 billion, and % modifiers, that use fixed point values, with 0x100 being 7.25%, 0x400 25%, 0x800 50% and 0x1000 100%.
These are the Offsets for changing item properties:
0x00 HP
0x04 RP
0x08 HP %
0x0c RP %
0x10 status flags (combine freely)
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)

RF3ItemStrengthening.bin
This file contains information about what the item does when upgrading a tool/weapon/armor with it.
The file starts with item 0 at 0x1c and the structure has 0x128 in size. This is what I've got so far:
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 ???

Recipe files
There are several Recipe files, one for each object-making category. Most are self-explanatory (Drug, Armor), but weapons are divided by type and encoded with a Letter. IT's in the order presented in the forge (Short swords is A, Fist weapons are N).
Each file starts with the header, and typically a Null recipe, followed by the actual recipes from the game. Each recipe has 0x14 bytes, with the structure:
0x0 result item
0x2,0x4,0x6,0x8,0xa,0xc ingredients
0xe Level required
0x10 Recipe ID, used as a flag to determine if the recipe was learned.

The last recipe ID used in the game is 0x285, so any recipe with unique learning must be higher than that. I don't know how many flags are still available, but at least two are.

Change NPC Likes/Dislikes
On the folder called "present" lies a set of files that determine what items a person dislikes, likes and loves.
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's item list address
0x8 1
0xc pointer to end of footer containing the address to the list header.


rf3PresentCategory.bin
Starts with 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)
Each of those categories are a list that starts with the number of entries, each containing an Item ID followed by either 0xfff6 (-5), 0, 9 or 0xf. My theory is that these numbers should affect the FP gained from them, but they seem to hold no impact in-game.


rf3PresentNpc*.bin
Starts with a list of 3 addresses, each pointing to a list of Dislikes, likes and loves, in this order.
Each of these lists are similar in structure to the Category lists listed above with two differences:
Item IDs of the type 0x81YY represent the category YY of the PresentCategory file;
Item IDs of the type 0x80YY represent a category YY that is defined somewhere else (not found yet). Values encountered are
0x8000 = all dishes,
0x8002 = vegetables
0x8007 = Dragon drops
0x8008 = metals

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)

Crops
Stored in rf3CropParam.bin are all the "crops" in the game. This does include grasses, rocks and branches.
Each entry contains 0x6c bytes of data. This structure is not fully studied, but the parameters found are enough for changing many of the game's crop information.

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 spinach
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)


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
Non-growable crops zero out most information about crops, such as growing time, stat increases and seeds dropped.

NPC Files
The file rf3NpcParam.bin contains all npc (human and monster) information such as base stats and drops.
Each structure is 0x134 in size, starting at 0x1c, in the order presented by the text 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 (when captured)
0x130 (0x4000 flag makes it produce items)

As for the hack, there seem to be a way using Luma to try it out without decrypting and extracting the ROM, but I don't know exactly how that works. There are some guides out there for decrypting and extracting 3ds and Cia files, and then put them back together. Just place the romfs folder contents in your extracted romfs and rebuild/encrypt the game. For Decrypted roms (I used Citra to test this hack with a Cxi), I include in the .zip some bat files that can extract and rebuild the cxi file, which citra can then run natively.

The hack is more flexed out now, with several utility recipes, changes to monsters produce, to crops yield and grow time. Check the changelog for more information

Added new recipes for:
- Recipe Bread+,
- Most groceries (rice, flour, oil, curry powder, wine)
- Mixed herbs, heavy spice, sour drop and sweet powder
- Greenifier +, formula B and C
- Scrap Metal + and Cheap cloth
- Seeds from vegetables and wetter powder (tree seeds require 4 of the fruit instead of just 1)

Changed recipes for:
- Recovery potion (Medicinal herb only)
- Stew (use any milk)
- Donut (use any egg)

Changed item use for:
- Great Emery flower (full HP/RP recovery and increased max HP/RP)
- Intelligencier, Protein, and Vital Gummy now give 5 stat increase instead of 1
- Heart drink now gives 50 max hp increase instead of 10
- Prelude to Love now increases max HP/RP by 50% and decreases vit by 7%

Changed crops:
- Grass now gives 3 pieces of fodder per harvest
- Yam regrows after harvest
- Corn regrows after harvest, and produces 3 corn per harvest
- All crystal flowers regrow after harvest, taking the same time to regrow as from stage 3 to 4
- Four Leaf clovers grow 5 pieces instead of 4, and regrow after 7 days.
- Emery flower regrows 30 days after harvest, and produces 5 flowers instead of 3.

Changed item strengthening:
- All ores raise the same attack as they did defense
- All Gems raise Magic attack as they did Magic defense
- Dragonic stone raises Atk, Def, MAtk and MDef
- Great emery flower raises 100 Atk, Def, MAtk and MDef, 80 Str, Vit and Int, and gives a 12.5 crit bonus.

Changed Monsters
- Green, Red, Yellow and Blue produce their respective cores in captivity, with a rare chance of appearing.

Misc:
- changed "Gold Melon Seeds" to "Pink Melon Seeds"
Great Emery Flower Picture:
giant emery flower.png



Hope this(se) document(s) help anyone who wants to hack this game to rebalance the game to their liking and create new recipes for their hacks.

EDIT: Added information about changing item preference for all NPCs. One possible use could be to create a NPC Like/Dislike randomizer.
Added information about status flags in itemUse, and permanent Stat ups.
Added information about NPC/monster battle data and Crops.
 

Attachments

  • rf4 hack.zip
    474.4 KB · Views: 551
Last edited by JPAN,

pikatsu

Well-Known Member
Member
Joined
Apr 16, 2014
Messages
829
Trophies
0
Age
36
XP
911
Country
Argentina
Great work. Is it possible to go deeper by finding a way to change quests or stats or monsters locations etc.
 

JPAN

Member
OP
Newcomer
Joined
Nov 18, 2018
Messages
17
Trophies
0
Age
31
XP
760
Country
Portugal
Great work. Is it possible to go deeper by finding a way to change quests or stats or monsters locations etc.
Quests seem to be hard-coded, and monster locations seem to be either in the "generator" Files or on the map data itself (the model). For either, I haven't found anything about them. As for stats, Item stats are in the "rf3ItemEquipmentParam.bin" file, NPC starting stats are in either NPCparam or ParameterNPC_(1,2,3). In either case, I haven't started studying those.

Just updated the main post with information on how to change NPC item preferences (Loves,likes, dislikes). An updated example mod may be introduced later.
 
  • Like
Reactions: pikatsu

pikatsu

Well-Known Member
Member
Joined
Apr 16, 2014
Messages
829
Trophies
0
Age
36
XP
911
Country
Argentina
I hope either you or someone else could find more and create an overworld map editor like the one on for pokemon gba games
 

JPAN

Member
OP
Newcomer
Joined
Nov 18, 2018
Messages
17
Trophies
0
Age
31
XP
760
Country
Portugal
OK, updated hack with some useful recipes for getting those Lv10 groceries, made leveling fodder useful, changes to crops (more regrowing) and Made the fairies produce their cores rarely.
I may increase the number of item-producing monsters so that most monsters produce an item.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: Hmm didn't know they made more Dusk Till Dawn movies watched part one on Pluto TV and they have...