Editing Shops (YW2)
This tutorial is made for YW2, params will change between games so this won’t accurately apply to other games.
First, we need to find the shop you want to edit, navigate over to data/res/shop and open the correct cfg.bin. There are two kinds of shops: special shops and normal shops. This guide will cover both. A list of the special shops in Yo-kai Watch 2 can be found below:
creature_reward_config.cfg.bin- This controls Jungle Hunter milestones and will also be covered here.def_shoplist.cfg.bin- Holds the list of shops - to add a new one increase theChildCountinSHOP_LIST, duplicate a newSHOP_LIST_INFOand add your newShopIDto it (the CRC-32 of the Shop Name).combine_config.cfg.bin- This controls fusions and will not be covered here as a seperate tutorial covers this.
another_shop.cfg.bin- This depends on the game but for Yo-kai Watch 2, it’s the bicycle shop; the bicycle shop will not be covered here as it’s too complicated. Normal Shops will be in the formatshop_<shopName>_0.01n.cfg.bin- DO NOT edit the ones without_0.01nas they are use a different format, are older, and will be ignored by the game. A normal shop’sShopNameis in the following format:shp<type><index><index>is a 3-digit number used to distinguish between shops of the same type.<type>is a capitalised 1/2 letter sequence used to show the type of shop:Nis used for normal shops - this is the most common shop type.Mis used for Vending Machines - there are only a handful of these.KPis used exclusively for the BP (Battle Points) shop.TVMis used exclusively for the Day Pass “shop”.BBBBCPAYT
Normal Shops
Adding a new Item
First, in the SHOP_CONFIG_INFO tree, increase ChildCount by 1. Then:
- Duplicate the last
SHOP_CONFIG_INFO. - Change the
ShopSlotIDto a random CRC-32, you can do this by going to a website like this and typing anything into the textbox there. - Change the
ItemIDto whatever Item you want it to give, a list ofItemIDs can be found here.- If you want this item to have a limited number of purchases per in-game day, set
HasLimitedStockto 1 and editStock, otherwise setHasLimitedStockto 0. - If you set the
ItemIDto that of a critter (bugs, fish and insects) the game occasionally let you buy more than 1 at a time - this can be quite infuriating so you might want to avoid this.
- If you want this item to have a limited number of purchases per in-game day, set
- Set
ShopValidConditionStartPosto the previous entrysShopValidConditionStartPos+ShopValidConditionLengthand set the last param (ShopValidConditionLength) to 1. - Next, increase the
ChildCountofSHOP_VALID_CONDITION; if it dosen’t have this then you are editing the wrong shop. - Duplicate the last
SHOP_VALID_CONDITION. - Now, in this new
SHOP_VALID_CONDITION, change thePriceto either the price of the item or-1to make it use the item’sDefaultBuyPrice.- This trick known as Implicit Pricing dosen’t work for critters aka bugs, insects and fish; it will just get treated as the
Price. - This is usually in the main currency (internally always yen, so $/£/€1.10 = 110yen, 250w = 100y), although sometimes it’s non-primary currencies such as JP, BP/KP etc.
- Negative pricing works; granting the player money but will be incorrectly formatted i.e.
-1would be mistakenly formated as$0.-1,£0.-1or€0.-1in localised versions.- Additionally the game rounds under the limit so if you have
999998and you buy an item with a Price of-2; it won’t go above999999.
- Additionally the game rounds under the limit so if you have
- This trick known as Implicit Pricing dosen’t work for critters aka bugs, insects and fish; it will just get treated as the
- Finally, change the
Condto the Cond you want for the shop item - if you always want it to be available set theCondto 0 (make sure it’s an Integer!) and save your changes.
Adding a new Shop (W.I.P)
This section has not been tested yet, and may not work. Additionally, this section is for Normal Shops; you cannot create new Special Shops, only edit/delete ones that are already programmed into the game.
First, create a shop name i.e. shpN005 for the 5th normal shop; this name must not already be taken. Then:
- Go to
def_shoplist.cfg.bin, click onSHOP_LISTand increaseChildCountby 1. - Then duplicate the last
SHOP_LIST_INFOand select the newly createdSHOP_LIST_INFO. - Type your
ShopNameinto a website like this, and set theShopIDto the output the website gives you. - Then find a
_0.01ncfg.binthat’s similar to your shop.- Duplicate it and rename it to your shop name, following the pattern of all the other Normal Shops.
- In the
SHOP_CONFIG_INFOof your new shop change the oldShopIDto theShopIDof the new shop you placed indef_shoplistearlier. - Change all the
ShopSlotIDs to unique random CRC-32s, you can get them by going to a website like this and typing anything into the textbox there. - Finally, save your changes.
Special Shops
Adding a new Jungle Hunter Milestone
In data/res/shop, open creature_reward_config.cfg.bin. Then:
- If you want a bug milestone focus on
CREATURE_BONUS_ITEM_LIST_0, if you want a fish milestone focus onCREATURE_BONUS_ITEM_LIST_1. - Once you’ve picked your list, increase it’s
ChildCountby 1. - Then duplicate it’s last entry.
- Set
Milestoneto the amount of unique types of Bugs/Fish that need to be caught, or255if you want all of them to be required. - Set
ItemIDto the ID of the Item you want it to reward, a list ofItemIDs can be found here.- Tip: If you want to make it give you 2 Items, create 2 Milestones with the same
Milestonerequirement.
- Tip: If you want to make it give you 2 Items, create 2 Milestones with the same
- Set
Quantityto the amount of the Item it should give. - Set
UnkIDto a random CRC-32, you can do this by going to a website like this and typing anything into the textbox there. - Finally, save your changes.
- Set