WARNING for everyone modding their values!
Even though you CAN edit your amount to 65535, the moment you get ONE more item over that, it'll break the counter and act as if you have 0, the game will then reset the entire total amount again to 1. So just don't go edit it to 65535. 255 is fine for Items. (It's safe to use 9999 for Components, because you'll be mass using them when you finally get to Upgrading).
Since most people are interested in this.
What you'll need:
- Horizon - To extract your APP.DAT from your ff13-xx.dat file.
- FFXIII Encrypter (Credits to Jappi88 for making this amazing tool)
- Any free Hex Editor. For this tutorial I'll be using HxD Hexeditor, so I recommend you'll use this as well, unless you prefer working with another tool.
Alright, let's get started.
[CONTENT]
- Preparing APP.DAT
- Modifying Current Items & Adding New Items
- Obtaining 9999 Components
- Databases of Items
- Credits & Extras (Links to DBs, etc)
1. Preparing your APP.DAT
Step 1: Using Horizon, extract the APP.DAT file from your ff13-xx.dat file.
Step 2: Run Jappi's Encrypter tool, and open your APP.DAT file.
Step 3: Click Decrypt.
Your APP.DAT file is now ready to be modded.
2. HxD Guide Modifying Current Items & ADDING New Items
Now run your Hex Editor, and open up APP.DAT. Here's what it'll look like if you did every step correct.
As you can see there's ton of numbers and it'll look confusing for most people that haven't done this before.
Fortunately due to the file being decrypted most items can be identified as 'text' as well inside this file (Example: it_elixir)
Moving on. Let's start with something as simple as Recovery Items. A certain part of a hex code is called an offset, for this Item Category we'll browse to Offset 1C56C.
In HxD this is done by pressing Search and then Goto (Shortcut: CTRL+G)
You'll end up over in this area now.
See the part I selected? This is the first slot of your Recovery Items containing 1 Potion.
Let's take a look at how this looks in the hex code itself:
Ok, so now you figured out what the Item is, and what the amount is. Let's say you want 255 Potions on Slot 1 now... all you do at this point is change the 01 to FF (Hex for 255 dec).Code:Item Code: [69 74 5F 70 6F 74 69 6F 6E] 00 00 00 00 00 00 00 Item Amount: [00 01]
So how do I change it to an Elixir? Since the file is decrypted this is pretty easy, the text it_potion on the right side can be changed to it_elixir, and it'll automatically fill in the hex code for you;
See how the first part of the code is now changed? Simple as that.Code:69 74 5F 65 6C 69 78 69 72 00 00 00 00 00 00 00 00 FF
Let's move on to ADDING items. For this example imagine having 7 Item Slots available. The first 2 slots are token but you can still add more.
The [07] that I marked in this box is your current Item Capacity in-game. You can set this to 12 max. (But I wouldn't recommend altering this, you won't need more than 6 anyway, which is the default capacity).Code:[07] 69 74 5F 70 6F 74 69 6F 6E 00 00 00 00 00 00 00 00 01 69 74 5F 65 6C 69 78 69 72 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Anyways, let's say you want to add a Hero Potion to this batch.
You have to take note of how long a 'block' is. For every item it's the same length. So in this case we're talking about 18 characters being visible. (It's 16 chars for the Item Code, leaving the last 2 chars for item amount. You can set more than 255 for an amount, but you really won't need to, and in this tutorial I'll be going by 255 max to avoid confusion and possible save corruptions if people do it wrong).
So looking at the above Hex codes, you'll see each 'new' item starts right where the old one's amount ended. In this case we'll add a Hero Potion to Slot 3 in-game. Click on the char that comes after "FF".
HxD Users: You'll notice on the right-side pane, one of the dots now gets a selection thingy around it. Click there and type it_hero.
In Hex code this will be:
Code:69 74 5F 68 65 72 6F
So we covered the actual Item Code, now what about the amount? Remember what I said, all of these items have 18 chars in total (16 for the Item Code, 2 for the amount, the rest is nulled - aka 00). The item code is 7 chars, so we make sure the next 9 chars are nulled like this:
All that remains now is the amount, which are the last 2 chars in the code.Code:69 74 5F 68 65 72 6F 00 00 00 00 00 00 00 00 00
Now remember - For this tutorial I will be going with 255 MAX. So [## ##] will become: 00 FF.Code:69 74 5F 68 65 72 6F 00 00 00 00 00 00 00 00 00 [## ##]
Your final result:
What it looks like in HxDCode:[06] 69 74 5F 70 6F 74 69 6F 6E 00 00 00 00 00 00 00 00 01 69 74 5F 65 6C 69 78 69 72 00 00 00 00 00 00 00 00 FF 69 74 5F 68 65 72 6F 00 00 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
And there you have it....... That's how you edit and add items.
Remember to always keep a backup of your save before attempting this.
And don't overdo it with adding too much stuff at once.
In-game Screenshots
Here's some screenshots to prove it does work fine.
3. Adding 9999 of every Component
Using HxD you go to offset 1DEEC (CTRL+G shortcut to goto an offset. And look at the bottom of the editor to see the actual offset you're currently standing on).
Right there, and not anywhere else, is where your list for Components will start. And this is where you OVERWRITE (NOT INSERT), the entries.
If you insert new chars it'll corrupt your Save. You have to overwrite whatever is there. And it doesn't matter if you only have one component right now or 10.
6D 61 74 5F 61 62 69 5F 30 5F 30 38 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 37 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 36 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 35 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 34 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 33 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 32 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 31 00 00 00 00 27 0F 6D 61 74 5F 61 62 69 5F 30 5F 30 30 00 00 00 00 27 0F 6D 61 74 5F 63 75 73 5F 30 5F 30 30 00 00 00 00 27 0F 6D 61 74 5F 63 75 73 5F 30 5F 30 31 00 00 00 00 27 0F 6D 61 74 5F 63 75 73 5F 30 5F 30 32 00 00 00 00 27 0F 6D 61 74 5F 63 75 73 5F 30 5F 30 33 00 00 00 00 27 0F 6D 61 74 5F 63 75 73 5F 30 5F 30 34 00 00 00 00 27 0F 6D 61 74 5F 63 75 73 5F 30 5F 30 35 00 00 00 00 27 0F 6D 61 74 5F 63 75 73 5F 30 5F 30 36 00 00 00 00 27 0F
When you use HxD from the tutorial, you copy that entire list I gave and use CTRL+B to overwrite instead of CTRL+V.
This is an example of when you first start modding this. (Let's assume this is when you first kill a Zaltys Omega in-game and obtain 8 Platinum Malistones.)
In this screen it shows the offset 1DEEC.
Once there, right-click with your mouse on that char (As mentioned before, you can see at the bottom of HxD that you've selected the right thing). Then choose Paste Write
Done.
4. Database of Items
Other Items
Code:gil_r_010 Platinum Ore gil_r_000 Gold Dust gil_l_020 Crystal Medal gil_l_010 Silvered Medal gil_l_000 Bronzed Medal gil_d_000 Unappraised Item gil_d_010 Lizard Tail gil_d_020 Yellowed Skull key_w_tane Vegetable Seed key_w_yasai Gysahl Greens key_w_shiru Sylkis Greens key_w_tanta Tantal Greens key_w_hana2 Moonsoul Bloom key_w_hana3 Dayring Blossom key_w_milk Fuzzy Sheep Milk key_w_smilk Creamy Sheep Milk key_w_kino Chocoborel key_w_kino2 Luminous Mushroom key_w_drink Chocobull key_w_drag2 Animal Potion key_w_food Mystical Meal mat_z_000 Tattered Leather mat_z_001 Vibrant Ooze mat_z_002 Niblet Hairball mat_z_003 Slug Sweet mat_z_004 Monster Mince mat_z_007 Clear Ooze mat_z_008 Green Leather mat_z_009 Radial Bearing mat_z_010 Goblot Hairball mat_z_011 Arboreal Spore mat_z_012 Dead Man's Teeth mat_z_013 Chipped Fang mat_z_014 Shattered Bone mat_z_015 Goopy Goo mat_z_016 Pot Shard mat_z_017 Dried Scale mat_z_018 Wonder Gel mat_z_019 Poisonous Sting mat_z_020 Motor Coil mat_z_021 Ether Coil mat_z_022 Demon Spicule mat_z_024 Organic Carapace mat_z_028 Firewyrm Scale mat_z_029 Quality Machine Oil mat_z_030 Sinister Fang mat_z_031 Stormdragon Down mat_z_032 Green Monster Moss mat_z_033 Desert Rose mat_z_035 Single Eye mat_z_036 AMP Chip mat_z_044 Cactuar Doll mat_z_045 Liquid Glass
Components
Code:mat_abi_0_08 Crystal Malistone mat_abi_0_07 Orichalc Malistone mat_abi_0_06 Scarletite Malistone mat_abi_0_05 Adamant Malistone mat_abi_0_04 Mythril Malistone mat_abi_0_03 Platinum Malistone mat_abi_0_02 Gold Malistone mat_abi_0_01 Silver Malistone mat_abi_0_00 Bronze Malistone mat_cus_0_00 Mighty Material mat_cus_0_01 Sword Polisher mat_cus_0_02 Shield Polisher mat_cus_0_03 Holy Forgefire mat_cus_0_04 Demonic Forgefire mat_cus_0_05 Life Smeltwater mat_cus_0_06 Soul Smeltwater
Recovery Items
Code:it_hpotion Hi-Potion it_expotion X-Potion it_universal Remedy it_unico Mega Remedy it_phenxtal Phoenix Down it_phenxbl Phoenix Wing it_lowelxr Refresher it_elixir Elixer it_atel Ether it_hiatel Turbo Ether it_protect Protect Potion it_shell Shell Potion it_brave Bravery Potion it_faith Faith Potion it_guts Vigilance Potion it_veil Veil Potion it_haste Haste Potion it_regen Regen Potion it_reraise Reraise Potion it_enfire Enfire Potion it_enthunder Enthunder Potion it_enfrost Enfrost Potion it_enaero Enaero Potion it_hero Hero's Potion it_war Crusader's Potion it_upper Warrior's Potion it_grace Holy Water it_ydrink1 Nektar it_ydrink2 Nektar Mk II it_ydrink3 Mirakle Nektar it_ydrink4 Nektar of the Gods it_ydrink5 Nektar of the Gods Ω
Key Items (Ones used for Sidequests)
Code:key_sm_lt Soul Seed key_y_fire Fireworks key_d_key Pilgrim's Crux key_d_oil Bhakti's Oil key_w_mori Forest Fertilizer key_w_mash Crimm Mushroom key_w_apple Aryas Apple key_w_mogura Rocky Crag Mole
Head Accessories
Code:acc_a_0000 = Fighter's Emblem acc_a_0001 = Fighter's Emblem+ acc_a_0002 = Warrior's Emblem acc_a_0010 = Magician's Token acc_a_0011 = Magician's Token+ acc_a_0012 = Sorceror's Token acc_a_0020 = Samurai's Comb acc_a_0021 = Samurai's Comb+ acc_a_0022 = Tycoon's Comb acc_a_0030 = Wolf's Emblem acc_a_0031 = Wolf's Emblem+ acc_a_0032 = Tiger's Emblem acc_a_0040 = Imp's Crest acc_a_0041 = Imp's Crest+ acc_a_0042 = Djinn's Crest+ (Even though this Tier-3 Accessory has a '+' it does not upgrade further despite having a + like Tier-2 Accessories). acc_a_1000 = Soldier's Tie acc_a_1001 = Soldier's Tie+ acc_a_1002 = General's Tie acc_a_1010 = Mage's Turban acc_a_1011 = Mage's Turban+ acc_a_1012 = Shaman's Turban acc_a_1020 = Warrior's Headband acc_a_1021 = Warrior's Headband+ acc_a_1022 = Rakshasa Ring acc_a_1030 = Guard's Cravet acc_a_1031 = Guard's Cravet+ acc_a_1032 = Imperial Guard's Cravet acc_a_1040 = Spiritual Veil acc_a_1041 = Spiritual Veil+ acc_a_1042 = Mystic Veil acc_a_1100 = Flamebane Choker acc_a_1101 = Flamebane Choker+ acc_a_1102 = Flameshield Choker acc_a_1110 = Frostbane Choker acc_a_1111 = Frostbane Choker+ acc_a_1112 = Frostshield Choker acc_a_1120 = Sparkbane Choker acc_a_1121 = Sparkbane Choker+ acc_a_1122 = Sparkshield Choker acc_a_1130 = Stormbane Choker acc_a_1131 = Stormbane Choker+ acc_a_1132 = Stormshield Choker acc_a_1140 = Tri-Point Coronet acc_a_1141 = Tri-Point Coronet+ acc_a_1142 = Tri-Point Crown acc_a_3000 = Twist Headband acc_a_3001 = Twist Headband+ acc_a_3002 = Guts Headband acc_a_3010 = Corsair Scarf acc_a_3011 = Corsair Scarf+ acc_a_3012 = Pirates Scarf acc_a_3020 = Promised Necklace acc_a_3020 = Promised Necklace+ acc_a_3022 = Avowed Necklace acc_a_4100 = Satin Scrunchie acc_a_4101 = Satin Scrunchie+ acc_a_4102 = Ribbon acc_a_5010 = Corundum Pin acc_a_5011 = Corundum Pin+ acc_a_5012 = Vajra Pin acc_a_5100 = Silver Barrette acc_a_5101 = Silver Barrette+ acc_a_5102 = Platinum Barrette acc_a_5200 = Silk Scarf acc_a_5201 = Silk Scarf+ acc_a_5202 = Dragoon Scarf acc_a_8000 = Demon Earrings acc_a_8001 = Demon Earrings+ acc_a_8002 = Devil Earrings acc_a_8010 = Sparrow Comb acc_a_8011 = Sparrow Comb+ acc_a_8012 = Shallowtail acc_a_8120 = Angel's Headband acc_a_8121 = Angel's Headband+ acc_a_8122 = Angel's Halo acc_a_8130 = Cursed Band acc_a_8131 = Cursed Band+ acc_a_8132 = Ill Will Band acc_a_8200 = Fencer's Earrings acc_a_8201 = Fencer's Earrings+ acc_a_8202 = Duellist Earring acc_a_8210 = Witch's Rosary acc_a_8211 = Witch's Rosary+ acc_a_8212 = Devil's Rosary acc_a_8300 = Soul of Thamasa acc_a_8301 = Soul of Thamasa+ acc_a_8302 = Soul of Minwu acc_a_8310 = Locket Pendant acc_a_8311 = Locket Pendant+ acc_a_8312 = Locket Necklace acc_a_8400 = Swift Ornament acc_a_8401 = Swift Ornament+ acc_a_8402 = Falcon Ornament acc_a_8410 = Sight's Circlet acc_a_8411 = Sight's Circlet+ acc_a_8412 = Determined Tiara acc_a_9000 = Early-blooming Corsage acc_a_9001 = Early-blooming Corsage+ acc_a_9002 = Charging Chaplet acc_a_9010 = Fireseal Jewel acc_a_9011 = Fireseal Jewel+ acc_a_9012 = Firesup Malcreous acc_a_9020 = Frostseal Jewel acc_a_9021 = Frostseal Jewel+ acc_a_9022 = Frostsup Malcreous acc_a_9030 = Sparkseal Jewel acc_a_9031 = Sparkseal Jewel+ acc_a_9032 = Sparksup Malcreous acc_a_9040 = Stormseal Jewel acc_a_9041 = Stormseal Jewel+ acc_a_9042 = Stormsup Malcreous acc_a_9050 = Ghostly Hood acc_a_9051 = Ghostly Hood+ acc_a_9052 = Ghostly Crown acc_a_9060 = Preta Hood acc_a_9061 = Preta Hood+ acc_a_9062 = Preta Crown acc_a_9070 = Wild Crest acc_a_9071 = Wild Crest+ acc_a_9072 = Beast Mane acc_a_9080 = Devil Crest acc_a_9081 = Devil Crest+ acc_a_9082 = Demon Mane acc_a_9090 = Irondragon Scale acc_a_9091 = Irondragon Scale+ acc_a_9092 = Armor Plate acc_a_9100 = Dreamdragon Scale acc_a_9101 = Dreamdragon Scale+ acc_a_9102 = Mythical Scale acc_a_9110 = Warrior Hunter's Mask acc_a_9111 = Warrior Hunter's Mask+ acc_a_9112 = Face of the Warrior's Nemesis acc_a_9120 = Mage Hunter's Mask acc_a_9121 = Mage Hunter's Mask+ acc_a_9122 = Face of the Mage's Nemesis acc_a_9130 = Sapping Hood acc_a_9131 = Sapping Hood+ acc_a_9132 = Destructive Headdress acc_a_9140 = Crippling Hood acc_a_9141 = Crippling Hood+ acc_a_9142 = Deranged Headdress acc_a_9150 = Bandit Scarf acc_a_9151 = Bandit Scarf+ acc_a_9152 = Sky Pirate's Scarf acc_a_9160 = Coldflame Droplet acc_a_9161 = Coldflame Droplet+ acc_a_9162 = Icy Inferno acc_a_9170 = Thunderstorm Droplet acc_a_9171 = Thunderstorm Droplet+ acc_a_9172 = Eye of the Storm acc_a_9180 = Skeleton's Earrings acc_a_9181 = Skeleton's Earrings+ acc_a_9182 = Skull acc_a_9190 = Warrior's Plume acc_a_9191 = Warrior's Plume+ acc_a_9192 = Commander's Plume acc_a_9200 = Falcon Charm acc_a_9201 = Strahl Charm acc_a_9202 = Highwind Charm acc_a_9210 = Diamond Matinee Necklace acc_a_9211 = Orichalc Matinee Necklace acc_a_9212 = Crystal Matinee Necklace acc_a_9220 = Toasty Shawl acc_a_9221 = Toasty Shawl+ acc_a_9222 = Fuzzy Wool Shawl
Wrist Accessories
Code:acc_b_1000 = Runic Ring acc_b_1010 = Guard Glove acc_b_4110 = Giant's Vambrace acc_b_4120 = Mage's Gloves acc_b_4130 = Metal Armband acc_b_4140 = Serenity Sachet acc_b_4150 = Pretty Orb acc_b_4160 = Star Bracelet acc_b_4170 = Nacre Cameo acc_b_4180 = Warding Talisman acc_b_4190 = Pain Dampener acc_b_4200 = White Strap acc_b_4210 = Rainbow Gem acc_b_6030 = Firewyrm Bracelet acc_b_6040 = Watergod Bracelet acc_b_6050 = Thunderbird Bracelet acc_b_6060 = Windwalker Bracelet acc_b_6100 = Thorn of Protection acc_b_6110 = Thorn of Warding acc_b_6120 = Thorn of Aggression acc_b_6200 = Thorn of Courage acc_b_6210 = Thorn of Will acc_b_6220 = Thorn of Speed acc_b_7010 = Healer's Lore acc_b_7020 = Collector Catalog acc_b_7100 = Demon Claw acc_b_7110 = Beggard's Beads acc_b_7200 = Dawn Gauntlets acc_b_9010 = Sniper's Gloves acc_b_9020 = Flameward Bangle acc_b_9030 = Frostward Bangle acc_b_9040 = Sparkward Bangle acc_b_9050 = Stormward Bangle acc_b_9000 = Enlister's Glove acc_b_9070 = Forsaken Tie acc_b_9080 = Tenacious Ring acc_b_9090 = Lucky Dice
Credits & Extras (Such as Item Lists, etc)
Jappi for his Decrypter Tool.
Echelo - For his current work on the Lightning Returns Editor. (as well as his past work).
TheSquall - For providing a list of various items.
Cryska - For a list of Garbs, here.
kloeni - For a Weapon List, here.
Eternal - For providing various Auto-Abilities and further information on Ability Modding here.
lobotomizedgod - For posting a list of Active Abilities, as well as its formulas for Attack Rate, ATB Cost, Incremental Multipliers, etc.