Creating Official IDs
YO-KAI WATCH uses many IDs, from Item IDs (i.e. 0xC8142475) to Map IDs to Shop IDs - Almost everything has an ID! These are generated via the algorithm known as CRC-32, (specifically ISO 3309/ISO-HDLC) which can be generated by typing text into a tool like this. Have you ever wondered what pattern YO-KAI WATCH games use? Do they just use any random CRC-32 hash? No, there are actual patterns, although the game doesn’t always check for them. This is a list of the patterns for common IDs:
ItemIDs
This is the most complicated one. ItemIDs are the CRC-32 of the following sequence:
<type><ItemNum>
The <type> can be found in the cfg.bin although the placing is unknown, here is the list of <type>s:
ifdfor food consumables.itlfor Talismans, Exporbs, Staminums, Books etc aka all non-food consumablesilvfor Critters aka Insects & Fish.ieqfor Equipment.soulfor Souls.ikyfor Key items.
The <ItemNum> can be found in the cfg.bin using the latest MyTags.txt.
YW4
For YO-KAI WATCH 4, this can be found easily by looking at item texture names, since they need that to call an icon.
BaseIDs
YW1
For YO-KAI WATCH, it’s the CRC-32 of last 4 characters of the file name i.e. y333.
YW2+
For YO-KAI WATCH 2 and beyond, it’s the CRC-32 of the whole file name i.e. y137000.
ParamIDs
ParamIDs are the exact same as BaseIDs but with a para_ added at the start (the missing m is intentional!).
EffectIDs
[TODO]
Map IDs, VisualEffectIDs and others
Other IDs, (such as Map IDs!) are simply the CRC-32 of the file name. i.e. the CRC-32 of “t101g00” would be the Map ID for that map.
QuestIDs
These follow a simple format: qmXXXX for story chapters (QuestType = 1), qsXXXX for Quests (QuestType = 2), qrXXXX for Favours (QuestType = 3).
Capsule Befriend Text
These follow cpsl_text_<MDL> where <MDL> is the model name of the Yo-kai e.g. cpsl_text_y101000.
NounIDs
In YO-KAI WATCH 4, the NounID used in chara_text is a hash of name_<MDL>. For example, name_y02210000.
ModelIDs
In YO-KAI WATCH 4, the ModelID in chara_base uses the same hash as the BaseID.
CharaModelIDs
In YO-KAI WATCH 4, the CharaModelID is a hash of mdl_<MDL>. For example, mdl_y02210000.
CharaMotionIDs
In YO-KAI WATCH 4, the CharaMotionID in chara_base uses the same hash as the BaseID.